Skip to content

Commit

Permalink
Schema support for Address Aliasing
Browse files Browse the repository at this point in the history
Adding schema for alias address support

Change-Id: I4bcd5e6ee27ee8b478387a7322a33e4cae607cdd
Partial-Bug: 1572502
  • Loading branch information
Prabhjot Singh Sethi committed Apr 22, 2016
1 parent 0fd21e8 commit efde4ca
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/schema/vnc_cfg.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,48 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
Link('floating-ip-virtual-machine-interface',
'floating-ip', 'virtual-machine-interface', ['ref'], 'optional', 'CRUD',
'Reference to virtual machine interface to which this floating ip is attached.') -->

<xsd:element name="alias-ip-pool" type="ifmap:IdentityType"/>
<xsd:element name="virtual-network-alias-ip-pool"/>
<!--#IFMAP-SEMANTICS-IDL
Exclude('virtual-network-alias-ip-pool', ['backend']);
Link('virtual-network-alias-ip-pool',
'virtual-network', 'alias-ip-pool', ['has'], 'optional', 'CRUD',
'Alias ip pool is set of addresses that are carved out of a given network. Ip(s) from this set can be assigned to virtual-machine-interface so that they become members of this network') -->
<xsd:element name="project-alias-ip-pool"/>
<!--#IFMAP-SEMANTICS-IDL
Exclude('project-alias-ip-pool', ['backend']);
Link('project-alias-ip-pool',
'project', 'alias-ip-pool', ['ref'], 'optional', 'CRUD',
'Reference to alias ip pool in this project.') -->

<xsd:element name="alias-ip" type="ifmap:IdentityType"/>
<xsd:element name="alias-ip-address" type="IpAddressType"/>
<!--#IFMAP-SEMANTICS-IDL
Property('alias-ip-address', 'alias-ip', 'required', 'CR',
'Alias ip address.') -->
<xsd:element name="alias-ip-address-family" type="IpAddressFamilyType"/>
<!--#IFMAP-SEMANTICS-IDL
Property('alias-ip-address-family', 'alias-ip', 'optional', 'CRUD',
'Ip address family of the alias ip, IpV4 or IpV6') -->
<xsd:element name="alias-ip-project"/>
<!--#IFMAP-SEMANTICS-IDL
Link('alias-ip-project',
'alias-ip', 'project', ['ref'], 'required', 'CRUD',
'Reference to project from which this alias ip was allocated.') -->
<xsd:element name="alias-ip-pool-alias-ip"/>
<!--#IFMAP-SEMANTICS-IDL
Exclude('alias-ip-pool-alias-ip', ['backend']);
Link('alias-ip-pool-alias-ip',
'alias-ip-pool', 'alias-ip', ['has'], 'optional', 'CRUD',
'alias ip is a ip that can be assigned to virtual-machine-interface(VMI), By doing so VMI can now be part of the alias ip network. packets originating with alias-ip as the source-ip belongs to alias-ip-network') -->
<xsd:element name="alias-ip-virtual-machine-interface"/>
<!--#IFMAP-SEMANTICS-IDL
Exclude('alias-ip-virtual-machine-interface', ['backend']);
Link('alias-ip-virtual-machine-interface',
'alias-ip', 'virtual-machine-interface', ['ref'], 'optional', 'CRUD',
'Reference to virtual machine interface to which this alias ip is attached.') -->

<xsd:element name="physical-router" type="ifmap:IdentityType"/>
<xsd:element name="global-system-config-physical-router"/>
<!--#IFMAP-SEMANTICS-IDL
Expand Down

0 comments on commit efde4ca

Please sign in to comment.