File: README.mpls

package info (click to toggle)
pmacct 1.7.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,904 kB
  • sloc: ansic: 110,430; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 525
file content (34 lines) | stat: -rw-r--r-- 1,704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This document doesn't replace documentation relevant to the database software you are
using, ie. README.mysql, README.pgsql or README.sqlite3.

The 'mpls_vpn_rd' field.
Such field is being introduced to support BGP/MPLS VPN Route Distinguisher (RD) field.
The guidelines below (typically in MySQL format) are to add such primitives to the SQL
schema: 

* mpls_vpn_rd field:
  - "mpls_vpn_rd CHAR(18) NOT NULL," to declare the field itself
  - "PRIMARY KEY (..., mpls_vpn_rd, ...)" to put it in the primary key 

The primitive is not declared as part of any default table version; yet will not fail
version checks which are enabled when 'sql_optimize_clauses' feature is disabled.

The 'mpls_label_top', 'mpls_label_bottom' and 'mpls_label_stack' fields.
These fields are being introduced to support traffic export MPLS-enabled core
interfaces. 'mpls_label_top' can be useful to get insight into BGP next-hop;
'mpls_label_bottom' can be useful to map traffic to a specific L2/L3 MPLS VPN;
'mpls_label_stack' allows to get full insight in the MPLS label stack and its
depth; the guidelines below (typically in MySQL format) are to add such
primitives to the SQL schema:

* mpls_label_top field:
  - "mpls_label_top INT(4) UNSIGNED NOT NULL, " to declare the field itself
  - "PRIMARY KEY (..., mpls_label_top, ...)" to put it in the primary key

* mpls_label_bottom field:
  - "mpls_label_bottom INT(4) UNSIGNED NOT NULL, " to declare the field itself
  - "PRIMARY KEY (..., mpls_label_bottom, ...)" to put it in the primary key

* mpls_label_stack field:
  - "mpls_label_stack VARCHAR(255) NOT NULL," to declare the field itself
  - "PRIMARY KEY (..., mpls_label_stack, ...)" to put it in the primary key