Skip to content

Commit

Permalink
Schema changes to control insertion of control word
Browse files Browse the repository at this point in the history
Add boolean config parameter(evpn-control-word) as property to Virtual network.
This flag controls whether or not control word(4-octet with value 0) is inserted
for EVPN packet when sending over MPLS encap.

Change-Id: I41e21b4e36580e1bb75b4be46ca13dab9c29c2ee
Related-bug: #1645092
  • Loading branch information
bailkeri committed Dec 16, 2016
1 parent ca0a8eb commit cac8301
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/schema/vnc_cfg.xsd
Expand Up @@ -3114,4 +3114,19 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
<!--#IFMAP-SEMANTICS-IDL
Property('pbb-etree-enable', 'virtual-network', 'optional', 'CRUD',
'Enable/Disable PBB ETREE mode on the network') -->

<xsd:element name="layer2-control-word" type="xsd:boolean" default="false"/>
<xsd:annotation>
<xsd:documentation>
This configuration knob controls the insertion of 4-octet control word
between bottom of MPLS label stack and L2 payload.
Control word should be used with the value 0 (e.g., a 4-octet field
with a value of zero) when sending EVPN-encapsulated packets over
an MP2P LSP.
</xsd:documentation>
</xsd:annotation>
<!--#IFMAP-SEMANTICS-IDL
Property('layer2-control-word', 'virtual-network', 'optional', 'CRUD',
'Enable/Disable adding control word to the Layer 2 encapsulation') -->

</xsd:schema>

0 comments on commit cac8301

Please sign in to comment.