draft-ietf-ccamp-general-constraint-encode-09.txt   draft-ietf-ccamp-general-constraint-encode-10.txt 
Network Working Group G. Bernstein Network Working Group G. Bernstein
Internet Draft Grotto Networking Internet Draft Grotto Networking
Intended status: Standards Track Y. Lee Intended status: Standards Track Y. Lee
Expires: March 2013 D. Li Expires: March 2013 D. Li
Huawei Huawei
W. Imajuku W. Imajuku
NTT NTT
September 27, 2012 September 28, 2012
General Network Element Constraint Encoding for GMPLS Controlled General Network Element Constraint Encoding for GMPLS Controlled
Networks Networks
draft-ietf-ccamp-general-constraint-encode-09.txt draft-ietf-ccamp-general-constraint-encode-10.txt
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with This Internet-Draft is submitted to IETF in full conformance with
the provisions of BCP 78 and BCP 79. the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet- other groups may also distribute working documents as Internet-
Drafts. Drafts.
skipping to change at page 1, line 38 skipping to change at page 1, line 38
months and may be updated, replaced, or obsoleted by other documents months and may be updated, replaced, or obsoleted by other documents
at any time. It is inappropriate to use Internet-Drafts as at any time. It is inappropriate to use Internet-Drafts as
reference material or to cite them other than as "work in progress." reference material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt http://www.ietf.org/ietf/1id-abstracts.txt
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html http://www.ietf.org/shadow.html
This Internet-Draft will expire on March 27, 2012. This Internet-Draft will expire on March 28, 2012.
Copyright Notice Copyright Notice
Copyright (c) 2012 IETF Trust and the persons identified as the Copyright (c) 2012 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
Internet-Draft General Network Element Constraint Encoding September Internet-Draft General Network Element Constraint Encoding September
2012 2012
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
skipping to change at page 2, line 48 skipping to change at page 2, line 48
Table of Contents Table of Contents
1. Introduction...................................................3 1. Introduction...................................................3
1.1. Node Switching Asymmetry Constraints......................4 1.1. Node Switching Asymmetry Constraints......................4
1.2. Non-Local Label Assignment Constraints....................4 1.2. Non-Local Label Assignment Constraints....................4
1.3. Change Log................................................5 1.3. Change Log................................................5
2. Encoding.......................................................6 2. Encoding.......................................................6
2.1. Link Set Field............................................6 2.1. Link Set Field............................................6
2.2. Label Set Field...........................................8 2.2. Label Set Field...........................................8
2.2.1. Inclusive/Exclusive Label Lists......................9 2.2.1. Inclusive/Exclusive Label Lists......................9
2.2.2. Inclusive/Exclusive Label Ranges.....................9 2.2.2. Inclusive/Exclusive Label Ranges ...................10
2.2.3. Bitmap Label Set ...................................10 2.2.3. Bitmap Label Set....................................10
Internet-Draft General Network Element Constraint Encoding September Internet-Draft General Network Element Constraint Encoding September
2012 2012
2.3. Available Labels Sub-TLV.................................11 2.3. Available Labels Sub-TLV.................................11
2.4. Shared Backup Labels Sub-TLV.............................11 2.4. Shared Backup Labels Sub-TLV.............................11
2.5. Connectivity Matrix Sub-TLV..............................12 2.5. Connectivity Matrix Sub-TLV..............................12
2.6. Port Label Restriction sub-TLV...........................13 2.6. Port Label Restriction sub-TLV...........................14
2.6.1. SIMPLE_LABEL........................................14 2.6.1. SIMPLE_LABEL........................................15
2.6.2. CHANNEL_COUNT.......................................15 2.6.2. CHANNEL_COUNT.......................................15
2.6.3. LABEL_RANGE1........................................15 2.6.3. LABEL_RANGE1........................................16
2.6.4. SIMPLE_LABEL & CHANNEL_COUNT........................16 2.6.4. SIMPLE_LABEL & CHANNEL_COUNT........................16
2.6.5. Link Label Exclusivity..............................16 2.6.5. Link Label Exclusivity..............................17
3. Security Considerations.......................................17 3. Security Considerations.......................................17
4. IANA Considerations...........................................17 4. IANA Considerations...........................................17
5. Acknowledgments...............................................17 5. Acknowledgments...............................................17
APPENDIX A: Encoding Examples....................................18 APPENDIX A: Encoding Examples....................................18
A.1. Link Set Field...........................................18 A.1. Link Set Field...........................................18
A.2. Label Set Field..........................................18 A.2. Label Set Field..........................................18
A.3. Connectivity Matrix Sub-TLV..............................19 A.3. Connectivity Matrix Sub-TLV..............................19
A.4. Connectivity Matrix with Bi-directional Symmetry.........22 A.4. Connectivity Matrix with Bi-directional Symmetry.........22
A.5. Priority Flags in Available/Shared Backup Labels sub-TLV.24 A.5. Priority Flags in Available/Shared Backup Labels sub-TLV.24
6. References....................................................26 6. References....................................................26
skipping to change at page 6, line 5 skipping to change at page 5, line 49
and interface capability. and interface capability.
Changes from 08 version: Changes from 08 version:
Switching Capability and Encoding applied to all sub-cases for Port Switching Capability and Encoding applied to all sub-cases for Port
Label Restriction sub-TLV in Section 2.6. Label Restriction sub-TLV in Section 2.6.
Eliminated A (Availability) Bit from Available Labels Sub-TLV and Eliminated A (Availability) Bit from Available Labels Sub-TLV and
Shared Backup Labels Sub-TLV. Shared Backup Labels Sub-TLV.
Changes from 09 version:
Editorial change: Action field can be set to 0x01(Inclusive Range)
for Link Set Field Encoding in Section 2.1.
Internet-Draft General Network Element Constraint Encoding September Internet-Draft General Network Element Constraint Encoding September
2012 2012
2. Encoding 2. Encoding
A type-length-value (TLV) encoding of the general connectivity and A type-length-value (TLV) encoding of the general connectivity and
label restrictions and availability extensions is given in this label restrictions and availability extensions is given in this
section. This encoding is designed to be suitable for use in the section. This encoding is designed to be suitable for use in the
GMPLS routing protocols OSPF [RFC4203] and IS-IS [RFC5307] and in GMPLS routing protocols OSPF [RFC4203] and IS-IS [RFC5307] and in
the PCE protocol PCEP [PCEP]. Note that the information distributed the PCE protocol PCEP [PCEP]. Note that the information distributed
skipping to change at page 6, line 45 skipping to change at page 7, line 5
: : : : : :
: : : : : :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Identifier N | | Link Identifier N |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Action: 8 bits Action: 8 bits
0 - Inclusive List 0 - Inclusive List
Internet-Draft General Network Element Constraint Encoding September
2012
Indicates that one or more link identifiers are included in the Link Indicates that one or more link identifiers are included in the Link
Set. Each identifies a separate link that is part of the set. Set. Each identifies a separate link that is part of the set.
1 - Inclusive Range 1 - Inclusive Range
Internet-Draft General Network Element Constraint Encoding September
2012
Indicates that the Link Set defines a range of links. It contains Indicates that the Link Set defines a range of links. It contains
two link identifiers. The first identifier indicates the start of two link identifiers. The first identifier indicates the start of
the range (inclusive). The second identifier indicates the end of the range (inclusive). The second identifier indicates the end of
the range (inclusive). All links with numeric values between the the range (inclusive). All links with numeric values between the
bounds are considered to be part of the set. A value of zero in bounds are considered to be part of the set. A value of zero in
either position indicates that there is no bound on the either position indicates that there is no bound on the
corresponding portion of the range. Note that the Action field can corresponding portion of the range. Note that the Action field can
be set to 0x02(Inclusive Range) only when unnumbered link identifier be set to 0x01(Inclusive Range) only when unnumbered link identifier
is used. is used.
Dir: Directionality of the Link Set (2 bits) Dir: Directionality of the Link Set (2 bits)
0 -- bidirectional 0 -- bidirectional
1 -- ingress 1 -- ingress
2 -- egress 2 -- egress
skipping to change at page 7, line 46 skipping to change at page 8, line 5
0 -- Link Local Identifier 0 -- Link Local Identifier
Indicates that the links in the Link Set are identified by link Indicates that the links in the Link Set are identified by link
local identifiers. All link local identifiers are supplied in the local identifiers. All link local identifiers are supplied in the
context of the advertising node. context of the advertising node.
1 -- Local Interface IPv4 Address 1 -- Local Interface IPv4 Address
2 -- Local Interface IPv6 Address 2 -- Local Interface IPv6 Address
Internet-Draft General Network Element Constraint Encoding September
2012
Indicates that the links in the Link Set are identified by Local Indicates that the links in the Link Set are identified by Local
Interface IP Address. All Local Interface IP Address are supplied in Interface IP Address. All Local Interface IP Address are supplied in
the context of the advertising node. the context of the advertising node.
Others TBD. Others TBD.
Internet-Draft General Network Element Constraint Encoding September
2012
Note that all link identifiers in the same list must be of the same Note that all link identifiers in the same list must be of the same
type. type.
Length: 16 bits Length: 16 bits
This field indicates the total length in bytes of the Link Set field. This field indicates the total length in bytes of the Link Set field.
Link Identifier: length is dependent on the link format Link Identifier: length is dependent on the link format
The link identifier represents the port which is being described The link identifier represents the port which is being described
skipping to change at page 8, line 45 skipping to change at page 9, line 5
0 1 2 3 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 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 | | Action| Num Labels | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Base Label | | Base Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Additional fields as necessary per action | | Additional fields as necessary per action |
| |
Internet-Draft General Network Element Constraint Encoding September
2012
Action: Action:
0 - Inclusive List 0 - Inclusive List
1 - Exclusive List 1 - Exclusive List
Internet-Draft General Network Element Constraint Encoding September
2012
2 - Inclusive Range 2 - Inclusive Range
3 - Exclusive Range 3 - Exclusive Range
4 - Bitmap Set 4 - Bitmap Set
Num Labels is only meaningful for Action value of 4 (Bitmap Set). It 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 indicates the number of labels represented by the bit map. See more
detail in section 3.2.3. detail in section 3.2.3.
skipping to change at page 9, line 43 skipping to change at page 10, line 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Last Label | | Last Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Where: Where:
Num Labels is not used in this particular format since the Length Num Labels is not used in this particular format since the Length
parameter is sufficient to determine the number of labels in the parameter is sufficient to determine the number of labels in the
list. list.
Internet-Draft General Network Element Constraint Encoding September
2012
2.2.2. Inclusive/Exclusive Label Ranges 2.2.2. Inclusive/Exclusive Label Ranges
In the case of inclusive/exclusive ranges the label set format is In the case of inclusive/exclusive ranges the label set format is
given by: given by:
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|2 or 3 | Num Labels(not used) | Length | |2 or 3 | Num Labels(not used) | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Start Label | | Start Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| End Label | | End Label |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
skipping to change at page 10, line 44 skipping to change at page 11, line 4
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: : : :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Bit Map Word #N (Highest numerical labels) | | Bit Map Word #N (Highest numerical labels) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Where Num Labels in this case tells us the number of labels Where Num Labels in this case tells us the number of labels
represented by the bit map. Each bit in the bit map represents a represented by the bit map. Each bit in the bit map represents a
particular label with a value of 1/0 indicating whether the label is particular label with a value of 1/0 indicating whether the label is
in the set or not. Bit position zero represents the lowest label and in the set or not. Bit position zero represents the lowest label and
Internet-Draft General Network Element Constraint Encoding September
2012
corresponds to the base label, while each succeeding bit position corresponds to the base label, while each succeeding bit position
represents the next label logically above the previous. represents the next label logically above the previous.
The size of the bit map is Num Label bits, but the bit map is padded The size of the bit map is Num Label bits, but the bit map is padded
out to a full multiple of 32 bits so that the TLV is a multiple of out to a full multiple of 32 bits so that the TLV is a multiple of
four bytes. Bits that do not represent labels (i.e., those in four bytes. Bits that do not represent labels (i.e., those in
Internet-Draft General Network Element Constraint Encoding September
2012
positions (Num Labels) and beyond SHOULD be set to zero and MUST be positions (Num Labels) and beyond SHOULD be set to zero and MUST be
ignored. ignored.
2.3. Available Labels Sub-TLV 2.3. Available Labels Sub-TLV
The Available Labels sub-TLV link consists of an availability flag, The Available Labels sub-TLV link consists of an availability flag,
priority flags, and a single variable length label set field as priority flags, and a single variable length label set field as
follows: follows:
0 1 2 3 0 1 2 3
skipping to change at page 11, line 41 skipping to change at page 12, line 5
Note that Label Set Field is defined in Section 2.2. See Appendix Note that Label Set Field is defined in Section 2.2. See Appendix
A.5. for illustrative examples. A.5. for illustrative examples.
2.4. Shared Backup Labels Sub-TLV 2.4. Shared Backup Labels Sub-TLV
The Shared Backup Labels sub-TLV consists of an availability flag, The Shared Backup Labels sub-TLV consists of an availability flag,
priority flags, and single variable length label set field as priority flags, and single variable length label set field as
follows: follows:
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PRI | Reserved | | PRI | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Set Field | | Label Set Field |
: : : :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Internet-Draft General Network Element Constraint Encoding September
2012
Where Where
PRI (Priority Flags, 8 bits): Indicates priority level applied to PRI (Priority Flags, 8 bits): Indicates priority level applied to
Label Set Field. Bit 8 corresponds to priority level 0 and bit 15 Label Set Field. Bit 8 corresponds to priority level 0 and bit 15
corresponds to priority level 7. corresponds to priority level 7.
2.5. Connectivity Matrix Sub-TLV 2.5. Connectivity Matrix Sub-TLV
The Connectivity Matrix represents how ingress ports are connected The Connectivity Matrix represents how ingress ports are connected
to egress ports for network elements. The switch and fixed to egress ports for network elements. The switch and fixed
connectivity matrices can be compactly represented in terms of a connectivity matrices can be compactly represented in terms of a
minimal list of ingress and egress port set pairs that have mutual minimal list of ingress and egress port set pairs that have mutual
connectivity. As described in [Switch] such a minimal list connectivity. As described in [Switch] such a minimal list
representation leads naturally to a graph representation for path representation leads naturally to a graph representation for path
computation purposes that involves the fewest additional nodes and computation purposes that involves the fewest additional nodes and
links. links.
A TLV encoding of this list of link set pairs is: A TLV encoding of this list of link set pairs is:
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Connectivity | MatrixID | Reserved | | Connectivity | MatrixID | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Set A #1 | | Link Set A #1 |
: : : : : :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Set B #1 : | Link Set B #1 :
: : : : : :
skipping to change at page 13, line 5 skipping to change at page 13, line 29
| Additional Link set pairs as needed | | Additional Link set pairs as needed |
: to specify connectivity : : to specify connectivity :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Where Where
Connectivity is the device type. Connectivity is the device type.
0 -- the device is fixed 0 -- the device is fixed
Internet-Draft General Network Element Constraint Encoding September
2012
1 -- the device is switched(e.g., ROADM/OXC) 1 -- the device is switched(e.g., ROADM/OXC)
MatrixID represents the ID of the connectivity matrix and is an 8 MatrixID represents the ID of the connectivity matrix and is an 8
bit integer. The value of 0xFF is reserved for use with port bit integer. The value of 0xFF is reserved for use with port
wavelength constraints and should not be used to identify a wavelength constraints and should not be used to identify a
connectivity matrix. connectivity matrix.
Link Set A #1 and Link Set B #1 together represent a pair of link Link Set A #1 and Link Set B #1 together represent a pair of link
sets. There are two permitted combinations for the link set field sets. There are two permitted combinations for the link set field
parameter "dir" for Link Set A and B pairs: parameter "dir" for Link Set A and B pairs:
skipping to change at page 13, line 32 skipping to change at page 14, line 5
any signal that ingresses a link in set A can be potentially any signal that ingresses a link in set A can be potentially
switched out of an egress link in set B. switched out of an egress link in set B.
o Link Set A dir=bidirectional, Link Set B dir=bidirectional o Link Set A dir=bidirectional, Link Set B dir=bidirectional
The meaning of the pair of link sets A and B in this case is that The meaning of the pair of link sets A and B in this case is that
any signal that ingresses on the links in set A can potentially any signal that ingresses on the links in set A can potentially
egress on a link in set B, and any ingress signal on the links in egress on a link in set B, and any ingress signal on the links in
set B can potentially egress on a link in set A. set B can potentially egress on a link in set A.
Internet-Draft General Network Element Constraint Encoding September
2012
See Appendix A for both types of encodings as applied to a ROADM See Appendix A for both types of encodings as applied to a ROADM
example. example.
2.6. Port Label Restriction sub-TLV 2.6. Port Label Restriction sub-TLV
Port Label Restriction tells us what labels may or may not be used Port Label Restriction tells us what labels may or may not be used
on a link. on a link.
The port label restriction of section 1.2. can be encoded as a sub- The port label restriction of section 1.2. can be encoded as a sub-
TLV as follows. More than one of these sub-TLVs may be needed to TLV as follows. More than one of these sub-TLVs may be needed to
fully specify a complex port constraint. When more than one of these fully specify a complex port constraint. When more than one of these
sub-TLVs are present the resulting restriction is the intersection sub-TLVs are present the resulting restriction is the intersection
of the restrictions expressed in each sub-TLV. To indicate that a of the restrictions expressed in each sub-TLV. To indicate that a
restriction applies to the port in general and not to a specific restriction applies to the port in general and not to a specific
connectivity matrix use the reserved value of 0xFF for the MatrixID. connectivity matrix use the reserved value of 0xFF for the MatrixID.
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MatrixID |RestrictionType| Switching Cap | Encoding | | MatrixID |RestrictionType| Switching Cap | Encoding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Additional Restriction Parameters per RestrictionType | | Additional Restriction Parameters per RestrictionType |
: : : :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Where: Where:
skipping to change at page 14, line 35 skipping to change at page 15, line 4
0: SIMPLE_LABEL (Simple label selective restriction) 0: SIMPLE_LABEL (Simple label selective restriction)
1: CHANNEL_COUNT (Channel count restriction) 1: CHANNEL_COUNT (Channel count restriction)
2: LABEL_RANGE1 (Label range device with a movable center 2: LABEL_RANGE1 (Label range device with a movable center
label and width) label and width)
3: SIMPLE_LABEL & CHANNEL_COUNT (Combination of SIMPLE_LABEL 3: SIMPLE_LABEL & CHANNEL_COUNT (Combination of SIMPLE_LABEL
and CHANNEL_COUNT restriction. The accompanying label set and and CHANNEL_COUNT restriction. The accompanying label set and
channel count indicate labels permitted on the port and the channel count indicate labels permitted on the port and the
Internet-Draft General Network Element Constraint Encoding September
2012
maximum number of channels that can be simultaneously used on maximum number of channels that can be simultaneously used on
the port) the port)
4: LINK_LABEL_EXCLUSIVITY (A label may be used at most once 4: LINK_LABEL_EXCLUSIVITY (A label may be used at most once
amongst a set of specified ports) amongst a set of specified ports)
Switching Capability is defined in [RFC4203] and Encoding in Switching Capability is defined in [RFC4203] and Encoding in
[RFC3471]. The combination of these fields defines the type of [RFC3471]. The combination of these fields defines the type of
labels used in specifying the port label restrictions as well as the labels used in specifying the port label restrictions as well as the
interface type to which these restrictions apply. interface type to which these restrictions apply.
2.6.1. SIMPLE_LABEL 2.6.1. SIMPLE_LABEL
In the case of the SIMPLE_LABEL the GeneralPortRestrictions (or In the case of the SIMPLE_LABEL the GeneralPortRestrictions (or
MatrixSpecificRestrictions) format is given by: MatrixSpecificRestrictions) format is given by:
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MatrixID | RstType = 0 | Switching Cap | Encoding | | MatrixID | RstType = 0 | Switching Cap | Encoding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Set Field | | Label Set Field |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In this case the accompanying label set indicates the labels In this case the accompanying label set indicates the labels
permitted on the port. permitted on the port.
skipping to change at page 15, line 35 skipping to change at page 16, line 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MatrixID | RstType = 1 | Switching Cap | Encoding | | MatrixID | RstType = 1 | Switching Cap | Encoding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MaxNumChannels | | MaxNumChannels |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In this case the accompanying MaxNumChannels indicates the maximum In this case the accompanying MaxNumChannels indicates the maximum
number of channels (labels) that can be simultaneously used on the number of channels (labels) that can be simultaneously used on the
port/matrix. port/matrix.
Internet-Draft General Network Element Constraint Encoding September
2012
2.6.3. LABEL_RANGE1 2.6.3. LABEL_RANGE1
In the case of the LABEL_RANGE1 the GeneralPortRestrictions (or In the case of the LABEL_RANGE1 the GeneralPortRestrictions (or
MatrixSpecificRestrictions) format is given by: MatrixSpecificRestrictions) format is given by:
Internet-Draft General Network Element Constraint Encoding September
2012
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MatrixID | RstType = 2 |Switching Cap | Encoding | | MatrixID | RstType = 2 |Switching Cap | Encoding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MaxLabelRange | | MaxLabelRange |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Set Field | | Label Set Field |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
skipping to change at page 16, line 44 skipping to change at page 17, line 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MaxNumChannels | | MaxNumChannels |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Label Set Field | | Label Set Field |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In this case the accompanying label set and MaxNumChannels indicate In this case the accompanying label set and MaxNumChannels indicate
labels permitted on the port and the maximum number of labels that labels permitted on the port and the maximum number of labels that
can be simultaneously used on the port. can be simultaneously used on the port.
2.6.5. Link Label Exclusivity
In the case of the SIMPLE_LABEL & CHANNEL_COUNT the format is given
by:
Internet-Draft General Network Element Constraint Encoding September Internet-Draft General Network Element Constraint Encoding September
2012 2012
2.6.5. Link Label Exclusivity
In the case of the Link Label Exclusivity the format is given by:
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| MatrixID | RstType = 4 | Switching Cap | Encoding | | MatrixID | RstType = 4 | Switching Cap | Encoding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Link Set Field | | Link Set Field |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In this case the accompanying port set indicate that a label may be In this case the accompanying port set indicate that a label may be
used at most once among the ports in the link set field. used at most once among the ports in the link set field.
skipping to change at page 29, line 5 skipping to change at page 28, line 50
Rao Rajan Rao Rajan
Infinera Infinera
Email: rrao@infinera.com Email: rrao@infinera.com
Giovanni Martinelli Giovanni Martinelli
CISCO CISCO
Email: giomarti@cisco.com Email: giomarti@cisco.com
Remi Theillaud
Internet-Draft General Network Element Constraint Encoding September Internet-Draft General Network Element Constraint Encoding September
2012 2012
Marben
remi.theillaud@marben-products.com
Authors' Addresses Authors' Addresses
Greg M. Bernstein (ed.) Greg M. Bernstein (ed.)
Grotto Networking Grotto Networking
Fremont California, USA Fremont California, USA
Phone: (510) 573-2237 Phone: (510) 573-2237
Email: gregb@grotto-networking.com Email: gregb@grotto-networking.com
Young Lee (ed.) Young Lee (ed.)
 End of changes. 33 change blocks. 
46 lines changed or deleted 56 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/