module ieee-dot1Q-PB { namespace "urn:ieee:params:xlm:ns:yang:ieee-dot1Q-PB"; prefix "dot1Q-PB"; import ieee-dot1Q-bridge {prefix dot1Q; } import ieee-dot1Q-types { prefix "dot1Qtypes"; } import ieee-types { prefix ieee; } /* * A Providr Bridge has additional node data associated with it. */ augment "/dot1Q:bridge/dot1Q:component/dot1Q:bridge-port" { container cvid-registration-table { description "The C-VID Registration Table, provides a mapping between a C-VID and the service instance represented by an S-VID selected for that C-VLAN. This table provides the equivalent functionality of 1) configuring the PVID of the internal CNP on the S-VLAN component; 2) adding the corresponding PEP on the C-VLAN component to the member set of the C-VLAN; 3) adding the PEP and/or CEP to the untagged set of the C-VLAN (if it is desired that frames forwarded to that port are transmitted untagged for this C-VLAN)."; when "/dot1Q:bridge/dot1Q:component/dot1Q:component-type = 'cVlanComponent' and /dot1Q:bridge/dot1Q:component/dot1Q:bridge-port/dot1Q:port-type = 'customer-edge-port'"; list cvid { description "Customer VLAN Identifier."; key "vid"; leaf vid { type dot1Qtypes:vid-range; } } leaf svid { description "Service VLAN Identifier."; type ieee:vlanid; } leaf untagged-pep { description "A boolean indicating frames for this C-VLAN should be forwarded untagged through the Provider Edge Port"; type boolean; } leaf untagged-cep { description "A boolean indicating frames for this C-VLAN should be forwarded untagged through the Customer Edge Port"; type boolean; } } container service-priority-regeneration-table { description "The Service Priority Regeneration Table, which provides the Priority Regeneration Table (12.6.2) for each internal CNP connected to the C-VLAN component associated with the CEP."; when "/dot1Q:bridge/dot1Q:component/dot1Q:component-type = 'cVlanComponent' and /dot1Q:bridge/dot1Q:component/dot1Q:bridge-port/dot1Q:port-type = 'customer-edge-port'"; leaf svid { description "Service VLAN Identifier."; type ieee:vlanid; } container priority-regeneration-table { uses dot1Qtypes:priorityRegenerationTable; } } container rcap-internal-interface-table { description "Designating an external port as a RCAP automatically creates a Port-mapping S-VLAN component associated with that port. This Port-mapping S-VLAN component includes one internal PNP."; when "/dot1Q:bridge/dot1Q:component/dot1Q:component-type = 'sVlanComponent' and /dot1Q:bridge/dot1Q:component/dot1Q:bridge-port/dot1Q:port-type = 'remote-customer-access-port'"; leaf external-svid { description "External Service VLAN Identifier."; type ieee:vlanid; } leaf internal-port-number { description "The number of the RCAP."; type dot1Qtypes:portNumberType; } leaf internal-svid { description "Internal Service VLAN Identifier (not applicable for a C-tagged RCSI)."; type ieee:vlanid; } leaf internal-interface-type { description "A value indicating the type of internal interface associated with the external S-VID, one of 1) Port-based RCSI 2) C-tagged RCSI 3) PNP 4) Discard (external S-VID is not associated with an internal port)."; type enumeration { enum port-based-rsci; enum c-tagged-rsci; enum pnp; enum discard; } } } } }