Skip to content

Commit

Permalink
Schema update to configure protocols on VMI for which fat flows are d…
Browse files Browse the repository at this point in the history
…esired.

Change-Id: I21399300a5cafb09402d7d0e710315a2bd48df30
related-bug: 1518234
  • Loading branch information
haripk committed Nov 20, 2015
1 parent 6324dfd commit 6cdb6f1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/schema/vnc_cfg.xsd
Expand Up @@ -961,6 +961,28 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
Property('virtual-machine-interface-properties',
'virtual-machine-interface') -->

<xsd:simpleType name="AllowedProtocols">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="dns"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="FatFlowProtocols">
<xsd:all>
<xsd:element name="protocol" type="AllowedProtocols" maxOccurs="unbounded"/>
</xsd:all>
</xsd:complexType>

<!--
The protocols for which flows on the virtual-machine-interface fall
into a single protocol flow
-->
<xsd:element name="virtual-machine-interface-fat-flow-protocols"
type="FatFlowProtocols"/>
<!--#IFMAP-SEMANTICS-IDL
Property('virtual-machine-interface-fat-flow-protocols',
'virtual-machine-interface') -->

<xsd:element name="virtual-machine-interface-sub-interface"/>
<!--#IFMAP-SEMANTICS-IDL
Link('virtual-machine-interface-sub-interface',
Expand Down

0 comments on commit 6cdb6f1

Please sign in to comment.