Bernstein and Lee Expires November 25, 2011 [Page 7]
Internet-Draft General Network Element Constraint Encoding May 2011
2.2. Label Set Field
Label Set Field is used within the
sub-TLV or the
sub-TLV, which is defined in Section 2.3. and
2.4. , respectively.
The general format for a label set is given below. This format uses
the Action concept from [RFC3471] with an additional Action to define
a "bit map" type of label set. The second 32 bit field is a base
label used as a starting point in many of the specific formats.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Action| Num Labels | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Base Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Additional fields as necessary per action |
|
Action:
0 - Inclusive List
1 - Exclusive List
2 - Inclusive Range
3 - Exclusive Range
4 - Bitmap Set
Num Labels is only meaningful for Action value of 4 (Bitmap Set). It
indicates the number of labels represented by the bit map. See more
detail in section 3.2.3.
Length is the length in bytes of the entire field.