Skip to content

Commit

Permalink
[DM] Data model changes to support hardware platform
Browse files Browse the repository at this point in the history
Hardware platform will be an image attribute used to validate device image compatibility.
Closes-Bug: #1779784

Change-Id: Idd0d02385cef3a5582bed6adf0312bdc2090de76
(cherry picked from commit 8449bc0)
  • Loading branch information
sahanaspc committed Jul 9, 2018
1 parent 2dc040d commit acb72d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schema/vnc_cfg.xsd
Expand Up @@ -397,6 +397,12 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
</xsd:all>
</xsd:complexType>

<xsd:complexType name="VendorHardwaresType">
<xsd:all>
<xsd:element name="vendor-hardware" type="xsd:string" maxOccurs="unbounded" />
</xsd:all>
</xsd:complexType>

<xsd:simpleType name="IpamMethodType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="dhcp" required='optional'
Expand Down Expand Up @@ -1026,6 +1032,11 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
Property('supported-device-families', 'global-system-config', 'optional', 'CRUD',
'List of all supported physical router device family names. Used by UI to show pick list.') -->

<xsd:element name="supported-vendor-hardwares" type="VendorHardwaresType"/>
<!--#IFMAP-SEMANTICS-IDL
Property('supported-vendor-hardwares', 'global-system-config', 'optional', 'CRUD',
'List of all supported vendor hardware platforms by the system. Used by UI to show pick list.') -->

<xsd:element name="global-system-config-bgp-router"/>
<!--#IFMAP-SEMANTICS-IDL
Link('global-system-config-bgp-router',
Expand Down

0 comments on commit acb72d7

Please sign in to comment.