diff options
author | Keong Lim <keong.lim@huawei.com> | 2018-08-13 14:33:17 +1000 |
---|---|---|
committer | Keong Lim <keong.lim@huawei.com> | 2018-08-24 17:13:34 +1000 |
commit | f161b2792fd744b3967eb3ad283d6d43b03aca99 (patch) | |
tree | 7389de8cd1a8042210c2b59adeccb670c16709ec /aai-schema/src/main/resources/onap/oxm | |
parent | 5b06b9f91e5eb34139d9957ee0b28a64a0ee6097 (diff) |
AAI-1466 Update allotted-resource schema for CCVPN
Issue-ID: AAI-1466
Add the following properties to allotted-resource:
alloted-resource-name, access-provider-id, access-client-id, access-topology-id,
access-node-id, access-ltp-id, cvlan, vpn-name
Add id and vpn-name properties to be indexed.
Make "alloted-resource-name" property also:
- marked as a "name" property
- indexed
Change-Id: I111eccc158ff28576b5e205b8c8c3dea3df4361e
Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/oxm')
-rw-r--r-- | aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml index d92f3c9a..92aa298e 100644 --- a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml +++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml @@ -6175,15 +6175,55 @@ <xml-property name="description" value="role in the network that this resource will be providing." /> </xml-properties> </xml-element> + <xml-element java-attribute="allottedResourceName" name="allotted-resource-name" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the name of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="accessProviderId" name="access-provider-id" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the id of the access provider of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="accessClientId" name="access-client-id" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the id of the access client of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="accessTopologyId" name="access-topology-id" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the id of the access topology of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="accessNodeId" name="access-node-id" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the id of the access node of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="accessLtpId" name="access-ltp-id" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the id of the access ltp of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="cvlan" name="cvlan" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the cvlan of this allotted-resource." /> + </xml-properties> + </xml-element> + <xml-element java-attribute="vpnName" name="vpn-name" type="java.lang.String"> + <xml-properties> + <xml-property name="description" value="Store the vpn-name of this allotted-resource." /> + </xml-properties> + </xml-element> <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v14.TunnelXconnects" /> <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v14.RelationshipList" /> </java-attributes> <xml-properties> <xml-property name="description" value="Represents a slice or partial piece of a resource that gets separately allotted" /> - <xml-property name="nameProps" value="description" /> + <xml-property name="nameProps" value="description,allotted-resource-name" /> <xml-property name="uniqueProps" value="id" /> - <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role" /> + <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role,allotted-resource-name,access-provider-id,access-client-id,access-topology-id,access-node-id,access-ltp-id,vpn-name" /> <xml-property name="dependentOn" value="service-instance" /> <xml-property name="container" value="allotted-resources" /> <!-- <xml-property name="namespace" value="network" /> --> |