Skip to content

Commit

Permalink
Change fat-flow schema to take port and protocol.
Browse files Browse the repository at this point in the history
Change-Id: I122e2cf7af39d996f967adf319cfb1e8686b9050
related-bug: 1518234
  • Loading branch information
haripk committed Nov 24, 2015
1 parent 85837b5 commit 53a2ccf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/schema/vnc_cfg.xsd
Expand Up @@ -961,15 +961,16 @@ 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="ProtocolType">
<xsd:all>
<xsd:element name="protocol" type="xsd:string"/>
<xsd:element name="port" type="xsd:integer"/>
</xsd:all>
</xsd:complexType>

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

Expand Down

0 comments on commit 53a2ccf

Please sign in to comment.