Skip to content

Commit

Permalink
Merge "Change fat-flow schema to take port and protocol." into R2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 25, 2015
2 parents efd97fa + 53a2ccf commit 916eb2b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/schema/vnc_cfg.xsd
Original file line number Diff line number Diff line change
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 916eb2b

Please sign in to comment.