diff options
Diffstat (limited to 'src/test/resources/models/wan-connector-model.xml')
-rw-r--r-- | src/test/resources/models/wan-connector-model.xml | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/src/test/resources/models/wan-connector-model.xml b/src/test/resources/models/wan-connector-model.xml new file mode 100644 index 0000000..5e3ff10 --- /dev/null +++ b/src/test/resources/models/wan-connector-model.xml @@ -0,0 +1,186 @@ +<!-- + ============LICENSE_START======================================================= + MODEL LOADER SERVICE + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + ================================================================================ + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + ============LICENSE_END========================================================= + --> + +<model xmlns="http://org.openecomp.aai.inventory/v7"> + <model-id>e4a9901b-6c94-4e07-b8d8-b877d3df554c</model-id> + <model-type>service</model-type> + <model-name>wan-connector</model-name> + <model-version>v1.0</model-version> + <model-name-version-id>93d9d45d-7eec-4371-9083-675e4c353de3 + </model-name-version-id> + <model-description>Connects a customer vpn to the border elements of an + AT&T product</model-description> + <metadata> + <metadatum> + <metaname>a</metaname> + <metaval>vpn-id</metaval> + </metadatum> + <metadatum> + <metaname>b</metaname> + <metaval>product</metaval> + </metadatum> + </metadata> + <model-elements> + <model-element> + <new-data-del-flag>true</new-data-del-flag> + <cardinality>unbounded</cardinality> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- connector --> + <relationship-key>model.model-name-version-id</relationship-key> + <relationship-value>d09dd9da-0148-46cd-a947-591afc844d24 + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + <model-elements> + <model-element> + <new-data-del-flag>true</new-data-del-flag> + <cardinality>unbounded</cardinality> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- vdc --> + <relationship-key>model.model-name-version-id</relationship-key> + <relationship-value>997fc7-fca1-451f-b953-9a1e6197b4d6 + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + <model-elements> + <model-element> + <new-data-del-flag>true</new-data-del-flag> + <cardinality>unbounded</cardinality> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- l2-bridge-for-wan-connector --> + <relationship-key>model.model-name-version-id + </relationship-key> + <relationship-value>ae16244f-4d29-4801-a559-e25f2db2a4c3 + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + <model-constraint> + <constrained-element-sets> + <constrained-element-set> + <path>logical-link</path> + <constrained-element-set-uuid>999 + </constrained-element-set-uuid> + <constraint-type>combination</constraint-type> + <check-type>AND</check-type> + <element-choice-sets> + <element-choice-set> + <element-choice-set-name>A</element-choice-set-name> + <cardinality>1</cardinality> + <model-elements> + <model-element> + <cardinality>unbounded</cardinality> + <new-data-del-flag>false</new-data-del-flag> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- ipe --> + <relationship-key>model.model-name-version-id + </relationship-key> + <relationship-value>759dbd4a-2473-46f3-a932-48d987c9b4a1 + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + <linkage-points> + <linkage-point>l-interface|p-interface|pserver + </linkage-point> + </linkage-points> + </model-element> + </model-elements> + </element-choice-set> + <element-choice-set> + <element-choice-set-name>B</element-choice-set-name> + <cardinality>1</cardinality> + <model-elements> + <model-element> + <cardinality>unbounded</cardinality> + <new-data-del-flag>false</new-data-del-flag> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- vDbe --> + <relationship-key>model.model-name-version-id + </relationship-key> + <relationship-value>8da97b81-e0e9-4157-a4cd-af3ba52871d6 + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + <model-element> + <cardinality>unbounded</cardinality> + <new-data-del-flag>false</new-data-del-flag> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- vSbg --> + <relationship-key>model.model-name-version-id + </relationship-key> + <relationship-value>a6d9de88-4046-4b78-a59e-5691243d292a + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + <model-element> + <cardinality>unbounded</cardinality> + <new-data-del-flag>false</new-data-del-flag> + <relationship-list> + <relationship> + <related-to>model</related-to> + <relationship-data> + <!-- pBgf --> + <relationship-key>model.model-name-version-id + </relationship-key> + <relationship-value>35be1acf-1298-48c6-a128-66850083b8bd + </relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + </model-elements> + </element-choice-set> + </element-choice-sets> + </constrained-element-set> + </constrained-element-sets> + </model-constraint> + </model-element> + </model-elements> + </model-element> + </model-elements> + </model-element> + </model-elements> +</model> + |