summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'aai-core/src/test')
-rw-r--r--aai-core/src/test/java/org/onap/aai/dbmap/AAIGraphTest.java79
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/JSONStrategyTest.java136
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/PropertyPredicatesTest.java19
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataCopyTest.java18
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataLinkTest.java24
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/tools/CreateUUIDTest.java91
-rw-r--r--aai-core/src/test/java/org/onap/aai/introspection/validation/IntrospectorValidationTest.java6
-rw-r--r--aai-core/src/test/java/org/onap/aai/logging/EcompErrorCategoryTest.java50
-rw-r--r--aai-core/src/test/java/org/onap/aai/logging/EcompResponseCodeTest.java49
-rw-r--r--aai-core/src/test/java/org/onap/aai/logging/EcompResponseDescriptionTest.java50
-rw-r--r--aai-core/src/test/java/org/onap/aai/logging/LoggingContextTest.java2
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/query/GraphTraversalTest.java46
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/query/UniqueURIQueryTest.java2
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/relationship/RelationshipToURITest.java16
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/uri/URIParserTest.java2
-rw-r--r--aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java2
-rw-r--r--aai-core/src/test/java/org/onap/aai/query/builder/QueryBuilderTestAbstraction.java87
-rw-r--r--aai-core/src/test/java/org/onap/aai/query/builder/SimplePathTest.java6
-rw-r--r--aai-core/src/test/java/org/onap/aai/query/builder/TraversalQueryTest.java36
-rw-r--r--aai-core/src/test/java/org/onap/aai/rest/CloudRegionTest.java76
-rw-r--r--aai-core/src/test/java/org/onap/aai/rest/GenericVnfLInterfaceTest.java78
-rw-r--r--aai-core/src/test/java/org/onap/aai/rest/TenantTest.java93
-rw-r--r--aai-core/src/test/java/org/onap/aai/rest/db/HttpEntryTest.java223
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java497
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/db/EdgeRulesTest.java94
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/engines/query/GraphTraversalQueryEngineTest.java13
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/queryformats/ConsoleTest.java83
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/queryformats/GraphSONTest.java80
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/queryformats/RawFormatTest.java4
-rw-r--r--aai-core/src/test/java/org/onap/aai/serialization/queryformats/SimpleFormatTest.java1
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/AAICSVWriterTest.java77
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/AAIConfigCommandLinePropGetterTest.java105
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/AAIRSyncUtilityTest.java55
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/FileWatcherTest.java78
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/GenerateXsdTest.java278
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/HbaseSaltPrefixerTest.java72
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/KeyValueListTest.java76
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/MapperUtilTest.java72
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java107
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/RestURLEncoderTest.java63
-rw-r--r--aai-core/src/test/java/org/onap/aai/util/StoreNotificationEventTest.java235
-rw-r--r--aai-core/src/test/java/org/onap/aai/workarounds/LegacyURITransformerTest.java104
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties70
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/appprops/error.properties8
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml11219
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml1324
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml743
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v2.xml1729
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml4578
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml10686
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/ambiguous-relationship.json6
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-failv10-successv9.json6
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-successv10-failv9.json4
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/nothing-to-parse.json2
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-related-link.json4
-rw-r--r--aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-relationship-data.json4
-rw-r--r--aai-core/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json36
-rw-r--r--aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json65
-rw-r--r--aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json9
-rw-r--r--aai-core/src/test/resources/edgeLabelMigration.csv212
-rw-r--r--aai-core/src/test/resources/logback.xml4
-rw-r--r--aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v10.xml5796
-rw-r--r--aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v8.xml3079
-rw-r--r--aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v9.xml599
-rw-r--r--aai-core/src/test/resources/payloads/expected/generic-vnf-with-lag-interface.json27
-rw-r--r--aai-core/src/test/resources/payloads/resource/cloud-region-with-all-children.json310
-rw-r--r--aai-core/src/test/resources/payloads/resource/l-interface-with-ipv6.json22
-rw-r--r--aai-core/src/test/resources/payloads/templates/cloud-region.json310
-rw-r--r--aai-core/src/test/resources/payloads/templates/generic-vnf-with-lag-interface.json24
-rw-r--r--aai-core/src/test/resources/payloads/templates/tenant.json169
70 files changed, 20482 insertions, 23848 deletions
diff --git a/aai-core/src/test/java/org/onap/aai/dbmap/AAIGraphTest.java b/aai-core/src/test/java/org/onap/aai/dbmap/AAIGraphTest.java
new file mode 100644
index 00000000..e358dc8e
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/dbmap/AAIGraphTest.java
@@ -0,0 +1,79 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+
+package org.onap.aai.dbmap;
+
+import com.thinkaurelius.titan.core.TitanFactory;
+import com.thinkaurelius.titan.core.TitanGraph;
+import com.thinkaurelius.titan.core.schema.TitanManagement;
+import org.hamcrest.CoreMatchers;
+import org.junit.*;
+import org.onap.aai.AAISetup;
+import org.onap.aai.util.AAIConstants;
+
+import static org.hamcrest.CoreMatchers.containsString;
+import static org.hamcrest.Matchers.matchesPattern;
+import static org.junit.Assert.*;
+
+public class AAIGraphTest extends AAISetup{
+
+ private static final String SERVICE_NAME = "JUNIT";
+
+ @Before
+ public void setup() {
+ System.setProperty("aai.service.name", SERVICE_NAME);
+ AAIGraph.getInstance();
+ }
+
+ @Test
+ public void getRealtimeInstanceConnectionName() throws Exception {
+
+ TitanManagement graphMgt = AAIGraph.getInstance().getGraph().openManagement();
+ String connectionInstanceName = graphMgt.getOpenInstances().stream().filter(c -> c.contains("current")).findFirst().get();
+ assertThat(connectionInstanceName, containsString(SERVICE_NAME));
+ assertThat(connectionInstanceName, containsString("realtime"));
+ assertThat(connectionInstanceName, matchesPattern("^\\d+_[\\w\\-\\d]+_" + SERVICE_NAME + "_realtime_\\d+\\(current\\)$"));
+ graphMgt.rollback();
+ }
+
+ @Test
+ public void getCachedInstanceConnectionName() throws Exception {
+
+ TitanManagement graphMgt = AAIGraph.getInstance().getGraph(DBConnectionType.CACHED).openManagement();
+ String connectionInstanceName = graphMgt.getOpenInstances().stream().filter(c -> c.contains("current")).findFirst().get();
+ assertThat(connectionInstanceName, containsString(SERVICE_NAME));
+ assertThat(connectionInstanceName, containsString("cached"));
+ assertThat(connectionInstanceName, matchesPattern("^\\d+_[\\w\\-\\d]+_" + SERVICE_NAME + "_cached_\\d+\\(current\\)$"));
+ graphMgt.rollback();
+ }
+
+ @Test
+ public void titanGraphOpenNameTest() throws Exception{
+ TitanGraph graph = TitanFactory.open(new AAIGraphConfig.Builder(AAIConstants.REALTIME_DB_CONFIG).forService(SERVICE_NAME).withGraphType("graphType").buildConfiguration());
+ TitanManagement graphMgt = graph.openManagement();
+ String connectionInstanceName = graphMgt.getOpenInstances().stream().filter(c -> c.contains("current")).findFirst().get();
+ assertThat(connectionInstanceName,matchesPattern("^\\d+_[\\w\\-\\d]+_" + SERVICE_NAME + "_graphType_\\d+\\(current\\)$"));
+ graphMgt.rollback();
+ graph.close();
+ }
+
+} \ No newline at end of file
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/JSONStrategyTest.java b/aai-core/src/test/java/org/onap/aai/introspection/JSONStrategyTest.java
new file mode 100644
index 00000000..64856899
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/introspection/JSONStrategyTest.java
@@ -0,0 +1,136 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.introspection;
+
+import org.json.simple.JSONArray;
+import org.json.simple.JSONObject;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+import org.onap.aai.AAISetup;
+
+import java.util.HashSet;
+import java.util.Set;
+
+public class JSONStrategyTest extends AAISetup{
+ private JSONStrategy jsonStrategy;
+ private JSONStrategy jsonStrategyContainer;
+ private JSONStrategy jsonStrategyComplex;
+
+ @Before
+ public void setup(){
+ try {
+ JSONObject pserver = new JSONObject();
+ pserver.put("hostname", "value1");
+ pserver.put("numberofCpus", 4);
+ jsonStrategy = new JSONStrategy(pserver, "pserver-type");
+
+ // The values of this object are arrays containing JSONObjects
+ JSONArray pservers = new JSONArray();
+ pservers.add(pserver);
+ JSONObject container = new JSONObject();
+ container.put("pservers", pservers);
+ jsonStrategyContainer = new JSONStrategy(container, "pservers-type");
+
+ // The values of this object are JSONObjects
+ JSONObject complex = new JSONObject();
+ complex.put("pserver", pserver);
+ jsonStrategyComplex = new JSONStrategy(complex, "pservers-type");
+ }
+ catch (Exception e){
+ System.out.println("error during setup: " + e.getMessage());
+ }
+ }
+
+ @Test
+ public void getSetTest(){
+ jsonStrategy.setValue("ramInMegabytes", 1024);
+ Assert.assertEquals("value1", jsonStrategy.getValue("hostname"));
+ Assert.assertEquals(4, jsonStrategy.getValue("numberofCpus"));
+ Assert.assertEquals(1024, jsonStrategy.getValue("ramInMegabytes"));
+ }
+
+ @Test
+ public void getPropertiesTest() {
+ Set<String> expected = new HashSet<>();
+ expected.add("hostname");
+ expected.add("numberofCpus");
+ Assert.assertEquals(expected, jsonStrategy.getProperties());
+ }
+
+ @Test
+ public void getGenericTypeTest() {
+ // If the values of this object are arrays, return the type within the array
+ Assert.assertEquals("class org.json.simple.JSONObject" , jsonStrategyContainer.getGenericTypeClass("pservers").toString());
+ }
+
+ @Test
+ public void getJavaClassNameTest() {
+ Assert.assertEquals("org.json.simple.JSONObject", jsonStrategy.getJavaClassName());
+ Assert.assertEquals("org.json.simple.JSONObject", jsonStrategyContainer.getJavaClassName());
+ }
+ @Test
+ public void getTypeTest() {
+ Assert.assertEquals("java.lang.String", jsonStrategy.getType("hostname"));
+ Assert.assertEquals("java.lang.Integer", jsonStrategy.getType("numberofCpus"));
+ }
+
+ @Test
+ public void isContainerTest() {
+ Assert.assertTrue(jsonStrategyContainer.isContainer());
+ }
+
+ @Test
+ public void newInstanceOfPropertyTest() {
+ Assert.assertEquals("class org.json.simple.JSONArray", jsonStrategyContainer.newInstanceOfProperty("pservers").getClass().toString());
+ }
+
+ @Test(expected = NullPointerException.class)
+ public void newInvalidInstanceOfPropertyTest() {
+ Assert.assertEquals(null, jsonStrategyContainer.newInstanceOfProperty("invalid").getClass().toString());
+ }
+ @Test
+ public void newInstanceOfNestedPropertyTest() {
+ Assert.assertEquals("class org.json.simple.JSONObject", jsonStrategyContainer.newInstanceOfNestedProperty("pservers").getClass().toString());
+ }
+
+ @Test(expected = NullPointerException.class)
+ public void newInvalidInstanceOfNestedPropertyTest() {
+ jsonStrategyContainer.newInstanceOfNestedProperty("invalid").getClass().toString();
+ }
+
+ @Test
+ public void isComplexTypeTest() {
+ // Complex: The value of this key contains a JSONObject
+ Assert.assertTrue(jsonStrategyComplex.isComplexType("pserver"));
+ Assert.assertFalse(jsonStrategyContainer.isComplexType("pservers"));
+ Assert.assertFalse(jsonStrategy.isComplexType("hostname"));
+ }
+
+ @Test
+ public void isComplexGenericTypeTest() {
+ // Complex Generic: The value of this key contains an array of JSONObjects
+ Assert.assertTrue(jsonStrategyContainer.isComplexGenericType("pservers"));
+ Assert.assertFalse(jsonStrategyComplex.isComplexGenericType("pserver"));
+ Assert.assertFalse(jsonStrategy.isComplexGenericType("hostname"));
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/PropertyPredicatesTest.java b/aai-core/src/test/java/org/onap/aai/introspection/PropertyPredicatesTest.java
index 0250bbb3..d5eaf0b6 100644
--- a/aai-core/src/test/java/org/onap/aai/introspection/PropertyPredicatesTest.java
+++ b/aai-core/src/test/java/org/onap/aai/introspection/PropertyPredicatesTest.java
@@ -29,6 +29,7 @@ import org.onap.aai.introspection.exceptions.AAIUnknownObjectException;
import java.util.Set;
import static org.hamcrest.Matchers.hasItems;
+import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertThat;
@@ -43,33 +44,33 @@ public class PropertyPredicatesTest extends AAISetup {
@Before
public void setup() throws Exception {
loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version);
- obj = loader.introspectorFromName("test-object");
+ obj = loader.introspectorFromName("generic-vnf");
}
@Test
public void includeInTestGeneration() throws AAIUnknownObjectException {
Set<String> props = obj.getProperties(PropertyPredicates.includeInTestGeneration());
-
- assertThat("props not found", props,
- not(hasItems("persona-model-ver", "not-visible-test-element", "model-invariant-id", "model-version-id")));
+
+ assertThat("props not found", props,
+ not(hasItems("model-invariant-id", "model-version-id")));
}
@Test
public void isVisible() throws AAIUnknownObjectException {
Set<String> props = obj.getProperties(PropertyPredicates.isVisible());
-
- assertThat("props not found", props, not(hasItems("persona-model-ver")));
+
+ assertThat("props not found", props, hasItems("model-invariant-id", "model-version-id"));
}
@Test
public void all() throws AAIUnknownObjectException {
Set<String> props = obj.getProperties();
-
- assertThat("all found", props, hasItems("persona-model-ver", "not-visible-test-element"));
+
+ assertThat("all found", props, hasItems("model-invariant-id", "model-version-id"));
}
-
+
}
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataCopyTest.java b/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataCopyTest.java
index 4a870995..7d3cafac 100644
--- a/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataCopyTest.java
+++ b/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataCopyTest.java
@@ -83,9 +83,11 @@ public class DataCopyTest {
loader);
graph.traversal().addV("aai-node-type", "model", "model-invariant-id", "key1").as("v1")
- .addV("aai-node-type", "model-ver", "model-ver", "myValue", "model-version-id", "key2", "model-version", "testValue").addInE("has", "v1", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "model-ver", "model-ver", "myValue", "model-version-id", "key2", "model-version", "testValue")
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v1", EdgeProperty.CONTAINS.toString(), true)
.addV("aai-node-type", "model", "model-invariant-id", "key3").as("v2")
- .addV("aai-node-type", "model-ver", "model-ver", "myValue", "model-version-id", "key4").addInE("has", "v2", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "model-ver", "model-ver", "myValue", "model-version-id", "key4")
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v2", EdgeProperty.CONTAINS.toString(), true)
.next();
graph.tx().commit();
}
@@ -105,7 +107,7 @@ public class DataCopyTest {
public void runPopulatePersonaModelVer() throws URISyntaxException, AAIException, UnsupportedEncodingException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, SecurityException, InstantiationException, NoSuchMethodException, MalformedURLException {
final Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
- final Introspector obj = loader.introspectorFromName("test-object");
+ final Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "myId");
obj.setValue("model-invariant-id", "key1");
obj.setValue("model-version-id", "key2");
@@ -123,7 +125,7 @@ public class DataCopyTest {
runner.execute(obj, self);
- assertEquals("value populated", "testValue", obj.getValue("persona-model-ver"));
+ assertEquals("value populated", "testValue", obj.getValue("persona-model-version"));
g.tx().rollback();
@@ -134,7 +136,7 @@ public class DataCopyTest {
public void runPopulateModelVersionId() throws URISyntaxException, AAIException, UnsupportedEncodingException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, SecurityException, InstantiationException, NoSuchMethodException, MalformedURLException {
final Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.v9);
- final Introspector obj = loader.introspectorFromName("test-object");
+ final Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "myId");
obj.setValue("persona-model-id", "key1");
obj.setValue("persona-model-version", "testValue");
@@ -187,7 +189,7 @@ public class DataCopyTest {
public void expectedMissingPropertyExceptionInURI() throws AAIException, UnsupportedEncodingException {
final Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
- final Introspector obj = loader.introspectorFromName("test-object");
+ final Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "myId");
obj.setValue("model-invariant-id", "key1");
@@ -210,7 +212,7 @@ public class DataCopyTest {
@Test
public void expectedMissingPropertyExceptionForResultingObject() throws AAIException, UnsupportedEncodingException {
final Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
- final Introspector obj = loader.introspectorFromName("test-object");
+ final Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "myId");
obj.setValue("model-invariant-id", "key3");
obj.setValue("model-version-id", "key4");
@@ -234,7 +236,7 @@ public class DataCopyTest {
@Test
public void expectNoProcessingWithNoProperties() throws AAIException, UnsupportedEncodingException {
final Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
- final Introspector obj = loader.introspectorFromName("test-object");
+ final Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "myId");
TransactionalGraphEngine spy = spy(dbEngine);
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataLinkTest.java b/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataLinkTest.java
index b817cc69..684bb5b8 100644
--- a/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataLinkTest.java
+++ b/aai-core/src/test/java/org/onap/aai/introspection/sideeffect/DataLinkTest.java
@@ -31,6 +31,7 @@ import org.junit.*;
import org.junit.rules.ExpectedException;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
+import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.dbmap.DBConnectionType;
import org.onap.aai.exceptions.AAIException;
@@ -52,7 +53,7 @@ import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
-public class DataLinkTest {
+public class DataLinkTest extends AAISetup {
private static TitanGraph graph;
private final static Version version = Version.getLatest();
@@ -71,8 +72,6 @@ public class DataLinkTest {
@BeforeClass
public static void setup() throws NoSuchFieldException, SecurityException, Exception {
graph = TitanFactory.build().set("storage.backend","inmemory").open();
- System.setProperty("AJSC_HOME", ".");
- System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local");
loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version);
dbEngine = new TitanDBEngine(
queryStyle,
@@ -81,13 +80,17 @@ public class DataLinkTest {
graph.traversal().addV("aai-node-type", "vpn-binding", "vpn-id", "addKey").as("v1")
.addV("aai-node-type", "vpn-binding", "vpn-id", "modifyKey").as("v2")
- .addV("aai-node-type", "route-target", "global-route-target", "modifyTargetKey", "route-target-role", "modifyRoleKey", "linked", true).addInE("has", "v2", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "route-target", "global-route-target", "modifyTargetKey", "route-target-role", "modifyRoleKey", "linked", true)
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v2", EdgeProperty.CONTAINS.toString(), true)
.addV("aai-node-type", "vpn-binding", "vpn-id", "deleteKey").as("v3")
- .addV("aai-node-type", "route-target", "global-route-target", "deleteTargetKey", "route-target-role", "deleteRoleKey", "linked", true).addInE("has", "v3", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "route-target", "global-route-target", "deleteTargetKey", "route-target-role", "deleteRoleKey", "linked", true)
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v3", EdgeProperty.CONTAINS.toString(), true)
.addV("aai-node-type", "vpn-binding", "vpn-id", "getKey").as("v4")
- .addV("aai-node-type", "route-target", "global-route-target", "getTargetKey", "route-target-role", "getRoleKey", "linked", true).addInE("has", "v4", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "route-target", "global-route-target", "getTargetKey", "route-target-role", "getRoleKey", "linked", true)
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v4", EdgeProperty.CONTAINS.toString(), true)
.addV("aai-node-type", "vpn-binding", "vpn-id", "getKeyNoLink").as("v5")
- .addV("aai-node-type", "route-target", "global-route-target", "getTargetKeyNoLink", "route-target-role", "getRoleKeyNoLink").addInE("has", "v5", EdgeProperty.CONTAINS.toString(), true)
+ .addV("aai-node-type", "route-target", "global-route-target", "getTargetKeyNoLink", "route-target-role", "getRoleKeyNoLink")
+ .addOutE("org.onap.relationships.inventory.BelongsTo", "v5", EdgeProperty.CONTAINS.toString(), true)
.next();
graph.tx().commit();
}
@@ -187,7 +190,12 @@ public class DataLinkTest {
runner.execute(obj, self);
assertEquals("route-target vertex not found", false, traversal.V()
- .has(AAIProperties.NODE_TYPE, "route-target").has("global-route-target", "deleteTargetKey").has("route-target-role", "deleteRoleKey").has("linked", true).hasNext());
+ .has(AAIProperties.NODE_TYPE, "route-target")
+ .has("global-route-target", "deleteTargetKey")
+ .has("route-target-role", "deleteRoleKey")
+ .has("linked", true)
+ .hasNext()
+ );
g.tx().rollback();
}
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/tools/CreateUUIDTest.java b/aai-core/src/test/java/org/onap/aai/introspection/tools/CreateUUIDTest.java
new file mode 100644
index 00000000..bb2604ec
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/introspection/tools/CreateUUIDTest.java
@@ -0,0 +1,91 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.introspection.tools;
+
+import org.junit.Before;
+import org.junit.Test;
+import org.onap.aai.AAISetup;
+import org.onap.aai.introspection.*;
+import org.onap.aai.introspection.exceptions.AAIUnknownObjectException;
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
+public class CreateUUIDTest extends AAISetup {
+
+ private CreateUUID createUUID;
+
+ private Loader loader;
+ private Issue issue;
+
+ @Before
+ public void setup(){
+ createUUID = new CreateUUID();
+ loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
+ }
+
+ /**
+ * Tests to check if the issue is not resolvable since
+ * the property that is being tested doesn't have the auto generated uuid
+ * metadata set to true in the oxm xml for the version specified
+ *
+ * @throws AAIUnknownObjectException - if the object type specified is unable to be found in the oxm
+ */
+ @Test
+ public void testNonResolvableIssueIfMissingPropNameThatIsRequired() throws AAIUnknownObjectException {
+
+ Introspector introspector = loader.introspectorFromName("pserver");
+
+ issue = new Issue();
+ issue.setDetail("Some message");
+ issue.setType(IssueType.MISSING_KEY_PROP);
+ issue.setPropName("hostname");
+ issue.setIntrospector(introspector);
+
+ boolean isIssue = createUUID.resolveIssue(issue);
+
+ assertFalse(isIssue);
+ }
+
+ /**
+ * Tests when there is a resolvable issue when the property
+ * looking for, model-element-uuid, has the auto generated uuid
+ * metadata attribute associated to it if the data is missing
+ *
+ * @throws AAIUnknownObjectException - if the object type specified is unable to be found in the oxm
+ */
+ @Test
+ public void testResolvableIssueWhenMissingPropNameAllowsToUseGeneratedUUID() throws AAIUnknownObjectException {
+
+ Introspector introspector = loader.introspectorFromName("model-element");
+
+ issue = new Issue();
+ issue.setDetail("Some message");
+ issue.setType(IssueType.MISSING_KEY_PROP);
+ issue.setPropName("model-element-uuid");
+ issue.setIntrospector(introspector);
+
+ boolean isIssue = createUUID.resolveIssue(issue);
+ assertTrue(isIssue);
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/introspection/validation/IntrospectorValidationTest.java b/aai-core/src/test/java/org/onap/aai/introspection/validation/IntrospectorValidationTest.java
index db21f578..3bba4ee0 100644
--- a/aai-core/src/test/java/org/onap/aai/introspection/validation/IntrospectorValidationTest.java
+++ b/aai-core/src/test/java/org/onap/aai/introspection/validation/IntrospectorValidationTest.java
@@ -63,7 +63,7 @@ public class IntrospectorValidationTest {
@Ignore
@Test
public void verifySuccessWhenEmpty() throws AAIException {
- Introspector obj = loader.introspectorFromName("test-object");
+ Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "key1");
validator.validate(obj);
List<Issue> issues = validator.getIssues();
@@ -73,7 +73,7 @@ public class IntrospectorValidationTest {
@Ignore
@Test
public void verifyRequiresSingleFieldFailure() throws AAIException {
- Introspector obj = loader.introspectorFromName("test-object");
+ Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "key1");
obj.setValue("model-invariant-id", "id1");
validator.validate(obj);
@@ -85,7 +85,7 @@ public class IntrospectorValidationTest {
@Ignore
@Test
public void verifyRequiresSuccess() throws AAIException {
- Introspector obj = loader.introspectorFromName("test-object");
+ Introspector obj = loader.introspectorFromName("generic-vnf");
obj.setValue("vnf-id", "key1");
obj.setValue("model-invariant-id", "id1");
obj.setValue("model-version-id", "version-id1");
diff --git a/aai-core/src/test/java/org/onap/aai/logging/EcompErrorCategoryTest.java b/aai-core/src/test/java/org/onap/aai/logging/EcompErrorCategoryTest.java
new file mode 100644
index 00000000..485a63f2
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/logging/EcompErrorCategoryTest.java
@@ -0,0 +1,50 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.logging;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.*;
+
+import ch.qos.logback.classic.Level;
+
+import ch.qos.logback.classic.spi.ILoggingEvent;
+import org.junit.*;
+
+public class EcompErrorCategoryTest {
+
+ EcompErrorCategory _ecompErrorCategory;
+ ILoggingEvent mockEvent;
+
+ @Before
+ public void setUp() throws Exception {
+
+ mockEvent = mock(ILoggingEvent.class);
+ _ecompErrorCategory= spy(EcompErrorCategory.class);
+
+ }
+ @Test
+ public void warn(){
+ String defaultCategory = "WARN";
+ assertEquals(_ecompErrorCategory.convert(mockEvent), defaultCategory);
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/logging/EcompResponseCodeTest.java b/aai-core/src/test/java/org/onap/aai/logging/EcompResponseCodeTest.java
new file mode 100644
index 00000000..522aeb2b
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/logging/EcompResponseCodeTest.java
@@ -0,0 +1,49 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.logging;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.*;
+
+import ch.qos.logback.classic.Level;
+
+import ch.qos.logback.classic.spi.ILoggingEvent;
+import org.junit.*;
+
+public class EcompResponseCodeTest {
+
+ EcompResponseCode _ecompResponseCode;
+ ILoggingEvent mockEvent;
+
+ @Before
+ public void setUp() throws Exception {
+
+ mockEvent = mock(ILoggingEvent.class);
+ _ecompResponseCode= spy(EcompResponseCode.class);
+
+ }
+ @Test
+ public void getDefaultCode(){
+ assertEquals(_ecompResponseCode.convert(mockEvent), LoggingContext.UNKNOWN_ERROR);
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/logging/EcompResponseDescriptionTest.java b/aai-core/src/test/java/org/onap/aai/logging/EcompResponseDescriptionTest.java
new file mode 100644
index 00000000..3453d2de
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/logging/EcompResponseDescriptionTest.java
@@ -0,0 +1,50 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.logging;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.*;
+
+import ch.qos.logback.classic.Level;
+
+import ch.qos.logback.classic.spi.ILoggingEvent;
+import org.junit.*;
+import org.onap.aai.logging.LoggingContext.LoggingField;
+
+public class EcompResponseDescriptionTest {
+
+ EcompResponseDescription _ecompResponseDescription;
+ ILoggingEvent mockEvent;
+
+ @Before
+ public void setUp() throws Exception {
+
+ mockEvent = mock(ILoggingEvent.class);
+ _ecompResponseDescription= spy(EcompResponseDescription.class);
+
+ }
+ @Test
+ public void getDefaultDesc(){
+ assertEquals(_ecompResponseDescription.convert(mockEvent), _ecompResponseDescription.DefaultDescription);
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/logging/LoggingContextTest.java b/aai-core/src/test/java/org/onap/aai/logging/LoggingContextTest.java
index 7885410d..46ac5997 100644
--- a/aai-core/src/test/java/org/onap/aai/logging/LoggingContextTest.java
+++ b/aai-core/src/test/java/org/onap/aai/logging/LoggingContextTest.java
@@ -53,7 +53,7 @@ public class LoggingContextTest {
}
@Test
- public void testRequestId() throws Exception { //AKA Transaction ID
+ public void testRequestId() { //AKA Transaction ID
final String sUuid = "57d51eaa-edc6-4f50-a69d-f2d4d2445120";
LoggingContext.requestId(sUuid);
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/query/GraphTraversalTest.java b/aai-core/src/test/java/org/onap/aai/parsers/query/GraphTraversalTest.java
index df9d6122..968adb3c 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/query/GraphTraversalTest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/query/GraphTraversalTest.java
@@ -126,7 +126,7 @@ public class GraphTraversalTest extends AAISetup {
QueryParser query = dbEngine.getQueryBuilder().createQueryFromURI(uri);
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("physical-location-id", "key1").has("aai-node-type", "complex")
- .out("hasCtagPool")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "ctag-pool")
.has("target-pe", "key2").has("availability-zone-name", "key3");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
@@ -164,14 +164,14 @@ public class GraphTraversalTest extends AAISetup {
QueryParser query = dbEngine.getQueryBuilder().createQueryFromURI(uri);
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
- .has("interface-id", "key2").out("hasCTag")
+ .has("interface-id", "key2").in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "cvlan-tag")
.has("cvlan-tag", 655);
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
.has("interface-id", "key2");
assertEquals(
@@ -212,13 +212,13 @@ public class GraphTraversalTest extends AAISetup {
QueryParser query = dbEngine.getQueryBuilder().createQueryFromURI(uri);
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
- .has("interface-id", "key2").out("hasCTag")
+ .has("interface-id", "key2").in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "cvlan-tag");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
.has("interface-id", "key2");
assertEquals(
@@ -296,7 +296,7 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("cloud-owner", "mycloudowner").has("cloud-region-id", "mycloudregionid")
.has("aai-node-type", "cloud-region")
- .out("has")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "tenant")
.has("tenant-name", "Tenant1");
@@ -340,7 +340,7 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("cloud-owner", "mycloudowner").has("cloud-region-id", "mycloudregionid")
.has("aai-node-type", "cloud-region")
- .out("has")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "tenant")
.has("tenant-name", P.within(values));
@@ -432,14 +432,14 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
- .has("interface-id", "key2").out("hasCTag")
+ .has("interface-id", "key2").in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "cvlan-tag")
.has("cvlan-tag", 333);
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("vnf-id", "key1").has("aai-node-type", "vce")
- .out("hasPortGroup")
+ .in("org.onap.relationships.inventory.BelongsTo")
.has("aai-node-type", "port-group")
.has("interface-id", "key2");
assertEquals(
@@ -527,7 +527,7 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("vnf-id", "key1").has(AAIProperties.NODE_TYPE, P.within("vce", "generic-vnf"))
- .union(__.out("has").has(AAIProperties.NODE_TYPE, "vf-module")).has("vf-module-id", "key2");
+ .union(__.in("org.onap.relationships.inventory.BelongsTo").has(AAIProperties.NODE_TYPE, "vf-module")).has("vf-module-id", "key2");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("vnf-id", "key1").has(AAIProperties.NODE_TYPE, P.within("vce", "generic-vnf"));
@@ -621,15 +621,15 @@ public class GraphTraversalTest extends AAISetup {
@Test
public void dbAliasedSearch() throws UnsupportedEncodingException, AAIException {
- URI uri = UriBuilder.fromPath("network/test-objects").build();
+ URI uri = UriBuilder.fromPath("network/generic-vnfs").build();
MultivaluedMap<String, String> map = new MultivaluedHashMap<>();
map.putSingle("persona-model-customization-id", "key2");
QueryParser query = dbEnginev9.getQueryBuilder().createQueryFromURI(uri, map);
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
- .has("aai-node-type", "test-object")
+ .has("aai-node-type", "generic-vnf")
.has("model-customization-id", "key2");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
- .has("aai-node-type", "test-object");
+ .has("aai-node-type", "generic-vnf");
assertEquals(
"gremlin query should be " + expected.toString(),
@@ -642,7 +642,7 @@ public class GraphTraversalTest extends AAISetup {
assertEquals(
"result type should be",
- "test-object",
+ "generic-vnf",
query.getResultType());
assertEquals(
"result type should be empty",
@@ -661,7 +661,7 @@ public class GraphTraversalTest extends AAISetup {
QueryParser query = dbEnginev9.getQueryBuilder().createQueryFromURI(uri, map);
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("aai-node-type", "vpn-binding")
- .where(__.out("has").has(AAIProperties.NODE_TYPE, "route-target").has("global-route-target", "key2"));
+ .where(__.in("org.onap.relationships.inventory.BelongsTo").has(AAIProperties.NODE_TYPE, "route-target").has("global-route-target", "key2"));
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("aai-node-type", "vpn-binding");
@@ -693,7 +693,7 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("physical-location-id", "key1")
.has("aai-node-type", "complex")
- .in("locatedIn").has("aai-node-type", "pserver");
+ .in("org.onap.relationships.inventory.LocatedIn").has("aai-node-type", "pserver");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("physical-location-id", "key1")
.has("aai-node-type", "complex");
@@ -727,7 +727,7 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("physical-location-id", "key1")
.has("aai-node-type", "complex")
- .in("locatedIn").has("aai-node-type", "pserver")
+ .in("org.onap.relationships.inventory.LocatedIn").has("aai-node-type", "pserver")
.has("hostname", "key2");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("physical-location-id", "key1")
@@ -762,14 +762,14 @@ public class GraphTraversalTest extends AAISetup {
GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
.has("physical-location-id", "key1")
.has("aai-node-type", "complex")
- .in("locatedIn").has("aai-node-type", "pserver")
+ .in("org.onap.relationships.inventory.LocatedIn").has("aai-node-type", "pserver")
.has("hostname", "key2")
- .in("runsOnPserver").has("aai-node-type", "vserver")
+ .in("tosca.relationships.HostedOn").has("aai-node-type", "vserver")
.has("vserver-id", "key3");
GraphTraversal<Vertex, Vertex> expectedParent = __.<Vertex>start()
.has("physical-location-id", "key1")
.has("aai-node-type", "complex")
- .in("locatedIn").has("aai-node-type", "pserver")
+ .in("org.onap.relationships.inventory.LocatedIn").has("aai-node-type", "pserver")
.has("hostname", "key2");
assertEquals(
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/query/UniqueURIQueryTest.java b/aai-core/src/test/java/org/onap/aai/parsers/query/UniqueURIQueryTest.java
index 84e9c6bc..d9dcabd3 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/query/UniqueURIQueryTest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/query/UniqueURIQueryTest.java
@@ -150,7 +150,7 @@ public class UniqueURIQueryTest extends AAISetup {
String parentKey = "vce/key1/port-group/key2";
URI uri = UriBuilder.fromPath(parentURI + "/cvlan-tags").build();
QueryParser query = dbEngine.getQueryBuilder().createQueryFromURI(uri);
- GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start().has("aai-unique-key", parentKey).out("hasCTag").has("aai-node-type", "cvlan-tag");
+ GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start().has("aai-unique-key", parentKey).in("org.onap.relationships.inventory.BelongsTo").has("aai-node-type", "cvlan-tag");
GraphTraversal<Vertex, Vertex> parentExpected = __.<Vertex>start().has("aai-unique-key",parentKey);
String parentResultType = "port-group";
String resultType = "cvlan-tag";
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/relationship/RelationshipToURITest.java b/aai-core/src/test/java/org/onap/aai/parsers/relationship/RelationshipToURITest.java
index 04727067..1710986b 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/relationship/RelationshipToURITest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/relationship/RelationshipToURITest.java
@@ -54,7 +54,7 @@ public class RelationshipToURITest extends AAISetup {
public void onlyLink() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("only-related-link.json"));
- URI expected = new URI("/aai/v10/network/test-objects/test-object/key1");
+ URI expected = new URI("/aai/v10/network/generic-vnfs/generic-vnf/key1");
RelationshipToURI parse = new RelationshipToURI(loader, obj);
@@ -67,7 +67,7 @@ public class RelationshipToURITest extends AAISetup {
public void onlyData() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("only-relationship-data.json"));
- URI expected = new URI("/network/test-objects/test-object/key1");
+ URI expected = new URI("/network/generic-vnfs/generic-vnf/key1");
RelationshipToURI parse = new RelationshipToURI(loader, obj);
@@ -80,7 +80,7 @@ public class RelationshipToURITest extends AAISetup {
public void failV10() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("both-failv10-successv9.json"));
- URI expected = new URI("/aai/v10/network/test-objects/test-object/key1");
+ URI expected = new URI("/aai/v10/network/generic-vnfs/generic-vnf/key1");
thrown.expect(AAIIdentityMapParseException.class);
thrown.expect(hasProperty("code", is("AAI_3000")));
@@ -93,7 +93,7 @@ public class RelationshipToURITest extends AAISetup {
public void successV9() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version9);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("both-failv10-successv9.json"));
- URI expected = new URI("/network/test-objects/test-object/key2");
+ URI expected = new URI("/network/generic-vnfs/generic-vnf/key2");
RelationshipToURI parse = new RelationshipToURI(loader, obj);
URI uri = parse.getUri();
@@ -107,7 +107,7 @@ public class RelationshipToURITest extends AAISetup {
public void failV9() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version9);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("both-successv10-failv9.json"));
- URI expected = new URI("/network/test-objects/test-object/key1");
+ URI expected = new URI("/network/generic-vnfs/generic-vnf/key1");
thrown.expect(AAIIdentityMapParseException.class);
thrown.expect(hasProperty("code", is("AAI_3000")));
@@ -122,7 +122,7 @@ public class RelationshipToURITest extends AAISetup {
public void failNothingToParse() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("nothing-to-parse.json"));
- URI expected = new URI("/aai/v10/network/test-objects/test-object/key1");
+ URI expected = new URI("/aai/v10/network/generic-vnfs/generic-vnf/key1");
thrown.expect(AAIIdentityMapParseException.class);
thrown.expect(hasProperty("code", is("AAI_3000")));
@@ -136,7 +136,7 @@ public class RelationshipToURITest extends AAISetup {
public void successV10() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("both-successv10-failv9.json"));
- URI expected = new URI("/aai/v10/network/test-objects/test-object/key1");
+ URI expected = new URI("/aai/v10/network/generic-vnfs/generic-vnf/key1");
RelationshipToURI parse = new RelationshipToURI(loader, obj);
@@ -152,7 +152,7 @@ public class RelationshipToURITest extends AAISetup {
public void ambiguousRelationship() throws AAIException, URISyntaxException, IOException {
Loader loader = LoaderFactory.createLoaderForVersion(modelType, version10);
Introspector obj = loader.unmarshal("relationship", this.getJsonString("ambiguous-relationship.json"));
- URI expected = new URI("/aai/v10/network/test-objects/test-object/key1");
+ URI expected = new URI("/aai/v10/network/generic-vnfs/generic-vnf/key1");
thrown.expect(AmbiguousMapAAIException.class);
thrown.expect(hasProperty("code", is("AAI_6146")));
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIParserTest.java b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIParserTest.java
index bc3a684b..42d26f99 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIParserTest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIParserTest.java
@@ -59,7 +59,7 @@ public class URIParserTest extends AAISetup {
URI uri = UriBuilder.fromPath("/aai/" + loader.getVersion() + "/network/tenants/tenant/key1/vservers/vserver/key2/l-interfaces/l-interface/key3").build();
thrown.expect(AAIException.class);
- thrown.expect(hasProperty("code", is("AAI_3000")));
+ thrown.expect(hasProperty("code", is("AAI_3001")));
new URIToDBKey(loader, uri);
}
diff --git a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
index ce4933a6..ca64ec76 100644
--- a/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
+++ b/aai-core/src/test/java/org/onap/aai/parsers/uri/URIToExtensionInformationTest.java
@@ -53,7 +53,7 @@ public class URIToExtensionInformationTest extends AAISetup {
*/
@Test
public void vserversV8() throws JAXBException, AAIException, IllegalArgumentException, UnsupportedEncodingException {
- URI uri = UriBuilder.fromPath("/aai/" + v8Loader.getVersion() + "/cloud-infrastructure/cloud-regions/cloud-region/att-aic/AAIAIC25/tenants/tenant/key1/vservers/vserver/key2").build();
+ URI uri = UriBuilder.fromPath("/aai/" + v8Loader.getVersion() + "/cloud-infrastructure/cloud-regions/cloud-region/testOwner1/testRegion1/tenants/tenant/key1/vservers/vserver/key2").build();
URIToExtensionInformation parse = new URIToExtensionInformation(v8Loader, uri);
String namespace = "cloudInfrastructure";
diff --git a/aai-core/src/test/java/org/onap/aai/query/builder/QueryBuilderTestAbstraction.java b/aai-core/src/test/java/org/onap/aai/query/builder/QueryBuilderTestAbstraction.java
index d478d608..b475a385 100644
--- a/aai-core/src/test/java/org/onap/aai/query/builder/QueryBuilderTestAbstraction.java
+++ b/aai-core/src/test/java/org/onap/aai/query/builder/QueryBuilderTestAbstraction.java
@@ -35,8 +35,7 @@ import org.apache.tinkerpop.gremlin.process.traversal.step.util.BulkSet;
import org.apache.tinkerpop.gremlin.structure.Edge;
import org.apache.tinkerpop.gremlin.structure.Graph;
import org.apache.tinkerpop.gremlin.structure.Vertex;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.*;
import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.exceptions.AAIException;
@@ -51,19 +50,33 @@ import org.onap.aai.serialization.db.exceptions.NoEdgeRuleFoundException;
public abstract class QueryBuilderTestAbstraction extends AAISetup {
- protected Loader loader;
- protected Graph graph;
+ protected static Loader loader;
+ protected static Graph graph;
protected GraphTraversalSource g;
-
+
protected EdgeRules testEdgeRules = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_TraversalQueryTest.json");
- @Before
- public void configure() throws Exception {
+
+ @BeforeClass
+ public static void setup() throws Exception {
loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, AAIProperties.LATEST);
graph = TitanFactory.build().set("storage.backend", "inmemory").open();
+ }
+
+ @Before
+ public void configure() throws Exception {
g = graph.traversal();
}
-
+
+ @After
+ public void deConfigure() throws Exception {
+ g.tx().rollback();
+ }
+
+ @AfterClass
+ public static void teardown() throws Exception {
+ graph.close();
+ }
@Test
public void createEdgeGVnfToVnfcTraversal() throws AAIException {
@@ -77,7 +90,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals(vnfc, tQ.next());
- g.tx().rollback();
+
}
@Test
@@ -94,7 +107,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals(logicalLink, next);
- g.tx().rollback();
+
}
@Test
@@ -111,7 +124,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals(logicalLink, next);
- g.tx().rollback();
+
}
@Test
@@ -128,7 +141,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals(logicalLink, next);
- g.tx().rollback();
+
}
@Test
@@ -147,7 +160,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 1 vertexes ", 1, list.size());
assertTrue("Has vertex on the default edge ", list.contains(vnfc1));
- g.tx().rollback();
+
}
@Test
@@ -172,7 +185,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("2 - Has 1 vertexes ", 1, list2.size());
assertTrue("2 - traversal results in vce ", list2.contains(vce));
- g.tx().rollback();
+
}
@Test
@@ -191,7 +204,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("1 - Has 1 vertexes ", 1, list.size());
assertTrue("1 - traversal results in vnfc ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -213,7 +226,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertTrue("Has vertex on the default edge ", list.contains(vnfc1));
assertTrue("Has vertex on the re-uses edge ", list.contains(vnfc2));
- g.tx().rollback();
+
}
@Test
@@ -234,7 +247,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 1 vertexes ", 1, list.size());
assertTrue("Only returns the generic vnf vertex", list.contains(gvnf));
- g.tx().rollback();
+
}
@Test
@@ -250,7 +263,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 1 vertexes ", 1, list.size());
- g.tx().rollback();
+
}
@Test
@@ -266,7 +279,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 2, list.size());
- g.tx().rollback();
+
}
@Test
@@ -282,7 +295,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 2, list.size());
- g.tx().rollback();
+
}
@Test
@@ -302,7 +315,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 1, list.size());
assertTrue("result has pserver ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -322,7 +335,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 1, list.size());
assertEquals("result has pserver ",pserver, list.get(0).iterator().next());
- g.tx().rollback();
+
}
@Test
@@ -342,7 +355,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 2, list.size());
assertTrue("result has pserver ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -362,7 +375,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
list.add(tQ.next());
assertFalse("Has next 3 ",tQ.hasNext());
assertTrue("Has all the vertexes", list.contains(v1) && list.remove(v2));
- g.tx().rollback();
+
}
@Test
@@ -382,7 +395,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 2, list.size());
assertTrue("result has pserver ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -402,7 +415,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 vertexes ", 2, list.size());
assertTrue("result has pserver ", list.contains(complex));
- g.tx().rollback();
+
}
@Test
@@ -421,7 +434,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("1 - Has 1 edge ", 1, list.size());
assertTrue("1 - traversal results in edge ", list.contains(e));
- g.tx().rollback();
+
}
@Test
@@ -440,7 +453,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("1 - Has 1 edge ", 1, list1.size());
assertTrue("1 - traversal results in edge ", list1.contains(e));
- g.tx().rollback();
+
}
@Test
@@ -461,7 +474,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertTrue("result has default edge ", list.contains(e1));
assertTrue("result has other edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test
@@ -482,7 +495,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertTrue("result has default edge ", list.contains(e1));
assertTrue("result has other edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test
@@ -504,7 +517,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertTrue("result has default edge ", list.contains(e1));
assertTrue("result has other edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test (expected = NoEdgeRuleFoundException.class)
@@ -518,7 +531,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
QueryBuilder<Edge> tQ = getNewEdgeTraversal(gvnf);
tQ.getEdgesBetweenWithLabels(EdgeType.COUSIN, "generic-vnf", "pserver", Collections.emptyList());
- g.tx().rollback();
+
}
@Test
@@ -538,7 +551,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 1 edges ", 1, list.size());
assertFalse("result does not have default edge ", list.contains(e1));
assertTrue("result has other edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test
@@ -558,7 +571,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 edges ", 2, list.size());
assertTrue("result has generic-vnf-pserver-A edge ", list.contains(e1));
assertTrue("result has generic-vnf-pserver-B edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test (expected = NoEdgeRuleFoundException.class)
@@ -571,7 +584,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
List<Edge> list = tQ.toList();
- g.tx().rollback();
+
}
private Vertex getVertex() throws AAIException {
@@ -600,7 +613,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 1 edges ", 1, list.size());
assertFalse("result does not have default edge ", list.contains(e1));
assertTrue("result has other edge ", list.contains(e2));
- g.tx().rollback();
+
}
@Test
@@ -620,7 +633,7 @@ public abstract class QueryBuilderTestAbstraction extends AAISetup {
assertEquals("Has 2 edges ", 2, list.size());
assertTrue("result has generic-vnf-pserver-A edge ", list.contains(e1));
assertTrue("result has generic-vnf-pserver-B edge ", list.contains(e2));
- g.tx().rollback();
+
}
protected abstract QueryBuilder<Edge> getNewEdgeTraversal(Vertex v);
diff --git a/aai-core/src/test/java/org/onap/aai/query/builder/SimplePathTest.java b/aai-core/src/test/java/org/onap/aai/query/builder/SimplePathTest.java
index a3515ab9..4dfe2dbd 100644
--- a/aai-core/src/test/java/org/onap/aai/query/builder/SimplePathTest.java
+++ b/aai-core/src/test/java/org/onap/aai/query/builder/SimplePathTest.java
@@ -79,9 +79,6 @@ public class SimplePathTest extends AAISetup {
Vertex lint2 = graph.addVertex(T.label, "l-interface", T.id, "11", "aai-node-type", "l-interface",
"interface-name", "lint2", "is-port-mirrored", "true", "in-maint", "true", "is-ip-unnumbered", "false");
- Vertex loglink2 = graph.addVertex(T.label, "logical-link", T.id, "21", "aai-node-type", "logical-link",
- "link-name", "loglink2", "in-maint", "false", "link-type", "sausage");
-
Vertex lint3 = graph.addVertex(T.label, "l-interface", T.id, "12", "aai-node-type", "l-interface",
"interface-name", "lint3", "is-port-mirrored", "true", "in-maint", "true", "is-ip-unnumbered", "false");
@@ -91,8 +88,7 @@ public class SimplePathTest extends AAISetup {
rules.addTreeEdge(g, gvnf1, lint1);
rules.addEdge(g, lint1, loglink1);
rules.addEdge(g, loglink1, lint2);
- rules.addEdge(g, lint2, loglink2);
- rules.addEdge(g, loglink2, lint3);
+ rules.addEdge(g, loglink1, lint3);
rules.addTreeEdge(g, gvnf2, lint3);
return g;
diff --git a/aai-core/src/test/java/org/onap/aai/query/builder/TraversalQueryTest.java b/aai-core/src/test/java/org/onap/aai/query/builder/TraversalQueryTest.java
index 41daf17f..81d42ddb 100644
--- a/aai-core/src/test/java/org/onap/aai/query/builder/TraversalQueryTest.java
+++ b/aai-core/src/test/java/org/onap/aai/query/builder/TraversalQueryTest.java
@@ -75,20 +75,20 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("they are equal", expected, tQ.getQuery());
- g.tx().rollback();
+
}
@Test
public void traversalClones() throws UnsupportedEncodingException, AAIException, URISyntaxException {
QueryBuilder<Vertex> tQ = new TraversalQuery<>(loader, g);
- QueryBuilder<Vertex> builder = tQ.createQueryFromURI(new URI("network/test-objects/test-object/key1")).getQueryBuilder();
- GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start().has("vnf-id", "key1").has("aai-node-type", "test-object");
- GraphTraversal<Vertex, Vertex> containerExpected = __.<Vertex>start().has("aai-node-type", "test-object");
+ QueryBuilder<Vertex> builder = tQ.createQueryFromURI(new URI("network/generic-vnfs/generic-vnf/key1")).getQueryBuilder();
+ GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start().has("vnf-id", "key1").has("aai-node-type", "generic-vnf");
+ GraphTraversal<Vertex, Vertex> containerExpected = __.<Vertex>start().has("aai-node-type", "generic-vnf");
assertEquals("query object", expected.toString(), builder.getQuery().toString());
assertEquals("container query object", containerExpected.toString(), builder.getContainerQuery().getQuery().toString());
- g.tx().rollback();
+
}
@Test
@@ -96,13 +96,21 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
QueryBuilder<Vertex> tQ = new TraversalQuery<>(loader, g);
QueryBuilder<Vertex> builder = tQ.createQueryFromURI(new URI("network/generic-vnfs/generic-vnf/key1/l-interfaces/l-interface/key2")).getQueryBuilder();
- GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start().has("vnf-id", "key1").has("aai-node-type", "generic-vnf").out("hasLInterface").has(AAIProperties.NODE_TYPE, "l-interface").has("interface-name", "key2");
- GraphTraversal<Vertex, Vertex> containerExpected = __.<Vertex>start().has("vnf-id", "key1").has("aai-node-type", "generic-vnf").out("hasLInterface").has(AAIProperties.NODE_TYPE, "l-interface");
+ GraphTraversal<Vertex, Vertex> expected = __.<Vertex>start()
+ .has("vnf-id", "key1")
+ .has("aai-node-type", "generic-vnf")
+ .in("org.onap.relationships.inventory.BelongsTo").has(AAIProperties.NODE_TYPE, "l-interface")
+ .has("interface-name", "key2");
+ GraphTraversal<Vertex, Vertex> containerExpected = __.<Vertex>start()
+ .has("vnf-id", "key1")
+ .has("aai-node-type", "generic-vnf")
+ .in("org.onap.relationships.inventory.BelongsTo")
+ .has(AAIProperties.NODE_TYPE, "l-interface");
assertEquals("query object", expected.toString(), builder.getQuery().toString());
assertEquals("container query object", containerExpected.toString(), builder.getContainerQuery().getQuery().toString());
- g.tx().rollback();
+
}
@Test
@@ -121,7 +129,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("Has 1 vertexes ", 1, list.size());
assertTrue("Has vertex on the default edge ", list.contains(vnfc1));
- g.tx().rollback();
+
}
@Test
@@ -146,7 +154,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("2 - Has 1 vertexes ", 1, list2.size());
assertTrue("2 - traversal results in vce ", list2.contains(vce));
- g.tx().rollback();
+
}
@Test
@@ -165,7 +173,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("1 - Has 1 vertexes ", 1, list.size());
assertTrue("1 - traversal results in vnfc ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -187,7 +195,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertTrue("Has vertex on the default edge ", list.contains(vnfc1));
assertTrue("Has vertex on the re-uses edge ", list.contains(vnfc2));
- g.tx().rollback();
+
}
@Test
@@ -207,7 +215,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("Has 2 vertexes ", 2, list.size());
assertTrue("result has pserver ", list.contains(pserver));
- g.tx().rollback();
+
}
@Test
@@ -227,7 +235,7 @@ public class TraversalQueryTest extends QueryBuilderTestAbstraction {
assertEquals("Has 2 vertexes ", 2, list.size());
assertTrue("result has pserver ", list.contains(complex));
- g.tx().rollback();
+
}
diff --git a/aai-core/src/test/java/org/onap/aai/rest/CloudRegionTest.java b/aai-core/src/test/java/org/onap/aai/rest/CloudRegionTest.java
new file mode 100644
index 00000000..55fdd53d
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/rest/CloudRegionTest.java
@@ -0,0 +1,76 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.rest;
+
+import com.jayway.jsonpath.JsonPath;
+import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.onap.aai.AAIJunitRunner;
+import org.onap.aai.HttpTestUtil;
+import org.onap.aai.PayloadUtil;
+import org.onap.aai.exceptions.AAIException;
+import org.skyscreamer.jsonassert.JSONAssert;
+
+import javax.ws.rs.core.Response;
+import java.io.IOException;
+
+import static org.junit.Assert.assertEquals;
+
+/**
+ * <b>CloudRegionTest</b> is testing if you put a cloud region with all
+ * children nodes associated to it then you should be able to
+ * remove the cloud region without removing the individual child nodes first
+ */
+@RunWith(AAIJunitRunner.class)
+public class CloudRegionTest {
+
+ private HttpTestUtil httpTestUtil;
+
+ @Before
+ public void setUp(){
+ httpTestUtil = new HttpTestUtil();
+ }
+
+ @Ignore("Test is failing due to the deletion of node with children not correct will be fixed soon")
+ @Test
+ public void testPutWithAllCloudRegionChildrenNodesAndCheckIfDeleteIsSuccessful() throws IOException, AAIException {
+
+ String cloudRegionPayload = PayloadUtil.getResourcePayload("cloud-region-with-all-children.json");
+ String cloudRegionUri = "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/junit-cloud-owner/junit-cloud-region";
+
+ Response response = httpTestUtil.doPut(cloudRegionUri, cloudRegionPayload);
+ assertEquals("Expected the cloud region to be created", 201, response.getStatus());
+
+ response = httpTestUtil.doGet(cloudRegionUri);
+ assertEquals("Expected the cloud region to be found", 200, response.getStatus());
+ String jsonResponse = response.getEntity().toString();
+
+ JSONAssert.assertEquals(cloudRegionPayload, jsonResponse, false);
+ String resourceVersion = JsonPath.read(jsonResponse, "$.resource-version");
+
+ response = httpTestUtil.doDelete(cloudRegionUri, resourceVersion);
+ assertEquals("Expected the cloud region to be deleted", 204, response.getStatus());
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/rest/GenericVnfLInterfaceTest.java b/aai-core/src/test/java/org/onap/aai/rest/GenericVnfLInterfaceTest.java
new file mode 100644
index 00000000..f42eebb8
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/rest/GenericVnfLInterfaceTest.java
@@ -0,0 +1,78 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.rest;
+
+import org.json.JSONObject;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.onap.aai.AAIJunitRunner;
+import org.onap.aai.HttpTestUtil;
+import org.onap.aai.PayloadUtil;
+import org.skyscreamer.jsonassert.JSONAssert;
+
+import javax.ws.rs.core.Response;
+import java.util.HashMap;
+import java.util.Map;
+
+import static org.junit.Assert.assertEquals;
+
+@RunWith(AAIJunitRunner.class)
+public class GenericVnfLInterfaceTest {
+
+ private HttpTestUtil httpTestUtil;
+
+ @Before
+ public void setUp(){
+ httpTestUtil = new HttpTestUtil();
+ }
+
+ @Test
+ public void testPutTwoLInterfacesToGenericVnf() throws Exception {
+
+ Map<String, String> templateValueMap = new HashMap<>();
+ templateValueMap.put("ip-address", "ipv1");
+
+ String resource = PayloadUtil.getTemplatePayload("generic-vnf-with-lag-interface.json", templateValueMap);
+ Response response = httpTestUtil.doPut("/aai/v12/network/generic-vnfs/generic-vnf/vnf1", resource);
+ assertEquals("Expecting the generic vnf to be created", 201, response.getStatus());
+
+ response = httpTestUtil.doGet("/aai/v12/network/generic-vnfs/generic-vnf/vnf1");
+ assertEquals("Expecting the generic vnf to be updated", 200, response.getStatus());
+
+ resource = response.getEntity().toString().replaceAll("ipv1\",\"resource-version\":\"\\d+\"", "ipv2\"");
+ response = httpTestUtil.doPut("/aai/v12/network/generic-vnfs/generic-vnf/vnf1", resource);
+ assertEquals("Expecting the generic vnf to be updated", 200, response.getStatus());
+
+ response = httpTestUtil.doGet("/aai/v12/network/generic-vnfs/generic-vnf/vnf1");
+ assertEquals("Expecting the generic vnf to be updated", 200, response.getStatus());
+
+ String expected = PayloadUtil.getExpectedPayload("generic-vnf-with-lag-interface.json");
+ JSONAssert.assertEquals(expected, response.getEntity().toString(), false);
+
+ JSONObject jsonObject = new JSONObject(response.getEntity().toString());
+ String resourceVersion = (String) jsonObject.get("resource-version");
+
+ response = httpTestUtil.doDelete("/aai/v12/network/generic-vnfs/generic-vnf/vnf1", resourceVersion);
+ assertEquals("Expecting the generic vnf to be deleted", 204, response.getStatus());
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/rest/TenantTest.java b/aai-core/src/test/java/org/onap/aai/rest/TenantTest.java
new file mode 100644
index 00000000..3de8dfa2
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/rest/TenantTest.java
@@ -0,0 +1,93 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.rest;
+
+import com.jayway.jsonpath.JsonPath;
+import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.onap.aai.AAIJunitRunner;
+import org.onap.aai.HttpTestUtil;
+import org.onap.aai.PayloadUtil;
+import org.skyscreamer.jsonassert.JSONAssert;
+
+import javax.ws.rs.core.Response;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.UUID;
+
+import static org.junit.Assert.assertEquals;
+
+@RunWith(AAIJunitRunner.class)
+public class TenantTest {
+
+ private HttpTestUtil httpTestUtil;
+
+ private Map<String, String> templateValuesMap;
+
+ @Before
+ public void setup(){
+ httpTestUtil = new HttpTestUtil();
+ templateValuesMap = new HashMap<>();
+ }
+
+ @Ignore("Test is failing due to the deletion of node with children not correct will be fixed soon")
+ @Test
+ public void testCloudRegionTenantDeleteSuccessWithoutDeletingVserver() throws Exception {
+
+ templateValuesMap.put("cloud-region-id", UUID.randomUUID().toString());
+ templateValuesMap.put("cloud-owner", UUID.randomUUID().toString());
+ templateValuesMap.put("tenant-id", UUID.randomUUID().toString());
+ templateValuesMap.put("vserver-id", UUID.randomUUID().toString());
+
+ String cloudRegionPayload = PayloadUtil.getTemplatePayload("cloud-region.json", templateValuesMap);
+ String cloudRegionUri = String.format("/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/%s/%s",
+ templateValuesMap.get("cloud-owner"),
+ templateValuesMap.get("cloud-region-id")
+ );
+
+ String tenantUri = cloudRegionUri + "/tenants/tenant/" + templateValuesMap.get("tenant-id");
+ String tenantPayload = PayloadUtil.getTemplatePayload("tenant.json", templateValuesMap);
+
+ Response response = httpTestUtil.doPut(cloudRegionUri, cloudRegionPayload);
+ assertEquals("Expected the cloud region to be created", 201, response.getStatus());
+
+ response = httpTestUtil.doGet(tenantUri);
+ assertEquals("Expected the cloud region to be created", 200, response.getStatus());
+ String responseStr = response.getEntity().toString();
+
+ JSONAssert.assertEquals(tenantPayload, responseStr, false);
+ String resourceVersion = JsonPath.read(responseStr, "$.resource-version");
+
+ response = httpTestUtil.doDelete(tenantUri, resourceVersion);
+ assertEquals("Expected the cloud region to be created", 204, response.getStatus());
+
+ response = httpTestUtil.doGet(cloudRegionUri);
+ assertEquals("Expected the cloud region to be created", 200, response.getStatus());
+ responseStr = response.getEntity().toString();
+ resourceVersion = JsonPath.read(responseStr, "$.resource-version");
+
+ response = httpTestUtil.doDelete(cloudRegionUri, resourceVersion);
+ assertEquals("Expected the cloud region to be created", 204, response.getStatus());
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/rest/db/HttpEntryTest.java b/aai-core/src/test/java/org/onap/aai/rest/db/HttpEntryTest.java
index f643fc47..0d4f4f14 100644
--- a/aai-core/src/test/java/org/onap/aai/rest/db/HttpEntryTest.java
+++ b/aai-core/src/test/java/org/onap/aai/rest/db/HttpEntryTest.java
@@ -52,6 +52,7 @@ import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Mockito.when;
@@ -115,6 +116,31 @@ public class HttpEntryTest extends AAISetup {
when(httpHeaders.getMediaType()).thenReturn(APPLICATION_JSON);
}
+ private Response getResponse(HttpEntry httpEntry, Loader loader, TransactionalGraphEngine dbEngine, HttpMethod method, String uri, String content) throws UnsupportedEncodingException, AAIException {
+ URI uriObject = UriBuilder.fromPath(uri).build();
+ QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
+ String objType = uriQuery.getResultType();
+ if (uri.endsWith("relationship")) {
+ objType = "relationship";
+ }
+ Introspector obj = null;
+ if (method.equals(HttpMethod.GET)) {
+ obj = loader.introspectorFromName(objType);
+ } else {
+ obj = loader.unmarshal(objType, content, org.onap.aai.restcore.MediaType.getEnum("application/json"));
+ }
+
+ DBRequest dbRequest =
+ new DBRequest.Builder(method, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
+ .rawRequestContent(content).build();
+
+ List<DBRequest> dbRequestList = new ArrayList<>();
+ dbRequestList.add(dbRequest);
+
+ Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
+ return responsesTuple.getValue1().get(0).getValue1();
+ }
+
@Test
public void test1PutOnPserver() throws UnsupportedEncodingException, AAIException {
@@ -124,99 +150,95 @@ public class HttpEntryTest extends AAISetup {
Loader loader = httpEntry.getLoader();
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
-
- QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
-
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test1";
String content = "{\"hostname\":\"junit-test1\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+ dbEngine.commit();
+ assertEquals("Expected the pserver to be created", 201, response.getStatus());
+ }
- Introspector obj = loader.unmarshal("pserver", content, org.onap.aai.restcore.MediaType.getEnum("application/json"));
-
- DBRequest dbRequest =
- new DBRequest.Builder(HttpMethod.PUT, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
- .rawRequestContent(content).build();
+ @Test
+ public void test2PutOnPserverNoPInterface() throws UnsupportedEncodingException, AAIException {
- List<DBRequest> dbRequestList = new ArrayList<>();
- dbRequestList.add(dbRequest);
+ DBConnectionType type = DBConnectionType.REALTIME;
+ HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
+ Loader loader = httpEntry.getLoader();
+ TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
- Response response = responsesTuple.getValue1().get(0).getValue1();
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test2";
+ String content = "{\"hostname\":\"junit-test2\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
dbEngine.commit();
assertEquals("Expected the pserver to be created", 201, response.getStatus());
}
@Test
- public void test2GetOnPserver() throws UnsupportedEncodingException, AAIException {
-
+ public void test3PutOnPInterface() {
+ try {
DBConnectionType type = DBConnectionType.REALTIME;
HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
Loader loader = httpEntry.getLoader();
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test1/p-interfaces/p-interface/p1";
+ String content = "{\"interface-name\":\"p1\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+ dbEngine.commit();
+ assertEquals("Expected the p-interface to be created", 201, response.getStatus());
+ } catch (UnsupportedEncodingException | AAIException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
- QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
- String content = "";
- Introspector obj = loader.introspectorFromName("pserver");
+ @Test
+ public void test4GetOnPserver() throws UnsupportedEncodingException, AAIException {
- DBRequest dbRequest =
- new DBRequest.Builder(HttpMethod.GET, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
- .rawRequestContent(content).build();
+ DBConnectionType type = DBConnectionType.REALTIME;
+ HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
+ Loader loader = httpEntry.getLoader();
+ TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- List<DBRequest> dbRequestList = new ArrayList<>();
- dbRequestList.add(dbRequest);
+ URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
- Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
- Response response = responsesTuple.getValue1().get(0).getValue1();
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test1";
+ String content = "{\"hostname\":\"junit-test1\", \"equip-type\":\"junit-equip-type\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.GET, uri, content);
dbEngine.commit();
assertEquals("Expected the pserver to be returned", 200, response.getStatus());
}
@Test
- public void test3MergePatchOnPserver() throws UnsupportedEncodingException, AAIException {
+ public void test5MergePatchOnPserver() throws UnsupportedEncodingException, AAIException {
DBConnectionType type = DBConnectionType.REALTIME;
HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
Loader loader = httpEntry.getLoader();
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
-
- QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
-
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test1";
String content = "{\"hostname\":\"junit-test1\", \"equip-type\":\"junit-equip-type\"}";
-
- Introspector obj = loader.unmarshal("pserver", content, org.onap.aai.restcore.MediaType.getEnum("application/json"));
-
- DBRequest dbRequest =
- new DBRequest.Builder(HttpMethod.MERGE_PATCH, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
- .rawRequestContent(content).build();
-
- List<DBRequest> dbRequestList = new ArrayList<>();
- dbRequestList.add(dbRequest);
-
- Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
- Response response = responsesTuple.getValue1().get(0).getValue1();
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.MERGE_PATCH, uri, content);
dbEngine.commit();
assertEquals("Expected the pserver to be updated", 200, response.getStatus());
}
- private int doDelete(String resourceVersion) throws UnsupportedEncodingException, AAIException {
+ private int doDelete(String resourceVersion, String uri, String nodeType) throws UnsupportedEncodingException, AAIException {
queryParameters.add("resource-version", resourceVersion);
DBConnectionType type = DBConnectionType.REALTIME;
HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
Loader loader = httpEntry.getLoader();
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
+ URI uriObject = UriBuilder.fromPath(uri).build();
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
String content = "";
- Introspector obj = loader.introspectorFromName("pserver");
+ Introspector obj = loader.introspectorFromName(nodeType);
DBRequest dbRequest =
new DBRequest.Builder(HttpMethod.DELETE, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
@@ -232,7 +254,8 @@ public class HttpEntryTest extends AAISetup {
}
@Test
- public void test4DeleteOnPserver() throws UnsupportedEncodingException, AAIException {
+ public void test6DeleteOnPserver() throws UnsupportedEncodingException, AAIException {
+
DBConnectionType type = DBConnectionType.REALTIME;
HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
@@ -240,22 +263,31 @@ public class HttpEntryTest extends AAISetup {
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test1").build();
-
- QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
-
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test1";
String content = "";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.GET, uri, content);
+ dbEngine.commit();
+ String msg = response.getEntity().toString();
+ JsonObject jsonObj = new JsonParser().parse(msg).getAsJsonObject();
+ String resourceVersion = "";
+ if ( jsonObj.isJsonObject()) {
+ resourceVersion = jsonObj.get("resource-version").getAsString();
+ }
+ assertEquals("Expected the pserver to be deleted", 204, doDelete(resourceVersion, "/cloud-infrastructure/pservers/pserver/junit-test1", "pserver"));
+ }
- Introspector obj = loader.introspectorFromName("pserver");
-
- DBRequest dbRequest =
- new DBRequest.Builder(HttpMethod.GET, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
- .rawRequestContent(content).build();
+ @Test
+ public void test7DeleteOnPserverNoPinterface() throws UnsupportedEncodingException, AAIException {
- List<DBRequest> dbRequestList = new ArrayList<>();
- dbRequestList.add(dbRequest);
+
+ DBConnectionType type = DBConnectionType.REALTIME;
+ HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
+ Loader loader = httpEntry.getLoader();
+ TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
- Response response = responsesTuple.getValue1().get(0).getValue1();
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test2";
+ String content = "";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.GET, uri, content);
dbEngine.commit();
String msg = response.getEntity().toString();
JsonObject jsonObj = new JsonParser().parse(msg).getAsJsonObject();
@@ -263,36 +295,79 @@ public class HttpEntryTest extends AAISetup {
if ( jsonObj.isJsonObject()) {
resourceVersion = jsonObj.get("resource-version").getAsString();
}
- assertEquals("Expected the pserver to be deleted", 204, doDelete(resourceVersion));
+ assertEquals("Expected the pserver to be deleted", 204, doDelete(resourceVersion, "/cloud-infrastructure/pservers/pserver/junit-test2", "pserver"));
}
+
@Test
- public void test5FailedGetOnPserver() throws UnsupportedEncodingException, AAIException {
+ public void test8FailedGetOnPserver() throws UnsupportedEncodingException, AAIException {
DBConnectionType type = DBConnectionType.REALTIME;
HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
Loader loader = httpEntry.getLoader();
TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- URI uriObject = UriBuilder.fromPath("/cloud-infrastructure/pservers/pserver/junit-test2").build();
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-test2";
+ String content = "";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.GET, uri, content);
+ dbEngine.commit();
- QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject);
+ assertEquals("Expected the pserver to be deleted", 404, response.getStatus());
+ }
- String content = "";
+ @Test
+ public void putEdgeTest() throws UnsupportedEncodingException, AAIException {
- Introspector obj = loader.introspectorFromName("pserver");
+ DBConnectionType type = DBConnectionType.REALTIME;
+ HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
+ Loader loader = httpEntry.getLoader();
+ TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- DBRequest dbRequest =
- new DBRequest.Builder(HttpMethod.GET, uriObject, uriQuery, obj, httpHeaders, uriInfo, "JUNIT-TRANSACTION")
- .rawRequestContent(content).build();
+ //Put pserver
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-edge-test-pserver";
+ String content = "{\"hostname\":\"junit-edge-test-pserver\"}";
+ getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+ //Put complex
+ uri = "/cloud-infrastructure/complexes/complex/junit-edge-test-complex";
+ content = "{\"physical-location-id\":\"junit-edge-test-complex\",\"physical-location-type\":\"AAIDefault\",\"street1\":\"AAIDefault\",\"city\":\"AAIDefault\",\"state\":\"NJ\",\"postal-code\":\"07748\",\"country\":\"USA\",\"region\":\"US\"}";
+ getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+
+ //PutEdge
+ uri = "/cloud-infrastructure/complexes/complex/junit-edge-test-complex/relationship-list/relationship";
+ content = "{\"related-to\":\"pserver\",\"related-link\":\"/aai/" + Version.getLatest().toString() + "/cloud-infrastructure/pservers/pserver/junit-edge-test-pserver\",\"relationship-label\":\"org.onap.relationships.inventory.LocatedIn\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT_EDGE, uri, content);
+
+ dbEngine.rollback();
+ //System.out.println(response.getEntity().toString());
+ assertEquals("Expected the pserver to be created", 200, response.getStatus());
+ }
- List<DBRequest> dbRequestList = new ArrayList<>();
- dbRequestList.add(dbRequest);
+ @Test
+ public void putEdgeWrongLabelTest() throws UnsupportedEncodingException, AAIException {
- Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(dbRequestList, "JUNIT");
- Response response = responsesTuple.getValue1().get(0).getValue1();
- dbEngine.commit();
+ DBConnectionType type = DBConnectionType.REALTIME;
+ HttpEntry httpEntry = new HttpEntry(Version.getLatest(), ModelType.MOXY, QueryStyle.TRAVERSAL, type);
+ Loader loader = httpEntry.getLoader();
+ TransactionalGraphEngine dbEngine = httpEntry.getDbEngine();
- assertEquals("Expected the pserver to be deleted", 404, response.getStatus());
+ //Put pserver
+ String uri = "/cloud-infrastructure/pservers/pserver/junit-edge-test-pserver";
+ String content = "{\"hostname\":\"junit-edge-test-pserver\"}";
+ getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+ //Put complex
+ uri = "/cloud-infrastructure/complexes/complex/junit-edge-test-complex";
+ content = "{\"physical-location-id\":\"junit-edge-test-complex\",\"physical-location-type\":\"AAIDefault\",\"street1\":\"AAIDefault\",\"city\":\"AAIDefault\",\"state\":\"NJ\",\"postal-code\":\"07748\",\"country\":\"USA\",\"region\":\"US\"}";
+ getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT, uri, content);
+
+ //PutEdge
+ uri = "/cloud-infrastructure/complexes/complex/junit-edge-test-complex/relationship-list/relationship";
+ content = "{\"related-to\":\"pserver\",\"related-link\":\"/aai/" + Version.getLatest().toString() + "/cloud-infrastructure/pservers/pserver/junit-edge-test-pserver\",\"relationship-label\":\"junk\"}";
+ Response response = getResponse(httpEntry, loader, dbEngine, HttpMethod.PUT_EDGE, uri, content);
+
+ dbEngine.rollback();
+ String msg = response.getEntity().toString();
+ assertEquals("Expected the pserver to be created", 400, response.getStatus());
+ assertTrue(msg.contains("ERR.5.4.6107"));
+ assertTrue(msg.contains("Required Edge-property not found in input data:no COUSIN edge rule between complex and pserver with label junk"));
}
}
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java b/aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java
index 5fade2ed..b124e5dd 100644
--- a/aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java
+++ b/aai-core/src/test/java/org/onap/aai/serialization/db/DbSerializerTest.java
@@ -1,28 +1,27 @@
-/*-
+/**
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 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
- *
+ *
+ * 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-
package org.onap.aai.serialization.db;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.*;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
@@ -30,10 +29,7 @@ import java.io.UnsupportedEncodingException;
import java.lang.reflect.Field;
import java.net.URI;
import java.net.URISyntaxException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
+import java.util.*;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
import org.apache.tinkerpop.gremlin.structure.Edge;
@@ -41,10 +37,7 @@ import org.apache.tinkerpop.gremlin.structure.Graph;
import org.apache.tinkerpop.gremlin.structure.T;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
+import org.junit.*;
import org.junit.rules.ExpectedException;
import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
@@ -69,7 +62,7 @@ public class DbSerializerTest extends AAISetup {
@Rule
public ExpectedException thrown = ExpectedException.none();
- protected Graph graph;
+ protected static Graph graph;
protected final EdgeRules rules = EdgeRules.getInstance();
private final Version version = Version.getLatest();
@@ -82,22 +75,27 @@ public class DbSerializerTest extends AAISetup {
private DBSerializer dbser;
TransactionalGraphEngine spy;
TransactionalGraphEngine.Admin adminSpy;
-
+
+ @BeforeClass
+ public static void init() throws Exception {
+ graph = TitanFactory.build().set("storage.backend", "inmemory").open();
+ createGraph();
+
+ }
+
@Before
public void setup() throws Exception {
- graph = TitanFactory.build().set("storage.backend", "inmemory").open();
loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version);
dbEngine = new TitanDBEngine(queryStyle, type, loader);
spy = spy(dbEngine);
adminSpy = spy(dbEngine.asAdmin());
-
- createGraph();
+
engine = new TitanDBEngine(queryStyle, type, loader);
dbser = new DBSerializer(version, engine, introspectorFactoryType, "AAI-TEST");
}
- public void createGraph() throws AAIException {
+ public static void createGraph() throws AAIException {
/*
* This setus up the test graph, For future junits , add more vertices
* and edges
@@ -115,19 +113,63 @@ public class DbSerializerTest extends AAISetup {
.next();
GraphTraversalSource g = graph.traversal();
- rules.addEdge(g, l3interipv4addresslist_1, subnet_2);
- rules.addEdge(g, l3interipv6addresslist_3, subnet_4);
- rules.addTreeEdge(g, subnet_5, l3network_6);
+ EdgeRules.getInstance().addEdge(g, l3interipv4addresslist_1, subnet_2);
+ EdgeRules.getInstance().addEdge(g, l3interipv6addresslist_3, subnet_4);
+ EdgeRules.getInstance().addTreeEdge(g, subnet_5, l3network_6);
+ }
+
+ @Test
+ public void testFindDeletableDoesNotReturnDuplicates() throws AAIException {
+ EdgeRules testRules = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
+
+ Vertex genericVnf1 = graph.addVertex("aai-node-type", "generic-vnf", "vnf-id", "vnf1", "vnf-name", "vnfName1");
+
+ Vertex lInterface1 = graph.addVertex("aai-node-type", "l-interface", "interface-name", "lInterface1");
+ Vertex lInterface2 = graph.addVertex("aai-node-type", "l-interface", "interface-name", "lInterface2");
+
+ Vertex logicalLink1 = graph.addVertex("aai-node-type", "logical-link", "link-name", "logicalLink1");
+ Vertex logicalLink2 = graph.addVertex("aai-node-type", "logical-link", "link-name", "logicalLink2");
+
+ GraphTraversalSource g = graph.traversal();
+
+ testRules.addTreeEdge(g, genericVnf1, lInterface1);
+ testRules.addTreeEdge(g, genericVnf1, lInterface2);
+ testRules.addEdge(g, lInterface1, logicalLink1);
+ testRules.addEdge(g, lInterface1, logicalLink2);
+ // This line will cause the logical link2 to be found twice under linterface 1
+ // and also under the linterface 2 and since in the past deletable returned
+ // duplicates this test checks that it shouldn't return duplicates
+ testRules.addEdge(g, lInterface2, logicalLink2);
+
+ when(spy.asAdmin()).thenReturn(adminSpy);
+ when(adminSpy.getTraversalSource()).thenReturn(g);
+ when(adminSpy.getReadOnlyTraversalSource()).thenReturn(g);
+
+ List<Vertex> deletableVertexes = spy.getQueryEngine().findDeletable(genericVnf1);
+ Set<Vertex> vertexSet = new HashSet<>();
+
+ for (Vertex deletableVertex : deletableVertexes) {
+ if(!vertexSet.contains(deletableVertex)){
+ vertexSet.add(deletableVertex);
+ } else {
+ fail("Find deletable is returning a list of duplicate vertexes");
+ }
+ }
}
@After
public void tearDown() throws Exception {
+ engine.rollback();
+ }
+
+ @AfterClass
+ public static void destroy() throws Exception {
graph.close();
}
@Test
- public void subnetDelwithInEdgesIpv4Test() throws AAIException {
+ public void subnetDelWithInEdgesIpv4Test() throws AAIException {
String expected_message = "Object is being reference by additional objects preventing it from being deleted. Please clean up references from the following types [l3-interface-ipv4-address-list]";
/*
@@ -141,7 +183,7 @@ public class DbSerializerTest extends AAISetup {
}
@Test
- public void subnetDelwithInEdgesIpv6Test() throws AAIException {
+ public void subnetDelWithInEdgesIpv6Test() throws AAIException {
String expected_message = "Object is being reference by additional objects preventing it from being deleted. Please clean up references from the following types [l3-interface-ipv6-address-list]";
/*
@@ -154,7 +196,7 @@ public class DbSerializerTest extends AAISetup {
}
@Test
- public void subnetDelwithInEdgesL3network() throws AAIException {
+ public void subnetDelWithInEdgesL3network() throws AAIException {
String expected_message = "";
/*
@@ -169,7 +211,6 @@ public class DbSerializerTest extends AAISetup {
public String testDelete(Vertex v) throws AAIException {
- // Graph g_tx = graph.newTransaction();
GraphTraversalSource traversal = graph.traversal();
when(spy.asAdmin()).thenReturn(adminSpy);
when(adminSpy.getTraversalSource()).thenReturn(traversal);
@@ -181,7 +222,6 @@ public class DbSerializerTest extends AAISetup {
serializer.delete(v, "resourceVersion", false);
} catch (AAIException exception) {
exceptionMessage = exception.getMessage();
-
}
return exceptionMessage;
@@ -197,7 +237,7 @@ public class DbSerializerTest extends AAISetup {
Vertex fromGraph = engine.tx().traversal().V().has("aai-node-type","generic-vnf").toList().get(0);
assertEquals(testVertex.id(), fromGraph.id());
assertEquals("AAI-TEST", fromGraph.property(AAIProperties.SOURCE_OF_TRUTH.toString()).value());
- engine.rollback();
+
}
@Test
@@ -205,22 +245,38 @@ public class DbSerializerTest extends AAISetup {
engine.startTransaction();
DBSerializer dbser2 = new DBSerializer(Version.getLatest(), engine, introspectorFactoryType, "AAI-TEST-2");
- Graph graph = TinkerGraph.open();
Vertex vert = graph.addVertex("aai-node-type", "generic-vnf");
dbser.touchStandardVertexProperties(vert, true);
- String resverStart = (String)vert.property(AAIProperties.RESOURCE_VERSION.toString()).value();
- String lastModTimeStart = (String)vert.property(AAIProperties.LAST_MOD_TS.toString()).value();
+ String resverStart = (String)vert.property(AAIProperties.RESOURCE_VERSION).value();
+ String lastModTimeStart = (String)vert.property(AAIProperties.LAST_MOD_TS).value();
Thread.sleep(10); //bc the resource version is set based on current time in milliseconds,
//if this test runs through too fast the value may not change
//causing the test to fail. sleeping ensures a different value
dbser2.touchStandardVertexProperties(vert, false);
- assertFalse(resverStart.equals((String)vert.property(AAIProperties.RESOURCE_VERSION.toString()).value()));
- assertFalse(lastModTimeStart.equals((String)vert.property(AAIProperties.LAST_MOD_TS.toString()).value()));
- assertEquals("AAI-TEST-2", (String)vert.property(AAIProperties.LAST_MOD_SOURCE_OF_TRUTH.toString()).value());
- engine.rollback();
+ assertFalse(resverStart.equals(vert.property(AAIProperties.RESOURCE_VERSION).value()));
+ assertFalse(lastModTimeStart.equals(vert.property(AAIProperties.LAST_MOD_TS).value()));
+ assertEquals("AAI-TEST-2", vert.property(AAIProperties.LAST_MOD_SOURCE_OF_TRUTH).value());
+
+ }
+
+ @Test
+ public void touchStandardVertexPropertiesAAIUUIDTest() throws AAIException, InterruptedException {
+ engine.startTransaction();
+
+ Graph graph = TinkerGraph.open();
+ Vertex v = graph.addVertex("aai-node-type", "generic-vnf");
+
+ dbser.touchStandardVertexProperties(v, true);
+
+ assertTrue(v.property(AAIProperties.AAI_UUID).isPresent());
+ try {
+ UUID.fromString((String)v.property(AAIProperties.AAI_UUID).value());
+ } catch (IllegalArgumentException e) {
+ fail("Vertex uuid is not valid uuid");
+ }
}
@Test
@@ -228,7 +284,7 @@ public class DbSerializerTest extends AAISetup {
engine.startTransaction();
assertTrue(dbser.verifyResourceVersion("delete", "vnfc", "abc", "abc", "vnfcs/vnfc/vnfcId"));
- engine.rollback();
+
}
@Test
@@ -237,11 +293,8 @@ public class DbSerializerTest extends AAISetup {
thrown.expect(AAIException.class);
thrown.expectMessage("resource-version passed for create of generic-vnfs/generic-vnf/myid");
- try {
- dbser.verifyResourceVersion("create", "generic-vnf", null, "old-res-ver", "generic-vnfs/generic-vnf/myid");
- } finally {
- engine.rollback();
- }
+ dbser.verifyResourceVersion("create", "generic-vnf", null, "old-res-ver", "generic-vnfs/generic-vnf/myid");
+
}
@Test
@@ -250,11 +303,8 @@ public class DbSerializerTest extends AAISetup {
thrown.expect(AAIException.class);
thrown.expectMessage("resource-version not passed for update of generic-vnfs/generic-vnf/myid");
- try {
- dbser.verifyResourceVersion("update", "generic-vnf", "current-res-ver", null, "generic-vnfs/generic-vnf/myid");
- } finally {
- engine.rollback();
- }
+ dbser.verifyResourceVersion("update", "generic-vnf", "current-res-ver", null, "generic-vnfs/generic-vnf/myid");
+
}
@Test
@@ -263,11 +313,8 @@ public class DbSerializerTest extends AAISetup {
thrown.expect(AAIException.class);
thrown.expectMessage("resource-version MISMATCH for update of generic-vnfs/generic-vnf/myid");
- try {
- dbser.verifyResourceVersion("update", "generic-vnf", "current-res-ver", "old-res-ver", "generic-vnfs/generic-vnf/myid");
- } finally {
- engine.rollback();
- }
+ dbser.verifyResourceVersion("update", "generic-vnf", "current-res-ver", "old-res-ver", "generic-vnfs/generic-vnf/myid");
+
}
@Test
@@ -291,7 +338,7 @@ public class DbSerializerTest extends AAISetup {
cr.property("aai-node-type").remove();
URI compareFailure = new URI("/unknown-uri");
assertEquals(compareFailure, dbser.getURIForVertex(ten));
- engine.rollback();
+
}
@Test
@@ -304,7 +351,7 @@ public class DbSerializerTest extends AAISetup {
assertEquals("cloud-region", crIntro.getDbName());
assertEquals("me", crIntro.getValue("cloud-owner"));
assertEquals("123", crIntro.getValue("cloud-region-id"));
- engine.rollback();
+
}
@Test
@@ -334,7 +381,7 @@ public class DbSerializerTest extends AAISetup {
(String)ten.property(AAIProperties.AAI_URI.toString()).value());
assertEquals("/cloud-infrastructure/cloud-regions/cloud-region/me/123/tenants/tenant/453/vservers/vserver/vs1",
(String)vs.property(AAIProperties.AAI_URI.toString()).value());
- engine.rollback();
+
}
@Test
@@ -347,8 +394,8 @@ public class DbSerializerTest extends AAISetup {
rules.addTreeEdge(engine.tx().traversal(), cr, ten);
Edge e = dbser.getEdgeBetween(EdgeType.TREE, ten, cr, null);
- assertEquals("has", e.label());
- engine.rollback();
+ assertEquals("org.onap.relationships.inventory.BelongsTo", e.label());
+
}
@Test
@@ -372,7 +419,7 @@ public class DbSerializerTest extends AAISetup {
assertFalse(engine.tx().traversal().V(gvnf).both("uses").hasNext());
assertFalse(engine.tx().traversal().V(vnfc).both("uses").hasNext());
- engine.rollback();
+
}
@Test
@@ -392,11 +439,11 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("relationship-data",relData);
assertTrue(dbser.createEdge(relationship, gvnf));
- assertTrue(engine.tx().traversal().V(gvnf).both("uses").hasNext());
- assertTrue(engine.tx().traversal().V(vnfc).both("uses").hasNext());
- engine.rollback();
+ assertTrue(engine.tx().traversal().V(gvnf).both("org.onap.relationships.inventory.BelongsTo").hasNext());
+ assertTrue(engine.tx().traversal().V(vnfc).both("org.onap.relationships.inventory.BelongsTo").hasNext());
+
}
-
+
@Test
public void createCousinEdgeThatShouldBeTreeTest() throws AAIException, UnsupportedEncodingException, URISyntaxException {
engine.startTransaction();
@@ -405,31 +452,27 @@ public class DbSerializerTest extends AAISetup {
Vertex vf = engine.tx().addVertex("aai-node-type","vf-module","vf-module-id","vf-id");
EdgeRules.getInstance().addTreeEdge(engine.tx().traversal(), gvnf, vf);
-
+
Introspector relationship = loader.introspectorFromName("relationship");
relationship.setValue("related-to", "vf-module");
relationship.setValue("related-link", dbser.getURIForVertex(vf).toString());
- //relationship.setValue("relationship-label", "");
Introspector relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", Collections.singletonList(relationship.getUnderlyingObject()));
-
+
Introspector gvnfObj = loader.introspectorFromName("generic-vnf");
Vertex gvnf2 = dbser.createNewVertex(gvnfObj);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
gvnfObj.setValue("vnf-id", "myvnf-1");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf-1"));
-
+
try {
dbser.serializeToDb(gvnfObj, gvnf2, uriQuery, null, "test");
} catch (AAIException e) {
assertEquals("AAI_6145", e.getCode());
- }
- finally {
- engine.rollback();
}
}
-
+
@Test
public void createEdgeNodeDoesNotExistExceptionTest() throws AAIException, UnsupportedEncodingException {
engine.startTransaction();
@@ -447,11 +490,8 @@ public class DbSerializerTest extends AAISetup {
thrown.expect(AAIException.class);
thrown.expectMessage("Node of type vnfc. Could not find object at: /network/vnfcs/vnfc/b-name");
- try {
- dbser.createEdge(relationship, gvnf);
- } finally {
- engine.rollback();
- }
+ dbser.createEdge(relationship, gvnf);
+
}
@Test
@@ -464,7 +504,7 @@ public class DbSerializerTest extends AAISetup {
gvnf.setValue("vnf-id", "myvnf");
dbser.serializeSingleVertex(gvnfVert, gvnf, "test");
assertTrue(engine.tx().traversal().V().has("aai-node-type","generic-vnf").has("vnf-id","myvnf").hasNext());
- engine.rollback();
+
}
@Test
@@ -483,10 +523,10 @@ public class DbSerializerTest extends AAISetup {
dbser.serializeSingleVertex(ten, tenIn, "test");
assertTrue(engine.tx().traversal().V().has("aai-node-type","tenant").has("tenant-id","453").has("tenant-name","mytenant").hasNext());
- engine.rollback();
+
}
-
-
+
+
@Test
public void getVertexPropertiesRelationshipHasLabelTest() throws AAIException, UnsupportedEncodingException {
engine.startTransaction();
@@ -495,15 +535,21 @@ public class DbSerializerTest extends AAISetup {
Vertex vnfc = engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","vnfc-123");
EdgeRules rules = EdgeRules.getInstance();
rules.addEdge(engine.tx().traversal(), gvnf, vnfc);
-
+
Introspector obj = loader.introspectorFromName("generic-vnf");
obj = this.dbser.dbToObject(Arrays.asList(gvnf), obj, AAIProperties.MAXIMUM_DEPTH, false, "false");
-
- assertEquals("edge label between generic-vnf and vnfs is uses", "uses", obj.getWrappedValue("relationship-list").getWrappedListValue("relationship").get(0).getValue("relationship-label"));
-
- engine.rollback();
+
+ assertEquals("edge label between generic-vnf and vnfs is uses",
+ "org.onap.relationships.inventory.BelongsTo",
+ obj.getWrappedValue("relationship-list")
+ .getWrappedListValue("relationship")
+ .get(0)
+ .getValue("relationship-label")
+ );
+
+
}
-
+
@Test
public void getVertexPropertiesRelationshipOldVersionNoEdgeLabelTest() throws AAIException, UnsupportedEncodingException {
@@ -512,7 +558,7 @@ public class DbSerializerTest extends AAISetup {
Loader loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version);
engine.startTransaction();
-
+
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","vnf-123");
Vertex vnfc = engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","vnfc-123");
EdgeRules rules = EdgeRules.getInstance();
@@ -520,19 +566,19 @@ public class DbSerializerTest extends AAISetup {
Introspector obj = loader.introspectorFromName("generic-vnf");
obj = dbser.dbToObject(Arrays.asList(gvnf), obj, AAIProperties.MAXIMUM_DEPTH, false, "false");
-
+
assertEquals("Relationship does not contain edge-property", false, obj.getWrappedValue("relationship-list").getWrappedListValue("relationship").get(0).hasProperty("relationship-label"));
-
- engine.rollback();
+
+
}
-
+
@Test
public void createEdgeWithValidLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
-
+
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -547,16 +593,16 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
relationship.setValue("relationship-label", "over-uses");
-
+
assertTrue(localDbser.createEdge(relationship, gvnf));
assertTrue(engine.tx().traversal().V(gvnf).both("over-uses").hasNext());
assertTrue(engine.tx().traversal().V(vnfc).both("over-uses").hasNext());
- engine.rollback();
+
}
-
+
@Test
public void createEdgeWithInvalidLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -573,20 +619,17 @@ public class DbSerializerTest extends AAISetup {
thrown.expect(AAIException.class);
thrown.expectMessage("no COUSIN edge rule between generic-vnf and vnfc with label NA");
- try {
- dbser.createEdge(relationship, gvnf);
- } finally {
- engine.rollback();
- }
+ dbser.createEdge(relationship, gvnf);
+
}
-
+
@Test
public void createEdgeWithValidLabelWhenSameEdgeExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
-
+
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -601,20 +644,20 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
relationship.setValue("relationship-label", "re-uses");
-
+
assertTrue(localDbser.createEdge(relationship, gvnf));
assertTrue(engine.tx().traversal().V(gvnf).both("re-uses").hasNext());
assertTrue(engine.tx().traversal().V(vnfc).both("re-uses").hasNext());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V(vnfc).both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void createEdgeWithValidLabelWhenDiffEdgeExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -630,9 +673,9 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("relationship-data",relData);
relationship.setValue("relationship-label", "uses");
localDbser.createEdge(relationship, gvnf);
-
+
relationship.setValue("relationship-label", "re-uses");
-
+
assertTrue(localDbser.createEdge(relationship, gvnf));
assertTrue(engine.tx().traversal().V(gvnf).both("re-uses").hasNext());
assertTrue(engine.tx().traversal().V(vnfc).both("re-uses").hasNext());
@@ -640,15 +683,15 @@ public class DbSerializerTest extends AAISetup {
assertTrue(engine.tx().traversal().V(vnfc).both("uses").hasNext());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(vnfc).both().count().next());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(gvnf).both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void createEdgeWithNoLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -662,23 +705,23 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
localDbser.createEdge(relationship, gvnf);
-
+
assertTrue(localDbser.createEdge(relationship, gvnf));
assertTrue(engine.tx().traversal().V(gvnf).both("uses").hasNext());
assertTrue(engine.tx().traversal().V(vnfc).both("uses").hasNext());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V(vnfc).both().count().next());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V(gvnf).both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void deleteEdgeWithNoLabelWhenMultipleExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
-
+
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -694,7 +737,7 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-to", "vnfc");
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
-
+
assertTrue(localDbser.deleteEdge(relationship, gvnf));
assertFalse("generic-vnf has no edge uses", engine.tx().traversal().V(gvnf).both("uses").hasNext());
assertFalse("vnfc has no edge uses", engine.tx().traversal().V(vnfc).both("uses").hasNext());
@@ -704,15 +747,15 @@ public class DbSerializerTest extends AAISetup {
assertTrue("vnfc has edge re-uses", engine.tx().traversal().V(vnfc).both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(vnfc).both().count().next());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(gvnf).both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void deleteEdgeWithValidLabelWhenMultipleExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -729,7 +772,7 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
relationship.setValue("relationship-label", "re-uses");
-
+
assertTrue(localDbser.deleteEdge(relationship, gvnf));
assertTrue("generic-vnf has edge uses", engine.tx().traversal().V(gvnf).both("uses").hasNext());
assertTrue("vnfc has edge uses", engine.tx().traversal().V(vnfc).both("uses").hasNext());
@@ -739,15 +782,15 @@ public class DbSerializerTest extends AAISetup {
assertTrue("vnfc has edge re-uses", engine.tx().traversal().V(vnfc).both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(vnfc).both().count().next());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V(gvnf).both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void deleteEdgeWithValidInvalidLabelWhenMultipleExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
Vertex gvnf = engine.tx().addVertex("aai-node-type","generic-vnf","vnf-id","myvnf");
@@ -764,24 +807,20 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
relationship.setValue("relationship-data",relData);
relationship.setValue("relationship-label", "NA");
-
+
thrown.expect(AAIException.class);
thrown.expectMessage("no COUSIN edge rule between generic-vnf and vnfc with label NA");
- try {
- localDbser.deleteEdge(relationship, gvnf);
- } finally {
- engine.rollback();
- }
+ localDbser.deleteEdge(relationship, gvnf);
}
-
+
@Test
public void serializeToDbWithLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException, URISyntaxException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
-
+
engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","a-name");
Introspector relationship = loader.introspectorFromName("relationship");
@@ -790,16 +829,16 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("relationship-label", "re-uses");
Introspector relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", Collections.singletonList(relationship.getUnderlyingObject()));
-
+
Introspector gvnfObj = loader.introspectorFromName("generic-vnf");
Vertex gvnf = localDbser.createNewVertex(gvnfObj);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
gvnfObj.setValue("vnf-id", "myvnf");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf"));
-
+
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
assertTrue("vertex with vnf-id myvnf exists", engine.tx().traversal().V().has("vnf-id", "myvnf").hasNext());
assertTrue("vertex with vnfc-name a-name exists", engine.tx().traversal().V().has("vnfc-name", "a-name").hasNext());
assertFalse("generic-vnf has no edge re-uses", engine.tx().traversal().V().has("vnf-id", "myvnf").both("uses").hasNext());
@@ -810,17 +849,17 @@ public class DbSerializerTest extends AAISetup {
assertFalse("vnfc has no edge re-uses", engine.tx().traversal().V().has("vnfc-name", "a-name").both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnfc-name", "a-name").both().count().next());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnf-id", "myvnf").both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void serializeToDbWithoutLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException, URISyntaxException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
-
+
engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","a-name");
Introspector relationship = loader.introspectorFromName("relationship");
@@ -829,16 +868,16 @@ public class DbSerializerTest extends AAISetup {
Introspector relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", Collections.singletonList(relationship.getUnderlyingObject()));
-
+
Introspector gvnfObj = loader.introspectorFromName("generic-vnf");
Vertex gvnf = localDbser.createNewVertex(gvnfObj);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
gvnfObj.setValue("vnf-id", "myvnf");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf"));
-
+
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
assertTrue("vertex with vnf-id myvnf exists", engine.tx().traversal().V().has("vnf-id", "myvnf").hasNext());
assertTrue("vertex with vnfc-name a-name exists", engine.tx().traversal().V().has("vnfc-name", "a-name").hasNext());
assertTrue("generic-vnf has edge uses", engine.tx().traversal().V().has("vnf-id", "myvnf").both("uses").hasNext());
@@ -849,17 +888,17 @@ public class DbSerializerTest extends AAISetup {
assertFalse("vnfc has no edge over-uses", engine.tx().traversal().V().has("vnfc-name", "a-name").both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnfc-name", "a-name").both().count().next());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnf-id", "myvnf").both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void serializeToDbWithInvalidLabelTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException, URISyntaxException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
-
+
engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","a-name");
Introspector relationship = loader.introspectorFromName("relationship");
@@ -868,33 +907,29 @@ public class DbSerializerTest extends AAISetup {
relationship.setValue("relationship-label", "NA");
Introspector relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", Collections.singletonList(relationship.getUnderlyingObject()));
-
+
Introspector gvnfObj = loader.introspectorFromName("generic-vnf");
Vertex gvnf = localDbser.createNewVertex(gvnfObj);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
gvnfObj.setValue("vnf-id", "myvnf");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf"));
-
+
thrown.expect(AAIException.class);
thrown.expectMessage("No EdgeRule found for passed nodeTypes: generic-vnf, vnfc with label NA.");
- try {
- localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
- } finally {
- engine.rollback();
- }
- engine.rollback();
+ localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
+
}
-
+
@Test
public void serializeToDbWithLabelAndEdgeExistsTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException, URISyntaxException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","a-name");
-
+
Introspector relationship;
Introspector relationshipList;
List<Object> relList = new ArrayList<>();
@@ -905,7 +940,7 @@ public class DbSerializerTest extends AAISetup {
gvnfObj.setValue("vnf-id", "myvnf");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf"));
- // create relationship to vnfc
+ // create relationship to vnfc
relationship = loader.introspectorFromName("relationship");
relationship.setValue("related-to", "vnfc");
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
@@ -913,10 +948,10 @@ public class DbSerializerTest extends AAISetup {
relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", relList);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
-
+
// add gvnf to graph
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
// add second relationship
relationship = loader.introspectorFromName("relationship");
relationship.setValue("related-to", "vnfc");
@@ -926,9 +961,9 @@ public class DbSerializerTest extends AAISetup {
relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", relList);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
-
+
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
assertTrue("vertex with vnf-id myvnf exists", engine.tx().traversal().V().has("vnf-id", "myvnf").hasNext());
assertTrue("vertex with vnfc-name a-name exists", engine.tx().traversal().V().has("vnfc-name", "a-name").hasNext());
assertTrue("generic-vnf has edge uses", engine.tx().traversal().V().has("vnf-id", "myvnf").both("uses").hasNext());
@@ -939,18 +974,18 @@ public class DbSerializerTest extends AAISetup {
assertFalse("vnfc has no edge over-uses", engine.tx().traversal().V().has("vnfc-name", "a-name").both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V().has("vnfc-name", "a-name").both().count().next());
assertEquals("Number of edges between vertexes is 2", Long.valueOf(2), engine.tx().traversal().V().has("vnf-id", "myvnf").both().count().next());
- engine.rollback();
+
}
-
+
@Test
public void serializeToDbWithLabelDroppingRelationshipTest() throws AAIException, UnsupportedEncodingException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException, URISyntaxException {
-
+
EdgeRules ers = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
DBSerializer localDbser = getDBSerializerWithSpecificEdgeRules(ers);
-
+
engine.startTransaction();
engine.tx().addVertex("aai-node-type","vnfc","vnfc-name","a-name");
-
+
Introspector relationship;
Introspector relationshipList;
List<Object> relList = new ArrayList<>();
@@ -961,7 +996,7 @@ public class DbSerializerTest extends AAISetup {
gvnfObj.setValue("vnf-id", "myvnf");
QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(new URI("/network/generic-vnfs/generic-vnf/myvnf"));
- // create relationship to vnfc
+ // create relationship to vnfc
relationship = loader.introspectorFromName("relationship");
relationship.setValue("related-to", "vnfc");
relationship.setValue("related-link", "/network/vnfcs/vnfc/a-name");
@@ -975,18 +1010,18 @@ public class DbSerializerTest extends AAISetup {
relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", relList);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
-
+
// add gvnf to graph
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
// drop second relationship
relList.remove(1);
relationshipList = loader.introspectorFromName("relationship-list");
relationshipList.setValue("relationship", relList);
gvnfObj.setValue("relationship-list", relationshipList.getUnderlyingObject());
-
+
localDbser.serializeToDb(gvnfObj, gvnf, uriQuery, null, "test");
-
+
assertTrue("vertex with vnf-id myvnf exists", engine.tx().traversal().V().has("vnf-id", "myvnf").hasNext());
assertTrue("vertex with vnfc-name a-name exists", engine.tx().traversal().V().has("vnfc-name", "a-name").hasNext());
assertTrue("generic-vnf has edge uses", engine.tx().traversal().V().has("vnf-id", "myvnf").both("uses").hasNext());
@@ -997,7 +1032,7 @@ public class DbSerializerTest extends AAISetup {
assertFalse("vnfc has no edge over-uses", engine.tx().traversal().V().has("vnfc-name", "a-name").both("over-uses").hasNext());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnfc-name", "a-name").both().count().next());
assertEquals("Number of edges between vertexes is 1", Long.valueOf(1), engine.tx().traversal().V().has("vnf-id", "myvnf").both().count().next());
- engine.rollback();
+
}
private DBSerializer getDBSerializerWithSpecificEdgeRules(EdgeRules ers)
@@ -1016,9 +1051,9 @@ public class DbSerializerTest extends AAISetup {
Introspector gv = loader.introspectorFromName("generic-vnf");
gv.setValue("vnf-name", "myname");
Introspector rel = loader.introspectorFromName("relationship");
- DBSerializer dbser = new DBSerializer(Version.v11, dbEngine,
+ DBSerializer dbser = new DBSerializer(Version.v11, dbEngine,
ModelType.MOXY, "AAI-TEST");
-
+
dbser.addRelatedToProperty(rel, gv);
List<Introspector> relToProps = rel.getWrappedListValue("related-to-property");
assertTrue(relToProps.size() == 1);
@@ -1026,40 +1061,40 @@ public class DbSerializerTest extends AAISetup {
assertTrue("generic-vnf.vnf-name".equals(relToProp.getValue("property-key")));
assertTrue("myname".equals(relToProp.getValue("property-value")));
}
-
+
@Test
public void dbToObjectContainerMismatchTest() throws AAIException, UnsupportedEncodingException {
- DBSerializer dbser = new DBSerializer(Version.v11, dbEngine,
+ DBSerializer dbser = new DBSerializer(Version.v11, dbEngine,
ModelType.MOXY, "AAI-TEST");
-
+
Graph vertexMaker = TinkerGraph.open();
Vertex a = vertexMaker.addVertex(T.id, "0");
Vertex b = vertexMaker.addVertex(T.id, "1");
List<Vertex> vertices = Arrays.asList(a,b);
-
+
Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.v11);
Introspector intro = loader.introspectorFromName("image"); //just need any non-container object
-
+
thrown.expect(AAIException.class);
thrown.expectMessage("query object mismatch: this object cannot hold multiple items.");
-
+
dbser.dbToObject(vertices, intro, Integer.MAX_VALUE, true, "doesn't matter");
}
-
+
@Test
public void dbToObjectTest() throws AAIException, UnsupportedEncodingException {
engine.startTransaction();
-
- DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
+
+ DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
ModelType.MOXY, "AAI-TEST");
-
+
Vertex gv1 = engine.tx().addVertex("aai-node-type", "generic-vnf", "vnf-id", "id1");
Vertex gv2 = engine.tx().addVertex("aai-node-type", "generic-vnf", "vnf-id", "id2");
List<Vertex> vertices = Arrays.asList(gv1, gv2);
-
+
Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.getLatest());
Introspector gvContainer = loader.introspectorFromName("generic-vnfs");
-
+
Introspector res = dbser.dbToObject(vertices, gvContainer, 0, true, "true");
List<Introspector> gvs = res.getWrappedListValue("generic-vnf");
assertTrue(gvs.size() == 2);
@@ -1067,75 +1102,75 @@ public class DbSerializerTest extends AAISetup {
String vnfId = i.getValue("vnf-id");
assertTrue("id1".equals(vnfId) || "id2".equals(vnfId));
}
-
- engine.rollback();
+
+
}
-
+
@Test
public void getEdgeBetweenNoLabelTest() throws AAIException {
- DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
+ DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
ModelType.MOXY, "AAI-TEST");
-
+
engine.startTransaction();
Vertex gv = engine.tx().addVertex("aai-node-type", "generic-vnf", "vnf-id", "id1");
Vertex lint = engine.tx().addVertex("aai-node-type", "l-interface", "interface-name", "name1");
rules.addTreeEdge(engine.tx().traversal(), gv, lint);
-
+
Edge res = dbser.getEdgeBetween(EdgeType.TREE, gv, lint);
- assertTrue("hasLInterface".equals(res.label()));
- engine.rollback();
+ assertEquals("org.onap.relationships.inventory.BelongsTo", res.label());
+
}
@Test
public void deleteItemsWithTraversal() throws AAIException {
- DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
+ DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
ModelType.MOXY, "AAI-TEST");
-
+
engine.startTransaction();
Vertex gv = engine.tx().addVertex("aai-node-type", "generic-vnf", "vnf-id", "id1");
Vertex lint = engine.tx().addVertex("aai-node-type", "l-interface", "interface-name", "name1");
-
+
assertTrue(engine.tx().traversal().V().has("vnf-id", "id1").hasNext());
assertTrue(engine.tx().traversal().V().has("interface-name", "name1").hasNext());
-
+
dbser.deleteItemsWithTraversal(Arrays.asList(gv, lint));
-
+
assertTrue(!engine.tx().traversal().V().has("vnf-id", "id1").hasNext());
assertTrue(!engine.tx().traversal().V().has("interface-name", "name1").hasNext());
-
- engine.rollback();
+
+
}
-
+
@Test
public void serializeToDbWithParentTest() throws AAIException, UnsupportedEncodingException, URISyntaxException {
- DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
+ DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
ModelType.MOXY, "AAI-TEST");
-
+
engine.startTransaction();
Vertex gv = engine.tx().addVertex("aai-node-type", "generic-vnf", "vnf-id", "id1");
Vertex lint = engine.tx().addVertex("aai-node-type", "l-interface", "interface-name", "name1");
rules.addTreeEdge(engine.tx().traversal(), gv, lint);
-
+
Introspector lintIntro = loader.introspectorFromName("l-interface");
lintIntro.setValue("interface-role", "actor");
URI lintURI = new URI("/network/generic-vnfs/generic-vnf/id1/l-interfaces/l-interface/name1");
QueryParser uriQuery = dbEngine.getQueryBuilder(gv).createQueryFromURI(lintURI);
dbser.serializeToDb(lintIntro, lint, uriQuery, "test-identifier", "AAI-TEST");
-
+
assertTrue(engine.tx().traversal().V(lint).has("interface-role", "actor").hasNext());
-
- engine.rollback();
+
+
}
-
+
@Test
public void getLatestVersionViewTest() throws AAIException, UnsupportedEncodingException {
- DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
+ DBSerializer dbser = new DBSerializer(Version.getLatest(), engine,
ModelType.MOXY, "AAI-TEST");
-
+
engine.startTransaction();
- Vertex phys = engine.tx().addVertex("aai-node-type", "physical-link", "link-name", "zaldo",
+ Vertex phys = engine.tx().addVertex("aai-node-type", "physical-link", "link-name", "zaldo",
"speed-value", "very-fast", "service-provider-bandwidth-up-units", "things");
-
+
Introspector res = dbser.getLatestVersionView(phys);
assertTrue("zaldo".equals(res.getValue("link-name")));
assertTrue("very-fast".equals(res.getValue("speed-value")));
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/db/EdgeRulesTest.java b/aai-core/src/test/java/org/onap/aai/serialization/db/EdgeRulesTest.java
index bc6a721f..773b9cd2 100644
--- a/aai-core/src/test/java/org/onap/aai/serialization/db/EdgeRulesTest.java
+++ b/aai-core/src/test/java/org/onap/aai/serialization/db/EdgeRulesTest.java
@@ -22,9 +22,10 @@
package org.onap.aai.serialization.db;
-import org.apache.tinkerpop.gremlin.structure.Direction;
+import org.apache.tinkerpop.gremlin.structure.*;
import org.junit.Test;
import org.onap.aai.AAISetup;
+
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
@@ -34,13 +35,11 @@ import java.util.Map;
import java.util.Set;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-import org.apache.tinkerpop.gremlin.structure.Graph;
-import org.apache.tinkerpop.gremlin.structure.T;
-import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
import org.junit.Rule;
import org.junit.rules.ExpectedException;
+import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.exceptions.AAIException;
import org.onap.aai.introspection.Version;
import org.onap.aai.serialization.db.exceptions.EdgeMultiplicityException;
@@ -61,7 +60,7 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.TREE, "cloud-region", "flavor");
- assertEquals("out direction", rule.getDirection(), Direction.OUT);
+ assertEquals("out direction", rule.getDirection(), Direction.IN);
}
@Test
@@ -69,7 +68,7 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.TREE, "flavor", "cloud-region");
- assertEquals("in direction", rule.getDirection(), Direction.IN);
+ assertEquals("in direction", rule.getDirection(), Direction.OUT);
}
@Test
@@ -77,7 +76,7 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "model-ver", "model-element");
- assertEquals("in direction", rule.getDirection(), Direction.IN);
+ assertEquals("in direction", Direction.IN, rule.getDirection());
}
@Test
@@ -85,21 +84,25 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "model-element", "model-ver");
- assertEquals("out direction", rule.getDirection(), Direction.OUT);
+ assertEquals("out direction", Direction.OUT, rule.getDirection());
}
@Test
public void verifyMultipleGet() throws AAIException {
EdgeRules rules = EdgeRules.getInstance();
Map<String, EdgeRule> ruleMap = rules.getEdgeRules("model-element", "model-ver");
- assertEquals("has isA rule", "isA", ruleMap.get("isA").getLabel());
- assertEquals("has startsWith rule", "startsWith", ruleMap.get("startsWith").getLabel());
+ assertEquals("has isA rule", "org.onap.relationships.inventory.IsA",
+ ruleMap.get("org.onap.relationships.inventory.IsA").getLabel());
+ assertEquals("has startsWith rule", "org.onap.relationships.inventory.BelongsTo",
+ ruleMap.get("org.onap.relationships.inventory.BelongsTo").getLabel());
}
@Test
public void verifyMultipleGetSingleRule() throws AAIException {
EdgeRules rules = EdgeRules.getInstance();
Map<String, EdgeRule> ruleMap = rules.getEdgeRules("availability-zone", "complex");
- assertEquals("has groupsResourcesIn rule", "groupsResourcesIn", ruleMap.get("groupsResourcesIn").getLabel());
+
+ assertEquals("has org.onap.relationships.inventory.LocatedIn rule", "org.onap.relationships.inventory.LocatedIn",
+ ruleMap.get("org.onap.relationships.inventory.LocatedIn").getLabel());
}
@Test
@@ -116,7 +119,7 @@ public class EdgeRulesTest extends AAISetup {
assertEquals("true: pserver | complex", true, EdgeRules.getInstance().hasEdgeRule("pserver", "complex"));
assertEquals("false: pserver | service", false, EdgeRules.getInstance().hasEdgeRule("pserver", "service"));
}
-
+
@Test
public void hasTreeEdgeRuleTest() {
assertEquals("true: cloud-region | tenant", true, EdgeRules.getInstance().hasTreeEdgeRule("cloud-region", "tenant"));
@@ -125,7 +128,7 @@ public class EdgeRulesTest extends AAISetup {
assertEquals("true: service-instance | allotted-resource", true, EdgeRules.getInstance().hasTreeEdgeRule("service-instance", "allotted-resource"));
}
-
+
@Test
public void hasCousinEdgeRuleTest() {
assertEquals("false: cloud-region | tenant", false, EdgeRules.getInstance().hasCousinEdgeRule("cloud-region", "tenant", null));
@@ -133,11 +136,11 @@ public class EdgeRulesTest extends AAISetup {
assertEquals("true: pserver | complex", true, EdgeRules.getInstance().hasCousinEdgeRule("pserver", "complex", null));
assertEquals("true: service-instance | allotted-resource", true, EdgeRules.getInstance().hasCousinEdgeRule("service-instance", "allotted-resource", null));
assertEquals("true: logical-link | l-interface", true, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", null));
- assertEquals("true: logical-link | l-interface : sourceLInterface", true, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", "sourceLInterface"));
- assertEquals("true: logical-link | l-interface : targetLInterface", true, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", "targetLInterface"));
+ assertEquals("true: logical-link | l-interface : sourceLInterface", true, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", "org.onap.relationships.inventory.Source"));
+ assertEquals("true: logical-link | l-interface : targetLInterface", true, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", "org.onap.relationships.inventory.Destination"));
assertEquals("false: logical-link | l-interface : blah", false, EdgeRules.getInstance().hasCousinEdgeRule("logical-link", "l-interface", "blah"));
}
-
+
@Test
public void hasEdgeRuleVertexTest() {
Graph graph = TinkerGraph.open();
@@ -153,11 +156,11 @@ public class EdgeRulesTest extends AAISetup {
Vertex v2 = graph.addVertex("aai-node-type", "tenant");
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.TREE, v1, v2);
- assertEquals(true, "OUT".equalsIgnoreCase(rule.getContains()));
- assertEquals(true, "OUT".equalsIgnoreCase(rule.getDeleteOtherV()));
- assertEquals(true, MultiplicityRule.ONE2MANY.equals(rule.getMultiplicityRule()));
- assertEquals(true, "IN".equalsIgnoreCase(rule.getServiceInfrastructure()));
- assertEquals(true, "OUT".equalsIgnoreCase(rule.getPreventDelete()));
+ assertEquals(true, "IN".equalsIgnoreCase(rule.getContains()));
+ assertEquals(true, "NONE".equalsIgnoreCase(rule.getDeleteOtherV()));
+ assertEquals(true, MultiplicityRule.MANY2ONE.equals(rule.getMultiplicityRule()));
+ assertEquals(true, "OUT".equalsIgnoreCase(rule.getServiceInfrastructure()));
+ assertEquals(true, "IN".equalsIgnoreCase(rule.getPreventDelete()));
}
@Test
@@ -168,7 +171,7 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance();
GraphTraversalSource g = graph.traversal();
rules.addTreeEdge(g, v1, v2);
- assertEquals(true, g.V(v1).out("has").has("aai-node-type", "tenant").hasNext());
+ assertEquals(true, g.V(v1).in("org.onap.relationships.inventory.BelongsTo").has("aai-node-type", "tenant").hasNext());
Vertex v3 = graph.addVertex(T.id, "2", "aai-node-type", "cloud-region");
assertEquals(null, rules.addTreeEdgeIfPossible(g, v3, v2));
@@ -182,7 +185,7 @@ public class EdgeRulesTest extends AAISetup {
EdgeRules rules = EdgeRules.getInstance(Version.getLatest());
GraphTraversalSource g = graph.traversal();
rules.addEdge(g, v1, v2);
- assertEquals(true, g.V(v2).out("hasFlavor").has("aai-node-type", "flavor").hasNext());
+ assertEquals(true, g.V(v2).out("org.onap.relationships.inventory.Uses").has("aai-node-type", "flavor").hasNext());
Vertex v3 = graph.addVertex(T.id, "2", "aai-node-type", "flavor");
assertEquals(null, rules.addEdgeIfPossible(g, v3, v2));
@@ -191,7 +194,7 @@ public class EdgeRulesTest extends AAISetup {
@Test
public void multiplicityViolationTest() throws AAIException {
thrown.expect(EdgeMultiplicityException.class);
- thrown.expectMessage("multiplicity rule violated: only one edge can exist with label: uses between vf-module and volume-group");
+ thrown.expectMessage("multiplicity rule violated: only one edge can exist with label: org.onap.relationships.inventory.Uses between vf-module and volume-group");
Graph graph = TinkerGraph.open();
Vertex v1 = graph.addVertex(T.id, "1", "aai-node-type", "vf-module");
@@ -225,7 +228,7 @@ public class EdgeRulesTest extends AAISetup {
public void getAllRulesTest() {
EdgeRules rules = EdgeRules.getInstance("/dbedgerules/DbEdgeRules_test.json");
Multimap<String, EdgeRule> allRules = rules.getAllRules();
- assertEquals(14, allRules.size());
+ assertEquals(16, allRules.size());
assertEquals(true, allRules.containsKey("foo|bar"));
assertEquals(true, allRules.containsKey("foo|bar"));
assertEquals(true, allRules.containsKey("quux|foo"));
@@ -263,6 +266,15 @@ public class EdgeRulesTest extends AAISetup {
// so if any required properties are missing, the verification builds
// will catch it and incorrect rules can't get merged in.
for (Version v : Version.values()) {
+ // NOt adding descriptions prior to v12
+ switch (v.toString()) {
+ case "v7":
+ case "v8":
+ case "v9":
+ case "v10":
+ case "v11":
+ continue;
+ }
EdgeRules rules = EdgeRules.getInstance(v);
rules.getAllRules();
}
@@ -277,23 +289,23 @@ public class EdgeRulesTest extends AAISetup {
@Test
public void verifyOutDirectionUsingLabel() throws AAIException, NoEdgeRuleFoundException {
EdgeRules rules = EdgeRules.getInstance();
- EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "generic-vnf", "l3-network", "usesL3Network");
+ EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "generic-vnf", "l3-network", "org.onap.relationships.inventory.Uses");
assertEquals("out direction", rule.getDirection(), Direction.OUT);
}
@Test
- public void verifyOutDirectionLinterfaceToLinterfaceUsingLabel() throws AAIException, NoEdgeRuleFoundException {
+ public void verifyInDirectionLinterfaceToLinterfaceUsingLabel() throws AAIException, NoEdgeRuleFoundException {
EdgeRules rules = EdgeRules.getInstance();
EdgeRule rule = rules.getEdgeRule(EdgeType.TREE, "l-interface", "l-interface");
- assertEquals("out direction", rule.getDirection(), Direction.OUT);
+ assertEquals("in direction", rule.getDirection(), Direction.IN);
}
@Test
public void verifyOutFlippedDirectionUsingLabel() throws AAIException, NoEdgeRuleFoundException {
EdgeRules rules = EdgeRules.getInstance();
- EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "l3-network", "generic-vnf", "usesL3Network");
+ EdgeRule rule = rules.getEdgeRule(EdgeType.COUSIN, "l3-network", "generic-vnf", "org.onap.relationships.inventory.Uses");
assertEquals("in direction", rule.getDirection(), Direction.IN);
}
@@ -348,4 +360,28 @@ public class EdgeRulesTest extends AAISetup {
Map<String, EdgeRule> edgeRules = rules.getEdgeRulesWithLabels(EdgeType.COUSIN, "generic-vnf", "vnfc", labels);
}
+ @Test
+ public void addEdgeVerifyAAIUUIDCousinTest() throws AAIException {
+ Graph graph = TinkerGraph.open();
+ Vertex v1 = graph.addVertex(T.id, "1", "aai-node-type", "flavor");
+ Vertex v2 = graph.addVertex(T.id, "10", "aai-node-type", "vserver");
+ EdgeRules rules = EdgeRules.getInstance(Version.getLatest());
+ GraphTraversalSource g = graph.traversal();
+ Edge e = rules.addEdge(g, v1, v2);
+ assertTrue(e.property(AAIProperties.AAI_UUID).isPresent());
+ //assertTrue(e.property(AAIProperties.AAI_UUID).value().toString().matches("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"));
+ }
+
+ @Test
+ public void addEdgeVerifyAAIUUIDTreeTest() throws AAIException {
+ Graph graph = TinkerGraph.open();
+ Vertex v1 = graph.addVertex(T.id, "1", "aai-node-type", "tenant");
+ Vertex v2 = graph.addVertex(T.id, "10", "aai-node-type", "vserver");
+ EdgeRules rules = EdgeRules.getInstance(Version.getLatest());
+ GraphTraversalSource g = graph.traversal();
+ Edge e = rules.addTreeEdge(g, v1, v2);
+ assertTrue(e.property(AAIProperties.AAI_UUID).isPresent());
+ //assertTrue(e.property(AAIProperties.AAI_UUID).value().toString().matches("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"));
+ }
+
}
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/engines/query/GraphTraversalQueryEngineTest.java b/aai-core/src/test/java/org/onap/aai/serialization/engines/query/GraphTraversalQueryEngineTest.java
index 4b4a0e64..55002a6f 100644
--- a/aai-core/src/test/java/org/onap/aai/serialization/engines/query/GraphTraversalQueryEngineTest.java
+++ b/aai-core/src/test/java/org/onap/aai/serialization/engines/query/GraphTraversalQueryEngineTest.java
@@ -19,7 +19,6 @@
*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-
package org.onap.aai.serialization.engines.query;
import static org.junit.Assert.*;
@@ -31,6 +30,8 @@ import java.util.Iterator;
import java.util.List;
import java.util.Set;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
import org.apache.tinkerpop.gremlin.process.traversal.step.util.Tree;
import org.apache.tinkerpop.gremlin.structure.Direction;
@@ -51,7 +52,7 @@ import org.onap.aai.introspection.Version;
import org.onap.aai.serialization.db.EdgeRules;
public class GraphTraversalQueryEngineTest extends AAISetup {
-
+
@Test
public void testFindParents() throws AAIException {
//setup
@@ -236,13 +237,13 @@ public class GraphTraversalQueryEngineTest extends AAISetup {
GraphTraversalQueryEngine engine = new GraphTraversalQueryEngine(g);
//test
- List<Vertex> outRes = engine.findRelatedVertices(gv, Direction.OUT, "hasLInterface", "l-interface");
+ List<Vertex> outRes = engine.findRelatedVertices(gv, Direction.IN, "org.onap.relationships.inventory.BelongsTo", "l-interface");
assertTrue(outRes.containsAll(outExpected) && outExpected.containsAll(outRes));
-
- List<Vertex> inRes = engine.findRelatedVertices(log, Direction.IN, "usesLogicalLink", "l-interface");
+
+ List<Vertex> inRes = engine.findRelatedVertices(log, Direction.IN, "tosca.relationships.network.LinksTo", "l-interface");
assertTrue(inRes.containsAll(inExpected) && inExpected.containsAll(inRes));
- List<Vertex> bothRes = engine.findRelatedVertices(lint, Direction.BOTH, "usesLogicalLink", "logical-link");
+ List<Vertex> bothRes = engine.findRelatedVertices(lint, Direction.BOTH, "tosca.relationships.network.LinksTo", "logical-link");
assertTrue(bothRes.containsAll(bothExpected) && bothExpected.containsAll(bothRes));
}
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ConsoleTest.java b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ConsoleTest.java
new file mode 100644
index 00000000..a60eaf90
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/ConsoleTest.java
@@ -0,0 +1,83 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.serialization.queryformats;
+
+import static org.junit.Assert.*;
+import org.junit.Test;
+import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException;
+
+import com.google.gson.JsonObject;
+
+public class ConsoleTest {
+
+
+ Console fM1 = new Console();
+
+ String param = "abcd";
+
+ JsonObject resultVal;
+
+ @Test
+ public void classConsoleInstantiateCheck() {
+
+ try {
+ Console fm1 = new Console();
+ assertNotNull("Created class Object is null", fm1);
+ }
+ catch(Exception e) {
+ fail();
+ }
+ }
+
+ //Below method is expecting to throw an exception
+
+ @Test(expected=NullPointerException.class)
+ public void formatObjectParamNullCheck() throws AAIFormatVertexException {
+
+ param=null;
+ Console fm3 = new Console();
+ resultVal = fm3.formatObject(param);
+ }
+
+ @Test
+ public void formatObjectResultCheck() {
+
+ try {
+ Console fm2 = new Console();
+
+ resultVal = fm2.formatObject(param);
+ assertNotNull("The result is null", resultVal);
+
+ //System.out.println(resultVal);
+
+ JsonObject jsonObj = new JsonObject();
+ jsonObj.addProperty("result", "abcd");
+
+ assertEquals(jsonObj, resultVal);
+
+ }
+ catch (Exception e) {
+ fail();
+ }
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/GraphSONTest.java b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/GraphSONTest.java
new file mode 100644
index 00000000..8f418a43
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/GraphSONTest.java
@@ -0,0 +1,80 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.serialization.queryformats;
+
+import org.apache.tinkerpop.gremlin.structure.Graph;
+import org.apache.tinkerpop.gremlin.structure.Vertex;
+import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
+import org.junit.*;
+import static org.junit.Assert.assertEquals;
+
+import com.google.gson.JsonArray;
+import com.google.gson.JsonObject;
+
+public class GraphSONTest {
+
+ private Graph graph;
+ private Vertex v1;
+
+ //private JsonObject jsonObj = new JsonParser().parse("{\"id\":0,\"label\":\"vertex\",\"properties\":{\"name\":[{\"id\":1,\"value\":\"Sam\"}]}}").getAsJsonObject();
+ private JsonObject jsonObj = new JsonObject() ;
+ private JsonObject properties = new JsonObject();
+ private JsonArray name = new JsonArray() ;
+ private JsonObject idVal = new JsonObject() ;
+
+ @Before
+ public void setUp() {
+
+ jsonObj.addProperty("id", 0);
+ jsonObj.addProperty("label", "vertex");
+
+ idVal.addProperty("id", 1);
+ idVal.addProperty("value", "Sam");
+
+ name.add(idVal);
+ properties.add("name",name);
+ jsonObj.add("properties", properties);
+
+ graph = TinkerGraph.open();
+ v1 = graph.addVertex("name", "Sam");
+
+ }
+
+ @Test
+ public void classGraphSONTestWithVertex(){
+
+ GraphSON graphSonObj1 = new GraphSON();
+ JsonObject obj = graphSonObj1.formatObject(v1);
+
+ assertEquals(jsonObj, obj);
+ }
+
+ @Test
+ public void parallelThresholdCehck(){
+
+ GraphSON graphSonObj2 = new GraphSON();
+ assertEquals(50, graphSonObj2.parallelThreshold());
+
+ }
+
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/RawFormatTest.java b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/RawFormatTest.java
index a33349fd..ae76467c 100644
--- a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/RawFormatTest.java
+++ b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/RawFormatTest.java
@@ -92,7 +92,7 @@ public class RawFormatTest extends AAISetup {
@Test
public void verifyPserverRelatedToHasEdgeLabel () throws AAIFormatVertexException, AAIException, AAIFormatQueryResultFormatNotSupported {
- assertTrue(rawFormat.createRelationshipObject(pserver).get(0).getAsJsonObject().get("relationship-label").getAsString().equals("locatedIn"));
+ assertTrue(rawFormat.createRelationshipObject(pserver).get(0).getAsJsonObject().get("relationship-label").getAsString().equals("org.onap.relationships.inventory.LocatedIn"));
}
@Test
@@ -102,7 +102,7 @@ public class RawFormatTest extends AAISetup {
@Test
public void verifyComplexRelatedToHasEdgeLabel () throws AAIFormatVertexException, AAIException, AAIFormatQueryResultFormatNotSupported {
- assertTrue(rawFormat.createRelationshipObject(complex).get(0).getAsJsonObject().get("relationship-label").getAsString().equals("locatedIn"));
+ assertTrue(rawFormat.createRelationshipObject(complex).get(0).getAsJsonObject().get("relationship-label").getAsString().equals("org.onap.relationships.inventory.LocatedIn"));
}
@Test
diff --git a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/SimpleFormatTest.java b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/SimpleFormatTest.java
index ec89aa30..fd3a8893 100644
--- a/aai-core/src/test/java/org/onap/aai/serialization/queryformats/SimpleFormatTest.java
+++ b/aai-core/src/test/java/org/onap/aai/serialization/queryformats/SimpleFormatTest.java
@@ -19,7 +19,6 @@
*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-
package org.onap.aai.serialization.queryformats;
import com.google.gson.JsonObject;
diff --git a/aai-core/src/test/java/org/onap/aai/util/AAICSVWriterTest.java b/aai-core/src/test/java/org/onap/aai/util/AAICSVWriterTest.java
new file mode 100644
index 00000000..b149e95f
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/AAICSVWriterTest.java
@@ -0,0 +1,77 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class AAICSVWriterTest {
+
+ private final String TEMP_DIR=System.getProperty("java.io.tmpdir")+"/test.csv";
+
+ @Test
+ public void writeFile() throws IOException
+ {
+
+
+ FileWriter fileWriter = new FileWriter(TEMP_DIR);
+ AAICSVWriter aaicsvWriter = new AAICSVWriter(fileWriter, ",", '\'', null);
+ aaicsvWriter.writeColumn(new String[]{"id", "name", null});
+ aaicsvWriter.writeColumn(null);
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"}, true);
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test@"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"});
+ aaicsvWriter.writeNext(new String[]{"1", null});
+ aaicsvWriter.writeNext(null);
+ aaicsvWriter.close();
+ File file = new File(TEMP_DIR);
+ Assert.assertTrue("File shoud be exists", file.exists());
+ }
+
+ @Test
+ public void writeFile1() throws IOException
+ {
+ FileWriter fileWriter = new FileWriter(TEMP_DIR);
+ AAICSVWriter aaicsvWriter = new AAICSVWriter(fileWriter, ",", '\u0000', null);
+ aaicsvWriter.writeNext(new String[]{"1", "Test1"}, true);
+ aaicsvWriter.writeNext(new String[]{"1", "Tes\"t@"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Tes\t@"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Test,@"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Tes\n"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Tes\r"}, false);
+ aaicsvWriter.writeNext(new String[]{"1", "Tes\u0000"}, false);
+ aaicsvWriter.close();
+ File file = new File(TEMP_DIR);
+ Assert.assertTrue("File shoud be exists", file.exists());
+
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/AAIConfigCommandLinePropGetterTest.java b/aai-core/src/test/java/org/onap/aai/util/AAIConfigCommandLinePropGetterTest.java
new file mode 100644
index 00000000..fcce479a
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/AAIConfigCommandLinePropGetterTest.java
@@ -0,0 +1,105 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.assertEquals;
+
+import java.security.Permission;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.onap.aai.AAISetup;
+
+public class AAIConfigCommandLinePropGetterTest extends AAISetup {
+
+ private SecurityManager m;
+ private TestSecurityManager sm;
+
+ @Before
+ public void setUp()
+ {
+ m = System.getSecurityManager();
+ sm = new TestSecurityManager();
+ System.setSecurityManager(sm);
+ }
+
+ @After
+ public void tearDown()
+ {
+ System.setSecurityManager(m);
+ }
+
+ @Test
+ public void testMainNoArgs() {
+ try {
+ AAIConfigCommandLinePropGetter.main(new String[] {});
+ } catch (SecurityException se) {
+ // assert main method ends with System.exit(0)
+ assertEquals("0", se.getMessage());
+ }
+ }
+
+ @Test
+ public void testMainReadProp() {
+ try {
+ AAIConfigCommandLinePropGetter.main(new String[] {"aai.primary.filetransfer.serverlist"});
+ } catch (SecurityException se) {
+ // assert main method ends with System.exit(0)
+ assertEquals("0", se.getMessage());
+ }
+ }
+
+ @Test
+ public void testMainOneArg() {
+ try {
+ AAIConfigCommandLinePropGetter.main(new String[] {"one"});
+ } catch (SecurityException se) {
+ // assert main method ends with System.exit(0)
+ assertEquals("0", se.getMessage());
+ }
+ }
+
+ @Test
+ public void testMainMoreThanOneArg() {
+ try {
+ AAIConfigCommandLinePropGetter.main(new String[] {"one", "two"});
+ } catch (SecurityException se) {
+ // assert main method ends with System.exit(0)
+ assertEquals("0", se.getMessage());
+ }
+ }
+}
+
+class TestSecurityManager extends SecurityManager {
+ @Override
+ public void checkPermission(Permission permission) {
+ if ("exitVM".equals(permission.getName()))
+ {
+ throw new SecurityException("System.exit attempted and blocked.");
+ }
+ }
+ @Override
+ public void checkExit(int status) {
+ throw new SecurityException(Integer.toString(status));
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/AAIRSyncUtilityTest.java b/aai-core/src/test/java/org/onap/aai/util/AAIRSyncUtilityTest.java
new file mode 100644
index 00000000..f5daf3b0
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/AAIRSyncUtilityTest.java
@@ -0,0 +1,55 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.onap.aai.AAISetup;
+
+public class AAIRSyncUtilityTest extends AAISetup {
+
+ private static AAIRSyncUtility syncUtility;
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ syncUtility = new AAIRSyncUtility();
+ }
+
+ @Test(expected = NullPointerException.class)
+ public void testDoCommandNullCommands() throws Exception {
+ syncUtility.doCommand(null);
+ }
+
+ @Test(expected = Exception.class)
+ public void testDoCommandEmptyCommands() throws Exception {
+ List<String> commands = new ArrayList<String>();
+ syncUtility.doCommand(commands);
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/FileWatcherTest.java b/aai-core/src/test/java/org/onap/aai/util/FileWatcherTest.java
new file mode 100644
index 00000000..bb754c0e
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/FileWatcherTest.java
@@ -0,0 +1,78 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.*;
+
+import java.io.File;
+
+import org.junit.Test;
+import org.mockito.Mockito;
+
+public class FileWatcherTest {
+
+ class FileWatcherExtension extends FileWatcher {
+
+ public FileWatcherExtension(File file) {
+ super(file);
+ }
+
+ @Override
+ protected void onChange(File file) {
+ System.out.println("do nothing");
+ }
+ }
+
+ @Test
+ public void testFileWatcher() {
+ File file = new File("helloworld");
+ file.setLastModified(new Long(123));
+ FileWatcher fileWatcher = new FileWatcherExtension(file);
+ assertNotNull(fileWatcher);
+ file.deleteOnExit();
+ }
+
+ @Test(expected=NullPointerException.class)
+ public void testFileWatcher_nullConstructor() {
+ FileWatcher fileWatcher = new FileWatcherExtension(null);
+ assertNull(fileWatcher);
+ }
+
+ @Test
+ public void testRun() {
+ // verify that code is reachable outside of conditional check in run()
+ File file = new File("helloworld");
+ file.setLastModified(new Long(100));
+ FileWatcher fileWatcher = new FileWatcherExtension(file);
+ fileWatcher.run();
+ file.deleteOnExit();
+ }
+
+ @Test
+ public void testOnChange() throws Exception {
+ FileWatcher fileWatcher = Mockito.mock(FileWatcher.class, Mockito.CALLS_REAL_METHODS);
+
+ fileWatcher.onChange(Mockito.any(File.class));
+
+ Mockito.verify(fileWatcher).onChange(Mockito.any(File.class));
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/GenerateXsdTest.java b/aai-core/src/test/java/org/onap/aai/util/GenerateXsdTest.java
index 9a36680b..9e1e33a5 100644
--- a/aai-core/src/test/java/org/onap/aai/util/GenerateXsdTest.java
+++ b/aai-core/src/test/java/org/onap/aai/util/GenerateXsdTest.java
@@ -21,35 +21,271 @@
*/
package org.onap.aai.util;
-import org.junit.Test;
-import org.onap.aai.introspection.Version;
+import static org.junit.Assert.*;
-public class GenerateXsdTest {
+import java.io.StringReader;
+
+import javax.xml.XMLConstants;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
- @Test
- public void testGenerationOfXsdAndYaml() throws Exception {
+import org.hamcrest.CoreMatchers;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+import org.xml.sax.InputSource;
- GenerateXsd generateXsd = new GenerateXsd();
- System.setProperty("gen_version", Version.getLatest().toString());
- System.setProperty("gen_type", "XSD");
- System.setProperty("yamlresponses_url", "");
- System.setProperty("yamlresponses_label", "");
+import org.onap.aai.introspection.Version;
- generateXsd.main(new String[]{});
- System.setProperty("gen_version", Version.getLatest().toString());
- System.setProperty("gen_type", "YAML");
+public class GenerateXsdTest {
+ private static final int maxSizeForXml = 20000;
+ private String testXML;
+
+ @Before
+ public void setUp() throws Exception {
+ //PowerMockito.mockStatic(GenerateXsd.class);
+ StringBuilder sb = new StringBuilder(maxSizeForXml);
+ addNamespace(sb);
+ addRelationshipList(sb);
+ addRelationship(sb);
+ addRelatedToProperty(sb);
+ addRelationshipData(sb);
+ addBusiness(sb);
+ addCustomers(sb);
+ addCustomer(sb);
+ addServiceSubscriptions(sb);
+ addServiceSubscription(sb);
+ addEndOfXML(sb);
+ testXML = sb.toString();
+ }
+
+ private void addNamespace(StringBuilder sb){
+ sb.append("<xml-bindings xmlns=\"http://www.eclipse.org/eclipselink/xsds/persistence/oxm\" package-name=\"inventory.aai.onap.org.v11\" xml-mapping-metadata-complete=\"true\">\n");
+ sb.append("<xml-schema element-form-default=\"QUALIFIED\">\n");
+ sb.append("<xml-ns namespace-uri=\"http://org.onap.aai.inventory/v11\" />\n");
+ sb.append("</xml-schema>\n");
+ sb.append("<java-types>\n");
+ sb.append("<java-type name=\"Inventory\">\n");
+ sb.append("<xml-root-element name=\"inventory\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"business\" name=\"business\" type=\"inventory.aai.onap.org.v11.Business\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addRelationshipList(StringBuilder sb ) {
+ sb.append("<java-type name=\"RelationshipList\">\n");
+ sb.append("<xml-root-element name=\"relationship-list\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element container-type=\"java.util.ArrayList\" java-attribute=\"relationship\" name=\"relationship\" type=\"inventory.aai.onap.org.v11.Relationship\" />/n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addRelationship(StringBuilder sb ) {
+ sb.append("<java-type name=\"Relationship\">\n");
+ sb.append("<xml-root-element name=\"relationship\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"relatedTo\" name=\"related-to\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"A keyword provided by A&amp;AI to indicate type of node.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"relatedLink\" name=\"related-link\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"URL to the object in A&amp;AI.\" />");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element container-type=\"java.util.ArrayList\" java-attribute=\"relationshipData\" name=\"relationship-data\" type=\"inventory.aai.onap.org.v11.RelationshipData\" />\n");
+ sb.append("<xml-element container-type=\"java.util.ArrayList\" java-attribute=\"relatedToProperty\" name=\"related-to-property\" type=\"inventory.aai.onap.org.v11.RelatedToProperty\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addRelatedToProperty(StringBuilder sb) {
+ sb.append("<java-type name=\"RelatedToProperty\">\n");
+ sb.append("<xml-root-element name=\"related-to-property\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"propertyKey\" name=\"property-key\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Key part of a key/value pair\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"propertyValue\" name=\"property-value\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Value part of a key/value pair\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addRelationshipData(StringBuilder sb){
+ sb.append("<java-type name=\"RelationshipData\">\n");
+ sb.append("<xml-root-element name=\"relationship-data\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"relationshipKey\" name=\"relationship-key\" required=\"true\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"A keyword provided by A&amp;AI to indicate an attribute.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"relationshipValue\" name=\"relationship-value\" required=\"true\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Value of the attribute.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addBusiness(StringBuilder sb){
+ sb.append("<java-type name=\"Business\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Namespace for business related constructs\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("<xml-root-element name=\"business\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"customers\" name=\"customers\" type=\"inventory.aai.onap.org.v11.Customers\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addCustomers(StringBuilder sb){
+ sb.append("<java-type name=\"Customers\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Collection of customer identifiers to provide linkage back to BSS information.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("<xml-root-element name=\"customers\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element container-type=\"java.util.ArrayList\" java-attribute=\"customer\" name=\"customer\" type=\"inventory.aai.onap.org.v11.Customer\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"maximumDepth\" value=\"0\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addCustomer(StringBuilder sb){
+ sb.append("<java-type name=\"Customer\">\n");
+ sb.append("<xml-root-element name=\"customer\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"globalCustomerId\" name=\"global-customer-id\" required=\"true\" type=\"java.lang.String\" xml-key=\"true\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Global customer id used across ECOMP to uniquely identify customer.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"subscriberName\" name=\"subscriber-name\" required=\"true\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Subscriber name, an alternate way to retrieve a customer.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"subscriberType\" name=\"subscriber-type\" required=\"true\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Subscriber type, a way to provide VID with only the INFRA customers.\" />\n");
+ sb.append("<xml-property name=\"defaultValue\" value=\"CUST\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"resourceVersion\" name=\"resource-version\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Used for optimistic concurrency. Must be empty on create, valid on update and delete.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"serviceSubscriptions\" name=\"service-subscriptions\" type=\"inventory.aai.onap.org.v11.ServiceSubscriptions\" />\n");
+ sb.append("<xml-element java-attribute=\"relationshipList\" name=\"relationship-list\" type=\"inventory.aai.onap.org.v11.RelationshipList\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"customer identifiers to provide linkage back to BSS information.\" />\n");
+ sb.append("<xml-property name=\"nameProps\" value=\"subscriber-name\" />\n");
+ sb.append("<xml-property name=\"indexedProps\" value=\"subscriber-name,global-customer-id,subscriber-type\" />\n");
+ sb.append("<xml-property name=\"searchable\" value=\"global-customer-id,subscriber-name\" />\n");
+ sb.append("<xml-property name=\"uniqueProps\" value=\"global-customer-id\" />\n");
+ sb.append("<xml-property name=\"container\" value=\"customers\" />\n");
+ sb.append("<xml-property name=\"namespace\" value=\"business\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addServiceSubscriptions(StringBuilder sb){
+ sb.append("<java-type name=\"ServiceSubscriptions\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Collection of objects that group service instances.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("<xml-root-element name=\"service-subscriptions\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element container-type=\"java.util.ArrayList\" java-attribute=\"serviceSubscription\" name=\"service-subscription\" type=\"inventory.aai.onap.org.v11.ServiceSubscription\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("</java-type>\n");
+ }
+ private void addServiceSubscription(StringBuilder sb){
+ sb.append("<java-type name=\"ServiceSubscription\">\n");
+ sb.append("<xml-root-element name=\"service-subscription\" />\n");
+ sb.append("<java-attributes>\n");
+ sb.append("<xml-element java-attribute=\"serviceType\" name=\"service-type\" required=\"true\" type=\"java.lang.String\" xml-key=\"true\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Value defined by orchestration to identify this service across ECOMP.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"tempUbSubAccountId\" name=\"temp-ub-sub-account-id\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"This property will be deleted from A&amp;AI in the near future. Only stop gap solution.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"resourceVersion\" name=\"resource-version\" type=\"java.lang.String\">\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Used for optimistic concurrency. Must be empty on create, valid on update and delete.\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</xml-element>\n");
+ sb.append("<xml-element java-attribute=\"relationshipList\" name=\"relationship-list\" type=\"inventory.aai.onap.org.v11.RelationshipList\" />\n");
+ sb.append("</java-attributes>\n");
+ sb.append("<xml-properties>\n");
+ sb.append("<xml-property name=\"description\" value=\"Object that group service instances.\" />\n");
+ sb.append("<xml-property name=\"indexedProps\" value=\"service-type\" />\n");
+ sb.append("<xml-property name=\"dependentOn\" value=\"customer\" />\n");
+ sb.append("<xml-property name=\"container\" value=\"service-subscriptions\" />\n");
+ sb.append("<xml-property name=\"crossEntityReference\" value=\"service-instance,service-type\" />\n");
+ sb.append("</xml-properties>\n");
+ sb.append("</java-type>\n");
+ }
+
+ private void addEndOfXML(StringBuilder sb){
+ sb.append("</java-types>\n");
+ sb.append("</xml-bindings>\n");
+ }
+
+
+ @Test
+ public void test_processOxmFile() {
+
- String wikiLink = System.getProperty("aai.wiki.link");
+ GenerateXsd generateXsd = new GenerateXsd();
+
+ //GenerateXsd generateXsdSpy = PowerMockito.spy(generateXsd);
- if(wikiLink == null){
- wikiLink = "https://wiki.onap.org/";
- }
+ //generateXsdSpy.processOxmFile(null, Version.getLatest(), testXML);
- System.setProperty("yamlresponses_url", wikiLink);
- System.setProperty("yamlresponses_label", "Response codes found in [response codes]");
+ String xsdResult = generateXsd.processOxmFile(null, Version.getLatest(), testXML);
+
+ String relationshipListExpected = " <xs:element name=\"relationship-list\">\n <xs:complexType>\n <xs:sequence>\n <xs:element ref=\"tns:relationship\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n </xs:sequence>\n </xs:complexType>\n </xs:element>";
+ String relatedToPropertyExpected = " <xs:element name=\"related-to-property\">\n <xs:complexType>\n <xs:sequence>\n <xs:element name=\"property-key\" type=\"xs:string\" minOccurs=\"0\">\n <xs:annotation>\r\n <xs:appinfo>\r\n <annox:annotate target=\"field\">@org.onap.aai.annotations.Metadata(description=\"Key part of a key/value pair\")</annox:annotate>\r\n </xs:appinfo>\r\n </xs:annotation>\r\n </xs:element>\n"
+ + " <xs:element name=\"property-value\" type=\"xs:string\" minOccurs=\"0\">\n <xs:annotation>\r\n <xs:appinfo>\r\n <annox:annotate target=\"field\">@org.onap.aai.annotations.Metadata(description=\"Value part of a key/value pair\")</annox:annotate>\r\n </xs:appinfo>\r\n </xs:annotation>\r\n </xs:element>\n </xs:sequence>\n </xs:complexType>\n </xs:element>";
+ assertNotNull(xsdResult);
+ }
+ @Test
+ public void test_generateSwaggerFromOxmFile( ) {
+
- generateXsd.main(new String[]{});
- }
+ GenerateXsd generateXsd = new GenerateXsd();
+ String customerOperation = " /business/customers/customer/{global-customer-id}:\n get:\n tags:\n - Business\n summary: returns customer";
+ String relationshipListDefinition = " relationship-list:\n properties:\n relationship:\n type: array\n items: \n $ref: \"#/definitions/relationship\"";
+ String swaggerResult = generateXsd.generateSwaggerFromOxmFile(null, testXML);
+ assertNotNull(swaggerResult);
+ }
}
diff --git a/aai-core/src/test/java/org/onap/aai/util/HbaseSaltPrefixerTest.java b/aai-core/src/test/java/org/onap/aai/util/HbaseSaltPrefixerTest.java
new file mode 100644
index 00000000..918f8974
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/HbaseSaltPrefixerTest.java
@@ -0,0 +1,72 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.*;
+
+
+import org.junit.Test;
+
+
+public class HbaseSaltPrefixerTest {
+
+ HbaseSaltPrefixer obj = HbaseSaltPrefixer.getInstance();
+
+ //Sample key value used for testing
+ String key = "foo1234";
+
+ String result = obj.prependSalt(key);
+
+ @Test
+ public void classInstantiateCheck() {
+ try {
+ assertNotNull("Created class Object is not null", obj);
+ }
+ catch(Exception e) {
+ fail();
+ }
+ }
+
+ @Test
+ public void prependSaltResult_NullCheck () {
+ try {
+ assertNotNull("result is not null", result);
+ }
+ catch(NullPointerException e) {
+ fail();
+ }
+ }
+
+ @Test
+ public void prependSaltResult_PrefixSuccessChecks () {
+ try {
+ // Ensure that '-' has been prepended
+ assertFalse(result.startsWith("-"));
+ // Ensure that *something* has been prepended
+ assertFalse(result.equalsIgnoreCase(key));
+ }
+ catch (Exception e) {
+ fail();
+ }
+ }
+
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/KeyValueListTest.java b/aai-core/src/test/java/org/onap/aai/util/KeyValueListTest.java
new file mode 100644
index 00000000..c05ffefc
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/KeyValueListTest.java
@@ -0,0 +1,76 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import org.junit.Before;
+import org.junit.Test;
+import static org.junit.Assert.*;
+
+public class KeyValueListTest {
+ KeyValueList kv;
+ KeyValueList kv1;
+
+ @Before
+ public void setup() {
+ String key = "key";
+ String value = "value";
+ kv = new KeyValueList();
+ kv.setKey(key);
+ kv.setValue(value);
+ kv.setAdditionalProperty("name1", "val1");
+ kv1 = new KeyValueList();
+ kv1.setKey("key1");
+ kv1.setValue("value1");
+ }
+
+ @Test
+ public void getSetTest() {
+ assertEquals("key", kv.getKey());
+ assertEquals("value", kv.getValue());
+ }
+
+ @Test
+ public void additionalPropertyTest() {
+ assertEquals("Additional properties added", "val1", kv.getAdditionalProperties().get("name1"));
+ }
+
+ @Test
+ public void hashCodeTest() {
+ assertEquals("Hashing function returns the same code", kv.hashCode(), kv.hashCode());
+ assertNotEquals("Hashing function returns different code for different objects", kv.hashCode(), kv1.hashCode());
+ }
+
+ @Test
+ public void equalsTest() {
+ KeyValueList kv2 = new KeyValueList();
+ kv2.setKey("key");
+ kv2.setValue("value");
+ kv2.setAdditionalProperty("name1", "val1");
+ assertTrue("Equal KeyValueList objects", kv.equals(kv2));
+ assertFalse("Non-equal KeyValueList objects", kv.equals(kv1));
+ }
+
+ @Test
+ public void toStringTest() {
+ assertNotEquals("Different objects should return different strings", kv.toString(), kv1.toString());
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/MapperUtilTest.java b/aai-core/src/test/java/org/onap/aai/util/MapperUtilTest.java
new file mode 100644
index 00000000..dae2c22d
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/MapperUtilTest.java
@@ -0,0 +1,72 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import org.json.JSONObject;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class MapperUtilTest {
+
+ public class SampleClass {
+ private String color;
+ private String shape;
+
+ public SampleClass(String c, String s){
+ color = c;
+ shape = s;
+ }
+
+ public String getColor() {
+ return color;
+ }
+
+ public void setColor(String color) {
+ this.color = color;
+ }
+
+ public String getShape() {
+ return shape;
+ }
+
+ public void setShape(String shape) {
+ this.shape = shape;
+ }
+ }
+
+ private JSONObject expectedJson;
+
+ @Before
+ public void setup(){
+ expectedJson = new JSONObject();
+ }
+
+ @Test
+ public void writeAsJSONStringTest() throws Exception {
+ expectedJson.put("color", "black");
+ expectedJson.put("shape", "box");
+ SampleClass sample = new SampleClass("black", "box");
+ assertEquals(expectedJson.toString(), MapperUtil.writeAsJSONString(sample));
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java b/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java
new file mode 100644
index 00000000..7121a82b
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/PojoUtilsTest.java
@@ -0,0 +1,107 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.time.LocalDateTime;
+import java.time.Month;
+
+import org.junit.Test;
+import org.mockito.Mockito;
+
+public class PojoUtilsTest {
+
+ @Test
+ public void testGetJsonFromObject_Clazz_MockTest() throws Exception {
+
+ String obj = "helloWorld";
+ PojoUtils pojoUtils = Mockito.mock(PojoUtils.class);
+ Mockito.doCallRealMethod().when(pojoUtils).getJsonFromObject(Mockito.anyString());
+
+ pojoUtils.getJsonFromObject(obj);
+
+ Mockito.verify(pojoUtils, Mockito.times(1)).getJsonFromObject(Mockito.anyString(), Mockito.eq(false), Mockito.eq(true));
+ }
+
+ @Test
+ public void testGetJsonFromObject_Clazz() throws Exception {
+
+ PojoUtils pojoUtils = PojoUtilsTest.getInstance();
+ LocalDateTime date = LocalDateTime.of(2017, Month.SEPTEMBER, 18, 10, 55, 0, 300);
+
+ String res = pojoUtils.getJsonFromObject(date);
+
+ assertNotNull(res);
+ assertTrue(res.contains("\"dayOfMonth\" : 18"));
+ assertTrue(res.contains("\"dayOfWeek\" : \"MONDAY\""));
+ assertTrue(res.contains("\"dayOfYear\" : 261"));
+ assertTrue(res.contains("\"hour\" : 10"));
+ assertTrue(res.contains("\"minute\" : 55"));
+ assertTrue(res.contains("\"month\" : \"SEPTEMBER\""));
+ assertTrue(res.contains("\"monthValue\" : 9"));
+ assertTrue(res.contains("\"nano\" : 300"));
+ assertTrue(res.contains("\"second\" : 0"));
+ assertTrue(res.contains("\"year\" : 2017"));
+ }
+
+ @Test
+ public void testGetJsonFromObject_Clazz_null() throws Exception {
+ PojoUtils pojoUtils = PojoUtilsTest.getInstance();
+
+ String res = pojoUtils.getJsonFromObject(null);
+
+ assertNotNull(res);
+ assertEquals("null", res);
+ }
+
+ @Test
+ public void testGetJsonFromObject_null() throws Exception {
+ PojoUtils pojoUtils = PojoUtilsTest.getInstance();
+
+ String res = pojoUtils.getJsonFromObject(null, false, true);
+
+ assertNotNull(res);
+ assertEquals("null", res);
+ }
+
+ @Test
+ public void testGetJsonFromObject() throws Exception {
+ PojoUtils pojoUtils = PojoUtilsTest.getInstance();
+ LocalDateTime date = LocalDateTime.of(2017, Month.SEPTEMBER, 18, 10, 55, 0, 300);
+
+ String res = pojoUtils.getJsonFromObject(date, false, false);
+ assertNotNull(res);
+
+ res = pojoUtils.getJsonFromObject(date, true, false);
+ assertNotNull(res);
+
+ res = pojoUtils.getJsonFromObject(date, true, true);
+ assertNotNull(res);
+ }
+
+ static PojoUtils getInstance() {
+ return new PojoUtils();
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/RestURLEncoderTest.java b/aai-core/src/test/java/org/onap/aai/util/RestURLEncoderTest.java
new file mode 100644
index 00000000..e296b5e1
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/RestURLEncoderTest.java
@@ -0,0 +1,63 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.fail;
+
+import org.junit.Test;
+
+public class RestURLEncoderTest {
+
+ @Test
+ public void testEncodeURL() throws Exception {
+
+ String url = "nodeKeyTest&more-string strings";
+ String encodedUrl = "nodeKeyTest%26more-string%20strings";
+
+ String res = RestURLEncoder.encodeURL(url);
+ assertEquals(encodedUrl, res);
+ }
+
+ @Test
+ public void testEncodeURL_plusSign() throws Exception {
+
+ String url = "nodeKeyTest+more+string";
+ String encodedUrl = "nodeKeyTest%2Bmore%2Bstring";
+
+ String res = RestURLEncoder.encodeURL(url);
+ assertEquals(encodedUrl, res);
+ }
+
+ @Test
+ public void testEncodeURL_noException() throws Exception {
+ // no exception expected, none thrown: passes.
+ try {
+ String encodeResult = RestURLEncoder.encodeURL("");
+
+ assertNotNull("Result is not null", encodeResult);
+ } catch (Exception e) {
+ fail();
+ }
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/util/StoreNotificationEventTest.java b/aai-core/src/test/java/org/onap/aai/util/StoreNotificationEventTest.java
new file mode 100644
index 00000000..5c87b29e
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/util/StoreNotificationEventTest.java
@@ -0,0 +1,235 @@
+/**
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * Copyright © 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=========================================================
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ */
+package org.onap.aai.util;
+
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringWriter;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.json.Json;
+import javax.json.JsonObject;
+
+import org.eclipse.persistence.dynamic.DynamicEntity;
+import org.eclipse.persistence.dynamic.DynamicType;
+import org.eclipse.persistence.jaxb.JAXBContextProperties;
+import org.eclipse.persistence.jaxb.JAXBMarshaller;
+import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext;
+import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContextFactory;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.onap.aai.AAISetup;
+import org.onap.aai.dmaap.AAIDmaapEventJMSProducer;
+import org.onap.aai.domain.notificationEvent.NotificationEvent.EventHeader;
+import org.onap.aai.exceptions.AAIException;
+import org.onap.aai.introspection.Introspector;
+import org.onap.aai.introspection.Loader;
+import org.onap.aai.introspection.LoaderFactory;
+import org.onap.aai.introspection.ModelType;
+import org.onap.aai.introspection.Version;
+
+import com.fasterxml.jackson.core.JsonGenerationException;
+import com.fasterxml.jackson.databind.JsonMappingException;
+
+public class StoreNotificationEventTest extends AAISetup {
+
+ private static AAIDmaapEventJMSProducer producer;
+ private static StoreNotificationEvent sne;
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ producer = Mockito.mock(AAIDmaapEventJMSProducer.class);
+ sne = new StoreNotificationEvent(producer, "transiationId", "sourceOfTruth");
+ }
+
+ @Test(expected = AAIException.class)
+ public void testStoreEventNullObj() throws AAIException {
+ sne.storeEvent(new EventHeader(), null);
+ }
+
+ @Test(expected = AAIException.class)
+ public void testStoreEventInvalidObjForPojoUtils() throws AAIException {
+ sne.storeEvent(new EventHeader(), new Object());
+ }
+
+ @Test
+ public void testStoreEventEmptyEventHeader() throws AAIException, JsonGenerationException, JsonMappingException, IOException {
+ JsonObject object = Json.createObjectBuilder().add("hello", "world").build();
+ String res = sne.storeEvent(new EventHeader(), object);
+
+ assertNotNull(res);
+ assertTrue(res.contains("\"cambria.partition\" : \"" + AAIConstants.UEB_PUB_PARTITION_AAI + "\""));
+ assertTrue(res.contains("\"event-header\""));
+ assertTrue(res.contains("\"id\""));
+ assertTrue(res.contains("\"timestamp\""));
+ assertTrue(res.contains("\"source-name\" : \"" + AAIConfig.get("aai.notificationEvent.default.sourceName") + "\""));
+ assertTrue(res.contains("\"domain\" : \"" + AAIConfig.get("aai.notificationEvent.default.domain") + "\""));
+ assertTrue(res.contains("\"sequence-number\" : \"" + AAIConfig.get("aai.notificationEvent.default.sequenceNumber") + "\""));
+ assertTrue(res.contains("\"severity\" : \"" + AAIConfig.get("aai.notificationEvent.default.severity") + "\""));
+ assertTrue(res.contains("\"event-type\" : \"" + AAIConfig.get("aai.notificationEvent.default.eventType") + "\""));
+ assertTrue(res.contains("\"version\" : \"" + AAIConfig.get("aai.notificationEvent.default.version") + "\""));
+ assertTrue(res.contains("\"action\" : \"UNK\""));
+ assertTrue(res.contains("\"entity-link\" : \"UNK\""));
+ assertTrue(res.contains("\"entity\""));
+ assertTrue(res.contains("\"hello\""));
+ assertTrue(res.contains("\"chars\" : \"world\""));
+ assertTrue(res.contains("\"string\" : \"world\""));
+ assertTrue(res.contains("\"valueType\" : \"STRING\""));
+ }
+
+ @Test
+ public void testStoreEvent() throws AAIException, JsonGenerationException, JsonMappingException, IOException {
+ JsonObject object = Json.createObjectBuilder().add("hello", "world").build();
+ EventHeader eh = new EventHeader();
+ eh.setId("123");
+ eh.setTimestamp("current-time");
+ eh.setEntityLink("entity-link");
+ eh.setAction("action!");
+ eh.setEventType("surprise");
+ eh.setDomain("PROD");
+ eh.setSourceName("source");
+ eh.setSequenceNumber("23");
+ eh.setSeverity("ALERT");
+ eh.setVersion("v11");
+
+ String res = sne.storeEvent(eh, object);
+
+ assertNotNull(res);
+ assertTrue(res.contains("\"cambria.partition\" : \"" + AAIConstants.UEB_PUB_PARTITION_AAI + "\""));
+ assertTrue(res.contains("\"event-header\""));
+ assertTrue(res.contains("\"id\" : \"123\""));
+ assertTrue(res.contains("\"timestamp\" : \"current-time\""));
+ assertTrue(res.contains("\"source-name\" : \"source\""));
+ assertTrue(res.contains("\"domain\" : \"PROD\""));
+ assertTrue(res.contains("\"sequence-number\" : \"23\""));
+ assertTrue(res.contains("\"severity\" : \"ALERT\""));
+ assertTrue(res.contains("\"event-type\" : \"surprise\""));
+ assertTrue(res.contains("\"version\" : \"v11\""));
+ assertTrue(res.contains("\"action\" : \"action!\""));
+ assertTrue(res.contains("\"entity-link\" : \"entity-link\""));
+ assertTrue(res.contains("\"entity\""));
+ assertTrue(res.contains("\"hello\""));
+ assertTrue(res.contains("\"chars\" : \"world\""));
+ assertTrue(res.contains("\"string\" : \"world\""));
+ assertTrue(res.contains("\"valueType\" : \"STRING\""));
+ }
+
+ @Test(expected=AAIException.class)
+ public void testStoreDynamicEventNullObj() throws AAIException {
+ DynamicEntity eventHeader = Mockito.mock(DynamicEntity.class);
+ DynamicJAXBContext notificationJaxbContext = Mockito.mock(DynamicJAXBContext.class);
+ sne.storeDynamicEvent(notificationJaxbContext, "v11", eventHeader, null);
+ }
+
+ @Test(expected = AAIException.class)
+ public void testStoreDynamicEventAAIException() throws Exception {
+ DynamicEntity eventHeader = Mockito.mock(DynamicEntity.class);
+ DynamicEntity obj = Mockito.mock(DynamicEntity.class);
+ DynamicJAXBContext notificationJaxbContext = Mockito.mock(DynamicJAXBContext.class);
+ ClassLoader cl = getClass().getClassLoader();
+ InputStream is = cl.getResourceAsStream("bundleconfig-local/etc/oxm/aai_oxm_v11.xml");
+ Map<String, Object> properties = new HashMap<String, Object>();
+ properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, is);
+ DynamicJAXBContext notificationJaxbContextReal = DynamicJAXBContextFactory.createContextFromOXM(cl, properties);
+ DynamicType dtReal = notificationJaxbContextReal.getDynamicType("inventory.aai.onap.org.v11.NotificationEvent");
+ DynamicType dt = Mockito.mock(DynamicType.class);
+ DynamicEntity notificationEventReal = dtReal.newDynamicEntity();
+ JAXBMarshaller marshaller = Mockito.mock(JAXBMarshaller.class);
+
+ Mockito.when(notificationJaxbContext.getDynamicType(Mockito.anyString())).thenReturn(dt);
+ Mockito.when(dt.newDynamicEntity()).thenReturn(notificationEventReal);
+ Mockito.when(notificationJaxbContext.createMarshaller()).thenReturn(marshaller);
+ Mockito.doNothing().when(marshaller).marshal(Mockito.any(DynamicJAXBContext.class), Mockito.any(StringWriter.class));
+
+ sne.storeDynamicEvent(notificationJaxbContext, "v11", eventHeader, obj);
+ }
+
+ @Test(expected = AAIException.class)
+ public void testStoreEventIntrospectorNullObj() throws Exception {
+ Loader loader = Mockito.mock(Loader.class);
+ sne.storeEvent(loader, null, null);
+ }
+
+ @Test
+ public void testStoreEventIntrospector() throws Exception {
+ Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.v11);
+ Introspector eventHeader = loader.introspectorFromName("notification-event-header");
+ eventHeader.setValue("id", "123");
+ eventHeader.setValue("timestamp", "current-time");
+ eventHeader.setValue("entity-link", "entity-link");
+ eventHeader.setValue("action", "action!");
+ eventHeader.setValue("event-type", "surprise");
+ eventHeader.setValue("domain", "PROD");
+ eventHeader.setValue("source-name", "source");
+ eventHeader.setValue("sequence-number", "23");
+ eventHeader.setValue("severity", "ALERT");
+ eventHeader.setValue("version", "v11");
+
+ Introspector obj = loader.introspectorFromName("notification-event");
+
+ String res = sne.storeEvent(loader, eventHeader, obj);
+
+ assertNotNull(res);
+ assertTrue(res.contains("\"cambria.partition\":\"" + AAIConstants.UEB_PUB_PARTITION_AAI + "\""));
+ assertTrue(res.contains("\"event-header\""));
+ assertTrue(res.contains("\"id\":\"123\""));
+ assertTrue(res.contains("\"timestamp\":\"current-time\""));
+ assertTrue(res.contains("\"source-name\":\"source\""));
+ assertTrue(res.contains("\"domain\":\"PROD\""));
+ assertTrue(res.contains("\"sequence-number\":\"23\""));
+ assertTrue(res.contains("\"severity\":\"ALERT\""));
+ assertTrue(res.contains("\"event-type\":\"surprise\""));
+ assertTrue(res.contains("\"version\":\"v11\""));
+ assertTrue(res.contains("\"action\":\"action!\""));
+ assertTrue(res.contains("\"entity-link\":\"entity-link\""));
+ assertTrue(res.contains("\"notification-event\""));
+ }
+
+ @Test
+ public void testStoreEventIntrospectorEmptyEventHeader() throws Exception {
+ Loader loader = LoaderFactory.createLoaderForVersion(ModelType.MOXY, Version.v11);
+ Introspector eventHeader = loader.introspectorFromName("notification-event-header");
+ Introspector obj = loader.introspectorFromName("notification-event");
+
+ String res = sne.storeEvent(loader, eventHeader, obj);
+
+ assertNotNull(res);
+ assertTrue(res.contains("\"cambria.partition\":\"" + AAIConstants.UEB_PUB_PARTITION_AAI + "\""));
+ assertTrue(res.contains("\"event-header\""));
+ assertTrue(res.contains("\"id\""));
+ assertTrue(res.contains("\"timestamp\""));
+ assertTrue(res.contains("\"source-name\":\"" + AAIConfig.get("aai.notificationEvent.default.sourceName") + "\""));
+ assertTrue(res.contains("\"domain\":\"" + AAIConfig.get("aai.notificationEvent.default.domain") + "\""));
+ assertTrue(res.contains("\"sequence-number\":\"" + AAIConfig.get("aai.notificationEvent.default.sequenceNumber") + "\""));
+ assertTrue(res.contains("\"severity\":\"" + AAIConfig.get("aai.notificationEvent.default.severity") + "\""));
+ assertTrue(res.contains("\"event-type\":\"" + AAIConfig.get("aai.notificationEvent.default.eventType") + "\""));
+ assertTrue(res.contains("\"version\":\"" + AAIConfig.get("aai.notificationEvent.default.version") + "\""));
+ assertTrue(res.contains("\"action\":\"UNK\""));
+ assertTrue(res.contains("\"entity-link\":\"UNK\""));
+ assertTrue(res.contains("\"notification-event\""));
+ }
+}
diff --git a/aai-core/src/test/java/org/onap/aai/workarounds/LegacyURITransformerTest.java b/aai-core/src/test/java/org/onap/aai/workarounds/LegacyURITransformerTest.java
new file mode 100644
index 00000000..ebcaf750
--- /dev/null
+++ b/aai-core/src/test/java/org/onap/aai/workarounds/LegacyURITransformerTest.java
@@ -0,0 +1,104 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * org.onap.aai
+ * ================================================================================
+ * 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=========================================================
+ */
+
+package org.onap.aai.workarounds;
+
+import org.junit.Test;
+import org.onap.aai.AAISetup;
+import org.onap.aai.introspection.Version;
+
+import java.net.MalformedURLException;
+import java.net.URI;
+import java.net.URISyntaxException;
+
+import static org.junit.Assert.assertEquals;
+
+
+public class LegacyURITransformerTest extends AAISetup {
+
+ private LegacyURITransformer uriTransformer = LegacyURITransformer.getInstance();
+ private String fromSuccess = "http://myhostname.com:8443/aai/{version}/cloud-infrastructure/tenants/tenant/key1/vservers/vserver/key2";
+ private String toSuccess = "http://myhostname.com:8443/aai/servers/{version}/key1/vservers/key2";
+
+
+ /**
+ * V 5.
+ * @throws URISyntaxException
+ *
+ * @throws MalformedURLException the malformed URL exception
+ */
+ @Test
+ public void v5() throws URISyntaxException {
+ testSpec(Version.v8, fromSuccess, fromSuccess);
+ }
+
+
+ /**
+ * Test spec.
+ *
+ * @param version the version
+ * @param toExpected the to expected
+ * @param fromExpected the from expected
+ * @throws URISyntaxException
+ * @throws MalformedURLException the malformed URL exception
+ */
+ public void testSpec(Version version, String toExpected, String fromExpected) throws URISyntaxException {
+
+ URI toExpectedUri = new URI(toExpected.replace("{version}",version.toString()));
+ URI fromExpectedUri = new URI(fromExpected.replace("{version}",version.toString()));
+
+ URI result = toLegacyURISpec(version, fromExpectedUri);
+
+ assertEquals("to", toExpectedUri, result);
+
+ result = fromLegacyURISpec(version, toExpectedUri);
+
+ assertEquals("from", fromExpectedUri, result);
+ }
+
+
+ /**
+ * To legacy URL spec.
+ *
+ * @param version the version
+ * @param url the url
+ * @return the url
+ * @throws URISyntaxException
+ * @throws MalformedURLException the malformed URL exception
+ */
+ public URI toLegacyURISpec(Version version, URI uri) throws URISyntaxException {
+ return uri;
+ }
+
+ /**
+ * From legacy URL spec.
+ *
+ * @param version the version
+ * @param url the url
+ * @return the url
+ * @throws URISyntaxException
+ * @throws MalformedURLException the malformed URL exception
+ */
+ public URI fromLegacyURISpec(Version version, URI uri) throws URISyntaxException {
+ return uri;
+ }
+
+
+}
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
index c91976f3..d484a415 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/aaiconfig.properties
@@ -20,10 +20,74 @@
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
-aai.server.url.base=https://baseurl:8443/aai/
+####################################################################
+# REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
+# TEMPLATE AND *ALL* DATAFILES
+####################################################################
+
+aai.config.checktime=1000
+
+# this could come from siteconfig.pl?
+aai.config.nodename=AutomaticallyOverwritten
+
+aai.logging.hbase.interceptor=true
+aai.logging.hbase.enabled=true
+aai.logging.hbase.logrequest=true
+aai.logging.hbase.logresponse=true
+
+aai.logging.trace.enabled=true
+aai.logging.trace.logrequest=false
+aai.logging.trace.logresponse=false
+
+aai.transaction.logging=true
+aai.transaction.logging.get=true
+aai.transaction.logging.post=true
+
+aai.server.url.base=https://localhost:8443/aai/
+aai.server.url=https://localhost:8443/aai/v12/
+aai.global.callback.url=https://localhost:8443/aai/
+
+aai.default.api.version=v12
aai.resourceversion.enableflag=true
-aai.logging.maxStackTraceEntries=10
-aai.default.api.version=v9
+
+aai.notification.current.version=v12
+aai.notificationEvent.default.status=UNPROCESSED
+aai.notificationEvent.default.eventType=AAI-EVENT
+aai.notificationEvent.default.domain=devINT1
+aai.notificationEvent.default.sourceName=aai
+aai.notificationEvent.default.sequenceNumber=0
+aai.notificationEvent.default.severity=NORMAL
+aai.notificationEvent.default.version=v12
+
+
+# Used by Model-processing code
+aai.model.delete.sleep.per.vtx.msec=500
+aai.model.query.resultset.maxcount=50
+aai.model.query.timeout.sec=90
+
+# Used by Data Grooming
+aai.grooming.default.max.fix=150
+aai.grooming.default.sleep.minutes=7
+
+# Used by DupeTool
+aai.dupeTool.default.max.fix=25
+aai.dupeTool.default.sleep.minutes=7
+
+aai.model.proc.max.levels=50
+aai.edgeTag.proc.max.levels=50
+
+# Used by the ForceDelete tool
+aai.forceDel.protected.nt.list=cloud-region
+aai.forceDel.protected.edge.count=10
+aai.forceDel.protected.descendant.count=10
+
+# Used for CTAG-Pool generation
+aai.ctagPool.rangeString.vplsPe1=2001-2500
+aai.ctagPool.rangeString.vplsPe2=2501-3000
+
+aai.dmaap.workload.enableEventProcessing=true
+
+aai.realtime.clients=JUNIT
aai.server.rebind=g
aai.run.migrations=false
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/error.properties b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/error.properties
index 11416ca4..da9f5e5b 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/appprops/error.properties
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/appprops/error.properties
@@ -49,18 +49,13 @@ AAI_4008=5:4:ERROR:4008:500:3002:Output parsing error
AAI_4009=4:0:ERROR:4009:400:3000:Invalid X-FromAppId in header
AAI_4010=4:0:ERROR:4010:400:3000:Invalid X-TransactionId in header
AAI_4011=5:4:ERROR:4011:500:3002:Missing data for REST error response
-AAI_4012=5:4:ERROR:4012:500:3002:Bad rule data in RestRules
-AAI_4013=5:4:ERROR:4013:500:3002:Error connecting to AAI REST API
AAI_4014=4:0:ERROR:4014:400:3000:Invalid Accept header
AAI_4015=4:0:ERROR:4015:400:3000:You must provide at least one indexed property
AAI_4016=4:0:ERROR:4016:400:3000:The depth parameter must be a number or the string "all"
AAI_4017=5:2:INFO:4017:400:3000:Could not set property
AAI_4018=5:2:ERROR:4018:400:3000:Unable to convert the string to integer
-#--- aaidbmap: 5101-5199
-AAI_5101=5:4:FATAL:5101:500:3002:Could not connect to database
+#--- aaidbmap: 5102-5199
AAI_5102=5:4:FATAL:5102:500:3002:Graph database is null after open
-AAI_5103=5:4:ERROR:5103:500:3002:Unexpected error during commit
-AAI_5104=5:4:ERROR:5104:500:3002:Unexpected error during rollback
AAI_5105=5:4:ERROR:5105:500:3002:Unexpected error reading/updating database
AAI_5106=5:4:WARN:5106:404:3001:Node not found
AAI_5107=5:2:WARN:5107:400:3000:Required information missing
@@ -148,6 +143,7 @@ AAI_7401=5:4:ERROR:7401:500:3002:Error connecting to AAI REST API
AAI_7402=5:4:ERROR:7402:500:3002:Unexpected error
AAI_7403=5:4:WARN:7403:400:3001:Request error
AAI_7404=5:4:INFO:7404:404:3001:Node not found
+AAI_7405=5:4:WARN:7405:200:0:UUID not formatted correctly, generating UUID
#--- aaiauth: 9101-9199
AAI_9101=5:0:WARN:9101:403:3300:User is not authorized to perform function
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml
index d3c46600..51eaa349 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml
@@ -23,5819 +23,5416 @@
-->
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v10" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v10" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v10.Search" />
- <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v10.Actions" />
- <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v10.CloudInfrastructure" />
- <xml-element java-attribute="licenseManagement" name="license-management" type="inventory.aai.onap.org.v10.LicenseManagement" />
- <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v10.Business" />
- <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v10.ServiceDesignAndCreation" />
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v10.Network" />
- <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v10.AaiInternal" />
- <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v10.Nodes"/>
- </java-attributes>
- </java-type>
-
- <java-type name="Nodes">
- <xml-root-element name="nodes" />
- </java-type>
- <java-type name="Search">
- <xml-root-element name="search" />
- <java-attributes>
- <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v10.EdgeTagQueryResult" />
- <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v10.EdgeTagQueryRequest" />
- <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v10.SearchResults" />
- <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v10.SdnZoneResponse" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryResult">
- <xml-root-element name="edge-tag-query-result" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="TaggedInventoryItemList">
- <xml-root-element name="tagged-inventory-item-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v10.InventoryItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItem">
- <xml-root-element name="inventory-item" />
- <java-attributes>
- <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
- <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v10.InventoryItemData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItemData">
- <xml-root-element name="inventory-item-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryRequest">
- <xml-root-element name="edge-tag-query-request" />
- <java-attributes>
- <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
- <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
- <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v10.StartNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v10.IncludeNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v10.SecondaryFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="StartNodeFilter">
- <xml-root-element name="start-node-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="IncludeNodeFilter">
- <xml-root-element name="include-node-filter" />
- <java-attributes>
- <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilter">
- <xml-root-element name="secondary-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SearchResults">
- <xml-root-element name="search-results" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v10.ResultData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResultData">
- <xml-root-element name="result-data" />
- <java-attributes>
- <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The URL to the specific resource" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="SdnZoneResponse">
- <xml-root-element name="sdn-zone-response" />
- <java-attributes>
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
- <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v10.AzAndDvsSwitches" />
- </java-attributes>
- </java-type>
-
- <java-type name="AzAndDvsSwitches">
- <xml-root-element name="az-and-dvs-switches" />
- <java-attributes>
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
- <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Actions">
- <xml-properties>
- <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
- </xml-properties>
- <xml-root-element name="actions" />
- <java-attributes>
- <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v10.Update" />
- <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v10.Notify" />
- </java-attributes>
- </java-type>
-
- <java-type name="Update">
- <xml-properties>
- <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
- </xml-properties>
- <xml-root-element name="update" />
- <java-attributes>
- <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v10.UpdateNodeKey" />
- <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v10.Action" />
- </java-attributes>
- </java-type>
-
- <java-type name="Action">
- <xml-root-element name="action" />
- <java-attributes>
- <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v10.ActionData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ActionData">
- <xml-root-element name="action-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="UpdateNodeKey">
- <xml-root-element name="update-node-key" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Notify">
- <xml-root-element name="notify" />
- <java-attributes>
- <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
- <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
- <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v10.KeyData" />
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="KeyData">
- <xml-root-element name="key-data" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudInfrastructure">
- <xml-properties>
- <xml-property name="description" value="Namespace for cloud infrastructure." />
- </xml-properties>
- <xml-root-element name="cloud-infrastructure" />
- <java-attributes>
- <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v10.Complexes" />
- <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v10.CloudRegions" />
- <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v10.NetworkProfiles" />
- <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v10.Pservers" />
- <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v10.VirtualDataCenters" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudRegions">
- <xml-root-element name="cloud-regions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v10.CloudRegion" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="CloudRegion">
- <xml-root-element name="cloud-region" />
- <java-attributes>
- <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name, e.g., att-aic. First part of composite key should be formatted as vendor-cloudname" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Cloud-owner defined type indicator (e.g., dcp, lcp)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Software version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP TO DATE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Zone where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v10.VolumeGroups" />
- <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v10.Tenants" />
- <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v10.Flavors" />
- <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v10.GroupAssignments" />
- <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v10.Snapshots" />
- <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v10.Images" />
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
- <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v10.AvailabilityZones" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. In AT&amp;Ts AIC cloud, this could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname and we will use att-aic for AT&amp;T's AIC." />
- <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
- <xml-property name="nameProps" value="owner-defined-type" />
- <xml-property name="container" value="cloud-regions" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
- <java-type name="VolumeGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of persistent block-level storage." />
- </xml-properties>
- <xml-root-element name="volume-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v10.VolumeGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="VolumeGroup">
- <xml-root-element name="volume-group" />
- <java-attributes>
- <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of volume-group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the volume group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleModelCustomizationId" name="vf-module-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="helps relate the volume group to the vf-module whose components will require the volume group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Persistent block-level storage." />
- <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
- <xml-property name="searchable" value="volume-group-id,volume-group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="volume-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v10.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v10.RelationshipData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v10.RelatedToProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedToProperty">
- <xml-root-element name="related-to-property" />
- <java-attributes>
- <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Key part of a key/value pair" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value part of a key/value pair" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="Complexes">
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- </xml-properties>
- <xml-root-element name="complexes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v10.Complex" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Complex">
- <xml-root-element name="complex" />
- <java-attributes>
- <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Gamma complex name for LCP instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type, e.g., central office, data center." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
- <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
- <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
- <xml-element java-attribute="state" name="state" type="java.lang.String" />
- <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
- <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
- <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
- <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
- <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
- <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
- <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
- <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v10.CtagPools" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
- <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
- <xml-property name="uniqueProps" value="physical-location-id" />
- <xml-property name="container" value="complexes" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="CtagPools">
- <xml-root-element name="ctag-pools" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v10.CtagPool" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagPool">
- <xml-root-element name="ctag-pool" />
- <java-attributes>
- <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="The Target provider edge router" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Describes what the intended purpose of this pool is." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Comma separated list of ctags" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="complex" />
- <xml-property name="container" value="ctag-pools" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenants">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack tenants." />
- </xml-properties>
- <xml-root-element name="tenants" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v10.Tenant" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenant">
- <xml-root-element name="tenant" />
- <java-attributes>
- <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id relative to the cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Readable name of tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v10.Vservers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack tenant" />
- <xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-name,tenant-id" />
- <xml-property name="searchable" value="tenant-id,tenant-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="tenants" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vservers">
- <xml-properties>
- <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
- </xml-properties>
- <xml-root-element name="vservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v10.Vserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vserver">
- <xml-root-element name="vserver" />
- <java-attributes>
- <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternative name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v10.Volumes" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
- <xml-property name="nameProps" value="vserver-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
- <xml-property name="searchable" value="vserver-id,vserver-name,vserver-name2" />
- <xml-property name="dependentOn" value="tenant" />
- <xml-property name="container" value="vservers" />
- </xml-properties>
- </java-type>
-
- <java-type name="LInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of logical interfaces." />
- </xml-properties>
- <xml-root-element name="l-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v10.LInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LInterface">
- <xml-root-element name="l-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name given to the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="MAC address for the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isPortMirrored" name="is-port-mirrored" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not port is a mirrored." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v10.Vlans" />
- <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v10.SriovVfs" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
- <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
- <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
- <xml-property name="container" value="l-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="SriovVfs">
- <xml-properties>
- <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
- </xml-properties>
- <xml-root-element name="sriov-vfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v10.SriovVf" />
- </java-attributes>
- </java-type>
- <java-type name="SriovVf">
- <xml-root-element name="sriov-vf" />
- <java-attributes>
- <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
- <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="sriov-vfs" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv4AddressList">
- <xml-root-element name="l3-interface-ipv4-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 32 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv4 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vlans">
- <xml-root-element name="vlans" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v10.Vlan" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vlan">
- <xml-root-element name="vlan" />
- <java-attributes>
- <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String that identifies the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Definition of vlan" />
- <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="vlans" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv6AddressList">
- <xml-root-element name="l3-interface-ipv6-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 128 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv6 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Volumes">
- <xml-properties>
- <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
- </xml-properties>
- <xml-root-element name="volumes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v10.Volume" />
- </java-attributes>
- </java-type>
-
- <java-type name="Volume">
- <xml-root-element name="volume" />
- <java-attributes>
- <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Ephemeral Block storage volume." />
- <xml-property name="indexedProps" value="volume-id" />
- <xml-property name="dependentOn" value="vserver" />
- <xml-property name="container" value="volumes" />
- </xml-properties>
- </java-type>
-
- <java-type name="Flavors">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack flavors." />
- </xml-properties>
- <xml-root-element name="flavors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v10.Flavor" />
- </java-attributes>
- </java-type>
-
- <java-type name="Flavor">
- <xml-root-element name="flavor" />
- <java-attributes>
- <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Flavor name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of CPUs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of memory" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of ephemeral disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="amount of swap space allocation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack flavor." />
- <xml-property name="nameProps" value="flavor-name" />
- <xml-property name="indexedProps" value="flavor-name,flavor-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="flavors" />
- </xml-properties>
- </java-type>
-
- <java-type name="Snapshots">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack snapshots" />
- </xml-properties>
- <xml-root-element name="snapshots" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v10.Snapshot" />
- </java-attributes>
- </java-type>
-
- <java-type name="Snapshot">
- <xml-root-element name="snapshot" />
- <java-attributes>
- <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Snapshot name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack snapshot" />
- <xml-property name="nameProps" value="snapshot-name" />
- <xml-property name="uniqueProps" value="snapshot-id" />
- <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="snapshots" />
- </xml-properties>
- </java-type>
-
- <java-type name="GroupAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack group assignments" />
- </xml-properties>
- <xml-root-element name="group-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v10.GroupAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="GroupAssignment">
- <xml-root-element name="group-assignment" />
- <java-attributes>
- <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group type - the type of group this instance refers to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name - name assigned to the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group description - description of the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
- <xml-property name="nameProps" value="group-name" />
- <xml-property name="indexedProps" value="group-id,group-type,group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="group-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Images">
- <xml-properties>
- <xml-property name="description" value="Collectio of Openstack images." />
- </xml-properties>
- <xml-root-element name="images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v10.Image" />
- </java-attributes>
- </java-type>
-
- <java-type name="Image">
- <xml-root-element name="image" />
- <java-attributes>
- <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Image id, expected to be unique across cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Image name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack image." />
- <xml-property name="nameProps" value="image-name" />
- <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="images" />
- </xml-properties>
- </java-type>
-
- <java-type name="Metadata">
- <xml-properties>
- <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
- </xml-properties>
- <xml-root-element name="metadata" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v10.Metadatum" />
- </java-attributes>
- </java-type>
-
- <java-type name="Metadatum">
- <xml-root-element name="metadatum" />
- <java-attributes>
- <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Key/value pairs" />
- <xml-property name="indexedProps" value="metaname" />
- <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
- <xml-property name="container" value="metadata" />
- </xml-properties>
- </java-type>
-
- <java-type name="DvsSwitches">
- <xml-properties>
- <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
- </xml-properties>
- <xml-root-element name="dvs-switches" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v10.DvsSwitch" />
- </java-attributes>
- </java-type>
-
- <java-type name="DvsSwitch">
- <xml-root-element name="dvs-switch" />
- <java-attributes>
- <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="DVS switch name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL used to reach the vcenter" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
- <xml-property name="indexedProps" value="vcenter-url,switch-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="dvs-switches" />
- </xml-properties>
- </java-type>
-
- <java-type name="NetworkProfiles">
- <xml-properties>
- <xml-property name="description" value="Collection of network profiles" />
- </xml-properties>
- <xml-root-element name="network-profiles" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v10.NetworkProfile" />
- </java-attributes>
- </java-type>
-
- <java-type name="NetworkProfile">
- <xml-root-element name="network-profile" />
- <java-attributes>
- <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique name of network profile." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted SNMP community string" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
- <xml-property name="indexedProps" value="nm-profile-name" />
- <xml-property name="container" value="network-profiles" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pservers">
- <xml-properties>
- <xml-property name="description" value="Collection of compute hosts." />
- </xml-properties>
- <xml-root-element name="pservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v10.Pserver" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pserver">
- <xml-root-element name="pserver" />
- <java-attributes>
- <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value from executing hostname on the compute node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="PTNII name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of cpus" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk size, in GBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="RAM size, in MBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Fully-qualified domain name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number, may be queried" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="internet topology of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="alternative pserver name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="purpose of pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
- <xml-property name="nameProps" value="pserver-name2" />
- <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2,inv-status" />
- <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
- <xml-property name="container" value="pservers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="PInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of physical interfaces." />
- </xml-properties>
- <xml-root-element name="p-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v10.PInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="PInterface">
- <xml-root-element name="p-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the physical interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nature of the services and connectivity on this port." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the physical properties of the interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Physical interface (e.g., nic)" />
- <xml-property name="indexedProps" value="interface-name,prov-status" />
- <xml-property name="nameProps" value="prov-status" />
- <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
- <xml-property name="container" value="p-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregate interfaces." />
- </xml-properties>
- <xml-root-element name="lag-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v10.LagInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagInterface">
- <xml-root-element name="lag-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the link aggregate interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Link aggregate interface" />
- <xml-property name="indexedProps" value="interface-name,interface-id,interface-role" />
- <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
- <xml-property name="container" value="lag-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="OamNetworks">
- <xml-properties>
- <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
- </xml-properties>
- <xml-root-element name="oam-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v10.OamNetwork" />
- </java-attributes>
- </java-type>
-
- <java-type name="OamNetwork">
- <xml-root-element name="oam-network" />
- <java-attributes>
- <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="cvlan-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="oam-networks" />
- </xml-properties>
- </java-type>
-
- <java-type name="AvailabilityZones">
- <xml-properties>
- <xml-property name="description" value="Collection of availability zones" />
- </xml-properties>
- <xml-root-element name="availability-zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="AvailabilityZone">
- <xml-root-element name="availability-zone" />
- <java-attributes>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="availability-zones" />
- </xml-properties>
- </java-type>
-
- <java-type name="VirtualDataCenters">
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- </xml-properties>
- <xml-root-element name="virtual-data-centers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v10.VirtualDataCenter" />
- </java-attributes>
- </java-type>
-
- <java-type name="VirtualDataCenter">
- <xml-root-element name="virtual-data-center" />
- <java-attributes>
- <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the vdc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the virtual data center" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- <xml-property name="nameProps" value="vdc-name" />
- <xml-property name="indexedProps" value="vdc-name,vdc-id" />
- <xml-property name="container" value="virtual-data-centers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="LicenseManagement">
- <xml-root-element name="license-management" />
- <java-attributes>
- <xml-element java-attribute="licenseKeyResources" name="license-key-resources" type="inventory.aai.onap.org.v10.LicenseKeyResources" />
- </java-attributes>
- </java-type>
-
- <java-type name="LicenseKeyResources">
- <xml-root-element name="license-key-resources" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v10.LicenseKeyResource" />
- </java-attributes>
- </java-type>
-
- <java-type name="LicenseKeyResource">
- <xml-root-element name="license-key-resource" />
- <java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
- <xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
- <xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
- <xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
- <xml-element java-attribute="name" name="name" type="java.lang.String" />
- <xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
- <xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
- <xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="OBSOLETE OBJECT: do not use" />
- <xml-property name="nameProps" value="name" />
- <xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="license-key-resources" />
- <xml-property name="namespace" value="license-management" />
- </xml-properties>
- </java-type>
-
- <java-type name="Business">
- <xml-properties>
- <xml-property name="description" value="Namespace for business related constructs" />
- </xml-properties>
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v10.Connectors" />
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v10.Customers" />
- </java-attributes>
- </java-type>
-
- <java-type name="Connectors">
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- </xml-properties>
- <xml-root-element name="connectors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v10.Connector" />
- </java-attributes>
- </java-type>
-
- <java-type name="Connector">
- <xml-root-element name="connector" />
- <java-attributes>
- <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of resource instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- <xml-property name="indexedProps" value="resource-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version" />
- <xml-property name="container" value="connectors" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="Customers">
- <xml-properties>
- <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
- </xml-properties>
- <xml-root-element name="customers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v10.Customer" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Customer">
- <xml-root-element name="customer" />
- <java-attributes>
- <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
- <xml-property name="defaultValue" value="CUST" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v10.ServiceSubscriptions" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
- <xml-property name="nameProps" value="subscriber-name" />
- <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
- <xml-property name="searchable" value="global-customer-id,subscriber-name" />
- <xml-property name="uniqueProps" value="global-customer-id" />
- <xml-property name="container" value="customers" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceSubscriptions">
- <xml-properties>
- <xml-property name="description" value="Collection of objects that group service instances." />
- </xml-properties>
- <xml-root-element name="service-subscriptions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v10.ServiceSubscription" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceSubscription">
- <xml-root-element name="service-subscription" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
+ <xml-schema element-form-default="QUALIFIED">
+ <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v10" />
+ </xml-schema>
+ <java-types>
+ <java-type name="Inventory">
+ <xml-root-element name="inventory" />
+ <java-attributes>
+ <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v10.Search" />
+ <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v10.Actions" />
+ <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v10.CloudInfrastructure" />
+ <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v10.Business" />
+ <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v10.ServiceDesignAndCreation" />
+ <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v10.Network" />
+ <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v10.AaiInternal" />
+ <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v10.Nodes"/>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Nodes">
+ <xml-root-element name="nodes" />
+ </java-type>
+ <java-type name="Search">
+ <xml-root-element name="search" />
+ <java-attributes>
+ <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v10.EdgeTagQueryResult" />
+ <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v10.EdgeTagQueryRequest" />
+ <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v10.SearchResults" />
+ <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v10.SdnZoneResponse" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryResult">
+ <xml-root-element name="edge-tag-query-result" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="TaggedInventoryItemList">
+ <xml-root-element name="tagged-inventory-item-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v10.InventoryItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItem">
+ <xml-root-element name="inventory-item" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
+ <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v10.InventoryItemData" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItemData">
+ <xml-root-element name="inventory-item-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryRequest">
+ <xml-root-element name="edge-tag-query-request" />
+ <java-attributes>
+ <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
+ <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
+ <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v10.StartNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v10.IncludeNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v10.SecondaryFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="StartNodeFilter">
+ <xml-root-element name="start-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IncludeNodeFilter">
+ <xml-root-element name="include-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilter">
+ <xml-root-element name="secondary-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SearchResults">
+ <xml-root-element name="search-results" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v10.ResultData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResultData">
+ <xml-root-element name="result-data" />
+ <java-attributes>
+ <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The URL to the specific resource" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SdnZoneResponse">
+ <xml-root-element name="sdn-zone-response" />
+ <java-attributes>
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v10.AzAndDvsSwitches" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AzAndDvsSwitches">
+ <xml-root-element name="az-and-dvs-switches" />
+ <java-attributes>
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
+ <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Actions">
+ <xml-properties>
+ <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
+ </xml-properties>
+ <xml-root-element name="actions" />
+ <java-attributes>
+ <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v10.Update" />
+ <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v10.Notify" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Update">
+ <xml-properties>
+ <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
+ </xml-properties>
+ <xml-root-element name="update" />
+ <java-attributes>
+ <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v10.UpdateNodeKey" />
+ <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v10.Action" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Action">
+ <xml-root-element name="action" />
+ <java-attributes>
+ <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v10.ActionData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ActionData">
+ <xml-root-element name="action-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="UpdateNodeKey">
+ <xml-root-element name="update-node-key" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Notify">
+ <xml-root-element name="notify" />
+ <java-attributes>
+ <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
+ <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
+ <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v10.KeyData" />
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="KeyData">
+ <xml-root-element name="key-data" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudInfrastructure">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for cloud infrastructure." />
+ </xml-properties>
+ <xml-root-element name="cloud-infrastructure" />
+ <java-attributes>
+ <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v10.Complexes" />
+ <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v10.CloudRegions" />
+ <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v10.NetworkProfiles" />
+ <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v10.Pservers" />
+ <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v10.VirtualDataCenters" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudRegions">
+ <xml-root-element name="cloud-regions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v10.CloudRegion" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CloudRegion">
+ <xml-root-element name="cloud-region" />
+ <java-attributes>
+ <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Cloud-owner defined type indicator (e.g., dcp, lcp)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Software version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP TO DATE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Zone where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v10.VolumeGroups" />
+ <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v10.Tenants" />
+ <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v10.Flavors" />
+ <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v10.GroupAssignments" />
+ <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v10.Snapshots" />
+ <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v10.Images" />
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
+ <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v10.AvailabilityZones" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation" />
+ <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
+ <xml-property name="nameProps" value="owner-defined-type" />
+ <xml-property name="container" value="cloud-regions" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+ <java-type name="VolumeGroups">
+ <xml-properties>
+ <xml-property name="description" value="Collection of persistent block-level storage." />
+ </xml-properties>
+ <xml-root-element name="volume-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v10.VolumeGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VolumeGroup">
+ <xml-root-element name="volume-group" />
+ <java-attributes>
+ <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of volume-group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the volume group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this volume-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfModuleModelCustomizationId" name="vf-module-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="helps relate the volume group to the vf-module whose components will require the volume group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persistent block-level storage." />
+ <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
+ <xml-property name="searchable" value="volume-group-id,volume-group-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="volume-groups" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="RelationshipList">
+ <xml-root-element name="relationship-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v10.Relationship" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Relationship">
+ <xml-root-element name="relationship" />
+ <java-attributes>
+ <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to the object in A&amp;AI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v10.RelationshipData" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v10.RelatedToProperty" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedToProperty">
+ <xml-root-element name="related-to-property" />
+ <java-attributes>
+ <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Key part of a key/value pair" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Value part of a key/value pair" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelationshipData">
+ <xml-root-element name="relationship-data" />
+ <java-attributes>
+ <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Value of the attribute." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Complexes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ </xml-properties>
+ <xml-root-element name="complexes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v10.Complex" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Complex">
+ <xml-root-element name="complex" />
+ <java-attributes>
+ <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Gamma complex name for LCP instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type, e.g., central office, data center." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
+ <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
+ <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
+ <xml-element java-attribute="state" name="state" type="java.lang.String" />
+ <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
+ <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
+ <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
+ <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
+ <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
+ <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
+ <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
+ <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v10.CtagPools" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
+ <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
+ <xml-property name="uniqueProps" value="physical-location-id" />
+ <xml-property name="container" value="complexes" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CtagPools">
+ <xml-root-element name="ctag-pools" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v10.CtagPool" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagPool">
+ <xml-root-element name="ctag-pool" />
+ <java-attributes>
+ <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="The Target provider edge router" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Describes what the intended purpose of this pool is." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Comma separated list of ctags" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="complex" />
+ <xml-property name="container" value="ctag-pools" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Tenants">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack tenants." />
+ </xml-properties>
+ <xml-root-element name="tenants" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v10.Tenant" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Tenant">
+ <xml-root-element name="tenant" />
+ <java-attributes>
+ <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id relative to the cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Readable name of tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v10.Vservers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack tenant" />
+ <xml-property name="nameProps" value="tenant-name" />
+ <xml-property name="indexedProps" value="tenant-name,tenant-id" />
+ <xml-property name="searchable" value="tenant-id,tenant-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="tenants" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
+ </xml-properties>
+ <xml-root-element name="vservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v10.Vserver" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vserver">
+ <xml-root-element name="vserver" />
+ <java-attributes>
+ <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternative name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v10.Volumes" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
+ <xml-property name="nameProps" value="vserver-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
+ <xml-property name="searchable" value="vserver-id,vserver-name,vserver-name2" />
+ <xml-property name="dependentOn" value="tenant" />
+ <xml-property name="container" value="vservers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical interfaces." />
+ </xml-properties>
+ <xml-root-element name="l-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v10.LInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LInterface">
+ <xml-root-element name="l-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name given to the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="MAC address for the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Human friendly text regarding this interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isPortMirrored" name="is-port-mirrored" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not port is a mirrored." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v10.Vlans" />
+ <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v10.SriovVfs" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
+ <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
+ <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
+ <xml-property name="container" value="l-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SriovVfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
+ </xml-properties>
+ <xml-root-element name="sriov-vfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v10.SriovVf" />
+ </java-attributes>
+ </java-type>
+ <java-type name="SriovVf">
+ <xml-root-element name="sriov-vf" />
+ <java-attributes>
+ <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
+ <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="sriov-vfs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv4AddressList">
+ <xml-root-element name="l3-interface-ipv4-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 32 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv4 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vlans">
+ <xml-root-element name="vlans" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v10.Vlan" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vlan">
+ <xml-root-element name="vlan" />
+ <java-attributes>
+ <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String that identifies the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
+ <xml-property name="dbAlias" value="vpn-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Definition of vlan" />
+ <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="vlans" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv6AddressList">
+ <xml-root-element name="l3-interface-ipv6-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 128 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv6 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Volumes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
+ </xml-properties>
+ <xml-root-element name="volumes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v10.Volume" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Volume">
+ <xml-root-element name="volume" />
+ <java-attributes>
+ <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Ephemeral Block storage volume." />
+ <xml-property name="indexedProps" value="volume-id" />
+ <xml-property name="dependentOn" value="vserver" />
+ <xml-property name="container" value="volumes" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Flavors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack flavors." />
+ </xml-properties>
+ <xml-root-element name="flavors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v10.Flavor" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Flavor">
+ <xml-root-element name="flavor" />
+ <java-attributes>
+ <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Flavor name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of CPUs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of memory" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of ephemeral disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="amount of swap space allocation" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack flavor." />
+ <xml-property name="nameProps" value="flavor-name" />
+ <xml-property name="indexedProps" value="flavor-name,flavor-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="flavors" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Snapshots">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack snapshots" />
+ </xml-properties>
+ <xml-root-element name="snapshots" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v10.Snapshot" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Snapshot">
+ <xml-root-element name="snapshot" />
+ <java-attributes>
+ <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack snapshot" />
+ <xml-property name="nameProps" value="snapshot-name" />
+ <xml-property name="uniqueProps" value="snapshot-id" />
+ <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="snapshots" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GroupAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack group assignments" />
+ </xml-properties>
+ <xml-root-element name="group-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v10.GroupAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="GroupAssignment">
+ <xml-root-element name="group-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group type - the type of group this instance refers to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name - name assigned to the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group description - description of the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
+ <xml-property name="nameProps" value="group-name" />
+ <xml-property name="indexedProps" value="group-id,group-type,group-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="group-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Images">
+ <xml-properties>
+ <xml-property name="description" value="Collectio of Openstack images." />
+ </xml-properties>
+ <xml-root-element name="images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v10.Image" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Image">
+ <xml-root-element name="image" />
+ <java-attributes>
+ <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Image id, expected to be unique across cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Image name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack image." />
+ <xml-property name="nameProps" value="image-name" />
+ <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="images" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Metadata">
+ <xml-properties>
+ <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
+ </xml-properties>
+ <xml-root-element name="metadata" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v10.Metadatum" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Metadatum">
+ <xml-root-element name="metadatum" />
+ <java-attributes>
+ <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Key/value pairs" />
+ <xml-property name="indexedProps" value="metaname" />
+ <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
+ <xml-property name="container" value="metadata" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="DvsSwitches">
+ <xml-properties>
+ <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
+ </xml-properties>
+ <xml-root-element name="dvs-switches" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v10.DvsSwitch" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="DvsSwitch">
+ <xml-root-element name="dvs-switch" />
+ <java-attributes>
+ <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="DVS switch name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL used to reach the vcenter" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
+ <xml-property name="indexedProps" value="vcenter-url,switch-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="dvs-switches" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="NetworkProfiles">
+ <xml-properties>
+ <xml-property name="description" value="Collection of network profiles" />
+ </xml-properties>
+ <xml-root-element name="network-profiles" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v10.NetworkProfile" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NetworkProfile">
+ <xml-root-element name="network-profile" />
+ <java-attributes>
+ <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique name of network profile." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted SNMP community string" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
+ <xml-property name="indexedProps" value="nm-profile-name" />
+ <xml-property name="container" value="network-profiles" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of compute hosts." />
+ </xml-properties>
+ <xml-root-element name="pservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v10.Pserver" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pserver">
+ <xml-root-element name="pserver" />
+ <java-attributes>
+ <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value from executing hostname on the compute node." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="PTNII name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of cpus" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk size, in GBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="RAM size, in MBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Fully-qualified domain name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Serial number, may be queried" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 OAM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="internet topology of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="alternative pserver name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="purpose of pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
+ <xml-property name="nameProps" value="pserver-name2" />
+ <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2,inv-status" />
+ <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
+ <xml-property name="container" value="pservers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical interfaces." />
+ </xml-properties>
+ <xml-root-element name="p-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v10.PInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PInterface">
+ <xml-root-element name="p-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the physical interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Nature of the services and connectivity on this port." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the physical properties of the interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Physical interface (e.g., nic)" />
+ <xml-property name="indexedProps" value="interface-name,prov-status" />
+ <xml-property name="nameProps" value="prov-status" />
+ <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
+ <xml-property name="container" value="p-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LagInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregate interfaces." />
+ </xml-properties>
+ <xml-root-element name="lag-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v10.LagInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagInterface">
+ <xml-root-element name="lag-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the link aggregate interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Human friendly text regarding this interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Link aggregate interface" />
+ <xml-property name="indexedProps" value="interface-name,interface-id,interface-role" />
+ <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
+ <xml-property name="container" value="lag-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="OamNetworks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
+ </xml-properties>
+ <xml-root-element name="oam-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v10.OamNetwork" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OamNetwork">
+ <xml-root-element name="oam-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="cvlan-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="oam-networks" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="AvailabilityZones">
+ <xml-properties>
+ <xml-property name="description" value="Collection of availability zones" />
+ </xml-properties>
+ <xml-root-element name="availability-zones" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AvailabilityZone">
+ <xml-root-element name="availability-zone" />
+ <java-attributes>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="availability-zones" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VirtualDataCenters">
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ </xml-properties>
+ <xml-root-element name="virtual-data-centers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v10.VirtualDataCenter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VirtualDataCenter">
+ <xml-root-element name="virtual-data-center" />
+ <java-attributes>
+ <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the vdc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the virtual data center" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ <xml-property name="nameProps" value="vdc-name" />
+ <xml-property name="indexedProps" value="vdc-name,vdc-id" />
+ <xml-property name="container" value="virtual-data-centers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+
+
+
+ <java-type name="Business">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for business related constructs" />
+ </xml-properties>
+ <xml-root-element name="business" />
+ <java-attributes>
+ <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v10.Connectors" />
+ <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v10.Customers" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connectors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ </xml-properties>
+ <xml-root-element name="connectors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v10.Connector" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connector">
+ <xml-root-element name="connector" />
+ <java-attributes>
+ <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of resource instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ <xml-property name="indexedProps" value="resource-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version" />
+ <xml-property name="container" value="connectors" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Customers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
+ </xml-properties>
+ <xml-root-element name="customers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v10.Customer" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Customer">
+ <xml-root-element name="customer" />
+ <java-attributes>
+ <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
+ <xml-property name="defaultValue" value="CUST" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v10.ServiceSubscriptions" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
+ <xml-property name="nameProps" value="subscriber-name" />
+ <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
+ <xml-property name="searchable" value="global-customer-id,subscriber-name" />
+ <xml-property name="uniqueProps" value="global-customer-id" />
+ <xml-property name="container" value="customers" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceSubscriptions">
+ <xml-properties>
+ <xml-property name="description" value="Collection of objects that group service instances." />
+ </xml-properties>
+ <xml-root-element name="service-subscriptions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v10.ServiceSubscription" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceSubscription">
+ <xml-root-element name="service-subscription" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v10.ServiceInstances">
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Object that group service instances." />
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="dependentOn" value="customer" />
- <xml-property name="container" value="service-subscriptions" />
- <xml-property name="crossEntityReference" value="service-instance,service-type" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceInstances">
- <xml-properties>
- <xml-property name="description" value="Collection of service instances" />
- </xml-properties>
- <xml-root-element name="service-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v10.ServiceInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceInstance">
- <xml-root-element name="service-instance" />
- <java-attributes>
- <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Uniquely identifies this instance of a service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field will store a name assigned to the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL customers will use to access the vHN Portal." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operational status of the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v10.AllottedResources" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Instance of a service" />
- <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
- <xml-property name="nameProps" value="service-instance-name" />
- <xml-property name="searchable" value="service-instance-id,service-instance-name" />
- <xml-property name="uniqueProps" value="service-instance-id" />
- <xml-property name="dependentOn" value="service-subscription" />
- <xml-property name="container" value="service-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceDesignAndCreation">
- <xml-properties>
- <xml-property name="description" value="Namespace for objects managed by ASDC" />
- </xml-properties>
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v10.VnfImages" />
- <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v10.Services" />
- <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v10.ServiceCapabilities" />
- <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v10.Models" />
- <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v10.NamedQueries" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImages">
- <xml-properties>
- <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- </xml-properties>
- <xml-root-element name="vnf-images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v10.VnfImage" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImage">
- <xml-root-element name="vnf-image" />
- <java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of this asset" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- <xml-property name="indexedProps" value="application,att-uuid,application-vendor,application-version" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="vnf-images" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Services">
- <xml-properties>
- <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
- </xml-properties>
- <xml-root-element name="services" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v10.Service" />
- </java-attributes>
- </java-type>
-
- <java-type name="Service">
- <xml-root-element name="service" />
- <java-attributes>
- <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description of the service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="service version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC. Does not strictly map to ASDC services." />
- <xml-property name="indexedProps" value="service-description,service-id" />
- <xml-property name="container" value="services" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceCapabilities">
- <xml-properties>
- <xml-property name="description" value="Collection of service capabilities." />
- </xml-properties>
- <xml-root-element name="service-capabilities" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v10.ServiceCapability" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceCapability">
- <xml-root-element name="service-capability" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
- <xml-property name="indexedProps" value="service-type,vnf-type" />
- <xml-property name="container" value="service-capabilities" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Network">
- <xml-properties>
- <xml-property name="description" value="Namespace for network inventory resources." />
- </xml-properties>
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v10.LogicalLinks" />
- <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v10.SitePairSets" />
- <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v10.VpnBindings" />
- <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v10.VplsPes" />
- <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v10.MulticastConfigurations" />
- <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v10.Vces" />
- <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v10.Vnfcs" />
- <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v10.L3Networks" />
- <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v10.NetworkPolicies" />
- <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v10.GenericVnfs" />
- <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v10.LagLinks" />
- <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v10.Newvces" />
- <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v10.Pnfs" />
- <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v10.PhysicalLinks" />
- <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v10.IpsecConfigurations" />
- <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v10.RouteTableReferences" />
- <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v10.InstanceGroups" />
- <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v10.Zones" />
- <xml-element java-attribute="testObjects" name="test-objects"
- type="inventory.aai.onap.org.v10.TestObjects" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of logical connections" />
- </xml-properties>
- <xml-root-element name="logical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v10.LogicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLink">
- <xml-root-element name="logical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of logical link, e.g., evc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="For example, static or BGP" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of operational status of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of the network use of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Reason for this entity, role it is playing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
- <xml-property name="indexedProps" value="link-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose" />
- <xml-property name="uniqueProps" value="link-id" />
- <xml-property name="container" value="logical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairSets">
- <xml-properties>
- <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
- </xml-properties>
- <xml-root-element name="site-pair-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v10.SitePairSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePairSet">
- <xml-root-element name="site-pair-set" />
- <java-attributes>
- <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of site pair set." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v10.RoutingInstances" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
- <xml-property name="indexedProps" value="site-pair-set-id" />
- <xml-property name="uniqueProps" value="site-pair-set-id" />
- <xml-property name="container" value="site-pair-sets" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="RoutingInstances">
- <xml-properties>
- <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
- </xml-properties>
- <xml-root-element name="routing-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v10.RoutingInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="RoutingInstance">
- <xml-root-element name="routing-instance" />
- <java-attributes>
- <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of routing instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rpm owner" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v10.SitePairs" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="routing-instance-id" />
- <xml-property name="uniqueProps" value="routing-instance-id" />
- <xml-property name="dependentOn" value="site-pair-set" />
- <xml-property name="container" value="routing-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairs">
- <xml-properties>
- <xml-property name="description" value="probe within a set" />
- </xml-properties>
- <xml-root-element name="site-pairs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v10.SitePair" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePair">
- <xml-root-element name="site-pair" />
- <java-attributes>
- <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version, v4, v6" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The type of destinatination equipment. Could be Router, UCPE, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v10.ClassesOfService" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="site-pair-id" />
- <xml-property name="uniqueProps" value="site-pair-id" />
- <xml-property name="dependentOn" value="routing-instance" />
- <xml-property name="container" value="site-pairs" />
- </xml-properties>
- </java-type>
-
- <java-type name="ClassesOfService">
- <xml-properties>
- <xml-property name="description" value="class-of-service of probe" />
- </xml-properties>
- <xml-root-element name="classes-of-service" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v10.ClassOfService" />
- </java-attributes>
- </java-type>
-
- <java-type name="ClassOfService">
- <xml-root-element name="class-of-service" />
- <java-attributes>
- <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="cos" />
- <xml-property name="dependentOn" value="site-pair" />
- <xml-property name="container" value="classes-of-service" />
- </xml-properties>
- </java-type>
-
- <java-type name="VpnBindings">
- <xml-root-element name="vpn-bindings" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v10.VpnBinding" />
- </java-attributes>
- </java-type>
-
- <java-type name="VpnBinding">
- <xml-root-element name="vpn-binding" />
- <java-attributes>
- <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="VPN Name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargets" name="route-targets" type="inventory.aai.onap.org.v10.RouteTargets" />
-
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList">
- <xml-properties>
- <xml-property name="description" value="l3-networks relate to vpn-bindings" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPN binding" />
- <xml-property name="nameProps" value="vpn-name,vpn-type" />
- <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
- <xml-property name="searchable" value="vpn-id,vpn-name" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="container" value="vpn-bindings" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="RouteTargets">
- <xml-properties>
- <xml-property name="description" value="Collection of route target information" />
- </xml-properties>
- <xml-root-element name="route-targets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTarget" name="route-target" type="inventory.aai.onap.org.v10.RouteTarget" />
- </java-attributes>
- </java-type>
- <java-type name="RouteTarget">
- <xml-root-element name="route-target" />
- <java-attributes>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify an RT, globally unique in the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Route target information" />
- <xml-property name="container" value="route-targets" />
- <xml-property name="canBeLinked" value="true" />
- </xml-properties>
- </java-type>
- <java-type name="VplsPes">
- <xml-properties>
- <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
- </xml-properties>
- <xml-root-element name="vpls-pes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v10.VplsPe" />
- </java-attributes>
- </java-type>
-
- <java-type name="VplsPe">
- <xml-root-element name="vpls-pe" />
- <java-attributes>
- <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Temporary location for stag to get to VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPLS Provider Edge routers." />
- <xml-property name="indexedProps" value="prov-status,equipment-name" />
- <xml-property name="container" value="vpls-pes" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="MulticastConfigurations">
- <xml-properties>
- <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
- </xml-properties>
- <xml-root-element name="multicast-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v10.MulticastConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="MulticastConfiguration">
- <xml-root-element name="multicast-configuration" />
- <java-attributes>
- <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of multicast configuration." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="protocol of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rp type of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="multicast-configuration-id" />
- <xml-property name="uniqueProps" value="multicast-configuration-id" />
- <xml-property name="container" value="multicast-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vces">
- <xml-properties>
- <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
- </xml-properties>
- <xml-root-element name="vces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v10.Vce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vce">
- <xml-root-element name="vce" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not strictly map to ASDC services, SOON TO BE DEPRECATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network role being played by this VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - see child relationships" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v10.PortGroups" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="vces" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="PortGroups">
- <xml-root-element name="port-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v10.PortGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="PortGroup">
- <xml-root-element name="port-group" />
- <java-attributes>
- <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network name of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID for port group in vmware" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Likely to duplicate value of neutron network name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v10.CvlanTags" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
- <xml-property name="nameProps" value="port-group-name" />
- <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
- <xml-property name="dependentOn" value="vce" />
- <xml-property name="container" value="port-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="CvlanTags">
- <xml-root-element name="cvlan-tags" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v10.CvlanTagEntry" />
- </java-attributes>
- </java-type>
-
- <java-type name="CvlanTagEntry">
- <xml-root-element name="cvlan-tag-entry" />
- <java-attributes>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="port-group" />
- <xml-property name="indexedProps" value="cvlan-tag" />
- <xml-property name="container" value="cvlan-tags" />
- </xml-properties>
- </java-type>
-
-
-
- <java-type name="Vnfcs">
- <xml-properties>
- <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
- </xml-properties>
- <xml-root-element name="vnfcs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v10.Vnfc" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vnfc">
- <xml-root-element name="vnfc" />
- <java-attributes>
- <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vnfc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="function code" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="prov status of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Oam V4 vip address of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group notation of VNFC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
- <xml-property name="searchable" value="vnfc-name" />
- <xml-property name="container" value="vnfcs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3Networks">
- <xml-root-element name="l3-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v10.L3Network" />
- </java-attributes>
- </java-type>
-
- <java-type name="L3Network">
- <xml-root-element name="l3-network" />
- <java-attributes>
- <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network, governed by some naming convention.." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the network - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role the network plans - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network technology - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Set to true if bound to VPN" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service from ASDC. Does not strictly map to ASDC services. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="network role instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the physical network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v10.Subnets" />
- <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v10.CtagAssignments" />
- <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v10.SegmentationAssignments" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" >
- <xml-properties>
- <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Generic network definition" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-network-fqdn,network-role" />
- <xml-property name="searchable" value="network-id,network-name" />
- <xml-property name="uniqueProps" value="network-id" />
- <xml-property name="container" value="l3-networks" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="NetworkPolicies">
- <xml-root-element name="network-policies" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v10.NetworkPolicy" />
- </java-attributes>
- </java-type>
- <java-type name="NetworkPolicy">
- <xml-root-element name="network-policy" />
- <java-attributes>
- <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID representing unique key to this instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the policy" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID for the openStack Heat instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="network-policy-fqdn" />
- <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="searchable" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="uniqueProps" value="network-policy-id" />
- <xml-property name="container" value="network-policies" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="CtagAssignments">
- <xml-root-element name="ctag-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v10.CtagAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagAssignment">
- <xml-root-element name="ctag-assignment" />
- <java-attributes>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="id." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vlan-id-inner" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="ctag-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Subnets">
- <xml-root-element name="subnets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v10.Subnet" />
- </java-attributes>
- </java-type>
-
- <java-type name="Subnet">
- <xml-root-element name="subnet" />
- <java-attributes>
- <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Subnet ID, should be UUID." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the subnet." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of this subnet" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="gateway ip address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="network start address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="cidr mask" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="dhcp enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the start address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the last address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="subnet-id,subnet-name" />
- <xml-property name="nameProps" value="subnet-name" />
- <xml-property name="uniqueProps" value="subnet-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="subnets" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="generic-vnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v10.GenericVnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnf">
- <xml-root-element name="generic-vnf" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfType" name="nf-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Generic description of the type of NF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="English description of Network function that the specific VNF deployment is providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="role in the network that this model will be providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="string assigned to this model used for naming purposes" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v10.VfModules" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="generic-vnfs" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="VfModules">
- <xml-properties>
- <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
- </xml-properties>
- <xml-root-element name="vf-modules" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v10.VfModule" />
- </java-attributes>
- </java-type>
-
- <java-type name="VfModule">
- <xml-root-element name="vf-module" />
- <java-attributes>
- <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vf-module." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vf-module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the Contrail unique ID for a service-instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="moduleIndex" name="module-index" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="the index will track the number of modules of a given type that have been deployed in a VNF, starting with 0, and always choosing the lowest available digit" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="a deployment unit of VNFCs" />
- <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
- <xml-property name="searchable" value="vf-module-id,vf-module-name" />
- <xml-property name="dependentOn" value="generic-vnf" />
- <xml-property name="container" value="vf-modules" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="LagLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregation connections" />
- </xml-properties>
- <xml-root-element name="lag-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v10.LagLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagLink">
- <xml-root-element name="lag-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="LAG links can connect lag-interfaces" />
- <xml-property name="indexedProps" value="link-name" />
- <xml-property name="container" value="lag-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Newvces">
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- </xml-properties>
- <xml-root-element name="newvces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v10.Newvce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Newvce">
- <xml-root-element name="newvce" />
- <java-attributes>
- <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
- <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id2" />
- <xml-property name="container" value="newvces" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of Physical Network Functions." />
- </xml-properties>
- <xml-root-element name="pnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v10.Pnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnf">
- <xml-root-element name="pnf" />
- <java-attributes>
- <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="source of name2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="id of pnf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number of the device" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nf Role is the role performed by this instance in the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world. in 1607, this will be populated by SDN-C to represent a premises router that a uCPE connects to. But this can be used to represent any physical device that is not an AIC node or uCPE." />
- <xml-property name="indexedProps" value="pnf-name,orchestration-status,inv-status" />
- <xml-property name="searchable" value="pnf-name" />
- <xml-property name="uniqueProps" value="pnf-name" />
- <xml-property name="container" value="pnfs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- </xml-properties>
- <xml-root-element name="physical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v10.PhysicalLink" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLink">
- <xml-root-element name="physical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit it" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the service Provider on this link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- <xml-property name="indexedProps" value="circuit-id,link-name" />
- <xml-property name="alternateKeys1" value="circuit-id" />
- <xml-property name="container" value="physical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name,circuit-id" />
- </xml-properties>
- </java-type>
-
- <java-type name="VigServers">
- <xml-root-element name="vig-servers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v10.VigServer" />
- </java-attributes>
- </java-type>
-
- <java-type name="VigServer">
- <xml-root-element name="vig-server" />
- <java-attributes>
- <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v4 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v6 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
- <xml-property name="indexedProps" value="vig-address-type" />
- <xml-property name="dependentOn" value="ipsec-configuration" />
- <xml-property name="container" value="vig-servers" />
- </xml-properties>
- </java-type>
-
- <java-type name="IpsecConfigurations">
- <xml-root-element name="ipsec-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v10.IpsecConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="IpsecConfiguration">
- <xml-root-element name="ipsec-configuration" />
- <java-attributes>
- <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of this configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ATT can offer a shared DMZ or a DMZ specific to a customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network address of shared DMZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="can be 1 or 2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,? aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="pre-shared key for the above group name " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Lifetime for IKEv1 SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,? aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Life time for IPSec SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="enable PFS or not" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="user ID for xAuth, sm-user,ucpeHostName,nmteHostName" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The time between DPD probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v10.VigServers" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
- <xml-property name="indexedProps" value="ipsec-configuration-id" />
- <xml-property name="uniqueProps" value="ipsec-configuration-id" />
- <xml-property name="container" value="ipsec-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="NotificationEvent">
- <xml-root-element name="notification-event" />
- <java-attributes>
- <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
- <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v10.NotificationEventHeader" />
- <xml-any-element java-attribute="entity" />
- </java-attributes>
- </java-type>
- <java-type name="NotificationEventHeader">
- <xml-root-element name="notification-event-header" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" type="java.lang.String" />
- <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
- <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
- <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
- <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
- <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
- <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
- <xml-element java-attribute="version" name="version" type="java.lang.String" />
- <xml-element java-attribute="action" name="action" type="java.lang.String" />
- <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
- <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
- <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
- <xml-element java-attribute="status" name="status" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="AaiInternal">
- <xml-root-element name="aai-internal" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v10.ReservedPropNames" />
- <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v10.EdgePropNames" />
- </java-attributes>
- </java-type>
- <java-type name="ReservedPropNames">
- <xml-properties>
- <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
- <xml-property name="uniqueProps" value="aai-unique-key" />
- <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type,aai-uri" />
- </xml-properties>
- <xml-root-element name="reserved-prop-names" />
- <java-attributes>
- <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
- <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
- <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
- <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
- <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiUri" name="aai-uri" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="EdgePropNames">
- <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
- <xml-properties>
- <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
- <xml-root-element name="edge-prop-names" />
- <java-attributes>
- <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
- <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
- <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Models">
- <xml-properties>
- <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
- </xml-properties>
- <xml-root-element name="models" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v10.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="Model">
- <xml-root-element name="model" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
- <xml-property name="nameProps" value="model-type" />
- <xml-property name="indexedProps" value="model-invariant-id,model-type" />
- <xml-property name="uniqueProps" value="model-invariant-id" />
- <xml-property name="container" value="models" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="ModelVers">
- <xml-root-element name="model-vers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v10.ModelVer" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelVer">
- <xml-root-element name="model-ver" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
- <xml-property name="nameProps" value="model-name" />
- <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
- <xml-property name="uniqueProps" value="model-version-id" />
- <xml-property name="container" value="model-vers" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElements">
- <xml-root-element name="model-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v10.ModelElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElement">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
- <xml-property name="uniqueProps" value="model-element-uuid" />
- <xml-property name="indexedProps" value="model-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-elements" />
- </xml-properties>
- <xml-root-element name="model-element" />
- <java-attributes>
- <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="How many of this type of element are required/allowed" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String" >
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v10.ModelConstraints">
- <xml-properties>
- <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraints">
- <xml-root-element name="model-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v10.ModelConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraint">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="model-constraint-uuid" />
- <xml-property name="indexedProps" value="model-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-constraints" />
- </xml-properties>
- <xml-root-element name="model-constraint" />
- <java-attributes>
- <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
- <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v10.ConstrainedElementSets" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSets">
- <xml-root-element name="constrained-element-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v10.ConstrainedElementSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
- <xml-property name="indexedProps" value="constrained-element-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="constrained-element-sets" />
- </xml-properties>
- <xml-root-element name="constrained-element-set" />
- <java-attributes>
- <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v10.ElementChoiceSets" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSets">
- <xml-root-element name="element-choice-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v10.ElementChoiceSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="element-choice-set-uuid" />
- <xml-property name="indexedProps" value="element-choice-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="element-choice-sets" />
- </xml-properties>
- <xml-root-element name="element-choice-set" />
- <java-attributes>
- <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueries">
- <xml-root-element name="named-queries" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQuery">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="nameProps" value="named-query-name" />
- <xml-property name="uniqueProps" value="named-query-uuid" />
- <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
- <xml-property name="container" value="named-queries" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <xml-root-element name="named-query" />
- <java-attributes>
- <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String" >
- <xml-element-wrapper name="required-input-params" />
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElements">
- <xml-root-element name="named-query-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v10.NamedQueryElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElement">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="named-query-element-uuid" />
- <xml-property name="indexedProps" value="named-query-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="named-query-elements" />
- </xml-properties>
- <xml-root-element name="named-query-element" />
- <java-attributes>
- <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
- <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
- <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v10.RelatedLookups" />
- <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v10.PropertyConstraints" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookups">
- <xml-root-element name="related-lookups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v10.RelatedLookup" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookup">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="related-lookup-uuid" />
- <xml-property name="indexedProps" value="related-lookup-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="related-lookups" />
- </xml-properties>
- <xml-root-element name="related-lookup" />
- <java-attributes>
- <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraints">
- <xml-root-element name="property-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v10.PropertyConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraint">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="property-constraint-uuid" />
- <xml-property name="indexedProps" value="property-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="property-constraints" />
- </xml-properties>
- <xml-root-element name="property-constraint" />
- <java-attributes>
- <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyName" name="property-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelAndNamedQuerySearch">
- <xml-properties>
- <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="model-and-named-query-search" />
- <java-attributes>
- <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v10.QueryParameters" />
- <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v10.InstanceFilters" />
- <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v10.SecondaryFilts" />
- <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
- <xml-element java-attribute="secondaryFilterCutPoint" name="secondary-filter-cut-point" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="QueryParameters">
- <xml-properties>
- <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="query-parameters" />
- <java-attributes>
- <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
- <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v10.OverloadedModel" />
- </java-attributes>
- </java-type>
-
- <java-type name="OverloadedModel">
- <xml-root-element name="overloaded-model" />
- <xml-properties>
- <xml-property name="description" value="Allows for legacy POST of old-style and new-style models" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilters">
- <xml-properties>
- <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="instance-filters" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v10.InstanceFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilter">
- <xml-properties>
- <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
- <xml-property name="container" value="instance-filters" />
- </xml-properties>
- <xml-root-element name="instance-filter" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilts">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilts for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filts" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilt" name="secondary-filt" type="inventory.aai.onap.org.v10.SecondaryFilt" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilt">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilt for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filt" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="Properties">
- <xml-properties>
- <xml-property name="description" value="Property holder for query properties or instance properties" />
- </xml-properties>
- <xml-root-element name="properties" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResponseList">
- <xml-properties>
- <xml-property name="description" value="Response container for the results of a named-query or model query" />
- </xml-properties>
- <xml-root-element name="response-list" />
- <java-attributes>
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItems">
- <xml-properties>
- <xml-property name="description" value="Container for inventory items in response list" />
- <xml-property name="container" value="response-list" />
- </xml-properties>
- <xml-root-element name="inventory-response-items" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v10.InventoryResponseItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItem">
- <xml-properties>
- <xml-property name="description" value="Inventory item for response list" />
- <xml-property name="container" value="inventory-response-items" />
- </xml-properties>
- <xml-root-element name="inventory-response-item" />
- <java-attributes>
- <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
- <xml-any-element java-attribute="item" />
- <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v10.ExtraProperties" />
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperties">
- <xml-properties>
- <xml-property name="description" value="Extra properties for inventory item for response list" />
- </xml-properties>
- <xml-root-element name="extra-properties" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v10.ExtraProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperty">
- <xml-root-element name="extra-property" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReferences">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="route-table-references" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v10.RouteTableReference" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReference">
- <xml-root-element name="route-table-reference" />
- <java-attributes>
- <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="FQDN entry in the route table." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Openstack route table reference." />
- <xml-property name="nameProps" value="route-table-reference-fqdn" />
- <xml-property name="uniqueProps" value="route-table-reference-id" />
- <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
- <xml-property name="container" value="route-table-references" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="InstanceGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="instance-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceGroup" name="instance-group" type="inventory.aai.onap.org.v10.InstanceGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceGroup">
- <xml-root-element name="instance-group" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Descriptive text to help identify the usage of this instance-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="type" name="type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Only valid value today is lower case ha for high availability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subType" name="sub-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid values for ha type are [geo-activeactive, geo-activestandby, local-activeactive, local-activestandby]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="General mechanism for grouping instances" />
- <xml-property name="nameProps" value="description" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,description,type,sub-type" />
- <xml-property name="container" value="instance-groups" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="SegmentationAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack segmentation assignments" />
- </xml-properties>
- <xml-root-element name="segmentation-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v10.SegmentationAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="SegmentationAssignment">
- <xml-root-element name="segmentation-assignment" />
- <java-attributes>
- <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack segmentation assignment." />
- <xml-property name="indexedProps" value="segmentation-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="segmentation-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="AllottedResources">
- <xml-properties>
- <xml-property name="description" value="This object is used to store slices of services being offered" />
- </xml-properties>
- <xml-root-element name="allotted-resources" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v10.AllottedResource" />
- </java-attributes>
- </java-type>
-
- <java-type name="AllottedResource">
- <xml-root-element name="allotted-resource" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link back to more information in the controller" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="type" name="type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Generic description of the type of allotted resource." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="role" name="role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="role in the network that this resource will be providing." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v10.TunnelXconnects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.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="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role" />
- <xml-property name="dependentOn" value="service-instance" />
- <xml-property name="container" value="allotted-resources" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="TunnelXconnects">
- <xml-properties>
- <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
- </xml-properties>
- <xml-root-element name="tunnel-xconnects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v10.TunnelXconnect" />
- </java-attributes>
- </java-type>
-
- <java-type name="TunnelXconnect">
- <xml-root-element name="tunnel-xconnect" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id" />
- <xml-property name="dependentOn" value="allotted-resource" />
- <xml-property name="container" value="tunnel-xconnects" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="Entitlements">
- <xml-properties>
- <xml-property name="description" value="Entitlements, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="entitlements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="entitlement" name="entitlement" type="inventory.aai.onap.org.v10.Entitlement" />
- </java-attributes>
- </java-type>
-
- <java-type name="Entitlement">
- <xml-root-element name="entitlement" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the entitlement group the resource comes from, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of an entitlement resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for entitlement group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="entitlements" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="Licenses">
- <xml-properties>
- <xml-property name="description" value="Licenses to be allocated across resources, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="licenses" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="license" name="license" type="inventory.aai.onap.org.v10.License" />
- </java-attributes>
- </java-type>
-
- <java-type name="License">
- <xml-root-element name="license" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the license group the resource belongs to, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of a license resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for license group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="licenses" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vnf">
- <xml-root-element name="vnf"/>
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Abstract vnf class" />
- <xml-property name="indexedProps" value="vnf-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="inheritors" value="vce,generic-vnf" />
- <xml-property name="abstract" value="true" />
- </xml-properties>
- </java-type>
-
- <java-type name="Zones">
- <xml-properties>
- <xml-property name="description" value="Collection of zones" />
- </xml-properties>
- <xml-root-element name="zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="zone" name="zone" type="inventory.aai.onap.org.v10.Zone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Zone">
- <xml-root-element name="zone" />
- <java-attributes>
- <xml-element java-attribute="zoneId" name="zone-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Code assigned by AIC to the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneName" name="zone-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="English name associated with the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="designType" name="design-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Design of zone [Medium/Large?]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneContext" name="zone-context" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Context of zone [production/test]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="status" name="status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a zone." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A zone is a grouping of assets in a location homing to the same connections into the CBB" />
- <xml-property name="nameProps" value="zone-name" />
- <xml-property name="indexedProps" value="zone-id,design-type,zone-context" />
- <xml-property name="uniqueProps" value="zone-id" />
- <xml-property name="container" value="zones" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="TestObjects">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="test-objects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList"
- java-attribute="testObject" name="test-object"
- type="inventory.aai.onap.org.v10.TestObject" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id"
- required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description"
- value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description"
- value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid"
- name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid"
- name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid"
- name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="requires" value="model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="requires" value="model-invariant-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVer" name="persona-model-ver"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy"
- value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="notVisibleTestElement"
- name="not-visible-test-element" type="java.lang.String">
- <xml-properties>
- <xml-property name="visibility" value="internal" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone"
- name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfType" name="nf-type"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Generic description of the type of NF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="English description of Network function that the specific VNF deployment is providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="role in the network that this model will be providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="string assigned to this model used for naming purposes" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v10.TestObjects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
-
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps"
- value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
- </java-types>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v10.ServiceInstances">
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Object that group service instances." />
+ <xml-property name="indexedProps" value="service-type" />
+ <xml-property name="dependentOn" value="customer" />
+ <xml-property name="container" value="service-subscriptions" />
+ <xml-property name="crossEntityReference" value="service-instance,service-type" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceInstances">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service instances" />
+ </xml-properties>
+ <xml-root-element name="service-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v10.ServiceInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceInstance">
+ <xml-root-element name="service-instance" />
+ <java-attributes>
+ <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Uniquely identifies this instance of a service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store a name assigned to the service-instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL customers will use to access the vHN Portal." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
+ <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v10.AllottedResources" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Instance of a service" />
+ <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
+ <xml-property name="nameProps" value="service-instance-name" />
+ <xml-property name="searchable" value="service-instance-id,service-instance-name" />
+ <xml-property name="uniqueProps" value="service-instance-id" />
+ <xml-property name="dependentOn" value="service-subscription" />
+ <xml-property name="container" value="service-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceDesignAndCreation">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for objects managed by ASDC" />
+ </xml-properties>
+ <xml-root-element name="service-design-and-creation" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v10.VnfImages" />
+ <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v10.Services" />
+ <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v10.ServiceCapabilities" />
+ <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v10.Models" />
+ <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v10.NamedQueries" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImages">
+ <xml-properties>
+ <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ </xml-properties>
+ <xml-root-element name="vnf-images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v10.VnfImage" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImage">
+ <xml-root-element name="vnf-image" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImageUuid" name="vnf-image-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of this asset" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ <xml-property name="indexedProps" value="application,vnf-image-uuid,application-vendor,application-version" />
+ <xml-property name="uniqueProps" value="vnf-image-uuid" />
+ <xml-property name="container" value="vnf-images" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Services">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
+ </xml-properties>
+ <xml-root-element name="services" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v10.Service" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Service">
+ <xml-root-element name="service" />
+ <java-attributes>
+ <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description of the service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="service version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC. Does not strictly map to ASDC services." />
+ <xml-property name="indexedProps" value="service-description,service-id" />
+ <xml-property name="container" value="services" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceCapabilities">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service capabilities." />
+ </xml-properties>
+ <xml-root-element name="service-capabilities" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v10.ServiceCapability" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceCapability">
+ <xml-root-element name="service-capability" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
+ <xml-property name="indexedProps" value="service-type,vnf-type" />
+ <xml-property name="container" value="service-capabilities" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Network">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for network inventory resources." />
+ </xml-properties>
+ <xml-root-element name="network" />
+ <java-attributes>
+ <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v10.LogicalLinks" />
+ <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v10.SitePairSets" />
+ <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v10.VpnBindings" />
+ <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v10.VplsPes" />
+ <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v10.MulticastConfigurations" />
+ <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v10.Vces" />
+ <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v10.Vnfcs" />
+ <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v10.L3Networks" />
+ <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v10.NetworkPolicies" />
+ <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v10.GenericVnfs" />
+ <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v10.LagLinks" />
+ <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v10.Newvces" />
+ <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v10.Pnfs" />
+ <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v10.PhysicalLinks" />
+ <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v10.IpsecConfigurations" />
+ <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v10.RouteTableReferences" />
+ <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v10.InstanceGroups" />
+ <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v10.Zones" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical connections" />
+ </xml-properties>
+ <xml-root-element name="logical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v10.LogicalLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLink">
+ <xml-root-element name="logical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of logical link, e.g., evc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4, v6, or ds for dual stack" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="For example, static or BGP" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of operational status of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of the network use of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Reason for this entity, role it is playing" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
+ <xml-property name="indexedProps" value="link-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose" />
+ <xml-property name="uniqueProps" value="link-id" />
+ <xml-property name="container" value="logical-links" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="searchable" value="link-name" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairSets">
+ <xml-properties>
+ <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
+ </xml-properties>
+ <xml-root-element name="site-pair-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v10.SitePairSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePairSet">
+ <xml-root-element name="site-pair-set" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of site pair set." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v10.RoutingInstances" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
+ <xml-property name="indexedProps" value="site-pair-set-id" />
+ <xml-property name="uniqueProps" value="site-pair-set-id" />
+ <xml-property name="container" value="site-pair-sets" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="RoutingInstances">
+ <xml-properties>
+ <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
+ </xml-properties>
+ <xml-root-element name="routing-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v10.RoutingInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RoutingInstance">
+ <xml-root-element name="routing-instance" />
+ <java-attributes>
+ <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of routing instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rpm owner" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v10.SitePairs" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="routing-instance-id" />
+ <xml-property name="uniqueProps" value="routing-instance-id" />
+ <xml-property name="dependentOn" value="site-pair-set" />
+ <xml-property name="container" value="routing-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairs">
+ <xml-properties>
+ <xml-property name="description" value="probe within a set" />
+ </xml-properties>
+ <xml-root-element name="site-pairs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v10.SitePair" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePair">
+ <xml-root-element name="site-pair" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version, v4, v6" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The type of destinatination equipment. Could be Router, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v10.ClassesOfService" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="site-pair-id" />
+ <xml-property name="uniqueProps" value="site-pair-id" />
+ <xml-property name="dependentOn" value="routing-instance" />
+ <xml-property name="container" value="site-pairs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ClassesOfService">
+ <xml-properties>
+ <xml-property name="description" value="class-of-service of probe" />
+ </xml-properties>
+ <xml-root-element name="classes-of-service" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v10.ClassOfService" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ClassOfService">
+ <xml-root-element name="class-of-service" />
+ <java-attributes>
+ <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="cos" />
+ <xml-property name="dependentOn" value="site-pair" />
+ <xml-property name="container" value="classes-of-service" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VpnBindings">
+ <xml-root-element name="vpn-bindings" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v10.VpnBinding" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VpnBinding">
+ <xml-root-element name="vpn-binding" />
+ <java-attributes>
+ <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="VPN Name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTargets" name="route-targets" type="inventory.aai.onap.org.v10.RouteTargets" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList">
+ <xml-properties>
+ <xml-property name="description" value="l3-networks relate to vpn-bindings" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPN binding" />
+ <xml-property name="nameProps" value="vpn-name,vpn-type" />
+ <xml-property name="indexedProps" value="vpn-name,vpn-id,vpn-type" />
+ <xml-property name="searchable" value="vpn-id,vpn-name" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="container" value="vpn-bindings" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VplsPes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
+ </xml-properties>
+ <xml-root-element name="vpls-pes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v10.VplsPe" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VplsPe">
+ <xml-root-element name="vpls-pe" />
+ <java-attributes>
+ <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Temporary location for stag to get to VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPLS Provider Edge routers." />
+ <xml-property name="indexedProps" value="prov-status,equipment-name" />
+ <xml-property name="container" value="vpls-pes" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="MulticastConfigurations">
+ <xml-properties>
+ <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
+ </xml-properties>
+ <xml-root-element name="multicast-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v10.MulticastConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="MulticastConfiguration">
+ <xml-root-element name="multicast-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of multicast configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="protocol of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rp type of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="multicast-configuration-id" />
+ <xml-property name="uniqueProps" value="multicast-configuration-id" />
+ <xml-property name="container" value="multicast-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
+ </xml-properties>
+ <xml-root-element name="vces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v10.Vce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vce">
+ <xml-root-element name="vce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service, does not strictly map to ASDC services, SOON TO BE DEPRECATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network role being played by this VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - see child relationships" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v10.PortGroups" />
+ <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
+ <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="vces" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PortGroups">
+ <xml-root-element name="port-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v10.PortGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PortGroup">
+ <xml-root-element name="port-group" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network name of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for port group in vmware" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Likely to duplicate value of neutron network name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v10.CvlanTags" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
+ <xml-property name="nameProps" value="port-group-name" />
+ <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
+ <xml-property name="dependentOn" value="vce" />
+ <xml-property name="container" value="port-groups" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CvlanTags">
+ <xml-root-element name="cvlan-tags" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v10.CvlanTagEntry" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CvlanTagEntry">
+ <xml-root-element name="cvlan-tag-entry" />
+ <java-attributes>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="dependentOn" value="port-group" />
+ <xml-property name="indexedProps" value="cvlan-tag" />
+ <xml-property name="container" value="cvlan-tags" />
+ </xml-properties>
+ </java-type>
+
+
+
+ <java-type name="Vnfcs">
+ <xml-properties>
+ <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
+ </xml-properties>
+ <xml-root-element name="vnfcs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v10.Vnfc" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vnfc">
+ <xml-root-element name="vnfc" />
+ <java-attributes>
+ <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of vnfc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="function code" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="prov status of this vnfc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Oam V4 vip address of this vnfc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group notation of VNFC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
+ <xml-property name="searchable" value="vnfc-name" />
+ <xml-property name="container" value="vnfcs" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3Networks">
+ <xml-root-element name="l3-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v10.L3Network" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="L3Network">
+ <xml-root-element name="l3-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network, governed by some naming convention.." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the network - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role the network plans - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network technology - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Set to true if bound to VPN" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service from ASDC. Does not strictly map to ASDC services. SOON TO BE DEPRECATED" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="network role instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the physical network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v10.Subnets" />
+ <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v10.CtagAssignments" />
+ <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v10.SegmentationAssignments" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" >
+ <xml-properties>
+ <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Generic network definition" />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-network-fqdn,network-role" />
+ <xml-property name="searchable" value="network-id,network-name" />
+ <xml-property name="uniqueProps" value="network-id" />
+ <xml-property name="container" value="l3-networks" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="NetworkPolicies">
+ <xml-root-element name="network-policies" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v10.NetworkPolicy" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NetworkPolicy">
+ <xml-root-element name="network-policy" />
+ <java-attributes>
+ <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID representing unique key to this instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the policy" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID for the openStack Heat instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="nameProps" value="network-policy-fqdn" />
+ <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
+ <xml-property name="searchable" value="network-policy-id,network-policy-fqdn" />
+ <xml-property name="uniqueProps" value="network-policy-id" />
+ <xml-property name="container" value="network-policies" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="CtagAssignments">
+ <xml-root-element name="ctag-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v10.CtagAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagAssignment">
+ <xml-root-element name="ctag-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="id." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="vlan-id-inner" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="ctag-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Subnets">
+ <xml-root-element name="subnets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v10.Subnet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Subnet">
+ <xml-root-element name="subnet" />
+ <java-attributes>
+ <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Subnet ID, should be UUID." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the subnet." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of this subnet" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="gateway ip address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="network start address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="cidr mask" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="dhcp enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the start address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the last address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="subnet-id,subnet-name" />
+ <xml-property name="nameProps" value="subnet-name" />
+ <xml-property name="uniqueProps" value="subnet-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="subnets" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GenericVnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VNFs" />
+ </xml-properties>
+ <xml-root-element name="generic-vnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v10.GenericVnf" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GenericVnf">
+ <xml-root-element name="generic-vnf" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ <xml-property name="suggestibleOnSearch" value="true"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
+ <xml-property name="suggestibleOnSearch" value="true"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 Loopback address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 management address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the license assignment group. OBSOLETE - See child relationships." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the actual license resource. OBSOLETE - See child relationships." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="as-number of the VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="represents sub zone of the rr plane" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfType" name="nf-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Generic description of the type of NF" />
+ <xml-property name="suggestibleOnSearch" value="true"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfFunction" name="nf-function" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="English description of Network function that the specific VNF deployment is providing" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="role in the network that this model will be providing" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfNamingCode" name="nf-naming-code" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="string assigned to this model used for naming purposes" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
+ <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v10.VfModules" />
+ <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
+ <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="General purpose VNF" />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="generic-vnfs" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ <xml-property name="containsSuggestibleProps" value="true"/>
+ <xml-property name="suggestionAliases" value="VNFs"/>
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VfModules">
+ <xml-properties>
+ <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
+ </xml-properties>
+ <xml-root-element name="vf-modules" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v10.VfModule" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VfModule">
+ <xml-root-element name="vf-module" />
+ <java-attributes>
+ <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of vf-module." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vf-module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the Contrail unique ID for a service-instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="moduleIndex" name="module-index" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="the index will track the number of modules of a given type that have been deployed in a VNF, starting with 0, and always choosing the lowest available digit" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="a deployment unit of VNFCs" />
+ <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
+ <xml-property name="searchable" value="vf-module-id,vf-module-name" />
+ <xml-property name="dependentOn" value="generic-vnf" />
+ <xml-property name="container" value="vf-modules" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="LagLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregation connections" />
+ </xml-properties>
+ <xml-root-element name="lag-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v10.LagLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagLink">
+ <xml-root-element name="lag-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="LAG links can connect lag-interfaces" />
+ <xml-property name="indexedProps" value="link-name" />
+ <xml-property name="container" value="lag-links" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Newvces">
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ </xml-properties>
+ <xml-root-element name="newvces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v10.Newvce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Newvce">
+ <xml-root-element name="newvce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
+ <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id2" />
+ <xml-property name="container" value="newvces" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Physical Network Functions." />
+ </xml-properties>
+ <xml-root-element name="pnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v10.Pnf" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pnf">
+ <xml-root-element name="pnf" />
+ <java-attributes>
+ <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="source of name2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="id of pnf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Serial number of the device" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 OAM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Nf Role is the role performed by this instance in the network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world." />
+ <xml-property name="indexedProps" value="pnf-name,orchestration-status,inv-status" />
+ <xml-property name="searchable" value="pnf-name" />
+ <xml-property name="uniqueProps" value="pnf-name" />
+ <xml-property name="container" value="pnfs" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PhysicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ </xml-properties>
+ <xml-root-element name="physical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v10.PhysicalLink" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PhysicalLink">
+ <xml-root-element name="physical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit it" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the service Provider on this link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ <xml-property name="indexedProps" value="circuit-id,link-name" />
+ <xml-property name="alternateKeys1" value="circuit-id" />
+ <xml-property name="container" value="physical-links" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="searchable" value="link-name,circuit-id" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VigServers">
+ <xml-root-element name="vig-servers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v10.VigServer" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VigServer">
+ <xml-root-element name="vig-server" />
+ <java-attributes>
+ <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String" >
+ <xml-properties>
+ <xml-property name="description" value="v4 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String" >
+ <xml-properties>
+ <xml-property name="description" value="v6 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
+ <xml-property name="indexedProps" value="vig-address-type" />
+ <xml-property name="dependentOn" value="ipsec-configuration" />
+ <xml-property name="container" value="vig-servers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="IpsecConfigurations">
+ <xml-root-element name="ipsec-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v10.IpsecConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IpsecConfiguration">
+ <xml-root-element name="ipsec-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of this configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can offer a shared DMZ or a DMZ specific to a customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network address of shared DMZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can be 1 or 2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="pre-shared key for the above group name " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Lifetime for IKEv1 SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Life time for IPSec SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="enable PFS or not" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="user ID for xAuth, sm-user, ,nmteHostName" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The time between DPD probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v10.VigServers" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
+ <xml-property name="indexedProps" value="ipsec-configuration-id" />
+ <xml-property name="uniqueProps" value="ipsec-configuration-id" />
+ <xml-property name="container" value="ipsec-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="NotificationEvent">
+ <xml-root-element name="notification-event" />
+ <java-attributes>
+ <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
+ <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v10.NotificationEventHeader" />
+ <xml-any-element java-attribute="entity" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NotificationEventHeader">
+ <xml-root-element name="notification-event-header" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" type="java.lang.String" />
+ <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
+ <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
+ <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
+ <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
+ <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
+ <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
+ <xml-element java-attribute="version" name="version" type="java.lang.String" />
+ <xml-element java-attribute="action" name="action" type="java.lang.String" />
+ <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
+ <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
+ <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
+ <xml-element java-attribute="status" name="status" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="AaiInternal">
+ <xml-root-element name="aai-internal" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v10.ReservedPropNames" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v10.EdgePropNames" />
+ </java-attributes>
+ </java-type>
+ <java-type name="ReservedPropNames">
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
+ <xml-property name="uniqueProps" value="aai-unique-key" />
+ <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type,aai-uri" />
+ </xml-properties>
+ <xml-root-element name="reserved-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
+ <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
+ <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
+ <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
+ <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
+ <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
+ <xml-element java-attribute="aaiUri" name="aai-uri" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="EdgePropNames">
+ <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
+ <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
+ </xml-properties>
+ <xml-root-element name="edge-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
+ <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
+ <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
+ <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
+ <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
+ <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.Boolean" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Models">
+ <xml-properties>
+ <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
+ </xml-properties>
+ <xml-root-element name="models" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v10.Model" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Model">
+ <xml-root-element name="model" />
+ <xml-properties>
+ <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
+ <xml-property name="nameProps" value="model-type" />
+ <xml-property name="indexedProps" value="model-invariant-id,model-type" />
+ <xml-property name="uniqueProps" value="model-invariant-id" />
+ <xml-property name="container" value="models" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+
+ <java-type name="ModelVers">
+ <xml-root-element name="model-vers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v10.ModelVer" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelVer">
+ <xml-root-element name="model-ver" />
+ <xml-properties>
+ <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
+ <xml-property name="nameProps" value="model-name" />
+ <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
+ <xml-property name="uniqueProps" value="model-version-id" />
+ <xml-property name="container" value="model-vers" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the model, which can change from version to version." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElements">
+ <xml-root-element name="model-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v10.ModelElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElement">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
+ <xml-property name="uniqueProps" value="model-element-uuid" />
+ <xml-property name="indexedProps" value="model-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-elements" />
+ </xml-properties>
+ <xml-root-element name="model-element" />
+ <java-attributes>
+ <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="How many of this type of element are required/allowed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String" >
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v10.ModelConstraints">
+ <xml-properties>
+ <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraints">
+ <xml-root-element name="model-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v10.ModelConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraint">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="model-constraint-uuid" />
+ <xml-property name="indexedProps" value="model-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-constraints" />
+ </xml-properties>
+ <xml-root-element name="model-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
+ <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v10.ConstrainedElementSets" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ConstrainedElementSets">
+ <xml-root-element name="constrained-element-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v10.ConstrainedElementSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ConstrainedElementSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
+ <xml-property name="indexedProps" value="constrained-element-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="constrained-element-sets" />
+ </xml-properties>
+ <xml-root-element name="constrained-element-set" />
+ <java-attributes>
+ <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v10.ElementChoiceSets" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSets">
+ <xml-root-element name="element-choice-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v10.ElementChoiceSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="element-choice-set-uuid" />
+ <xml-property name="indexedProps" value="element-choice-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="element-choice-sets" />
+ </xml-properties>
+ <xml-root-element name="element-choice-set" />
+ <java-attributes>
+ <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueries">
+ <xml-root-element name="named-queries" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQuery">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="nameProps" value="named-query-name" />
+ <xml-property name="uniqueProps" value="named-query-uuid" />
+ <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
+ <xml-property name="container" value="named-queries" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <xml-root-element name="named-query" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String" >
+ <xml-element-wrapper name="required-input-params" />
+ </xml-element>
+ <xml-element java-attribute="description" name="description" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElements">
+ <xml-root-element name="named-query-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v10.NamedQueryElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElement">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="named-query-element-uuid" />
+ <xml-property name="indexedProps" value="named-query-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="named-query-elements" />
+ </xml-properties>
+ <xml-root-element name="named-query-element" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
+ <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
+ <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v10.RelatedLookups" />
+ <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v10.PropertyConstraints" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookups">
+ <xml-root-element name="related-lookups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v10.RelatedLookup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookup">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="related-lookup-uuid" />
+ <xml-property name="indexedProps" value="related-lookup-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="related-lookups" />
+ </xml-properties>
+ <xml-root-element name="related-lookup" />
+ <java-attributes>
+ <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraints">
+ <xml-root-element name="property-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v10.PropertyConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraint">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="property-constraint-uuid" />
+ <xml-property name="indexedProps" value="property-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="property-constraints" />
+ </xml-properties>
+ <xml-root-element name="property-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="propertyName" name="property-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelAndNamedQuerySearch">
+ <xml-properties>
+ <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="model-and-named-query-search" />
+ <java-attributes>
+ <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v10.QueryParameters" />
+ <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v10.InstanceFilters" />
+ <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v10.SecondaryFilts" />
+ <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
+ <xml-element java-attribute="secondaryFilterCutPoint" name="secondary-filter-cut-point" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="QueryParameters">
+ <xml-properties>
+ <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="query-parameters" />
+ <java-attributes>
+ <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
+ <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v10.OverloadedModel" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OverloadedModel">
+ <xml-root-element name="overloaded-model" />
+ <xml-properties>
+ <xml-property name="description" value="Allows for legacy POST of old-style and new-style models" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the model, which can change from version to version." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceFilters">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="instance-filters" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v10.InstanceFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceFilter">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
+ <xml-property name="container" value="instance-filters" />
+ </xml-properties>
+ <xml-root-element name="instance-filter" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilts">
+ <xml-properties>
+ <xml-property name="description" value="SecondaryFilts for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="secondary-filts" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilt" name="secondary-filt" type="inventory.aai.onap.org.v10.SecondaryFilt" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilt">
+ <xml-properties>
+ <xml-property name="description" value="SecondaryFilt for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="secondary-filt" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Properties">
+ <xml-properties>
+ <xml-property name="description" value="Property holder for query properties or instance properties" />
+ </xml-properties>
+ <xml-root-element name="properties" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResponseList">
+ <xml-properties>
+ <xml-property name="description" value="Response container for the results of a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="response-list" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItems">
+ <xml-properties>
+ <xml-property name="description" value="Container for inventory items in response list" />
+ <xml-property name="container" value="response-list" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-items" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v10.InventoryResponseItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItem">
+ <xml-properties>
+ <xml-property name="description" value="Inventory item for response list" />
+ <xml-property name="container" value="inventory-response-items" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-item" />
+ <java-attributes>
+ <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
+ <xml-any-element java-attribute="item" />
+ <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v10.ExtraProperties" />
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperties">
+ <xml-properties>
+ <xml-property name="description" value="Extra properties for inventory item for response list" />
+ </xml-properties>
+ <xml-root-element name="extra-properties" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v10.ExtraProperty" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperty">
+ <xml-root-element name="extra-property" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReferences">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack route table references" />
+ </xml-properties>
+ <xml-root-element name="route-table-references" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v10.RouteTableReference" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReference">
+ <xml-root-element name="route-table-reference" />
+ <java-attributes>
+ <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="FQDN entry in the route table." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+
+ <xml-properties>
+ <xml-property name="description" value="Openstack route table reference." />
+ <xml-property name="nameProps" value="route-table-reference-fqdn" />
+ <xml-property name="uniqueProps" value="route-table-reference-id" />
+ <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
+ <xml-property name="container" value="route-table-references" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="InstanceGroups">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack route table references" />
+ </xml-properties>
+ <xml-root-element name="instance-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="instanceGroup" name="instance-group" type="inventory.aai.onap.org.v10.InstanceGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceGroup">
+ <xml-root-element name="instance-group" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="description" name="description" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Descriptive text to help identify the usage of this instance-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="type" name="type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Only valid value today is lower case ha for high availability" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subType" name="sub-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Valid values for ha type are [geo-activeactive, geo-activestandby, local-activeactive, local-activestandby]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+
+ <xml-properties>
+ <xml-property name="description" value="General mechanism for grouping instances" />
+ <xml-property name="nameProps" value="description" />
+ <xml-property name="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id,description,type,sub-type" />
+ <xml-property name="container" value="instance-groups" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="SegmentationAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack segmentation assignments" />
+ </xml-properties>
+ <xml-root-element name="segmentation-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v10.SegmentationAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SegmentationAssignment">
+ <xml-root-element name="segmentation-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack segmentation assignment." />
+ <xml-property name="indexedProps" value="segmentation-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="segmentation-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="AllottedResources">
+ <xml-properties>
+ <xml-property name="description" value="This object is used to store slices of services being offered" />
+ </xml-properties>
+ <xml-root-element name="allotted-resources" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v10.AllottedResource" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AllottedResource">
+ <xml-root-element name="allotted-resource" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="description" name="description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Link back to more information in the controller" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="type" name="type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Generic description of the type of allotted resource." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="role" name="role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="role in the network that this resource will be providing." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v10.TunnelXconnects" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.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="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role" />
+ <xml-property name="dependentOn" value="service-instance" />
+ <xml-property name="container" value="allotted-resources" />
+ <!-- <xml-property name="namespace" value="network" /> -->
+ </xml-properties>
+ </java-type>
+
+ <java-type name="TunnelXconnects">
+ <xml-properties>
+ <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
+ </xml-properties>
+ <xml-root-element name="tunnel-xconnects" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v10.TunnelXconnect" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="TunnelXconnect">
+ <xml-root-element name="tunnel-xconnect" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+
+ <xml-properties>
+ <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
+ <xml-property name="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id" />
+ <xml-property name="dependentOn" value="allotted-resource" />
+ <xml-property name="container" value="tunnel-xconnects" />
+ <!-- <xml-property name="namespace" value="network" /> -->
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Entitlements">
+ <xml-properties>
+ <xml-property name="description" value="Entitlements, keyed by group-uuid and resource-uuid, related to license management" />
+ </xml-properties>
+ <xml-root-element name="entitlements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="entitlement" name="entitlement" type="inventory.aai.onap.org.v10.Entitlement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Entitlement">
+ <xml-root-element name="entitlement" />
+ <java-attributes>
+ <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for the entitlement group the resource comes from, should be uuid." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of an entitlement resource. " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Metadata for entitlement group." />
+ <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
+ <xml-property name="dependentOn" value="generic-vnf,vce" />
+ <xml-property name="container" value="entitlements" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="Licenses">
+ <xml-properties>
+ <xml-property name="description" value="Licenses to be allocated across resources, keyed by group-uuid and resource-uuid, related to license management" />
+ </xml-properties>
+ <xml-root-element name="licenses" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="license" name="license" type="inventory.aai.onap.org.v10.License" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="License">
+ <xml-root-element name="license" />
+ <java-attributes>
+ <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for the license group the resource belongs to, should be uuid." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of a license resource. " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Metadata for license group." />
+ <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
+ <xml-property name="dependentOn" value="generic-vnf,vce" />
+ <xml-property name="container" value="licenses" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vnf">
+ <xml-root-element name="vnf"/>
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Abstract vnf class" />
+ <xml-property name="indexedProps" value="vnf-id" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="inheritors" value="vce,generic-vnf" />
+ <xml-property name="abstract" value="true" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Zones">
+ <xml-properties>
+ <xml-property name="description" value="Collection of zones" />
+ </xml-properties>
+ <xml-root-element name="zones" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="zone" name="zone" type="inventory.aai.onap.org.v10.Zone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Zone">
+ <xml-root-element name="zone" />
+ <java-attributes>
+ <xml-element java-attribute="zoneId" name="zone-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Code assigned by AIC to the zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="zoneName" name="zone-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="English name associated with the zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="designType" name="design-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Design of zone [Medium/Large?]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="zoneContext" name="zone-context" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Context of zone [production/test]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="status" name="status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Status of a zone." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="A zone is a grouping of assets in a location homing to the same connections into the CBB" />
+ <xml-property name="nameProps" value="zone-name" />
+ <xml-property name="indexedProps" value="zone-id,design-type,zone-context" />
+ <xml-property name="uniqueProps" value="zone-id" />
+ <xml-property name="container" value="zones" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="RouteTargets">
+ <xml-properties>
+ <xml-property name="description" value="Collection of route target information" />
+ </xml-properties>
+ <xml-root-element name="route-targets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routeTarget" name="route-target" type="inventory.aai.onap.org.v10.RouteTarget" />
+ </java-attributes>
+ </java-type>
+ <java-type name="RouteTarget">
+ <xml-root-element name="route-target" />
+ <java-attributes>
+ <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" xml-key="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Number used to identify an RT, globally unique in the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" xml-key="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this route target" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Route target information" />
+ <xml-property name="container" value="route-targets" />
+ <xml-property name="dependentOn" value="vpn-binding" />
+ <xml-property name="canBeLinked" value="true" />
+ </xml-properties>
+ </java-type>
+ </java-types>
</xml-bindings>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
index ecbfefb8..90d023ce 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml
@@ -24,7 +24,7 @@
-->
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v11" xml-mapping-metadata-complete="true">
<xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.onap.aai.inventory/v11" />
+ <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v11" />
</xml-schema>
<java-types>
<java-type name="Inventory">
@@ -33,7 +33,7 @@
<xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v11.Search" />
<xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v11.Actions" />
<xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v11.CloudInfrastructure" />
- <xml-element java-attribute="licenseManagement" name="license-management" type="inventory.aai.onap.org.v11.LicenseManagement" />
+ <xml-element java-attribute="externalSystem" name="external-system" type="inventory.aai.onap.org.v11.ExternalSystem" />
<xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v11.Business" />
<xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v11.ServiceDesignAndCreation" />
<xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v11.Network" />
@@ -229,6 +229,270 @@
</java-attributes>
</java-type>
+ <java-type name="ExternalSystem">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for external system." />
+ </xml-properties>
+ <xml-root-element name="external-system" />
+ <java-attributes>
+ <xml-element java-attribute="esrEmsList" name="esr-ems-list" type="inventory.aai.onap.org.v11.EsrEmsList" />
+ <xml-element java-attribute="esrVnfmList" name="esr-vnfm-list" type="inventory.aai.onap.org.v11.EsrVnfmList" />
+ <xml-element java-attribute="esrThirdpartySdncList" name="esr-thirdparty-sdnc-list" type="inventory.aai.onap.org.v11.EsrThirdpartySdncList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EsrEmsList">
+ <xml-root-element name="esr-ems-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="esrEms" name="esr-ems" type="inventory.aai.onap.org.v11.EsrEms" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrEms">
+ <xml-root-element name="esr-ems" />
+ <java-attributes>
+ <xml-element java-attribute="emsId" name="ems-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of EMS." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="esrSystemInfoList" name="esr-system-info-list" type="inventory.aai.onap.org.v11.EsrSystemInfoList" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persist EMS address information used by EMS driver." />
+ <xml-property name="indexedProps" value="ems-id" />
+ <xml-property name="searchable" value="ems-id" />
+ <xml-property name="container" value="esr-ems-list" />
+ <xml-property name="namespace" value="external-system" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrVnfmList">
+ <xml-root-element name="esr-vnfm-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="esrVnfm" name="esr-vnfm" type="inventory.aai.onap.org.v11.EsrVnfm" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrVnfm">
+ <xml-root-element name="esr-vnfm" />
+ <java-attributes>
+ <xml-element java-attribute="vnfmId" name="vnfm-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of VNFM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vimId" name="vim-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indecate the VIM to deploy VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="certificateUrl" name="certificate-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="certificate url of VNFM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="esrSystemInfoList" name="esr-system-info-list" type="inventory.aai.onap.org.v11.EsrSystemInfoList" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persist VNFM address information used by VF-C." />
+ <xml-property name="indexedProps" value="vnfm-id" />
+ <xml-property name="searchable" value="vnfm-id" />
+ <xml-property name="container" value="esr-vnfm-list" />
+ <xml-property name="namespace" value="external-system" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrThirdpartySdncList">
+ <xml-root-element name="esr-thirdparty-sdnc-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="esrThirdpartySdnc" name="esr-thirdparty-sdnc" type="inventory.aai.onap.org.v11.EsrThirdpartySdnc" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrThirdpartySdnc">
+ <xml-root-element name="esr-thirdparty-sdnc" />
+ <java-attributes>
+ <xml-element java-attribute="thirdpartySdncId" name="thirdparty-sdnc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of SDNC." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="location" name="location" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="used for DC type to indicate the location of SDNC, such as Core or Edge." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="productName" name="product-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="password used to access SDNC server." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="esrSystemInfoList" name="esr-system-info-list" type="inventory.aai.onap.org.v11.EsrSystemInfoList" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persist SDNC address information used by ONAP SDNC." />
+ <xml-property name="indexedProps" value="sdnc-id" />
+ <xml-property name="searchable" value="sdnc-id" />
+ <xml-property name="container" value="esr-thirdparty-sdnc-list" />
+ <xml-property name="namespace" value="external-system" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrSystemInfoList">
+ <xml-root-element name="esr-system-info-list" />
+ <xml-properties>
+ <xml-property name="description" value="Collection of persistent block-level external system auth info." />
+ </xml-properties>
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="esrSystemInfo" name="esr-system-info" type="inventory.aai.onap.org.v11.EsrSystemInfo" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="EsrSystemInfo">
+ <xml-root-element name="esr-system-info" />
+ <java-attributes>
+ <xml-element java-attribute="esrSystemInfoId" name="esr-system-info-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of esr system info." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="systemName" name="system-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="name of external system." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="type" name="type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type of external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vendor" name="vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="vendor of external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="version" name="version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="version of external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceUrl" name="service-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="url used to access external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="userName" name="user-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="username used to access external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="password" name="password" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="password used to access external systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="systemType" name="system-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="it could be vim/vnfm/thirdparty-sdnc/ems-resource/ems-performance/ems-alarm." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="protocol" name="protocol" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="protocol of third party SDNC, for example netconf/snmp." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sslCacert" name="ssl-cacert" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ca file content if enabled ssl on auth-url." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="sslInsecure" name="ssl-insecure" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Whether to verify VIM's certificate." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipAddress" name="ip-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="service IP of ftp server." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="port" name="port" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="service port of ftp server." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudDomain" name="cloud-domain" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="domain info for authentication." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="defaultTenant" name="default-tenant" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="default tenant of VIM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="passive" name="passive" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="ftp passive mode or not." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="remotepath" name="remote-path" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="resource or performance data file path." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="systemStatus" name="system-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the status of external system." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persist common address information of external systems." />
+ <xml-property name="indexedProps" value="esr-system-info-id,system-name,system-type" />
+ <xml-property name="searchable" value="esr-system-info-id,system-name,system-type" />
+ <xml-property name="container" value="esr-system-info-list" />
+ <xml-property name="dependentOn" value="cloud-region,esr-ems,esr-vnfm,esr-thirdparty-sdnc" />
+ </xml-properties>
+ </java-type>
+
<java-type name="CloudInfrastructure">
<xml-properties>
<xml-property name="description" value="Namespace for cloud infrastructure." />
@@ -258,7 +522,7 @@
<java-attributes>
<xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name, e.g., att-aic. First part of composite key should be formatted as vendor-cloudname" />
+ <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
</xml-properties>
</xml-element>
<xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
@@ -296,6 +560,22 @@
<xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
</xml-properties>
</xml-element>
+ <xml-element default-value="false" required="true" java-attribute="sriovAutomation" name="sriov-automation" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Whether the cloud region supports (true) or does not support (false) SR-IOV automation." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudExtraInfo" name="cloud-extra-info" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ESR inputs extra information about the VIM or Cloud which will be decoded by MultiVIM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudEpaCaps" name="cloud-epa-caps" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="MultiVIM will discover and expose EPA capabilities." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -311,9 +591,12 @@
<xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v11.OamNetworks" />
<xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v11.AvailabilityZones" />
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ <xml-element java-attribute="esrSystemInfoList" name="esr-system-info-list" type="inventory.aai.onap.org.v11.EsrSystemInfoList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="vipIpv4AddressList" name="vip-ipv4-address-list" type="inventory.aai.onap.org.v11.VipIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="vipIpv6AddressList" name="vip-ipv6-address-list" type="inventory.aai.onap.org.v11.VipIpv6AddressList" />
</java-attributes>
<xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. In AT&amp;Ts AIC cloud, this could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname and we will use att-aic for AT&amp;T's AIC." />
+ <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation." />
<xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
<xml-property name="nameProps" value="owner-defined-type" />
<xml-property name="container" value="cloud-regions" />
@@ -582,6 +865,11 @@
<xml-property name="description" value="Readable name of tenant" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="tenantContext" name="tenant-context" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store the tenant context." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -593,7 +881,7 @@
<xml-properties>
<xml-property name="description" value="Openstack tenant" />
<xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-name,tenant-id" />
+ <xml-property name="indexedProps" value="tenant-name,tenant-id,tenant-context" />
<xml-property name="searchable" value="tenant-id,tenant-name" />
<xml-property name="dependentOn" value="cloud-region" />
<xml-property name="container" value="tenants" />
@@ -743,7 +1031,23 @@
<xml-property name="defaultValue" value="false"/>
<xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
</xml-properties>
- </xml-element>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of the logical interface. Valid values [PREPROV/NVTPROV/PROV]." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="isIpUnnumbered" name="is-ip-unnumbered" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Flag indicating the interface uses the IP Unnumbered configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="allowedAddressPairs" name="allowed-address-pairs" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Freeform field for storing an ip address, list of ip addresses or a subnet block." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v11.Vlans" />
<xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v11.SriovVfs" />
<xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v11.LInterfaces" />
@@ -899,7 +1203,7 @@
<xml-properties>
<xml-property name="description" value="IPv4 Address Range" />
<xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
+ <xml-property name="dependentOn" value="vlan,l-interface,vnfc" />
</xml-properties>
</java-type>
@@ -953,7 +1257,7 @@
<xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
+ <xml-element java-attribute="vpnKey" name="vpn-key" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
</xml-properties>
@@ -968,6 +1272,17 @@
<xml-property name="defaultValue" value="false"/>
<xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
</xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of the VLAN configuration related to a logical interface. Valid values [PREPROV/NVTPROV/PROV]." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" java-attribute="isIpUnnumbered" name="is-ip-unnumbered" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Flag indicating the interface uses the IP Unnumbered configuration." />
+ </xml-properties>
</xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
<xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v11.L3InterfaceIpv4AddressList" />
@@ -975,8 +1290,7 @@
</java-attributes>
<xml-properties>
<xml-property name="description" value="Definition of vlan" />
- <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
- <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-key" />
<xml-property name="dependentOn" value="l-interface" />
<xml-property name="container" value="vlans" />
</xml-properties>
@@ -1030,7 +1344,7 @@
<xml-properties>
<xml-property name="description" value="IPv6 Address Range" />
<xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
+ <xml-property name="dependentOn" value="vlan,l-interface,vnfc" />
</xml-properties>
</java-type>
@@ -1275,6 +1589,7 @@
<xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
<xml-property name="nameProps" value="group-name" />
<xml-property name="indexedProps" value="group-id,group-type,group-name" />
+ <xml-property name="searchable" value="group-id,group-name"/>
<xml-property name="dependentOn" value="cloud-region" />
<xml-property name="container" value="group-assignments" />
</xml-properties>
@@ -1602,6 +1917,16 @@
<xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates who owns and or manages the device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="hostProfile" name="host-profile" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The host profile that defines the configuration of the pserver." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
<xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v11.PInterfaces" />
<xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v11.LagInterfaces" />
@@ -1669,6 +1994,11 @@
<xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="macAddress" name="mac-addresss" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="MAC Address of the p-interface." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -1680,7 +2010,13 @@
<xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="inventory status" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ <xml-element java-attribute="sriovPfs" name="sriov-pfs" type="inventory.aai.onap.org.v11.SriovPfs" />
<xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v11.LInterfaces" />
</java-attributes>
<xml-properties>
@@ -1839,7 +2175,7 @@
<xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
</xml-properties>
@@ -1898,34 +2234,39 @@
</xml-properties>
</java-type>
- <java-type name="LicenseManagement">
- <xml-root-element name="license-management" />
+ <java-type name="Business">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for business related constructs" />
+ </xml-properties>
+ <xml-root-element name="business" />
<java-attributes>
- <xml-element java-attribute="licenseKeyResources" name="license-key-resources" type="inventory.aai.onap.org.v11.LicenseKeyResources" />
+ <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v11.Connectors" />
+ <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v11.Customers" />
+ <xml-element java-attribute="linesOfBusiness" name="lines-of-business" type="inventory.aai.onap.org.v11.LinesOfBusiness" />
+ <xml-element java-attribute="owningEntities" name="owning-entities" type="inventory.aai.onap.org.v11.OwningEntities" />
+ <xml-element java-attribute="platforms" name="platforms" type="inventory.aai.onap.org.v11.Platforms" />
+ <xml-element java-attribute="projects" name="projects" type="inventory.aai.onap.org.v11.Projects" />
</java-attributes>
</java-type>
- <java-type name="LicenseKeyResources">
- <xml-root-element name="license-key-resources" />
+ <java-type name="Projects">
+ <xml-properties>
+ <xml-property name="description" value="Collection of projects" />
+ </xml-properties>
+ <xml-root-element name="projects" />
<java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v11.LicenseKeyResource" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="project" name="project" type="inventory.aai.onap.org.v11.Project" />
</java-attributes>
</java-type>
- <java-type name="LicenseKeyResource">
- <xml-root-element name="license-key-resource" />
+ <java-type name="Project">
+ <xml-root-element name="project" />
<java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
- <xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
- <xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
- <xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
- <xml-element java-attribute="name" name="name" type="java.lang.String" />
- <xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
- <xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
- <xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
+ <xml-element java-attribute="projectName" name="project-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the project deploying a service" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -1934,24 +2275,12 @@
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
</java-attributes>
<xml-properties>
- <xml-property name="description" value="OBSOLETE OBJECT: do not use" />
- <xml-property name="nameProps" value="name" />
- <xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="license-key-resources" />
- <xml-property name="namespace" value="license-management" />
- </xml-properties>
- </java-type>
-
- <java-type name="Business">
- <xml-properties>
- <xml-property name="description" value="Namespace for business related constructs" />
+ <xml-property name="description" value="describes the project" />
+ <xml-property name="indexedProps" value="project-name" />
+ <xml-property name="uniqueProps" value="project-name" />
+ <xml-property name="container" value="projects" />
+ <xml-property name="namespace" value="business" />
</xml-properties>
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v11.Connectors" />
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v11.Customers" />
- </java-attributes>
</java-type>
<java-type name="Connectors">
@@ -1981,6 +2310,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -1988,6 +2318,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -2070,6 +2401,114 @@
</xml-properties>
</java-type>
+ <java-type name="LinesOfBusiness">
+ <xml-properties>
+ <xml-property name="description" value="Collection of lines-of-business" />
+ </xml-properties>
+ <xml-root-element name="lines-of-business" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lineOfBusiness" name="line-of-business" type="inventory.aai.onap.org.v11.LineOfBusiness" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LineOfBusiness">
+ <xml-root-element name="line-of-business" />
+ <java-attributes>
+ <xml-element java-attribute="lineOfBusinessName" name="line-of-business-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the line-of-business (product)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="describes a line-of-business" />
+ <xml-property name="indexedProps" value="line-of-business-name" />
+ <xml-property name="uniqueProps" value="line-of-business-name" />
+ <xml-property name="container" value="lines-of-business" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="OwningEntities">
+ <xml-properties>
+ <xml-property name="description" value="Collection of owning-entities" />
+ </xml-properties>
+ <xml-root-element name="owning-entities" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="owningEntity" name="owning-entity" type="inventory.aai.onap.org.v11.OwningEntity" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OwningEntity">
+ <xml-root-element name="owning-entity" />
+ <java-attributes>
+ <xml-element java-attribute="owningEntityId" name="owning-entity-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of an owning entity" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="owningEntityName" name="owning-entity-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Owning entity name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="describes an owning-entity" />
+ <xml-property name="indexedProps" value="owning-entity-id, owning-entity-name" />
+ <xml-property name="searchable" value="owning-entity-id" />
+ <xml-property name="uniqueProps" value="owning-entity-id, owning-entity-name" />
+ <xml-property name="container" value="owning-entities" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Platforms">
+ <xml-properties>
+ <xml-property name="description" value="Collection of platforms" />
+ </xml-properties>
+ <xml-root-element name="platforms" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="platform" name="platform" type="inventory.aai.onap.org.v11.Platform" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Platform">
+ <xml-root-element name="platform" />
+ <java-attributes>
+ <xml-element java-attribute="platformName" name="platform-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the platform" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="describes a platform" />
+ <xml-property name="indexedProps" value="platform-name" />
+ <xml-property name="uniqueProps" value="platform-name" />
+ <xml-property name="container" value="platforms" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
<java-type name="ServiceSubscriptions">
<xml-properties>
<xml-property name="description" value="Collection of objects that group service instances." />
@@ -2134,10 +2573,47 @@
<xml-property name="description" value="This field will store a name assigned to the service-instance." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="serviceType" name="service-type" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceRole" name="service-role" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing the service role." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="environmentContext" name="environment-context" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store the environment context assigned to the service-instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="workloadContext" name="workload-context" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store the workload context assigned to the service-instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="createdAt" name="created-at" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="create time of Network Service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="updatedAt" name="updated-at" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="last update of Network Service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="description" name="description" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="short description for service-instance." />
+ </xml-properties>
+ </xml-element>
+ <!-- for storing the nsd_id create edge between services -->
<xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -2145,6 +2621,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -2195,11 +2672,6 @@
<xml-property name="description" value="URL customers will use to access the vHN Portal." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operational status of the service-instance." />
- </xml-properties>
- </xml-element>
<xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
@@ -2226,7 +2698,7 @@
</java-attributes>
<xml-properties>
<xml-property name="description" value="Instance of a service" />
- <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
+ <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status,environment-context,workload-context" />
<xml-property name="nameProps" value="service-instance-name" />
<xml-property name="searchable" value="service-instance-id,service-instance-name" />
<xml-property name="uniqueProps" value="service-instance-id" />
@@ -2262,7 +2734,7 @@
<java-type name="VnfImage">
<xml-root-element name="vnf-image" />
<java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-element java-attribute="vnfImageUuid" name="vnf-image-uuid" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
<xml-property name="description" value="Unique ID of this asset" />
</xml-properties>
@@ -2296,8 +2768,8 @@
</java-attributes>
<xml-properties>
<xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- <xml-property name="indexedProps" value="application,att-uuid,application-vendor,application-version" />
- <xml-property name="uniqueProps" value="att-uuid" />
+ <xml-property name="indexedProps" value="application,vnf-image-uuid,application-vendor,application-version" />
+ <xml-property name="uniqueProps" value="vnf-image-uuid" />
<xml-property name="container" value="vnf-images" />
<xml-property name="namespace" value="service-design-and-creation" />
</xml-properties>
@@ -2413,9 +2885,99 @@
<xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v11.RouteTableReferences" />
<xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v11.InstanceGroups" />
<xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v11.Zones" />
- <xml-element java-attribute="testObjects" name="test-objects"
- type="inventory.aai.onap.org.v11.TestObjects" />
+ <xml-element java-attribute="configurations" name="configurations" type="inventory.aai.onap.org.v11.Configurations" />
+ </java-attributes>
+ </java-type>
+ <java-type name="Configurations">
+ <xml-properties>
+ <xml-property name="description" value="Collection of configurations" />
+ </xml-properties>
+ <xml-root-element name="configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="configuration" name="configurations" type="inventory.aai.onap.org.v11.Configuration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Configuration">
+ <xml-root-element name="configuration" />
+ <java-attributes>
+ <xml-element java-attribute="configurationId" name="configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID assigned to configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the entity that will manage this feature. Could be an organization or the name of the application as well." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="configurationName" name="configuration-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="configurationType" name="configuration-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="port-mirroring-configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="configurationSubType" name="configuration-sub-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="vprobe, pprobe." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of the configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="configurationSelflink" name="configuration-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details from SDN-GC." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="id of the configuration used to customize the resource" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v11.Metadata" />
</java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Port Mirror Configuration." />
+ <xml-property name="indexedProps" value="configuration-id,model-invariant-id,model-version-id" />
+ <xml-property name="uniqueProps" value="configuration-id" />
+ <xml-property name="container" value="configurations" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="nameProps" value="configuration-type" />
+ </xml-properties>
</java-type>
<java-type name="LogicalLinks">
@@ -2436,6 +2998,12 @@
<xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
</xml-properties>
</xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Type of logical link, e.g., evc" />
@@ -2453,7 +3021,7 @@
</xml-element>
<xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
+ <xml-property name="description" value="v4, v6, or ds for dual stack" />
</xml-properties>
</xml-element>
<xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
@@ -2470,6 +3038,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -2477,6 +3046,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -2612,7 +3182,6 @@
</java-attributes>
<xml-properties>
<xml-property name="indexedProps" value="routing-instance-id" />
- <xml-property name="uniqueProps" value="routing-instance-id" />
<xml-property name="dependentOn" value="site-pair-set" />
<xml-property name="container" value="routing-instances" />
</xml-properties>
@@ -2739,11 +3308,6 @@
<xml-property name="description" value="VPN Name" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
- </xml-properties>
- </xml-element>
<xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
@@ -2754,14 +3318,19 @@
<xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
+ <xml-element java-attribute="vpnRegion" name="vpn-region" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
+ <xml-property name="description" value="region of customer vpn" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" type="java.lang.String">
+ <xml-element java-attribute="customerVpnId" name="customer-vpn-id" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
+ <xml-property name="description" value="id for this customer vpn" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
</xml-properties>
</xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
@@ -2770,7 +3339,6 @@
</xml-properties>
</xml-element>
<xml-element java-attribute="routeTargets" name="route-targets" type="inventory.aai.onap.org.v11.RouteTargets" />
-
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList">
<xml-properties>
<xml-property name="description" value="l3-networks relate to vpn-bindings" />
@@ -2780,48 +3348,14 @@
<xml-properties>
<xml-property name="description" value="VPN binding" />
<xml-property name="nameProps" value="vpn-name,vpn-type" />
- <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
+ <xml-property name="indexedProps" value="vpn-name,vpn-id,vpn-type" />
<xml-property name="searchable" value="vpn-id,vpn-name" />
<xml-property name="uniqueProps" value="vpn-id" />
<xml-property name="container" value="vpn-bindings" />
<xml-property name="namespace" value="network" />
</xml-properties>
</java-type>
- <java-type name="RouteTargets">
- <xml-properties>
- <xml-property name="description" value="Collection of route target information" />
- </xml-properties>
- <xml-root-element name="route-targets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTarget" name="route-target" type="inventory.aai.onap.org.v11.RouteTarget" />
- </java-attributes>
- </java-type>
- <java-type name="RouteTarget">
- <xml-root-element name="route-target" />
- <java-attributes>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify an RT, globally unique in the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Route target information" />
- <xml-property name="container" value="route-targets" />
- <xml-property name="canBeLinked" value="true" />
- </xml-properties>
- </java-type>
+
<java-type name="VplsPes">
<xml-properties>
<xml-property name="description" value="Collection of VPLS Provider Edge routers" />
@@ -2964,7 +3498,7 @@
<xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Indicator for whether the resource is considered operational" />
</xml-properties>
@@ -3167,14 +3701,14 @@
<xml-property name="description" value="Unique ID of vnfc." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
+ <xml-element java-attribute="nfcNamingCode" name="nfc-naming-code" required="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="function code" />
+ <xml-property name="description" value="Short code that is used in naming instances of the item being modeled" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
+ <xml-element java-attribute="nfcFunction" name="nfc-function" required="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="type" />
+ <xml-property name="description" value="English description of function that the specific resource deployment is providing. Assigned as part of the customization of a resource in a service" />
</xml-properties>
</xml-element>
<xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
@@ -3209,15 +3743,31 @@
<xml-property name="description" value="Group notation of VNFC" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v11.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v11.L3InterfaceIpv6AddressList" />
</java-attributes>
<xml-properties>
- <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
+ <xml-property name="indexedProps" value="vnfc-name,prov-status,nfc-function,nfc-naming-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation,model-invariant-id,model-version-id" />
<xml-property name="searchable" value="vnfc-name" />
<xml-property name="container" value="vnfcs" />
<xml-property name="namespace" value="network" />
@@ -3309,6 +3859,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -3316,6 +3867,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -3528,11 +4080,27 @@
<xml-property name="description" value="the last address reserved for use by dhcp" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="subnetRole" name="subnet-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="role of the subnet, referenced when assigning IPs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipAssignmentDirection" name="ip-assignment-direction" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip address assignment direction of the subnet" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="subnetSequence" name="subnet-sequence" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="sequence of the subnet" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="hostRoutes" name="host-routes" type="inventory.aai.onap.org.v11.HostRoutes" />
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
</java-attributes>
<xml-properties>
@@ -3565,6 +4133,11 @@
<xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="vnfInstanceId" name="vnf-instance-id" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="vnf instance id." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Name of VNF." />
@@ -3593,9 +4166,10 @@
<xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ <xml-property name="suggestibleOnSearch" value="true"/>
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
</xml-properties>
@@ -3613,6 +4187,22 @@
<xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
+ <xml-property name="suggestibleOnSearch" value="true"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfPackageName" name="vnf-package-name" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value=""/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfDiscriptorName" name="vnf-discriptor-name" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="vnf discriptor name"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="jobId" name="job-id" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="job id corresponding to vnf"/>
</xml-properties>
</xml-element>
<xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
@@ -3680,6 +4270,21 @@
<xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="nshd" name="nshd" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of associated SHD in vnf." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nvm" name="nvm" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vms in vnf." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nnet" name="nnet" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of network in vnf." />
+ </xml-properties>
+ </xml-element>
<xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
<xml-properties>
<xml-property name="defaultValue" value="false"/>
@@ -3731,6 +4336,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -3738,6 +4344,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -3776,6 +4383,7 @@
<xml-element java-attribute="nfType" name="nf-type" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Generic description of the type of NF" />
+ <xml-property name="suggestibleOnSearch" value="true"/>
</xml-properties>
</xml-element>
<xml-element java-attribute="nfFunction" name="nf-function" type="java.lang.String">
@@ -3786,6 +4394,7 @@
<xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="role in the network that this model will be providing" />
+ <xml-property name="suggestibleOnSearch" value="true"/>
</xml-properties>
</xml-element>
<xml-element java-attribute="nfNamingCode" name="nf-naming-code" type="java.lang.String">
@@ -3797,7 +4406,27 @@
<xml-properties>
<xml-property name="description" value="Path to the controller object." />
</xml-properties>
- </xml-element>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Gateway address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length for oam-address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Temporary location for S-TAG to get to VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nmProfileName" name="nm-profile-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network Management profile of this VNF" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
<xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v11.LInterfaces" />
<xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v11.LagInterfaces" />
@@ -3814,6 +4443,8 @@
<xml-property name="container" value="generic-vnfs" />
<xml-property name="namespace" value="network" />
<xml-property name="extends" value="vnf" />
+ <xml-property name="containsSuggestibleProps" value="true"/>
+ <xml-property name="suggestionAliases" value="VNFs"/>
</xml-properties>
</java-type>
@@ -3865,6 +4496,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -3872,6 +4504,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -3995,7 +4628,7 @@
<xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Indicator for whether the resource is considered operational" />
</xml-properties>
@@ -4245,7 +4878,27 @@
<xml-properties>
<xml-property name="description" value="Name of the service Provider on this link." />
</xml-properties>
- </xml-element>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderBandwidthUpValue" name="service-provider-bandwidth-up-value" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Upstream Bandwidth value agreed with the service provider" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderBandwidthUpUnits" name="service-provider-bandwidth-up-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Units for the upstream BW value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderBandwidthDownValue" name="service-provider-bandwidth-down-value" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Downstream Bandwidth value agreed with the service provider" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderBandwidthDownUnits" name="service-provider-bandwidth-down-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Units for downstream BW value" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -4355,7 +5008,7 @@
</xml-element>
<xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,? aes-192-cbc, aes-265-cbc" />
+ <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
</xml-properties>
</xml-element>
<xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
@@ -4385,7 +5038,7 @@
</xml-element>
<xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,? aes-192-cbc, aes-265-cbc" />
+ <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
</xml-properties>
</xml-element>
<xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
@@ -4497,11 +5150,10 @@
<xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
<xml-element java-attribute="direction" name="direction" type="java.lang.String" />
<xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="svcInfra" name="svcInfra" type="java.lang.String" />
- <xml-element java-attribute="svcInfraRev" name="svcInfraRev" type="java.lang.String" />
+ <xml-element java-attribute="containsOtherV" name="contains-other-v" type="java.lang.String" />
+ <xml-element java-attribute="deleteOtherV" name="delete-other-v" type="java.lang.String" />
+ <xml-element java-attribute="svcinfra" name="SVC-INFRA" type="java.lang.String" />
+ <xml-element java-attribute="preventDelete" name="prevent-delete" type="java.lang.String" />
</java-attributes>
</java-type>
@@ -5041,7 +5693,7 @@
</xml-properties>
<xml-root-element name="extra-properties" />
<java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v11.ExtraProperty" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v11.ExtraProperty" />
</java-attributes>
</java-type>
@@ -5049,7 +5701,7 @@
<xml-root-element name="extra-property" />
<java-attributes>
<xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
</java-attributes>
</java-type>
@@ -5107,6 +5759,23 @@
<java-type name="InstanceGroup">
<xml-root-element name="instance-group" />
<java-attributes>
+ <xml-element java-attribute="instanceGroupRole" name="instance-group-role" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="role of the instance group." />
+ </xml-properties>
+ </xml-element>
+
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ASDC model id for this resource or service model." />
+ </xml-properties>
+ </xml-element>
+
+ <xml-element java-attribute="modelVersionId" name="model-version-id" required="false" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ASDC model version uid for this resource model." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
<xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
@@ -5139,6 +5808,7 @@
<xml-property name="description" value="General mechanism for grouping instances" />
<xml-property name="nameProps" value="description" />
<xml-property name="uniqueProps" value="id" />
+ <xml-property name="searchable" value="id,description"/>
<xml-property name="indexedProps" value="id,description,type,sub-type" />
<xml-property name="container" value="instance-groups" />
<xml-property name="namespace" value="network" />
@@ -5211,6 +5881,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model id for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-version-id" />
<xml-property name="dbAlias" value="model-invariant-id-local" />
</xml-properties>
</xml-element>
@@ -5218,6 +5889,7 @@
<xml-properties>
<xml-property name="description" value="the ASDC model version for this resource or service model." />
<xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="model-invariant-id" />
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
@@ -5473,368 +6145,218 @@
<xml-property name="namespace" value="network" />
</xml-properties>
</java-type>
- <java-type name="TestObjects">
+ <java-type name="RouteTargets">
<xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
+ <xml-property name="description" value="Collection of route target information" />
</xml-properties>
- <xml-root-element name="test-objects" />
+ <xml-root-element name="route-targets" />
<java-attributes>
- <xml-element container-type="java.util.ArrayList"
- java-attribute="testObject" name="test-object"
- type="inventory.aai.onap.org.v11.TestObject" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="routeTarget" name="route-target" type="inventory.aai.onap.org.v11.RouteTarget" />
</java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
</java-type>
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
+ <java-type name="RouteTarget">
+ <xml-root-element name="route-target" />
<java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id"
- required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description"
- value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units"
- type="java.lang.String">
+ <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" xml-key="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
+ <xml-property name="description" value="Number used to identify an RT, globally unique in the network" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="vdisk" name="vdisk"
- type="java.lang.Long">
+ <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" xml-key="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
+ <xml-property name="description" value="Role assigned to this route target" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units"
- type="java.lang.String">
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Route target information" />
+ <xml-property name="container" value="route-targets" />
+ <xml-property name="dependentOn" value="vpn-binding" />
+ <xml-property name="canBeLinked" value="true" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SriovPfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of SR-IOV Physical Functions." />
+ </xml-properties>
+ <xml-root-element name="sriov-pfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sriovPf" name="sriov-pf" type="inventory.aai.onap.org.v11.SriovPf" />
+ </java-attributes>
+ </java-type>
+ <java-type name="SriovPf">
+ <xml-root-element name="sriov-pf" />
+ <java-attributes>
+ <xml-element java-attribute="pfPciId" name="pf-pci-id" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ <xml-property name="description" value="Identifier for the sriov-pf" />
</xml-properties>
</xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled"
- type="java.lang.Boolean">
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether closed loop function is enabled on this node" />
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version"
- type="java.lang.String">
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="SR-IOV Physical Function" />
+ <xml-property name="indexedProps" value="pf-pci-id" />
+ <xml-property name="dependentOn" value="p-interface" />
+ <xml-property name="container" value="sriov-pfs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="HostRoutes">
+ <xml-root-element name="host-routes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="hostRoute" name="host-route" type="inventory.aai.onap.org.v11.HostRoute" />
+ </java-attributes>
+ </java-type>
+ <java-type name="HostRoute">
+ <xml-root-element name="host-route" />
+ <java-attributes>
+ <xml-element java-attribute="hostRouteId" name="host-route-id" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description"
- value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ <xml-property name="description" value="host-route id" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status"
- type="java.lang.String">
+ <xml-element java-attribute="routePrefix" name="route-prefix" required="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
+ <xml-property name="description" value="subnet prefix" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag"
- type="java.lang.Boolean">
+ <xml-element java-attribute="nextHop" name="next-hop" required="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="indicates whether generic-vnf access uses SSH" />
+ <xml-property name="description" value="Could be ip-address, hostname, or service-instance" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid"
- name="entitlement-assignment-group-uuid" type="java.lang.String">
+ <xml-element java-attribute="nextHopType" name="next-hop-type" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
+ <xml-property name="description" value="Should be ip-address, hostname, or service-instance to match next-hop" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="entitlementResourceUuid"
- name="entitlement-resource-uuid" type="java.lang.String">
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid"
- name="license-assignment-group-uuid" type="java.lang.String">
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="host-route-id" />
+ <xml-property name="dependentOn" value="subnet" />
+ <xml-property name="container" value="host-routes" />
+ </xml-properties>
+ </java-type>
+ <java-type name="VipIpv4AddressList">
+ <xml-root-element name="vip-ipv4-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="vipIpv4Address" name="vip-ipv4-address" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description"
- value="UUID of the license assignment group. OBSOLETE - See child relationships." />
+ <xml-property name="description" value="IP address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid"
- type="java.lang.String">
+ <xml-element java-attribute="vipIpv4PrefixLength" name="vip-ipv4-prefix-length" type="java.lang.Long">
<xml-properties>
- <xml-property name="description"
- value="UUID of the actual license resource. OBSOLETE - See child relationships." />
+ <xml-property name="description" value="Prefix length, 32 for single address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id"
- type="java.lang.String">
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
<xml-properties>
- <xml-property name="description"
- value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="requires" value="model-version-id" />
+ <xml-property name="description" value="Inner VLAN tag" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id"
- type="java.lang.String">
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
<xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="requires" value="model-invariant-id" />
+ <xml-property name="description" value="Outer VLAN tag" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="personaModelVer" name="persona-model-ver"
- type="java.lang.String">
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
<xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy"
- value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
+ <xml-property name="description" value="Indicator of fixed or floating address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="notVisibleTestElement"
- name="not-visible-test-element" type="java.lang.String">
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
- <xml-property name="visibility" value="internal" />
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id"
- type="java.lang.String">
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id"
- type="java.lang.String">
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version"
- type="java.lang.String">
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv4 Address Range" />
+ <xml-property name="indexedProps" value="vip-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VipIpv6AddressList">
+ <xml-root-element name="vip-ipv6-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="vipIpv6Address" name="vip-ipv6-address" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ <xml-property name="description" value="IP address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="asNumber" name="as-number"
- type="java.lang.String">
+ <xml-element java-attribute="vipIpv6PrefixLength" name="vip-ipv6-prefix-length" type="java.lang.Long">
<xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
+ <xml-property name="description" value="Prefix length, 128 for single address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="regionalResourceSubzone"
- name="regional-resource-subzone" type="java.lang.String">
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
<xml-properties>
- <xml-property name="description"
- value="represents sub zone of the rr plane" />
+ <xml-property name="description" value="Inner VLAN tag" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="nfType" name="nf-type"
- type="java.lang.String">
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
<xml-properties>
- <xml-property name="description"
- value="Generic description of the type of NF" />
+ <xml-property name="description" value="Outer VLAN tag" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function"
- type="java.lang.String">
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
<xml-properties>
- <xml-property name="description"
- value="English description of Network function that the specific VNF deployment is providing" />
+ <xml-property name="description" value="Indicator of fixed or floating address" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="nfRole" name="nf-role"
- type="java.lang.String">
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="role in the network that this model will be providing" />
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code"
- type="java.lang.String">
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
<xml-properties>
- <xml-property name="description"
- value="string assigned to this model used for naming purposes" />
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="selflink" name="selflink"
- type="java.lang.String">
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="Path to the controller object." />
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v11.TestObjects" />
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" />
-
</java-attributes>
<xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps"
- value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
+ <xml-property name="description" value="IPv6 Address Range" />
+ <xml-property name="indexedProps" value="vip-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
</xml-properties>
</java-type>
</java-types>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml
index 30fe6b6f..2364cf82 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml
@@ -225,7 +225,7 @@
<xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
</java-attributes>
</java-type>
-
+
<java-type name="ExternalSystem">
<xml-properties>
<xml-property name="description" value="Namespace for external system." />
@@ -501,6 +501,7 @@
<xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v12.NetworkProfiles" />
<xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v12.Pservers" />
<xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v12.VirtualDataCenters" />
+ <xml-element java-attribute="operationalEnvironments" name="operational-environments" type="inventory.aai.onap.org.v12.OperationalEnvironments" />
</java-attributes>
</java-type>
@@ -519,7 +520,7 @@
<java-attributes>
<xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name, e.g., att-aic. First part of composite key should be formatted as vendor-cloudname" />
+ <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
</xml-properties>
</xml-element>
<xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
@@ -582,7 +583,7 @@
<xml-element container-type="java.util.ArrayList" java-attribute="vipIpv6AddressList" name="vip-ipv6-address-list" type="inventory.aai.onap.org.v12.VipIpv6AddressList" />
</java-attributes>
<xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. In AT&amp;Ts AIC cloud, this could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname and we will use att-aic for AT&amp;T's AIC." />
+ <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. This could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname" />
<xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
<xml-property name="nameProps" value="owner-defined-type" />
<xml-property name="container" value="cloud-regions" />
@@ -670,7 +671,7 @@
</xml-element>
<xml-element java-attribute="relationshipLabel" name="relationship-label" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="The edge lable for this relationship." />
+ <xml-property name="description" value="The edge label for this relationship." />
</xml-properties>
</xml-element>
<xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
@@ -1950,6 +1951,11 @@
<xml-property name="description" value="Name that identifies the physical interface" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Captures the numeric part of the speed" />
@@ -2633,22 +2639,22 @@
<xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
</xml-properties>
@@ -2871,395 +2877,31 @@
<xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v12.RouteTableReferences" />
<xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v12.InstanceGroups" />
<xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v12.Zones" />
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v12.TestObjects" />
<xml-element java-attribute="configurations" name="configurations" type="inventory.aai.onap.org.v12.Configurations" />
+ <xml-element java-attribute="forwardingPaths" name="forwarding-paths" type="inventory.aai.onap.org.v12.ForwardingPaths" />
</java-attributes>
</java-type>
- <java-type name="TestObjects">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="test-objects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList"
- java-attribute="testObject" name="test-object"
- type="inventory.aai.onap.org.v12.TestObject" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id"
- required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description"
- value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description"
- value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid"
- name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid"
- name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid"
- name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="requires" value="model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="requires" value="model-invariant-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVer" name="persona-model-ver"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy"
- value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="notVisibleTestElement"
- name="not-visible-test-element" type="java.lang.String">
- <xml-properties>
- <xml-property name="visibility" value="internal" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone"
- name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfType" name="nf-type"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Generic description of the type of NF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="English description of Network function that the specific VNF deployment is providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="role in the network that this model will be providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="string assigned to this model used for naming purposes" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v12.TestObjects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" />
-
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps"
- value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
<java-type name="Configurations">
<xml-properties>
<xml-property name="description" value="Collection of configurations" />
</xml-properties>
<xml-root-element name="configurations" />
<java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="configuration" name="configurations" type="inventory.aai.onap.org.v12.Configuration" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="configuration" name="configuration" type="inventory.aai.onap.org.v12.Configuration" />
</java-attributes>
</java-type>
<java-type name="Configuration">
<xml-root-element name="configuration" />
<java-attributes>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-element java-attribute="configurationId" name="configuration-id" required="true" type="java.lang.String" xml-key="true">
<xml-properties>
- <xml-property name="description" value="Indicates the entity that will manage this feature. Could be an organization or the name of the application as well." />
+ <xml-property name="description" value="UUID assigned to configuration." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="configurationId" name="configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="UUID assigned to configuration." />
+ <xml-property name="description" value="Indicates the entity that will manage this feature. Could be an organization or the name of the application as well." />
</xml-properties>
</xml-element>
<xml-element java-attribute="configurationName" name="configuration-name" type="java.lang.String">
@@ -3271,7 +2913,7 @@
<xml-properties>
<xml-property name="description" value="port-mirroring-configuration." />
</xml-properties>
- </xml-element>
+ </xml-element>
<xml-element java-attribute="configurationSubType" name="configuration-sub-type" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="vprobe, pprobe." />
@@ -3293,26 +2935,36 @@
<xml-property name="dbAlias" value="model-version-id-local" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Orchestration status of the configuration." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" required="true" type="java.lang.String">
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Indicator for whether the resource is considered operational." />
</xml-properties>
- </xml-element>
- <xml-element java-attribute="configurationSelflink" name="configuration-selflink" required="true" type="java.lang.String">
+ </xml-element>
+ <xml-element java-attribute="configurationSelflink" name="configuration-selflink" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="URL to endpoint where AAI can get more details from SDN-GC." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" required="true" type="java.lang.String">
+ <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="id of the configuration used to customize the resource" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="tunnelBandwidth" name="tunnel-bandwidth" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="DHV Site Effective Bandwidth" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vendorAllowedMaxBandwidth" name="vendor-allowed-max-bandwidth" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Velocloud Nominal Throughput - VNT" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -3320,14 +2972,15 @@
</xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" />
<xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v12.Metadata" />
+ <xml-element java-attribute="forwarderEvcs" name="forwarder-evcs" type="inventory.aai.onap.org.v12.ForwarderEvcs" />
+ <xml-element java-attribute="evcs" name="evcs" type="inventory.aai.onap.org.v12.Evcs" />
</java-attributes>
<xml-properties>
- <xml-property name="description" value="Port Mirror Configuration." />
- <xml-property name="indexedProps" value="configuration-id,model-invariant-id,model-version-id" />
+ <xml-property name="description" value="Generic configuration object." />
+ <xml-property name="indexedProps" value="configuration-id,model-invariant-id,model-version-id" />
<xml-property name="uniqueProps" value="configuration-id" />
<xml-property name="container" value="configurations" />
<xml-property name="namespace" value="network" />
- <xml-property name="nameProps" value="configuration-type" />
</xml-properties>
</java-type>
@@ -3372,7 +3025,7 @@
</xml-element>
<xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
+ <xml-property name="description" value="v4, v6, or ds for dual stack" />
</xml-properties>
</xml-element>
<xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
@@ -5064,6 +4717,11 @@
<xml-property name="description" value="name of Physical Network Function." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details." />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="source of name2" />
@@ -5494,8 +5152,10 @@
<!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
<xml-properties>
<xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
+ <xml-property name="edgeInfo" value="aaiUuid,edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
+ <xml-property name="uniqueProps" value="aai-uuid" />
+ <xml-property name="indexedProps" value="aai-uuid" />
+ </xml-properties>
<xml-root-element name="edge-prop-names" />
<java-attributes>
<xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
@@ -5505,6 +5165,7 @@
<xml-element java-attribute="deleteOtherV" name="delete-other-v" type="java.lang.String" />
<xml-element java-attribute="svcinfra" name="SVC-INFRA" type="java.lang.String" />
<xml-element java-attribute="preventDelete" name="prevent-delete" type="java.lang.String" />
+ <xml-element java-attribute="aaiUuid" name="aai-uuid" type="java.lang.String" />
</java-attributes>
</java-type>
@@ -5562,7 +5223,7 @@
<xml-properties>
<xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
<xml-property name="nameProps" value="model-name" />
- <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
+ <xml-property name="indexedProps" value="model-version-id,model-name,model-version,distribution-status" />
<xml-property name="uniqueProps" value="model-version-id" />
<xml-property name="container" value="model-vers" />
</xml-properties>
@@ -5582,6 +5243,11 @@
<xml-property name="description" value="Version" />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="distributionStatus" name="distribution-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Distribution Status" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Description" />
@@ -6309,22 +5975,22 @@
<xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
</xml-properties>
</xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
</xml-properties>
@@ -6711,5 +6377,292 @@
<xml-property name="dependentOn" value="cloud-region" />
</xml-properties>
</java-type>
+
+ <java-type name="OperationalEnvironments">
+ <xml-properties>
+ <xml-property name="description" value="a logical partition of the cloud which allows to have multiple environments in the production AIC." />
+ </xml-properties>
+ <xml-root-element name="operational-environments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="operationalEnvironment" name="operational-environment" type="inventory.aai.onap.org.v12.OperationalEnvironment" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="OperationalEnvironment">
+ <xml-root-element name="operational-environment" />
+ <java-attributes>
+ <xml-element java-attribute="operationalEnvironmentId" name="operational-environment-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of an operational environment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalEnvironmentName" name="operational-environment-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operational Environment name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalEnvironmentType" name="operational-environment-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operational Environment Type." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalEnvironmentStatus" name="operational-environment-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tenantContext" name="tenant-context" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Tenant Context." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="workloadContext" name="workload-context" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Workload Context." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="It is a logical partition of the cloud which allows to have multiple environments in the production AIC." />
+ <xml-property name="indexedProps" value="operational-environment-id" />
+ <xml-property name="nameProps" value="operational-environment-name" />
+ <xml-property name="uniqueProps" value="operational-environment-id" />
+ <xml-property name="container" value="operational-environments" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ForwardingPaths">
+ <xml-root-element name="forwarding-paths" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="forwardingPath" name="forwarding-path" type="inventory.aai.onap.org.v12.ForwardingPath" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ForwardingPath">
+ <xml-root-element name="forwarding-path"/>
+ <xml-properties>
+ <xml-property name="namespace" value="network"/>
+ <xml-property name="indexedProps" value="forwarding-path-id,forwarding-path-name"/>
+ <xml-property name="description" value="Entity that describes the sequenced forwarding path between interfaces of services or resources"/>
+ <xml-property name="container" value="forwarding-paths" />
+ <xml-property name="nameProps" value="forwarding-path-name" />
+ <xml-property name="uniqueProps" value="forwarding-path-id" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="forwardingPathId" name="forwarding-path-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of this FP"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="forwardingPathName" name="forwarding-path-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the FP"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList"/>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the self link for this FP"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="forwarders" name="forwarders" type="inventory.aai.onap.org.v12.Forwarders" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Forwarders">
+ <xml-root-element name="forwarders" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="forwarder" name="forwarder" type="inventory.aai.onap.org.v12.Forwarder" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Forwarder">
+ <xml-root-element name="forwarder"/>
+ <xml-properties>
+ <xml-property name="indexedProps" value="sequence"/>
+ <xml-property name="description" value="Entity describing a sequenced segment of forwarding path"/>
+ <xml-property name="container" value="forwarders" />
+ <xml-property name="dependentOn" value="forwarding-path" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="sequence" name="sequence" required="true" type="java.lang.Integer" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of this segmentation"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="forwarderRole" name="forwarder-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ingress, intermediate, egress"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList"/>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ForwarderEvcs">
+ <xml-root-element name="forwarder-evcs"/>
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="forwarderEvc" name="forwarder-evc" type="inventory.aai.onap.org.v12.ForwarderEvc"/>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ForwarderEvc">
+ <xml-root-element name="forwarder-evc"/>
+ <java-attributes>
+ <xml-element java-attribute="forwarderEvcId" name="forwarder-evc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Key for forwarder-evc object"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit ID from customer/ESP/ingress end of EVC, or reference to beater circuit on gateway/network/egress end of EVC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ivlan" name="ivlan" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Internal VLAN." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="svlan" name="svlan" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="SVLAN value for ingress of egress forwarder." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlan" name="cvlan" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CVLAN value for ingress of egress forwarder." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList"/>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="forwarder object is an optional child object of the Configuration object." />
+ <xml-property name="dependentOn" value="configuration" />
+ <xml-property name="uniqueProps" value="forwarder-evc-id" />
+ <xml-property name="container" value="forwarder-evcs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Evcs">
+ <xml-root-element name="evcs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="evc" name="evc" type="inventory.aai.onap.org.v12.Evc" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Evc">
+ <xml-root-element name="evc" />
+ <java-attributes>
+ <xml-element java-attribute="evcId" name="evc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique/key field for the evc object" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="forwardingPathTopology" name="forwarding-path-topology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Point-to-Point, Multi-Point" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cirValue" name="cir-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Commited Information Rate" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cirUnits" name="cir-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CIR units" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="connectionDiversityGroupId" name="connection-diversity-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Diversity Group ID" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceHours" name="service-hours" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="formerly Performance Group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="espEvcCircuitId" name="esp-evc-circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="EVC Circuit ID of ESP EVC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="espEvcCirValue" name="esp-evc-cir-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Committed Information Rate (For ESP)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="espEvcCirUnits" name="esp-evc-cir-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CIR units (For ESP)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="espItuCode" name="esp-itu-code" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Identifies ESP" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="collectorPopClli" name="collector-pop-clli" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Collector POP CLLI (from the hostname of the access pnf)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interConnectTypeIngress" name="inter-connect-type-ingress" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Interconnect type on ingress side of EVC." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tagmodeAccessIngress" name="tagmode-access-ingress" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="tagode for collector side of EVC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tagmodeAccessEgress" name="tagmode-access-egress" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="tagMode for network side of EVC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList"/>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="evc object is an optional child object of the Configuration object." />
+ <xml-property name="dependentOn" value="configuration" />
+ <xml-property name="uniqueProps" value="evc-id" />
+ <xml-property name="container" value="evcs" />
+ </xml-properties>
+ </java-type>
+
</java-types>
</xml-bindings>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v2.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v2.xml
deleted file mode 100644
index eba7c4b9..00000000
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v2.xml
+++ /dev/null
@@ -1,1729 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- ============LICENSE_START=======================================================
- org.onap.aai
- ================================================================================
- Copyright © 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=========================================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.
-
--->
-<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.Search" />
- <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.Actions" />
- <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.CloudInfrastructure" />
- <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.Business" />
- <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.ServiceDesignAndCreation" />
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.Network" />
- <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.AaiInternal" />
- </java-attributes>
- </java-type>
-
- <java-type name="Search">
- <xml-root-element name="search" />
- <java-attributes>
- <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.SearchResults" />
- <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.SdnZoneResponse" />
- </java-attributes>
- </java-type>
-
- <java-type name="SearchResults">
- <xml-root-element name="search-results" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.ResultData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResultData">
- <xml-root-element name="result-data" />
- <java-attributes>
- <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The URL to the specific resource" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
- <java-type name="SdnZoneResponse">
- <xml-root-element name="sdn-zone-response" />
- <java-attributes>
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.OamNetworks" />
- <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.AzAndDvsSwitches" />
- </java-attributes>
- </java-type>
-
- <java-type name="AzAndDvsSwitches">
- <xml-root-element name="az-and-dvs-switches" />
- <java-attributes>
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.DvsSwitches" />
- <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Actions">
- <xml-properties>
- <xml-property name="description" value="Ignore the RESTCONF paths for this. It will be aai/{version}/actions/update only." />
- </xml-properties>
- <xml-root-element name="actions" />
- <java-attributes>
- <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.Update" />
- </java-attributes>
- </java-type>
-
- <java-type name="Update">
- <xml-root-element name="update" />
- <java-attributes>
- <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.Action" />
- <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.UpdateNodeKey" />
- </java-attributes>
- </java-type>
-
- <java-type name="Action">
- <xml-root-element name="action" />
- <java-attributes>
- <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.ActionData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ActionData">
- <xml-root-element name="action-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="UpdateNodeKey">
- <xml-root-element name="update-node-key" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudInfrastructure">
- <xml-root-element name="cloud-infrastructure" />
- <java-attributes>
- <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.Complexes" />
- <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.Tenants" />
- <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.Flavors" />
- <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.Images" />
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.DvsSwitches" />
- <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.Pservers" />
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.OamNetworks" />
- <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.AvailabilityZones" />
- <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.VirtualDataCenters" />
- </java-attributes>
- </java-type>
-
- <java-type name="Complexes">
- <xml-properties>
- <xml-property name="description" value="Complex housing an LCP instance. In 1504, this data comes from RCT in a file processed on a schedule defined in crontab. A&amp;AI has code to parse the file and take action on the graph using our REST APIs." />
- </xml-properties>
- <xml-root-element name="complexes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.Complex" />
- </java-attributes>
- </java-type>
-
- <java-type name="Complex">
- <xml-root-element name="complex" />
- <java-attributes>
- <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Gamma complex name for LCP instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type, e.g., central office, data center." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
- <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
- <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
- <xml-element java-attribute="state" name="state" required="true" type="java.lang.String" />
- <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
- <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
- <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
- <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
- <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
- <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
- <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
- <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.CtagPools" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="data-center-code,complex-name,physical-location-id" />
- <xml-property name="uniqueProps" value="physical-location-id" />
- <xml-property name="container" value="complexes" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.RelationshipData" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="CtagPools">
- <xml-root-element name="ctag-pools" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.CtagPool" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagPool">
- <xml-root-element name="ctag-pool" />
- <java-attributes>
- <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="The Target provider edge router" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Comma separated list of ctags" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="complex" />
- <xml-property name="container" value="ctag-pools" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenants">
- <xml-properties>
- <xml-property name="description" value="OpenStack tenant. In 1504, RO will PUT the tenant to A&amp;AI. Relationship list is used to link to service-subscription." />
- </xml-properties>
- <xml-root-element name="tenants" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.Tenant" />
- </java-attributes>
- </java-type>
-
- <java-type name="Tenant">
- <xml-root-element name="tenant" />
- <java-attributes>
- <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id relative to the platform, assuming unique across AT&amp;T for now" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Readable name of tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.Vservers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Relationship-list must include related to of service-subscription and keys for global-customer-id and service-type." />
- <xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-id" />
- <xml-property name="uniqueProps" value="tenant-id" />
- <xml-property name="container" value="tenants" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vservers">
- <xml-properties>
- <xml-property name="description" value="Virtual Server, with its ipaddresses and block storage volumes. In 1504, this REST interface is unused. Instead, the hand coded vserver REST API from Trinity was modified to take the relationship list structure. In 1507, we hope to negotiate with RO to change to use our Yang-driven vserver, image, flavor, etc. Relationship list is used to link to VNF (vce and generic-vnf, etc.)." />
- </xml-properties>
- <xml-root-element name="vservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.Vserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vserver">
- <xml-root-element name="vserver" />
- <java-attributes>
- <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternative name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- <xml-property name="readOnly" value="legacy-v2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL that points to source of truth for this resource" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.Volumes" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="vserver-name" />
- <xml-property name="indexedProps" value="vserver-name,vserver-id,vserver-name2" />
- <xml-property name="uniqueProps" value="vserver-id" />
- <xml-property name="dependentOn" value="tenant" />
- <xml-property name="container" value="vservers" />
- </xml-properties>
- </java-type>
-
- <java-type name="LInterfaces">
- <xml-root-element name="l-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.LInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LInterface">
- <xml-root-element name="l-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String" />
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.Vlans" />
- <xml-element java-attribute="networkName" name="network-name" type="java.lang.String" />
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
-
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver" />
- <xml-property name="container" value="l-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vlans">
- <xml-root-element name="vlans" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.Vlan" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vlan">
- <xml-root-element name="vlan" />
- <java-attributes>
- <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long" />
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vlan-interface" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="vlans" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv4AddressList">
- <xml-root-element name="l3-interface-ipv4-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long" />
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="l3-interface-ipv4-address" />
- <xml-property name="dependentOn" value="vlan" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv6AddressList">
- <xml-root-element name="l3-interface-ipv6-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long" />
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="l3-interface-ipv6-address" />
- <xml-property name="dependentOn" value="vlan" />
- </xml-properties>
- </java-type>
-
- <java-type name="Volumes">
- <xml-properties>
- <xml-property name="description" value="Block storage volume. In 1504, RO is expected to send this to A&amp;AI." />
- </xml-properties>
- <xml-root-element name="volumes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.Volume" />
- </java-attributes>
- </java-type>
-
- <java-type name="Volume">
- <xml-root-element name="volume" />
- <java-attributes>
- <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to block storage volume in source of truth" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="volume-id" />
- <xml-property name="dependentOn" value="vserver" />
- <xml-property name="container" value="volumes" />
- </xml-properties>
- </java-type>
-
- <java-type name="Flavors">
- <xml-properties>
- <xml-property name="description" value="Openstack flavor. In 1504, this REST interface is unused. The data is populated by RO through the hand-coded vserver interface rather than through its own REST API. Expect this to change when we can negotiate with RO to PUT this data or we change our code to trigger a dispatcher job to go get flavor if it is missing when RO PUTs a vserver." />
- </xml-properties>
- <xml-root-element name="flavors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.Flavor" />
- </java-attributes>
- </java-type>
-
- <java-type name="Flavor">
- <xml-root-element name="flavor" />
- <java-attributes>
- <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Flavor id, expected to be unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Flavor name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of CPUs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of memory" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of ephemeral disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="amount of swap space allocation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link provided by source of truth to get more details." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="flavor-name" />
- <xml-property name="indexedProps" value="flavor-name,flavor-id" />
- <xml-property name="uniqueProps" value="flavor-id" />
- <xml-property name="container" value="flavors" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Images">
- <xml-properties>
- <xml-property name="description" value="Openstack image. In 1504, this REST interface is unused. The image data is populated by RO through the hand-coded vserver interface rather than through its own REST API. Expect this to change when we can negotiate with RO to PUT this data or we change our code to trigger a dispatcher job to go get image if it is missing when RO PUTs a vserver." />
- </xml-properties>
- <xml-root-element name="images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.Image" />
- </java-attributes>
- </java-type>
-
- <java-type name="Image">
- <xml-root-element name="image" />
- <java-attributes>
- <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Image id, expected to be unique across A&amp;AI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Image name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link provided by source of truth to get more details." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata must include application, application-vendor, and application-version" />
- <xml-property name="nameProps" value="image-name" />
- <xml-property name="indexedProps" value="image-name,image-id" />
- <xml-property name="uniqueProps" value="image-id" />
- <xml-property name="container" value="images" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="DvsSwitches">
- <xml-properties>
- <xml-property name="description" value="Digital Virtual Switch/Virtual Digital Switch container for switch name and vcenter URL, used by SDN-C to configure VCEs. In 1504, A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. Relationship list is used to link to availability-zone." />
- </xml-properties>
- <xml-root-element name="dvs-switches" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.DvsSwitch" />
- </java-attributes>
- </java-type>
-
- <java-type name="DvsSwitch">
- <xml-root-element name="dvs-switch" />
- <java-attributes>
- <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="DVS switch name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL used to reach the vcenter" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vcenter-url,switch-name" />
- <xml-property name="container" value="dvs-switches" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pservers">
- <xml-properties>
- <xml-property name="description" value="Compute node. In 1504, this data comes from RCT in a file processed on a schedule defined in crontab. A&amp;AI has code to parse the file and take action on the graph using our REST APIs. Relationship-list is used to link to complex." />
- </xml-properties>
- <xml-root-element name="pservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.Pserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Pserver">
- <xml-root-element name="pserver" />
- <java-attributes>
- <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value from executing hostname on the compute node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="PTNII name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of cpus" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk size, in GBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="RAM size, in MBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Fully-qualified domain name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link provided by source of truth to get more details." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Relationship list must contain related-to of complex with key data of physical-location-id" />
- <xml-property name="indexedProps" value="hostname" />
- <xml-property name="container" value="pservers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="PInterfaces">
- <xml-root-element name="p-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.PInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="PInterface">
- <xml-root-element name="p-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="vpls-pe,pserver" />
- <xml-property name="container" value="p-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagInterfaces">
- <xml-root-element name="lag-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.LagInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagInterface">
- <xml-root-element name="lag-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe" />
- <xml-property name="container" value="lag-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="OamNetworks">
- <xml-properties>
- <xml-property name="description" value="Defines the OAM network. In 1504, A&amp;AI expects RO to put all attributes but the ones related to ipv4-oam-gateway-address and prefix. Those need to be hand administered by A&amp;AI through the provisioningTool.sh. Relationship list is used to link to service-capability and complex." />
- </xml-properties>
- <xml-root-element name="oam-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.OamNetwork" />
- </java-attributes>
- </java-type>
-
- <java-type name="OamNetwork">
- <xml-root-element name="oam-network" />
- <java-attributes>
- <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of the network. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="cvlan-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Relationship list must contain related-to of service-capability with key data service-type and vnf-type and related-to of complex with key data of physical-location-id" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="network-uuid" />
- <xml-property name="container" value="oam-networks" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="AvailabilityZones">
- <xml-properties>
- <xml-property name="description" value="Availability zones group physical servers. In 1504, A&amp;AI expects to receive all attributes from RO through REST. Relationship list is used to link to service-capability and complex." />
- </xml-properties>
- <xml-root-element name="availability-zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="AvailabilityZone">
- <xml-root-element name="availability-zone" />
- <java-attributes>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone. Unique across A&amp;AI for all services." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Relationship list must contain related-to of service-capability with key data service-type and vnf-type and related-to of complex with key data of physical-location-id" />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="container" value="availability-zones" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="VirtualDataCenters">
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- </xml-properties>
- <xml-root-element name="virtual-data-centers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.VirtualDataCenter" />
- </java-attributes>
- </java-type>
-
- <java-type name="VirtualDataCenter">
- <xml-root-element name="virtual-data-center" />
- <java-attributes>
- <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the vdc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the virtual data center" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- <xml-property name="nameProps" value="vdc-name" />
- <xml-property name="indexedProps" value="vdc-id" />
- <xml-property name="container" value="virtual-data-centers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Business">
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.Customers" />
- </java-attributes>
- </java-type>
-
- <java-type name="Customers">
- <xml-root-element name="customers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.Customer" />
- </java-attributes>
- </java-type>
-
- <java-type name="Customer">
- <xml-root-element name="customer" />
- <java-attributes>
- <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.ServiceSubscriptions" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="subscriber-name" />
- <xml-property name="indexedProps" value="subscriber-name,global-customer-id" />
- <xml-property name="uniqueProps" value="global-customer-id" />
- <xml-property name="container" value="customers" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceSubscriptions">
- <xml-root-element name="service-subscriptions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.ServiceSubscription" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceSubscription">
- <xml-root-element name="service-subscription" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.ServiceInstances">
- <xml-properties>
- <xml-property name="description" value="Relationship-list used to link to cvlantag and vce." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="dependentOn" value="customer" />
- <xml-property name="container" value="service-subscriptions" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceInstances">
- <xml-root-element name="service-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.ServiceInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceInstance">
- <xml-root-element name="service-instance" />
- <java-attributes>
- <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Corresponds to a customer endpoint for the parent service-subscription." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="service-instance-id" />
- <xml-property name="uniqueProps" value="service-instance-id" />
- <xml-property name="dependentOn" value="service-subscription" />
- <xml-property name="container" value="service-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceDesignAndCreation">
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.ServiceCapabilities" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceCapabilities">
- <xml-root-element name="service-capabilities" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.ServiceCapability" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceCapability">
- <xml-root-element name="service-capability" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the VNF type, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="container" value="service-capabilities" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Network">
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.LogicalLinks" />
- <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.Vces" />
- <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.L3Networks" />
- <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.GenericVnfs" />
- <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.LagLinks" />
- <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.Newvces" />
- <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.VplsPes" />
- <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.PhysicalLinks" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLinks">
- <xml-root-element name="logical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.LogicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLink">
- <xml-root-element name="logical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of logical link, e.g., evc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="For example, static or BGP" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical links can connect l-interfaces" />
- <xml-property name="indexedProps" value="link-name" />
- <xml-property name="container" value="logical-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vces">
- <xml-properties>
- <xml-property name="description" value="The 1504 global definition of a vce as from MSO/SDN-C. In 1504, SDN-C will PUT this data and MSO will update it. In addition, A&amp;AI will populate interface-name, v6-vce-wan-address, and ipv4-oam-address based on a RESTCONF call? In 1507, we hope to move to the newvce object, which may need a few more attributes. We need a discussion with MSO about orchestration vs. inventory. " />
- </xml-properties>
- <xml-root-element name="vces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.Vce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vce">
- <xml-root-element name="vce" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of VNF. Source of truth should define and socialize values. Becomes part of the key to service capability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="License key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceName" name="interface-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="e.g., Vce-0/0.0.57" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.PortGroups" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id,vpe-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="vces" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="PortGroups">
- <xml-root-element name="port-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.PortGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="PortGroup">
- <xml-root-element name="port-group" />
- <java-attributes>
- <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network name of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID for port group in vmware" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Likely to duplicate value of neutron network name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.CvlanTags" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
- <xml-property name="nameProps" value="port-group-name" />
- <xml-property name="indexedProps" value="heat-stack-id,port-group-id,interface-id,switch-name" />
- <xml-property name="dependentOn" value="vce" />
- <xml-property name="container" value="port-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="CvlanTags">
- <xml-root-element name="cvlan-tags" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.CvlanTagEntry" />
- </java-attributes>
- </java-type>
-
- <java-type name="CvlanTagEntry">
- <xml-root-element name="cvlan-tag-entry" />
- <java-attributes>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="port-group" />
- <xml-property name="indexedProps" value="cvlan-tag" />
- <xml-property name="container" value="cvlan-tags" />
- </xml-properties>
- </java-type>
-
-
-
- <java-type name="L3Networks">
- <xml-root-element name="l3-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.L3Network" />
- </java-attributes>
- </java-type>
-
- <java-type name="L3Network">
- <xml-root-element name="l3-network" />
- <java-attributes>
- <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Network ID, governed by some naming convention. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkUuid" name="network-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the network. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network, governed by some naming convention.." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the network - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4GatewayAddress" name="ipv4-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 gateway address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Prefix" name="ipv4-prefix" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 prefix" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv6GatewayAddress" name="ipv6-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 gateway address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv6Prefix" name="ipv6-prefix" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 prefix" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Generic network definition" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="network-uuid,network-id" />
- <xml-property name="uniqueProps" value="network-id" />
- <xml-property name="container" value="l3-networks" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnfs">
- <xml-properties>
- <xml-property name="description" value="VNF with no special attributes" />
- </xml-properties>
- <xml-root-element name="generic-vnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.GenericVnf" />
- </java-attributes>
- </java-type>
-
- <java-type name="GenericVnf">
- <xml-root-element name="generic-vnf" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of VNF. Source of truth should define and socialize values. Becomes part of the key to service capability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="License key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="generic-vnfs" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagLinks">
- <xml-root-element name="lag-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.LagLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagLink">
- <xml-root-element name="lag-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="LAG links can connect lag-interfaces" />
- <xml-property name="indexedProps" value="link-name" />
- <xml-property name="container" value="lag-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Newvces">
- <xml-properties>
- <xml-property name="description" value="This is the skeleton of the new VCE object we hope to migrate to in 1507. In 1504, we will use it to store network data gathered from RESTCONF calls to SDN-C. The vnf-id2 leaf needs to be populated with the value of the vce's vnf-id." />
- </xml-properties>
- <xml-root-element name="newvces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.Newvce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Newvce">
- <xml-root-element name="newvce" />
- <java-attributes>
- <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of VNF. Source of truth should define and socialize values. Becomes part of the key to service capability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="License key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Aspirational VCE object which we'll use to capture additional interface details regarding topology." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id2" />
- <xml-property name="uniqueProps" value="vnf-id2" />
- <xml-property name="container" value="newvces" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="VplsPes">
- <xml-root-element name="vpls-pes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.VplsPe" />
- </java-attributes>
- </java-type>
-
- <java-type name="VplsPe">
- <xml-root-element name="vpls-pe" />
- <java-attributes>
- <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Temporary location for stag to get to VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Relationship-list must include related to info for complex." />
- <xml-property name="indexedProps" value="equipment-name" />
- <xml-property name="container" value="vpls-pes" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLinks">
- <xml-root-element name="physical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.PhysicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="PhysicalLink">
- <xml-root-element name="physical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit it" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Physical links can connect p-interfaces" />
- <xml-property name="indexedProps" value="circuit-id,link-name" />
- <xml-property name="alternateKeys1" value="circuit-id" />
- <xml-property name="container" value="physical-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="NotificationEvent">
- <xml-root-element name="notification-event" />
- <java-attributes>
- <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.NotificationEventHeader" />
- <xml-any-element java-attribute="entity" />
- </java-attributes>
- </java-type>
- <java-type name="NotificationEventHeader">
- <xml-root-element name="notification-event-header" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" type="java.lang.String" />
- <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
- <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
- <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
- <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
- <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
- <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
- <xml-element java-attribute="version" name="version" type="java.lang.String" />
- <xml-element java-attribute="action" name="action" type="java.lang.String" />
- <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
- <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
- <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
- <xml-element java-attribute="status" name="status" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="AaiInternal">
- <xml-root-element name="aai-internal" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.ReservedPropNames" />
- <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.EdgePropNames" />
- </java-attributes>
- </java-type>
- <java-type name="ReservedPropNames">
- <xml-properties>
- <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
- <xml-property name="uniqueProps" value="aai-unique-key" />
- <xml-property name="indexedProps" value="aai-unique-key" />
- </xml-properties>
- <xml-root-element name="reserved-prop-names" />
- <java-attributes>
- <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
- <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
- <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
- <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="EdgePropNames">
- <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
- <xml-properties>
- <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
- <xml-root-element name="edge-prop-names" />
- <java-attributes>
- <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
- <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
- <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="Vnf">
- <xml-root-element name="vnf"/>
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Abstract vnf class" />
- <xml-property name="indexedProps" value="vnf-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="inheritors" value="vce,generic-vnf" />
- <xml-property name="abstract" value="true" />
- </xml-properties>
- </java-type>
- </java-types>
-</xml-bindings>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml
index 7474362f..d666b738 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml
@@ -24,30 +24,332 @@
-->
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v8" xml-mapping-metadata-complete="true">
<xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://com.att.aai.inventory/v8" />
+ <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v8" />
</xml-schema>
<java-types>
- <java-type name="LicenseKeyResources">
- <xml-root-element name="license-key-resources" />
+ <java-type name="Inventory">
+ <xml-root-element name="inventory" />
<java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v8.LicenseKeyResource" />
+ <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v8.Search" />
+ <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v8.Actions" />
+ <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v8.CloudInfrastructure" />
+ <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v8.Business" />
+ <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v8.ServiceDesignAndCreation" />
+ <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v8.Network" />
+ <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v8.AaiInternal" />
</java-attributes>
</java-type>
- <java-type name="LicenseKeyResource">
- <xml-root-element name="license-key-resource" />
+ <java-type name="Search">
+ <xml-root-element name="search" />
<java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
- <xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
- <xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
- <xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
- <xml-element java-attribute="name" name="name" type="java.lang.String" />
- <xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
- <xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
- <xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
+ <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v8.EdgeTagQueryResult" />
+ <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v8.EdgeTagQueryRequest" />
+ <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v8.SearchResults" />
+ <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v8.SdnZoneResponse" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryResult">
+ <xml-root-element name="edge-tag-query-result" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v8.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="TaggedInventoryItemList">
+ <xml-root-element name="tagged-inventory-item-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v8.InventoryItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItem">
+ <xml-root-element name="inventory-item" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
+ <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v8.InventoryItemData" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v8.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItemData">
+ <xml-root-element name="inventory-item-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryRequest">
+ <xml-root-element name="edge-tag-query-request" />
+ <java-attributes>
+ <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
+ <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
+ <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v8.StartNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v8.IncludeNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v8.SecondaryFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="StartNodeFilter">
+ <xml-root-element name="start-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IncludeNodeFilter">
+ <xml-root-element name="include-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilter">
+ <xml-root-element name="secondary-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SearchResults">
+ <xml-root-element name="search-results" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v8.ResultData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResultData">
+ <xml-root-element name="result-data" />
+ <java-attributes>
+ <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The URL to the specific resource" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SdnZoneResponse">
+ <xml-root-element name="sdn-zone-response" />
+ <java-attributes>
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v8.OamNetworks" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v8.AzAndDvsSwitches" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AzAndDvsSwitches">
+ <xml-root-element name="az-and-dvs-switches" />
+ <java-attributes>
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v8.DvsSwitches" />
+ <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v8.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Actions">
+ <xml-properties>
+ <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
+ </xml-properties>
+ <xml-root-element name="actions" />
+ <java-attributes>
+ <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v8.Update" />
+ <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v8.Notify" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Update">
+ <xml-properties>
+ <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
+ </xml-properties>
+ <xml-root-element name="update" />
+ <java-attributes>
+ <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v8.UpdateNodeKey" />
+ <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v8.Action" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Action">
+ <xml-root-element name="action" />
+ <java-attributes>
+ <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v8.ActionData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ActionData">
+ <xml-root-element name="action-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="UpdateNodeKey">
+ <xml-root-element name="update-node-key" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Notify">
+ <xml-root-element name="notify" />
+ <java-attributes>
+ <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
+ <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
+ <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v8.KeyData" />
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="KeyData">
+ <xml-root-element name="key-data" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudInfrastructure">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for cloud infrastructure." />
+ </xml-properties>
+ <xml-root-element name="cloud-infrastructure" />
+ <java-attributes>
+ <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v8.Complexes" />
+ <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v8.CloudRegions" />
+ <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v8.NetworkProfiles" />
+ <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v8.Pservers" />
+ <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v8.VirtualDataCenters" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudRegions">
+ <xml-root-element name="cloud-regions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v8.CloudRegion" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudRegion">
+ <xml-root-element name="cloud-region" />
+ <java-attributes>
+ <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Cloud-owner defined type indicator (e.g., DCP, LCP)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Software version employed at the site" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Zone where the cloud is homed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="complex name for cloud-region instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v8.VolumeGroups" />
+ <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v8.Tenants" />
+ <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v8.Flavors" />
+ <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v8.GroupAssignments" />
+ <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v8.Snapshots" />
+ <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v8.Images" />
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v8.DvsSwitches" />
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v8.OamNetworks" />
+ <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v8.AvailabilityZones" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation." />
+ <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
+ <xml-property name="nameProps" value="owner-defined-type" />
+ <xml-property name="container" value="cloud-regions" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+ <java-type name="VolumeGroups">
+ <xml-properties>
+ <xml-property name="description" value="Collection of persistent block-level storage." />
+ </xml-properties>
+ <xml-root-element name="volume-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v8.VolumeGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VolumeGroup">
+ <xml-root-element name="volume-group" />
+ <java-attributes>
+ <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of volume-group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the volume group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this volume-group" />
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
@@ -56,13 +358,13 @@
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
</java-attributes>
<xml-properties>
- <xml-property name="nameProps" value="name" />
- <xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="license-key-resources" />
- <xml-property name="namespace" value="license-management" />
+ <xml-property name="description" value="Persistent block-level storage." />
+ <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="volume-groups" />
</xml-properties>
</java-type>
+
<java-type name="RelationshipList">
<xml-root-element name="relationship-list" />
<java-attributes>
@@ -119,5 +421,4235 @@
</xml-element>
</java-attributes>
</java-type>
- </java-types>
+
+ <java-type name="Complexes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ </xml-properties>
+ <xml-root-element name="complexes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v8.Complex" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Complex">
+ <xml-root-element name="complex" />
+ <java-attributes>
+ <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Gamma complex name for LCP instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type, e.g., central office, data center." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
+ <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
+ <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
+ <xml-element java-attribute="state" name="state" type="java.lang.String" />
+ <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
+ <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
+ <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
+ <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
+ <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
+ <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
+ <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
+ <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v8.CtagPools" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
+ <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
+ <xml-property name="uniqueProps" value="physical-location-id" />
+ <xml-property name="container" value="complexes" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CtagPools">
+ <xml-root-element name="ctag-pools" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v8.CtagPool" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagPool">
+ <xml-root-element name="ctag-pool" />
+ <java-attributes>
+ <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="The Target provider edge router" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Describes what the intended purpose of this pool is." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Comma separated list of ctags" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="complex" />
+ <xml-property name="container" value="ctag-pools" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Tenants">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack tenants." />
+ </xml-properties>
+ <xml-root-element name="tenants" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v8.Tenant" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Tenant">
+ <xml-root-element name="tenant" />
+ <java-attributes>
+ <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id relative to the cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Readable name of tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v8.Vservers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack tenant" />
+ <xml-property name="nameProps" value="tenant-name" />
+ <xml-property name="indexedProps" value="tenant-name,tenant-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="tenants" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
+ </xml-properties>
+ <xml-root-element name="vservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v8.Vserver" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vserver">
+ <xml-root-element name="vserver" />
+ <java-attributes>
+ <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternative name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v8.Volumes" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
+ <xml-property name="nameProps" value="vserver-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
+ <xml-property name="searchable" value="vserver-name,vserver-id,vserver-name2" />
+ <xml-property name="dependentOn" value="tenant" />
+ <xml-property name="container" value="vservers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical interfaces." />
+ </xml-properties>
+ <xml-root-element name="l-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v8.LInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LInterface">
+ <xml-root-element name="l-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name given to the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="MAC address for the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v8.Vlans" />
+ <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v8.SriovVfs" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
+ <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
+ <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
+ <xml-property name="container" value="l-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SriovVfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
+ </xml-properties>
+ <xml-root-element name="sriov-vfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v8.SriovVf" />
+ </java-attributes>
+ </java-type>
+ <java-type name="SriovVf">
+ <xml-root-element name="sriov-vf" />
+ <java-attributes>
+ <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
+ <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="sriov-vfs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv4AddressList">
+ <xml-root-element name="l3-interface-ipv4-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 32 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv4 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vlans">
+ <xml-root-element name="vlans" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v8.Vlan" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vlan">
+ <xml-root-element name="vlan" />
+ <java-attributes>
+ <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String that identifies the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
+ <xml-property name="dbAlias" value="vpn-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Definition of vlan" />
+ <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="vlans" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv6AddressList">
+ <xml-root-element name="l3-interface-ipv6-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 128 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv6 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Volumes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
+ </xml-properties>
+ <xml-root-element name="volumes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v8.Volume" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Volume">
+ <xml-root-element name="volume" />
+ <java-attributes>
+ <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Ephemeral Block storage volume." />
+ <xml-property name="indexedProps" value="volume-id" />
+ <xml-property name="dependentOn" value="vserver" />
+ <xml-property name="container" value="volumes" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Flavors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack flavors." />
+ </xml-properties>
+ <xml-root-element name="flavors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v8.Flavor" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Flavor">
+ <xml-root-element name="flavor" />
+ <java-attributes>
+ <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Flavor name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of CPUs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of memory" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of ephemeral disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="amount of swap space allocation" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack flavor." />
+ <xml-property name="nameProps" value="flavor-name" />
+ <xml-property name="indexedProps" value="flavor-name,flavor-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="flavors" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Snapshots">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack snapshots" />
+ </xml-properties>
+ <xml-root-element name="snapshots" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v8.Snapshot" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Snapshot">
+ <xml-root-element name="snapshot" />
+ <java-attributes>
+ <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack snapshot" />
+ <xml-property name="nameProps" value="snapshot-name" />
+ <xml-property name="uniqueProps" value="snapshot-id" />
+ <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="snapshots" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GroupAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack group assignments" />
+ </xml-properties>
+ <xml-root-element name="group-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v8.GroupAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="GroupAssignment">
+ <xml-root-element name="group-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group type - the type of group this instance refers to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name - name assigned to the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group description - description of the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
+ <xml-property name="nameProps" value="group-name" />
+ <xml-property name="indexedProps" value="group-id,group-type,group-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="group-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Images">
+ <xml-properties>
+ <xml-property name="description" value="Collectio of Openstack images." />
+ </xml-properties>
+ <xml-root-element name="images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v8.Image" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Image">
+ <xml-root-element name="image" />
+ <java-attributes>
+ <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Image id, expected to be unique across cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Image name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack image." />
+ <xml-property name="nameProps" value="image-name" />
+ <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="images" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Metadata">
+ <xml-properties>
+ <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
+ </xml-properties>
+ <xml-root-element name="metadata" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v8.Metadatum" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Metadatum">
+ <xml-root-element name="metadatum" />
+ <java-attributes>
+ <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Key/value pairs" />
+ <xml-property name="indexedProps" value="metaname" />
+ <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
+ <xml-property name="container" value="metadata" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="DvsSwitches">
+ <xml-properties>
+ <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
+ </xml-properties>
+ <xml-root-element name="dvs-switches" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v8.DvsSwitch" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="DvsSwitch">
+ <xml-root-element name="dvs-switch" />
+ <java-attributes>
+ <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="DVS switch name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL used to reach the vcenter" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
+ <xml-property name="indexedProps" value="vcenter-url,switch-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="dvs-switches" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="NetworkProfiles">
+ <xml-properties>
+ <xml-property name="description" value="Collection of network profiles" />
+ </xml-properties>
+ <xml-root-element name="network-profiles" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v8.NetworkProfile" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NetworkProfile">
+ <xml-root-element name="network-profile" />
+ <java-attributes>
+ <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique name of network profile." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted SNMP community string" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
+ <xml-property name="indexedProps" value="nm-profile-name" />
+ <xml-property name="container" value="network-profiles" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of compute hosts." />
+ </xml-properties>
+ <xml-root-element name="pservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v8.Pserver" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Pserver">
+ <xml-root-element name="pserver" />
+ <java-attributes>
+ <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value from executing hostname on the compute node." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="PTNII name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of cpus" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk size, in GBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="RAM size, in MBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Fully-qualified domain name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Serial number, may be queried" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="internet topology of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="alternative pserver name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="purpose of pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v8.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
+ <xml-property name="nameProps" value="pserver-name2" />
+ <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2" />
+ <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
+ <xml-property name="container" value="pservers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical interfaces." />
+ </xml-properties>
+ <xml-root-element name="p-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v8.PInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PInterface">
+ <xml-root-element name="p-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the physical interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Nature of the services and connectivity on this port." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the physical properties of the interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Physical interface (e.g., nic)" />
+ <xml-property name="indexedProps" value="interface-name" />
+ <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
+ <xml-property name="container" value="p-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LagInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregate interfaces." />
+ </xml-properties>
+ <xml-root-element name="lag-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v8.LagInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagInterface">
+ <xml-root-element name="lag-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the link aggregate interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Link aggregate interface" />
+ <xml-property name="indexedProps" value="interface-name" />
+ <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
+ <xml-property name="container" value="lag-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="OamNetworks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
+ </xml-properties>
+ <xml-root-element name="oam-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v8.OamNetwork" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OamNetwork">
+ <xml-root-element name="oam-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="cvlan-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="oam-networks" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="AvailabilityZones">
+ <xml-properties>
+ <xml-property name="description" value="Collection of availability zones" />
+ </xml-properties>
+ <xml-root-element name="availability-zones" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v8.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AvailabilityZone">
+ <xml-root-element name="availability-zone" />
+ <java-attributes>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="availability-zones" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VirtualDataCenters">
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ </xml-properties>
+ <xml-root-element name="virtual-data-centers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v8.VirtualDataCenter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VirtualDataCenter">
+ <xml-root-element name="virtual-data-center" />
+ <java-attributes>
+ <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the vdc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the virtual data center" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ <xml-property name="nameProps" value="vdc-name" />
+ <xml-property name="indexedProps" value="vdc-name,vdc-id" />
+ <xml-property name="container" value="virtual-data-centers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+
+
+
+ <java-type name="Business">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for business related constructs" />
+ </xml-properties>
+ <xml-root-element name="business" />
+ <java-attributes>
+ <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v8.Connectors" />
+ <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v8.Customers" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connectors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ </xml-properties>
+ <xml-root-element name="connectors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v8.Connector" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connector">
+ <xml-root-element name="connector" />
+ <java-attributes>
+ <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of resource instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ <xml-property name="indexedProps" value="resource-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
+ <xml-property name="container" value="connectors" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Customers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
+ </xml-properties>
+ <xml-root-element name="customers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v8.Customer" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Customer">
+ <xml-root-element name="customer" />
+ <java-attributes>
+ <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
+ <xml-property name="defaultValue" value="CUST" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v8.ServiceSubscriptions" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
+ <xml-property name="nameProps" value="subscriber-name" />
+ <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
+ <xml-property name="searchable" value="subscriber-name,global-customer-id" />
+ <xml-property name="uniqueProps" value="global-customer-id" />
+ <xml-property name="container" value="customers" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceSubscriptions">
+ <xml-properties>
+ <xml-property name="description" value="Collection of objects that group service instances." />
+ </xml-properties>
+ <xml-root-element name="service-subscriptions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v8.ServiceSubscription" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceSubscription">
+ <xml-root-element name="service-subscription" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v8.ServiceInstances">
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Object that group service instances." />
+ <xml-property name="indexedProps" value="service-type" />
+ <xml-property name="dependentOn" value="customer" />
+ <xml-property name="container" value="service-subscriptions" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceInstances">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service instances" />
+ </xml-properties>
+ <xml-root-element name="service-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v8.ServiceInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceInstance">
+ <xml-root-element name="service-instance" />
+ <java-attributes>
+ <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Uniquely identifies this instance of a service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store a name assigned to the service-instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL customers will use to access the vHN Portal." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Instance of a service" />
+ <xml-property name="indexedProps" value="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id" />
+ <xml-property name="nameProps" value="service-instance-name" />
+ <xml-property name="searchable" value="service-instance-id" />
+ <xml-property name="uniqueProps" value="service-instance-id" />
+ <xml-property name="dependentOn" value="service-subscription" />
+ <xml-property name="container" value="service-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceDesignAndCreation">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for objects managed by ASDC" />
+ </xml-properties>
+ <xml-root-element name="service-design-and-creation" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v8.VnfImages" />
+ <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v8.Services" />
+ <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v8.ServiceCapabilities" />
+ <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v8.Models" />
+ <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v8.NamedQueries" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImages">
+ <xml-properties>
+ <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ </xml-properties>
+ <xml-root-element name="vnf-images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v8.VnfImage" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImage">
+ <xml-root-element name="vnf-image" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImageUuid" name="vnf-image-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of this asset" />
+ <xml-property name="dbAlias" value="vnf-image-uuid" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ <xml-property name="indexedProps" value="application,vnf-image-uuid,application-vendor,application-version" />
+ <xml-property name="uniqueProps" value="vnf-image-uuid" />
+ <xml-property name="container" value="vnf-images" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Services">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
+ </xml-properties>
+ <xml-root-element name="services" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v8.Service" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Service">
+ <xml-root-element name="service" />
+ <java-attributes>
+ <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description of the service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="service version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC." />
+ <xml-property name="indexedProps" value="service-description,service-id" />
+ <xml-property name="container" value="services" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceCapabilities">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service capabilities." />
+ </xml-properties>
+ <xml-root-element name="service-capabilities" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v8.ServiceCapability" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceCapability">
+ <xml-root-element name="service-capability" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
+ <xml-property name="indexedProps" value="service-type,vnf-type" />
+ <xml-property name="container" value="service-capabilities" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Network">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for network inventory resources." />
+ </xml-properties>
+ <xml-root-element name="network" />
+ <java-attributes>
+ <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v8.LogicalLinks" />
+ <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v8.SitePairSets" />
+ <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v8.VpnBindings" />
+ <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v8.VplsPes" />
+ <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v8.MulticastConfigurations" />
+ <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v8.Vces" />
+ <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v8.Vnfcs" />
+ <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v8.L3Networks" />
+ <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v8.NetworkPolicies" />
+ <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v8.GenericVnfs" />
+ <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v8.LagLinks" />
+ <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v8.Newvces" />
+ <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v8.Pnfs" />
+ <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v8.PhysicalLinks" />
+ <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v8.IpsecConfigurations" />
+ <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v8.RouteTableReferences" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical connections" />
+ </xml-properties>
+ <xml-root-element name="logical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v8.LogicalLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLink">
+ <xml-root-element name="logical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of logical link, e.g., evc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4, v6, or ds for dual stack" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="For example, static or BGP" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of operational status of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of the network use of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
+ <xml-property name="indexedProps" value="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id" />
+ <xml-property name="uniqueProps" value="link-id" />
+ <xml-property name="container" value="logical-links" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairSets">
+ <xml-properties>
+ <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
+ </xml-properties>
+ <xml-root-element name="site-pair-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v8.SitePairSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePairSet">
+ <xml-root-element name="site-pair-set" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of site pair set." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v8.RoutingInstances" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
+ <xml-property name="indexedProps" value="site-pair-set-id" />
+ <xml-property name="uniqueProps" value="site-pair-set-id" />
+ <xml-property name="container" value="site-pair-sets" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="RoutingInstances">
+ <xml-properties>
+ <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
+ </xml-properties>
+ <xml-root-element name="routing-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v8.RoutingInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RoutingInstance">
+ <xml-root-element name="routing-instance" />
+ <java-attributes>
+ <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of routing instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rpm owner" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v8.SitePairs" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="routing-instance-id" />
+ <xml-property name="uniqueProps" value="routing-instance-id" />
+ <xml-property name="dependentOn" value="site-pair-set" />
+ <xml-property name="container" value="routing-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairs">
+ <xml-properties>
+ <xml-property name="description" value="probe within a set" />
+ </xml-properties>
+ <xml-root-element name="site-pairs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v8.SitePair" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePair">
+ <xml-root-element name="site-pair" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version, v4, v6" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The type of destinatination equipment. Could be Router, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v8.ClassesOfService" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="site-pair-id" />
+ <xml-property name="uniqueProps" value="site-pair-id" />
+ <xml-property name="dependentOn" value="routing-instance" />
+ <xml-property name="container" value="site-pairs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ClassesOfService">
+ <xml-properties>
+ <xml-property name="description" value="class-of-service of probe" />
+ </xml-properties>
+ <xml-root-element name="classes-of-service" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v8.ClassOfService" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ClassOfService">
+ <xml-root-element name="class-of-service" />
+ <java-attributes>
+ <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="cos" />
+ <xml-property name="dependentOn" value="site-pair" />
+ <xml-property name="container" value="classes-of-service" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VpnBindings">
+ <xml-root-element name="vpn-bindings" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v8.VpnBinding" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VpnBinding">
+ <xml-root-element name="vpn-binding" />
+ <java-attributes>
+ <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="VPN Name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList">
+ <xml-properties>
+ <xml-property name="description" value="l3-networks relate to vpn-bindings" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPN binding" />
+ <xml-property name="nameProps" value="vpn-name" />
+ <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="container" value="vpn-bindings" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VplsPes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
+ </xml-properties>
+ <xml-root-element name="vpls-pes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v8.VplsPe" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VplsPe">
+ <xml-root-element name="vpls-pe" />
+ <java-attributes>
+ <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Temporary location for stag to get to VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v8.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPLS Provider Edge routers." />
+ <xml-property name="indexedProps" value="prov-status,equipment-name" />
+ <xml-property name="container" value="vpls-pes" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="MulticastConfigurations">
+ <xml-properties>
+ <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
+ </xml-properties>
+ <xml-root-element name="multicast-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v8.MulticastConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="MulticastConfiguration">
+ <xml-root-element name="multicast-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of multicast configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="protocol of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rp type of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="multicast-configuration-id" />
+ <xml-property name="uniqueProps" value="multicast-configuration-id" />
+ <xml-property name="container" value="multicast-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
+ </xml-properties>
+ <xml-root-element name="vces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v8.Vce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vce">
+ <xml-root-element name="vce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service from ASDC. Expect this to change as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="License key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network role being played by this VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Entitlement resource uuid" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v8.PortGroups" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="vces" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PortGroups">
+ <xml-root-element name="port-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v8.PortGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PortGroup">
+ <xml-root-element name="port-group" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network name of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for port group in vmware" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Likely to duplicate value of neutron network name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v8.CvlanTags" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
+ <xml-property name="nameProps" value="port-group-name" />
+ <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
+ <xml-property name="dependentOn" value="vce" />
+ <xml-property name="container" value="port-groups" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CvlanTags">
+ <xml-root-element name="cvlan-tags" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v8.CvlanTagEntry" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CvlanTagEntry">
+ <xml-root-element name="cvlan-tag-entry" />
+ <java-attributes>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="dependentOn" value="port-group" />
+ <xml-property name="indexedProps" value="cvlan-tag" />
+ <xml-property name="container" value="cvlan-tags" />
+ </xml-properties>
+ </java-type>
+
+
+
+ <java-type name="Vnfcs">
+ <xml-properties>
+ <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
+ </xml-properties>
+ <xml-root-element name="vnfcs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v8.Vnfc" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vnfc">
+ <xml-root-element name="vnfc" />
+ <java-attributes>
+ <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of vnfc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="function code" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="prov status of this vnfc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Oam V4 vip address of this vnfc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group notation of VNFC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
+ <xml-property name="container" value="vnfcs" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3Networks">
+ <xml-root-element name="l3-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v8.L3Network" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="L3Network">
+ <xml-root-element name="l3-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network, governed by some naming convention.." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the network - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role the network plans - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network technology - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Set to true if bound to VPN" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service from ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="network role instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the physical network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v8.Subnets" />
+ <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v8.CtagAssignments" />
+ <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v8.SegmentationAssignments" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" >
+ <xml-properties>
+ <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Generic network definition" />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn" />
+ <xml-property name="uniqueProps" value="network-id" />
+ <xml-property name="container" value="l3-networks" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="NetworkPolicies">
+ <xml-root-element name="network-policies" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v8.NetworkPolicy" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NetworkPolicy">
+ <xml-root-element name="network-policy" />
+ <java-attributes>
+ <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID representing unique key to this instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the policy" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID for the openStack Heat instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="nameProps" value="network-policy-fqdn" />
+ <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
+ <xml-property name="uniqueProps" value="network-policy-id" />
+ <xml-property name="container" value="network-policies" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="CtagAssignments">
+ <xml-root-element name="ctag-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v8.CtagAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagAssignment">
+ <xml-root-element name="ctag-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="id." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="vlan-id-inner" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="ctag-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Subnets">
+ <xml-root-element name="subnets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v8.Subnet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Subnet">
+ <xml-root-element name="subnet" />
+ <java-attributes>
+ <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Subnet ID, should be UUID." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the subnet." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of this subnet" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="gateway ip address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="network start address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="cidr mask" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="dhcp enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the start address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the last address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="subnet-id,subnet-name" />
+ <xml-property name="nameProps" value="subnet-name" />
+ <xml-property name="uniqueProps" value="subnet-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="subnets" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GenericVnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VNFs" />
+ </xml-properties>
+ <xml-root-element name="generic-vnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v8.GenericVnf" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="GenericVnf">
+ <xml-root-element name="generic-vnf" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service from ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="License key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 Loopback address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 management address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="details regarding the generic-vnf operation" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="as-number of the VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="represents sub zone of the rr plane" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
+ <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v8.VfModules" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="General purpose VNF" />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="generic-vnfs" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VfModules">
+ <xml-properties>
+ <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
+ </xml-properties>
+ <xml-root-element name="vf-modules" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v8.VfModule" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VfModule">
+ <xml-root-element name="vf-module" />
+ <java-attributes>
+ <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of vf-module." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vf-module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the Contrail unique ID for a service-instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="a deployment unit of VNFCs" />
+ <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
+ <xml-property name="dependentOn" value="generic-vnf" />
+ <xml-property name="container" value="vf-modules" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="LagLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregation connections" />
+ </xml-properties>
+ <xml-root-element name="lag-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v8.LagLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagLink">
+ <xml-root-element name="lag-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="LAG links can connect lag-interfaces" />
+ <xml-property name="indexedProps" value="link-name" />
+ <xml-property name="container" value="lag-links" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Newvces">
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ </xml-properties>
+ <xml-root-element name="newvces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v8.Newvce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Newvce">
+ <xml-root-element name="newvce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as ASDC matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="License key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
+ <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id2" />
+ <xml-property name="container" value="newvces" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Physical Network Functions." />
+ </xml-properties>
+ <xml-root-element name="pnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v8.Pnf" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Pnf">
+ <xml-root-element name="pnf" />
+ <java-attributes>
+ <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="source of name2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="id of pnf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="orchestration-status is the status of orchestration on the PNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v8.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world." />
+ <xml-property name="indexedProps" value="pnf-name,orchestration-status" />
+ <xml-property name="uniqueProps" value="pnf-name" />
+ <xml-property name="container" value="pnfs" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PhysicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ </xml-properties>
+ <xml-root-element name="physical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v8.PhysicalLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PhysicalLink">
+ <xml-root-element name="physical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit it" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the service Provider on this link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ <xml-property name="indexedProps" value="circuit-id,link-name" />
+ <xml-property name="alternateKeys1" value="circuit-id" />
+ <xml-property name="container" value="physical-links" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VigServers">
+ <xml-root-element name="vig-servers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v8.VigServer" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VigServer">
+ <xml-root-element name="vig-server" />
+ <java-attributes>
+ <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
+ <xml-property name="indexedProps" value="vig-address-type" />
+ <xml-property name="dependentOn" value="ipsec-configuration" />
+ <xml-property name="container" value="vig-servers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="IpsecConfigurations">
+ <xml-root-element name="ipsec-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v8.IpsecConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IpsecConfiguration">
+ <xml-root-element name="ipsec-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of this configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can offer a shared DMZ or a DMZ specific to a customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network address of shared DMZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can be 1 or 2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="pre-shared key for the above group name " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Lifetime for IKEv1 SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Life time for IPSec SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="enable PFS or not" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="user ID for xAuth, sm-user, ,nmteHostName" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The time between DPD probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v8.VigServers" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
+ <xml-property name="indexedProps" value="ipsec-configuration-id" />
+ <xml-property name="uniqueProps" value="ipsec-configuration-id" />
+ <xml-property name="container" value="ipsec-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="NotificationEvent">
+ <xml-root-element name="notification-event" />
+ <java-attributes>
+ <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
+ <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v8.NotificationEventHeader" />
+ <xml-any-element java-attribute="entity" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NotificationEventHeader">
+ <xml-root-element name="notification-event-header" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" type="java.lang.String" />
+ <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
+ <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
+ <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
+ <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
+ <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
+ <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
+ <xml-element java-attribute="version" name="version" type="java.lang.String" />
+ <xml-element java-attribute="action" name="action" type="java.lang.String" />
+ <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
+ <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
+ <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
+ <xml-element java-attribute="status" name="status" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="AaiInternal">
+ <xml-root-element name="aai-internal" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v8.ReservedPropNames" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v8.EdgePropNames" />
+ </java-attributes>
+ </java-type>
+ <java-type name="ReservedPropNames">
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
+ <xml-property name="uniqueProps" value="aai-unique-key" />
+ <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type" />
+ </xml-properties>
+ <xml-root-element name="reserved-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
+ <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
+ <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
+ <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
+ <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
+ <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="EdgePropNames">
+ <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
+ <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
+ </xml-properties>
+ <xml-root-element name="edge-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
+ <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
+ <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
+ <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
+ <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
+ <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.Boolean" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Models">
+ <xml-properties>
+ <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
+ </xml-properties>
+ <xml-root-element name="models" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v8.Model" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Model">
+ <xml-properties>
+ <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models" />
+ <xml-property name="nameProps" value="model-name,model-type" />
+ <xml-property name="indexedProps" value="model-name-version-id,model-type,model-name,model-id,model-version" />
+ <xml-property name="alternateKeys1" value="model-id,model-version" />
+ <xml-property name="uniqueProps" value="model-name-version-id" />
+ <xml-property name="container" value="models" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <xml-root-element name="model" />
+ <java-attributes>
+ <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the model, which can change from version to version." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElements">
+ <xml-root-element name="model-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v8.ModelElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElement">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
+ <xml-property name="uniqueProps" value="model-element-uuid" />
+ <xml-property name="indexedProps" value="model-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-elements" />
+ </xml-properties>
+ <xml-root-element name="model-element" />
+ <java-attributes>
+ <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="How many of this type of element are required/allowed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String">
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v8.ModelConstraints">
+ <xml-properties>
+ <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraints">
+ <xml-root-element name="model-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v8.ModelConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraint">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="model-constraint-uuid" />
+ <xml-property name="indexedProps" value="model-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-constraints" />
+ </xml-properties>
+ <xml-root-element name="model-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
+ <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v8.ConstrainedElementSets" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ConstrainedElementSets">
+ <xml-root-element name="constrained-element-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v8.ConstrainedElementSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ConstrainedElementSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
+ <xml-property name="indexedProps" value="constrained-element-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="constrained-element-sets" />
+ </xml-properties>
+ <xml-root-element name="constrained-element-set" />
+ <java-attributes>
+ <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v8.ElementChoiceSets" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSets">
+ <xml-root-element name="element-choice-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v8.ElementChoiceSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="element-choice-set-uuid" />
+ <xml-property name="indexedProps" value="element-choice-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="element-choice-sets" />
+ </xml-properties>
+ <xml-root-element name="element-choice-set" />
+ <java-attributes>
+ <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueries">
+ <xml-root-element name="named-queries" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v8.NamedQuery" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQuery">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="nameProps" value="named-query-name" />
+ <xml-property name="uniqueProps" value="named-query-uuid" />
+ <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
+ <xml-property name="container" value="named-queries" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <xml-root-element name="named-query" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String">
+ <xml-element-wrapper name="required-input-params" />
+ </xml-element>
+ <xml-element java-attribute="description" name="description" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v8.NamedQueryElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElements">
+ <xml-root-element name="named-query-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v8.NamedQueryElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElement">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="named-query-element-uuid" />
+ <xml-property name="indexedProps" value="named-query-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="named-query-elements" />
+ </xml-properties>
+ <xml-root-element name="named-query-element" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
+ <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v8.NamedQueryElements" />
+ <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v8.RelatedLookups" />
+ <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v8.PropertyConstraints" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookups">
+ <xml-root-element name="related-lookups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v8.RelatedLookup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookup">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="related-lookup-uuid" />
+ <xml-property name="indexedProps" value="related-lookup-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="related-lookups" />
+ </xml-properties>
+ <xml-root-element name="related-lookup" />
+ <java-attributes>
+ <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraints">
+ <xml-root-element name="property-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v8.PropertyConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraint">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="property-constraint-uuid" />
+ <xml-property name="indexedProps" value="property-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="property-constraints" />
+ </xml-properties>
+ <xml-root-element name="property-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="property-name" name="property-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="property-value" name="property-value" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelAndNamedQuerySearch">
+ <xml-properties>
+ <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="model-and-named-query-search" />
+ <java-attributes>
+ <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v8.QueryParameters" />
+ <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v8.InstanceFilters" />
+ <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="QueryParameters">
+ <xml-properties>
+ <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="query-parameters" />
+ <java-attributes>
+ <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v8.NamedQuery" />
+ <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v8.Model" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceFilters">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="instance-filters" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v8.InstanceFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceFilter">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
+ <xml-property name="container" value="instance-filters" />
+ </xml-properties>
+ <xml-root-element name="instance-filter" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Properties">
+ <xml-properties>
+ <xml-property name="description" value="Property holder for query properties or instance properties" />
+ </xml-properties>
+ <xml-root-element name="properties" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResponseList">
+ <xml-properties>
+ <xml-property name="description" value="Response container for the results of a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="response-list" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v8.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItems">
+ <xml-properties>
+ <xml-property name="description" value="Container for inventory items in response list" />
+ <xml-property name="container" value="response-list" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-items" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v8.InventoryResponseItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItem">
+ <xml-properties>
+ <xml-property name="description" value="Inventory item for response list" />
+ <xml-property name="container" value="inventory-response-items" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-item" />
+ <java-attributes>
+ <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
+ <xml-any-element java-attribute="item" />
+ <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v8.ExtraProperties" />
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v8.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperties">
+ <xml-properties>
+ <xml-property name="description" value="Extra properties for inventory item for response list" />
+ </xml-properties>
+ <xml-root-element name="extra-properties" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v8.ExtraProperty" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperty">
+ <xml-root-element name="extra-property" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReferences">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack route table references" />
+ </xml-properties>
+ <xml-root-element name="route-table-references" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v8.RouteTableReference" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReference">
+ <xml-root-element name="route-table-reference" />
+ <java-attributes>
+ <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="FQDN entry in the route table." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+
+ <xml-properties>
+ <xml-property name="description" value="Openstack route table reference." />
+ <xml-property name="nameProps" value="route-table-reference-fqdn" />
+ <xml-property name="uniqueProps" value="route-table-reference-id" />
+ <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
+ <xml-property name="container" value="route-table-references" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SegmentationAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack segmentation assignments" />
+ </xml-properties>
+ <xml-root-element name="segmentation-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v8.SegmentationAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SegmentationAssignment">
+ <xml-root-element name="segmentation-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack segmentation assignment." />
+ <xml-property name="indexedProps" value="segmentation-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="segmentation-assignments" />
+ </xml-properties>
+ </java-type>
+ <java-type name="Vnf">
+ <xml-root-element name="vnf"/>
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Abstract vnf class" />
+ <xml-property name="indexedProps" value="vnf-id" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="inheritors" value="vce,generic-vnf" />
+ <xml-property name="abstract" value="true" />
+ </xml-properties>
+ </java-type>
+ </java-types>
</xml-bindings>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml
index bfd67319..ecffb2fc 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml
@@ -23,3076 +23,3038 @@
-->
<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v9" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v9" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v9.Search" />
- <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v9.Actions" />
- <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v9.CloudInfrastructure" />
- <xml-element java-attribute="licenseManagement" name="license-management" type="inventory.aai.onap.org.v9.LicenseManagement" />
- <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v9.Business" />
- <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v9.ServiceDesignAndCreation" />
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v9.Network" />
- <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v9.AaiInternal" />
- <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v9.Nodes"/>
- </java-attributes>
- </java-type>
-
- <java-type name="Nodes">
- <xml-root-element name="nodes" />
- </java-type>
- <java-type name="Search">
- <xml-root-element name="search" />
- <java-attributes>
- <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v9.EdgeTagQueryResult" />
- <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v9.EdgeTagQueryRequest" />
- <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v9.SearchResults" />
- <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v9.SdnZoneResponse" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryResult">
- <xml-root-element name="edge-tag-query-result" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v9.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="TaggedInventoryItemList">
- <xml-root-element name="tagged-inventory-item-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v9.InventoryItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItem">
- <xml-root-element name="inventory-item" />
- <java-attributes>
- <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
- <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v9.InventoryItemData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v9.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItemData">
- <xml-root-element name="inventory-item-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryRequest">
- <xml-root-element name="edge-tag-query-request" />
- <java-attributes>
- <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
- <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
- <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v9.StartNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v9.IncludeNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v9.SecondaryFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="StartNodeFilter">
- <xml-root-element name="start-node-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="IncludeNodeFilter">
- <xml-root-element name="include-node-filter" />
- <java-attributes>
- <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilter">
- <xml-root-element name="secondary-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SearchResults">
- <xml-root-element name="search-results" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v9.ResultData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResultData">
- <xml-root-element name="result-data" />
- <java-attributes>
- <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The URL to the specific resource" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="SdnZoneResponse">
- <xml-root-element name="sdn-zone-response" />
- <java-attributes>
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v9.OamNetworks" />
- <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v9.AzAndDvsSwitches" />
- </java-attributes>
- </java-type>
-
- <java-type name="AzAndDvsSwitches">
- <xml-root-element name="az-and-dvs-switches" />
- <java-attributes>
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v9.DvsSwitches" />
- <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v9.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Actions">
- <xml-properties>
- <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
- </xml-properties>
- <xml-root-element name="actions" />
- <java-attributes>
- <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v9.Update" />
- <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v9.Notify" />
- </java-attributes>
- </java-type>
-
- <java-type name="Update">
- <xml-properties>
- <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
- </xml-properties>
- <xml-root-element name="update" />
- <java-attributes>
- <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v9.UpdateNodeKey" />
- <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v9.Action" />
- </java-attributes>
- </java-type>
-
- <java-type name="Action">
- <xml-root-element name="action" />
- <java-attributes>
- <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v9.ActionData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ActionData">
- <xml-root-element name="action-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="UpdateNodeKey">
- <xml-root-element name="update-node-key" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Notify">
- <xml-root-element name="notify" />
- <java-attributes>
- <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
- <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
- <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v9.KeyData" />
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="KeyData">
- <xml-root-element name="key-data" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudInfrastructure">
- <xml-properties>
- <xml-property name="description" value="Namespace for cloud infrastructure." />
- </xml-properties>
- <xml-root-element name="cloud-infrastructure" />
- <java-attributes>
- <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v9.Complexes" />
- <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v9.CloudRegions" />
- <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v9.NetworkProfiles" />
- <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v9.Pservers" />
- <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v9.VirtualDataCenters" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudRegions">
- <xml-root-element name="cloud-regions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v9.CloudRegion" />
- </java-attributes>
+ <xml-schema element-form-default="QUALIFIED">
+ <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v9" />
+ </xml-schema>
+ <java-types>
+ <java-type name="Inventory">
+ <xml-root-element name="inventory" />
+ <java-attributes>
+ <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v9.Search" />
+ <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v9.Actions" />
+ <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v9.CloudInfrastructure" />
+ <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v9.Business" />
+ <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v9.ServiceDesignAndCreation" />
+ <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v9.Network" />
+ <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v9.AaiInternal" />
+ <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v9.Nodes"/>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Nodes">
+ <xml-root-element name="nodes" />
+ </java-type>
+ <java-type name="Search">
+ <xml-root-element name="search" />
+ <java-attributes>
+ <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v9.EdgeTagQueryResult" />
+ <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v9.EdgeTagQueryRequest" />
+ <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v9.SearchResults" />
+ <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v9.SdnZoneResponse" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryResult">
+ <xml-root-element name="edge-tag-query-result" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v9.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="TaggedInventoryItemList">
+ <xml-root-element name="tagged-inventory-item-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v9.InventoryItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItem">
+ <xml-root-element name="inventory-item" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
+ <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v9.InventoryItemData" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v9.TaggedInventoryItemList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryItemData">
+ <xml-root-element name="inventory-item-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="EdgeTagQueryRequest">
+ <xml-root-element name="edge-tag-query-request" />
+ <java-attributes>
+ <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
+ <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
+ <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v9.StartNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v9.IncludeNodeFilter" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v9.SecondaryFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="StartNodeFilter">
+ <xml-root-element name="start-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IncludeNodeFilter">
+ <xml-root-element name="include-node-filter" />
+ <java-attributes>
+ <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilter">
+ <xml-root-element name="secondary-filter" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SearchResults">
+ <xml-root-element name="search-results" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v9.ResultData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResultData">
+ <xml-root-element name="result-data" />
+ <java-attributes>
+ <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The URL to the specific resource" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SdnZoneResponse">
+ <xml-root-element name="sdn-zone-response" />
+ <java-attributes>
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v9.OamNetworks" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v9.AzAndDvsSwitches" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AzAndDvsSwitches">
+ <xml-root-element name="az-and-dvs-switches" />
+ <java-attributes>
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v9.DvsSwitches" />
+ <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v9.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Actions">
<xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="CloudRegion">
- <xml-root-element name="cloud-region" />
- <java-attributes>
- <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name, e.g., att-aic. First part of composite key should be formatted as vendor-cloudname" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Cloud-owner defined type indicator (e.g., dcp, lcp)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Software version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP TO DATE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Zone where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v9.VolumeGroups" />
- <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v9.Tenants" />
- <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v9.Flavors" />
- <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v9.GroupAssignments" />
- <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v9.Snapshots" />
- <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v9.Images" />
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v9.DvsSwitches" />
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v9.OamNetworks" />
- <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v9.AvailabilityZones" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. In AT&amp;Ts AIC cloud, this could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname and we will use att-aic for AT&amp;T's AIC." />
- <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
- <xml-property name="nameProps" value="owner-defined-type" />
- <xml-property name="container" value="cloud-regions" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
- <java-type name="VolumeGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of persistent block-level storage." />
- </xml-properties>
- <xml-root-element name="volume-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v9.VolumeGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="VolumeGroup">
- <xml-root-element name="volume-group" />
- <java-attributes>
- <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of volume-group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the volume group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModulePersonaModelCustomizationId" name="vf-module-persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="helps relate the volume group to the vf-module whose components will require the volume group" />
- <xml-property name="dbAlias" value="vf-module-model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Persistent block-level storage." />
- <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
- <xml-property name="searchable" value="volume-group-id,volume-group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="volume-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v9.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v9.RelationshipData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v9.RelatedToProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedToProperty">
- <xml-root-element name="related-to-property" />
- <java-attributes>
- <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Key part of a key/value pair" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value part of a key/value pair" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="Complexes">
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- </xml-properties>
- <xml-root-element name="complexes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v9.Complex" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Complex">
- <xml-root-element name="complex" />
- <java-attributes>
- <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Gamma complex name for LCP instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type, e.g., central office, data center." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
- <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
- <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
- <xml-element java-attribute="state" name="state" type="java.lang.String" />
- <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
- <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
- <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
- <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
- <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
- <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
- <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
- <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v9.CtagPools" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
- <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
- <xml-property name="uniqueProps" value="physical-location-id" />
- <xml-property name="container" value="complexes" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="CtagPools">
- <xml-root-element name="ctag-pools" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v9.CtagPool" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagPool">
- <xml-root-element name="ctag-pool" />
- <java-attributes>
- <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="The Target provider edge router" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Describes what the intended purpose of this pool is." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Comma separated list of ctags" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="complex" />
- <xml-property name="container" value="ctag-pools" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenants">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack tenants." />
- </xml-properties>
- <xml-root-element name="tenants" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v9.Tenant" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenant">
- <xml-root-element name="tenant" />
- <java-attributes>
- <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id relative to the cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Readable name of tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v9.Vservers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack tenant" />
- <xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-name,tenant-id" />
- <xml-property name="searchable" value="tenant-id,tenant-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="tenants" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vservers">
- <xml-properties>
- <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
- </xml-properties>
- <xml-root-element name="vservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v9.Vserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vserver">
- <xml-root-element name="vserver" />
- <java-attributes>
- <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternative name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v9.Volumes" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
- <xml-property name="nameProps" value="vserver-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
- <xml-property name="searchable" value="vserver-id,vserver-name,vserver-name2" />
- <xml-property name="dependentOn" value="tenant" />
- <xml-property name="container" value="vservers" />
- </xml-properties>
- </java-type>
-
- <java-type name="LInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of logical interfaces." />
- </xml-properties>
- <xml-root-element name="l-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v9.LInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LInterface">
- <xml-root-element name="l-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name given to the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="MAC address for the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v9.Vlans" />
- <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v9.SriovVfs" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
- <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
- <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
- <xml-property name="container" value="l-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="SriovVfs">
- <xml-properties>
- <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
- </xml-properties>
- <xml-root-element name="sriov-vfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v9.SriovVf" />
- </java-attributes>
- </java-type>
- <java-type name="SriovVf">
- <xml-root-element name="sriov-vf" />
- <java-attributes>
- <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
- <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="sriov-vfs" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv4AddressList">
- <xml-root-element name="l3-interface-ipv4-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 32 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv4 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vlans">
- <xml-root-element name="vlans" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v9.Vlan" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vlan">
- <xml-root-element name="vlan" />
- <java-attributes>
- <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String that identifies the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
- <xml-property name="dbAlias" value="vpn-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Definition of vlan" />
- <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="vlans" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv6AddressList">
- <xml-root-element name="l3-interface-ipv6-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 128 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv6 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Volumes">
- <xml-properties>
- <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
- </xml-properties>
- <xml-root-element name="volumes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v9.Volume" />
- </java-attributes>
- </java-type>
-
- <java-type name="Volume">
- <xml-root-element name="volume" />
- <java-attributes>
- <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Ephemeral Block storage volume." />
- <xml-property name="indexedProps" value="volume-id" />
- <xml-property name="dependentOn" value="vserver" />
- <xml-property name="container" value="volumes" />
- </xml-properties>
- </java-type>
-
- <java-type name="Flavors">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack flavors." />
- </xml-properties>
- <xml-root-element name="flavors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v9.Flavor" />
- </java-attributes>
- </java-type>
-
- <java-type name="Flavor">
- <xml-root-element name="flavor" />
- <java-attributes>
- <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Flavor name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of CPUs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of memory" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of ephemeral disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="amount of swap space allocation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack flavor." />
- <xml-property name="nameProps" value="flavor-name" />
- <xml-property name="indexedProps" value="flavor-name,flavor-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="flavors" />
- </xml-properties>
- </java-type>
-
- <java-type name="Snapshots">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack snapshots" />
- </xml-properties>
- <xml-root-element name="snapshots" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v9.Snapshot" />
- </java-attributes>
- </java-type>
-
- <java-type name="Snapshot">
- <xml-root-element name="snapshot" />
- <java-attributes>
- <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Snapshot name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack snapshot" />
- <xml-property name="nameProps" value="snapshot-name" />
- <xml-property name="uniqueProps" value="snapshot-id" />
- <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="snapshots" />
- </xml-properties>
- </java-type>
-
- <java-type name="GroupAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack group assignments" />
- </xml-properties>
- <xml-root-element name="group-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v9.GroupAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="GroupAssignment">
- <xml-root-element name="group-assignment" />
- <java-attributes>
- <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group type - the type of group this instance refers to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name - name assigned to the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group description - description of the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
- <xml-property name="nameProps" value="group-name" />
- <xml-property name="indexedProps" value="group-id,group-type,group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="group-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Images">
- <xml-properties>
- <xml-property name="description" value="Collectio of Openstack images." />
- </xml-properties>
- <xml-root-element name="images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v9.Image" />
- </java-attributes>
- </java-type>
-
- <java-type name="Image">
- <xml-root-element name="image" />
- <java-attributes>
- <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Image id, expected to be unique across cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Image name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack image." />
- <xml-property name="nameProps" value="image-name" />
- <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="images" />
- </xml-properties>
- </java-type>
-
- <java-type name="Metadata">
- <xml-properties>
- <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
- </xml-properties>
- <xml-root-element name="metadata" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v9.Metadatum" />
- </java-attributes>
- </java-type>
-
- <java-type name="Metadatum">
- <xml-root-element name="metadatum" />
- <java-attributes>
- <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Key/value pairs" />
- <xml-property name="indexedProps" value="metaname" />
- <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
- <xml-property name="container" value="metadata" />
- </xml-properties>
- </java-type>
-
- <java-type name="DvsSwitches">
- <xml-properties>
- <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
- </xml-properties>
- <xml-root-element name="dvs-switches" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v9.DvsSwitch" />
- </java-attributes>
- </java-type>
-
- <java-type name="DvsSwitch">
- <xml-root-element name="dvs-switch" />
- <java-attributes>
- <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="DVS switch name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL used to reach the vcenter" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
- <xml-property name="indexedProps" value="vcenter-url,switch-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="dvs-switches" />
- </xml-properties>
- </java-type>
-
- <java-type name="NetworkProfiles">
- <xml-properties>
- <xml-property name="description" value="Collection of network profiles" />
- </xml-properties>
- <xml-root-element name="network-profiles" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v9.NetworkProfile" />
- </java-attributes>
- </java-type>
-
- <java-type name="NetworkProfile">
- <xml-root-element name="network-profile" />
- <java-attributes>
- <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique name of network profile." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted SNMP community string" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
- <xml-property name="indexedProps" value="nm-profile-name" />
- <xml-property name="container" value="network-profiles" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pservers">
- <xml-properties>
- <xml-property name="description" value="Collection of compute hosts." />
- </xml-properties>
- <xml-root-element name="pservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v9.Pserver" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pserver">
- <xml-root-element name="pserver" />
- <java-attributes>
- <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value from executing hostname on the compute node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="PTNII name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of cpus" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk size, in GBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="RAM size, in MBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Fully-qualified domain name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number, may be queried" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="internet topology of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="alternative pserver name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="purpose of pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
- <xml-property name="nameProps" value="pserver-name2" />
- <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2,inv-status" />
- <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
- <xml-property name="container" value="pservers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="PInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of physical interfaces." />
- </xml-properties>
- <xml-root-element name="p-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v9.PInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="PInterface">
- <xml-root-element name="p-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the physical interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nature of the services and connectivity on this port." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the physical properties of the interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Physical interface (e.g., nic)" />
- <xml-property name="indexedProps" value="interface-name,prov-status" />
- <xml-property name="nameProps" value="prov-status" />
- <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
- <xml-property name="container" value="p-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregate interfaces." />
- </xml-properties>
- <xml-root-element name="lag-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v9.LagInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagInterface">
- <xml-root-element name="lag-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the link aggregate interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Link aggregate interface" />
- <xml-property name="indexedProps" value="interface-name,interface-id,interface-role" />
- <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
- <xml-property name="container" value="lag-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="OamNetworks">
- <xml-properties>
- <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
- </xml-properties>
- <xml-root-element name="oam-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v9.OamNetwork" />
- </java-attributes>
- </java-type>
-
- <java-type name="OamNetwork">
- <xml-root-element name="oam-network" />
- <java-attributes>
- <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="cvlan-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="oam-networks" />
- </xml-properties>
- </java-type>
-
- <java-type name="AvailabilityZones">
- <xml-properties>
- <xml-property name="description" value="Collection of availability zones" />
- </xml-properties>
- <xml-root-element name="availability-zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v9.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="AvailabilityZone">
- <xml-root-element name="availability-zone" />
- <java-attributes>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
- <xml-property name="dbAlias" value="operational-status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="availability-zones" />
- </xml-properties>
- </java-type>
-
- <java-type name="VirtualDataCenters">
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- </xml-properties>
- <xml-root-element name="virtual-data-centers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v9.VirtualDataCenter" />
- </java-attributes>
- </java-type>
-
- <java-type name="VirtualDataCenter">
- <xml-root-element name="virtual-data-center" />
- <java-attributes>
- <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the vdc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the virtual data center" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- <xml-property name="nameProps" value="vdc-name" />
- <xml-property name="indexedProps" value="vdc-name,vdc-id" />
- <xml-property name="container" value="virtual-data-centers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="LicenseManagement">
- <xml-root-element name="license-management" />
- <java-attributes>
- <xml-element java-attribute="licenseKeyResources" name="license-key-resources" type="inventory.aai.onap.org.v9.LicenseKeyResources" />
- </java-attributes>
- </java-type>
-
- <java-type name="LicenseKeyResources">
- <xml-root-element name="license-key-resources" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="licenseKeyResource" name="license-key-resource" type="inventory.aai.onap.org.v9.LicenseKeyResource" />
- </java-attributes>
- </java-type>
-
- <java-type name="LicenseKeyResource">
- <xml-root-element name="license-key-resource" />
- <java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="assignmentType" name="assignment-type" type="java.lang.String" />
- <xml-element java-attribute="assignmentStatus" name="assignment-status" type="java.lang.String" />
- <xml-element java-attribute="assignmentGroupUuid" name="assignment-group-uuid" required="true" type="java.lang.String" />
- <xml-element java-attribute="assignmentDate" name="assignment-date" type="java.lang.String" />
- <xml-element java-attribute="name" name="name" type="java.lang.String" />
- <xml-element java-attribute="modelUuid" name="model-uuid" type="java.lang.String" />
- <xml-element java-attribute="modelVersion" name="model-version" type="java.lang.String" />
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String" />
- <xml-element java-attribute="licenseKeyFileUrl" name="license-key-file-url" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="supplierReleaseList" name="supplier-release-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="OBSOLETE OBJECT: do not use" />
- <xml-property name="nameProps" value="name" />
- <xml-property name="indexedProps" value="assignment-group-uuid,att-uuid,name" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="license-key-resources" />
- <xml-property name="namespace" value="license-management" />
- </xml-properties>
- </java-type>
+ <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
+ </xml-properties>
+ <xml-root-element name="actions" />
+ <java-attributes>
+ <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v9.Update" />
+ <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v9.Notify" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Update">
+ <xml-properties>
+ <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
+ </xml-properties>
+ <xml-root-element name="update" />
+ <java-attributes>
+ <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v9.UpdateNodeKey" />
+ <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v9.Action" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Action">
+ <xml-root-element name="action" />
+ <java-attributes>
+ <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v9.ActionData" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ActionData">
+ <xml-root-element name="action-data" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="UpdateNodeKey">
+ <xml-root-element name="update-node-key" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Notify">
+ <xml-root-element name="notify" />
+ <java-attributes>
+ <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
+ <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
+ <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v9.KeyData" />
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="KeyData">
+ <xml-root-element name="key-data" />
+ <java-attributes>
+ <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
+ <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudInfrastructure">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for cloud infrastructure." />
+ </xml-properties>
+ <xml-root-element name="cloud-infrastructure" />
+ <java-attributes>
+ <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v9.Complexes" />
+ <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v9.CloudRegions" />
+ <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v9.NetworkProfiles" />
+ <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v9.Pservers" />
+ <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v9.VirtualDataCenters" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CloudRegions">
+ <xml-root-element name="cloud-regions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v9.CloudRegion" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CloudRegion">
+ <xml-root-element name="cloud-region" />
+ <java-attributes>
+ <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Cloud-owner defined type indicator (e.g., dcp, lcp)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Software version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP TO DATE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Zone where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v9.VolumeGroups" />
+ <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v9.Tenants" />
+ <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v9.Flavors" />
+ <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v9.GroupAssignments" />
+ <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v9.Snapshots" />
+ <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v9.Images" />
+ <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v9.DvsSwitches" />
+ <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v9.OamNetworks" />
+ <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v9.AvailabilityZones" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation." />
+ <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
+ <xml-property name="nameProps" value="owner-defined-type" />
+ <xml-property name="container" value="cloud-regions" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+ <java-type name="VolumeGroups">
+ <xml-properties>
+ <xml-property name="description" value="Collection of persistent block-level storage." />
+ </xml-properties>
+ <xml-root-element name="volume-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v9.VolumeGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VolumeGroup">
+ <xml-root-element name="volume-group" />
+ <java-attributes>
+ <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of volume-group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the volume group." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this volume-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="dbAlias" value="model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfModulePersonaModelCustomizationId" name="vf-module-persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="helps relate the volume group to the vf-module whose components will require the volume group" />
+ <xml-property name="dbAlias" value="vf-module-model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Persistent block-level storage." />
+ <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
+ <xml-property name="searchable" value="volume-group-id,volume-group-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="volume-groups" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="RelationshipList">
+ <xml-root-element name="relationship-list" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v9.Relationship" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Relationship">
+ <xml-root-element name="relationship" />
+ <java-attributes>
+ <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to the object in A&amp;AI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v9.RelationshipData" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v9.RelatedToProperty" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedToProperty">
+ <xml-root-element name="related-to-property" />
+ <java-attributes>
+ <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Key part of a key/value pair" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Value part of a key/value pair" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
- <java-type name="Business">
- <xml-properties>
- <xml-property name="description" value="Namespace for business related constructs" />
- </xml-properties>
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v9.Connectors" />
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v9.Customers" />
- </java-attributes>
- </java-type>
+ <java-type name="RelationshipData">
+ <xml-root-element name="relationship-data" />
+ <java-attributes>
+ <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Value of the attribute." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
- <java-type name="Connectors">
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- </xml-properties>
- <xml-root-element name="connectors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v9.Connector" />
- </java-attributes>
- </java-type>
+ <java-type name="Complexes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ </xml-properties>
+ <xml-root-element name="complexes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v9.Complex" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Complex">
+ <xml-root-element name="complex" />
+ <java-attributes>
+ <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Gamma complex name for LCP instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL of the keystone identity service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type, e.g., central office, data center." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
+ <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
+ <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
+ <xml-element java-attribute="state" name="state" type="java.lang.String" />
+ <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
+ <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
+ <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
+ <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
+ <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
+ <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
+ <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
+ <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v9.CtagPools" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
+ <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
+ <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
+ <xml-property name="uniqueProps" value="physical-location-id" />
+ <xml-property name="container" value="complexes" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CtagPools">
+ <xml-root-element name="ctag-pools" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v9.CtagPool" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagPool">
+ <xml-root-element name="ctag-pool" />
+ <java-attributes>
+ <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="The Target provider edge router" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Describes what the intended purpose of this pool is." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Comma separated list of ctags" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="complex" />
+ <xml-property name="container" value="ctag-pools" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Tenants">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack tenants." />
+ </xml-properties>
+ <xml-root-element name="tenants" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v9.Tenant" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Tenant">
+ <xml-root-element name="tenant" />
+ <java-attributes>
+ <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id relative to the cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Readable name of tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v9.Vservers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack tenant" />
+ <xml-property name="nameProps" value="tenant-name" />
+ <xml-property name="indexedProps" value="tenant-name,tenant-id" />
+ <xml-property name="searchable" value="tenant-id,tenant-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="tenants" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
+ </xml-properties>
+ <xml-root-element name="vservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v9.Vserver" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vserver">
+ <xml-root-element name="vserver" />
+ <java-attributes>
+ <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternative name of vserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v9.Volumes" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
+ <xml-property name="nameProps" value="vserver-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
+ <xml-property name="searchable" value="vserver-id,vserver-name,vserver-name2" />
+ <xml-property name="dependentOn" value="tenant" />
+ <xml-property name="container" value="vservers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical interfaces." />
+ </xml-properties>
+ <xml-root-element name="l-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v9.LInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LInterface">
+ <xml-root-element name="l-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name given to the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="MAC address for the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Human friendly text regarding this interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v9.Vlans" />
+ <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v9.SriovVfs" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
+ <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
+ <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
+ <xml-property name="container" value="l-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SriovVfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
+ </xml-properties>
+ <xml-root-element name="sriov-vfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v9.SriovVf" />
+ </java-attributes>
+ </java-type>
+ <java-type name="SriovVf">
+ <xml-root-element name="sriov-vf" />
+ <java-attributes>
+ <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
+ <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="sriov-vfs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv4AddressList">
+ <xml-root-element name="l3-interface-ipv4-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 32 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv4 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vlans">
+ <xml-root-element name="vlans" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v9.Vlan" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vlan">
+ <xml-root-element name="vlan" />
+ <java-attributes>
+ <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String that identifies the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
+ <xml-property name="dbAlias" value="vpn-id-local" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv4AddressList" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v9.L3InterfaceIpv6AddressList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Definition of vlan" />
+ <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="dependentOn" value="l-interface" />
+ <xml-property name="container" value="vlans" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="L3InterfaceIpv6AddressList">
+ <xml-root-element name="l3-interface-ipv6-address-list" />
+ <java-attributes>
+ <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="IP address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Prefix length, 128 for single address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Inner VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Outer VLAN tag" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicator of fixed or floating address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of subnet that address belongs to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPv6 Address Range" />
+ <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
+ <xml-property name="dependentOn" value="vlan,l-interface" />
+ </xml-properties>
+ </java-type>
- <java-type name="Connector">
- <xml-root-element name="connector" />
- <java-attributes>
- <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of resource instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- <xml-property name="indexedProps" value="resource-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
- <xml-property name="container" value="connectors" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
+ <java-type name="Volumes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
+ </xml-properties>
+ <xml-root-element name="volumes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v9.Volume" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Volume">
+ <xml-root-element name="volume" />
+ <java-attributes>
+ <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Ephemeral Block storage volume." />
+ <xml-property name="indexedProps" value="volume-id" />
+ <xml-property name="dependentOn" value="vserver" />
+ <xml-property name="container" value="volumes" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Flavors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack flavors." />
+ </xml-properties>
+ <xml-root-element name="flavors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v9.Flavor" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Flavor">
+ <xml-root-element name="flavor" />
+ <java-attributes>
+ <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Flavor name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of CPUs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of memory" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Amount of ephemeral disk space" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="amount of swap space allocation" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack flavor." />
+ <xml-property name="nameProps" value="flavor-name" />
+ <xml-property name="indexedProps" value="flavor-name,flavor-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="flavors" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Snapshots">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack snapshots" />
+ </xml-properties>
+ <xml-root-element name="snapshots" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v9.Snapshot" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Snapshot">
+ <xml-root-element name="snapshot" />
+ <java-attributes>
+ <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Snapshot name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack snapshot" />
+ <xml-property name="nameProps" value="snapshot-name" />
+ <xml-property name="uniqueProps" value="snapshot-id" />
+ <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="snapshots" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GroupAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack group assignments" />
+ </xml-properties>
+ <xml-root-element name="group-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v9.GroupAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="GroupAssignment">
+ <xml-root-element name="group-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group type - the type of group this instance refers to" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name - name assigned to the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group description - description of the group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
+ <xml-property name="nameProps" value="group-name" />
+ <xml-property name="indexedProps" value="group-id,group-type,group-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="group-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Images">
+ <xml-properties>
+ <xml-property name="description" value="Collectio of Openstack images." />
+ </xml-properties>
+ <xml-root-element name="images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v9.Image" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Image">
+ <xml-root-element name="image" />
+ <java-attributes>
+ <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Image id, expected to be unique across cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Image name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Operating system architecture." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The operating system version as specified by the distributor." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack image." />
+ <xml-property name="nameProps" value="image-name" />
+ <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="images" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Metadata">
+ <xml-properties>
+ <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
+ </xml-properties>
+ <xml-root-element name="metadata" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v9.Metadatum" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Metadatum">
+ <xml-root-element name="metadatum" />
+ <java-attributes>
+ <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Key/value pairs" />
+ <xml-property name="indexedProps" value="metaname" />
+ <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
+ <xml-property name="container" value="metadata" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="DvsSwitches">
+ <xml-properties>
+ <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
+ </xml-properties>
+ <xml-root-element name="dvs-switches" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v9.DvsSwitch" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="DvsSwitch">
+ <xml-root-element name="dvs-switch" />
+ <java-attributes>
+ <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="DVS switch name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL used to reach the vcenter" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
+ <xml-property name="indexedProps" value="vcenter-url,switch-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="dvs-switches" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="NetworkProfiles">
+ <xml-properties>
+ <xml-property name="description" value="Collection of network profiles" />
+ </xml-properties>
+ <xml-root-element name="network-profiles" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v9.NetworkProfile" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NetworkProfile">
+ <xml-root-element name="network-profile" />
+ <java-attributes>
+ <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique name of network profile." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted SNMP community string" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
+ <xml-property name="indexedProps" value="nm-profile-name" />
+ <xml-property name="container" value="network-profiles" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pservers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of compute hosts." />
+ </xml-properties>
+ <xml-root-element name="pservers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v9.Pserver" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pserver">
+ <xml-root-element name="pserver" />
+ <java-attributes>
+ <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value from executing hostname on the compute node." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="PTNII name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Number of cpus" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Disk size, in GBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="RAM size, in MBs" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Fully-qualified domain name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Serial number, may be queried" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 OAM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="internet topology of Pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="alternative pserver name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="purpose of pserver" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
+ <xml-property name="nameProps" value="pserver-name2" />
+ <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2,inv-status" />
+ <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
+ <xml-property name="container" value="pservers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical interfaces." />
+ </xml-properties>
+ <xml-root-element name="p-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v9.PInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PInterface">
+ <xml-root-element name="p-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the physical interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Nature of the services and connectivity on this port." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role specification for p-interface hardware." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the physical properties of the interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Physical interface (e.g., nic)" />
+ <xml-property name="indexedProps" value="interface-name,prov-status" />
+ <xml-property name="nameProps" value="prov-status" />
+ <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
+ <xml-property name="container" value="p-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="LagInterfaces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregate interfaces." />
+ </xml-properties>
+ <xml-root-element name="lag-interfaces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v9.LagInterface" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagInterface">
+ <xml-root-element name="lag-interface" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name that identifies the link aggregate interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Human friendly text regarding this interface." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Link aggregate interface" />
+ <xml-property name="indexedProps" value="interface-name,interface-id,interface-role" />
+ <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
+ <xml-property name="container" value="lag-interfaces" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="OamNetworks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
+ </xml-properties>
+ <xml-root-element name="oam-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v9.OamNetwork" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OamNetwork">
+ <xml-root-element name="oam-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="cvlan-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="oam-networks" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="AvailabilityZones">
+ <xml-properties>
+ <xml-property name="description" value="Collection of availability zones" />
+ </xml-properties>
+ <xml-root-element name="availability-zones" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v9.AvailabilityZone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AvailabilityZone">
+ <xml-root-element name="availability-zone" />
+ <java-attributes>
+ <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
+ <xml-property name="indexedProps" value="availability-zone-name" />
+ <xml-property name="dependentOn" value="cloud-region" />
+ <xml-property name="container" value="availability-zones" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VirtualDataCenters">
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ </xml-properties>
+ <xml-root-element name="virtual-data-centers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v9.VirtualDataCenter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VirtualDataCenter">
+ <xml-root-element name="virtual-data-center" />
+ <java-attributes>
+ <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the vdc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the virtual data center" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
+ <xml-property name="nameProps" value="vdc-name" />
+ <xml-property name="indexedProps" value="vdc-name,vdc-id" />
+ <xml-property name="container" value="virtual-data-centers" />
+ <xml-property name="namespace" value="cloud-infrastructure" />
+ </xml-properties>
+ </java-type>
- <java-type name="Customers">
- <xml-properties>
- <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
- </xml-properties>
- <xml-root-element name="customers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v9.Customer" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
- <java-type name="Customer">
- <xml-root-element name="customer" />
- <java-attributes>
- <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
- <xml-property name="defaultValue" value="CUST" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v9.ServiceSubscriptions" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
- <xml-property name="nameProps" value="subscriber-name" />
- <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
- <xml-property name="searchable" value="global-customer-id,subscriber-name" />
- <xml-property name="uniqueProps" value="global-customer-id" />
- <xml-property name="container" value="customers" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
- <java-type name="ServiceSubscriptions">
- <xml-properties>
- <xml-property name="description" value="Collection of objects that group service instances." />
- </xml-properties>
- <xml-root-element name="service-subscriptions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v9.ServiceSubscription" />
- </java-attributes>
- </java-type>
- <java-type name="ServiceSubscription">
- <xml-root-element name="service-subscription" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
+ <java-type name="Business">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for business related constructs" />
+ </xml-properties>
+ <xml-root-element name="business" />
+ <java-attributes>
+ <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v9.Connectors" />
+ <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v9.Customers" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connectors">
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ </xml-properties>
+ <xml-root-element name="connectors" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v9.Connector" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Connector">
+ <xml-root-element name="connector" />
+ <java-attributes>
+ <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of resource instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
+ <xml-property name="indexedProps" value="resource-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
+ <xml-property name="container" value="connectors" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Customers">
+ <xml-properties>
+ <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
+ </xml-properties>
+ <xml-root-element name="customers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v9.Customer" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Customer">
+ <xml-root-element name="customer" />
+ <java-attributes>
+ <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
+ <xml-property name="defaultValue" value="CUST" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v9.ServiceSubscriptions" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
+ <xml-property name="nameProps" value="subscriber-name" />
+ <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
+ <xml-property name="searchable" value="global-customer-id,subscriber-name" />
+ <xml-property name="uniqueProps" value="global-customer-id" />
+ <xml-property name="container" value="customers" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceSubscriptions">
+ <xml-properties>
+ <xml-property name="description" value="Collection of objects that group service instances." />
+ </xml-properties>
+ <xml-root-element name="service-subscriptions" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v9.ServiceSubscription" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceSubscription">
+ <xml-root-element name="service-subscription" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
</xml-properties>
</xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v9.ServiceInstances">
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Object that group service instances." />
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="dependentOn" value="customer" />
- <xml-property name="container" value="service-subscriptions" />
- <xml-property name="crossEntityReference" value="service-instance,service-type" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceInstances">
- <xml-properties>
- <xml-property name="description" value="Collection of service instances" />
- </xml-properties>
- <xml-root-element name="service-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v9.ServiceInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceInstance">
- <xml-root-element name="service-instance" />
- <java-attributes>
- <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Uniquely identifies this instance of a service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field will store a name assigned to the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL customers will use to access the vHN Portal." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
- <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v9.AllottedResources" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Instance of a service" />
- <xml-property name="indexedProps" value="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
- <xml-property name="nameProps" value="service-instance-name" />
- <xml-property name="searchable" value="service-instance-id,service-instance-name" />
- <xml-property name="uniqueProps" value="service-instance-id" />
- <xml-property name="dependentOn" value="service-subscription" />
- <xml-property name="container" value="service-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceDesignAndCreation">
- <xml-properties>
- <xml-property name="description" value="Namespace for objects managed by ASDC" />
- </xml-properties>
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v9.VnfImages" />
- <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v9.Services" />
- <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v9.ServiceCapabilities" />
- <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v9.Models" />
- <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v9.NamedQueries" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImages">
- <xml-properties>
- <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- </xml-properties>
- <xml-root-element name="vnf-images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v9.VnfImage" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImage">
- <xml-root-element name="vnf-image" />
- <java-attributes>
- <xml-element java-attribute="attUuid" name="att-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of this asset" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- <xml-property name="indexedProps" value="application,att-uuid,application-vendor,application-version" />
- <xml-property name="uniqueProps" value="att-uuid" />
- <xml-property name="container" value="vnf-images" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Services">
- <xml-properties>
- <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
- </xml-properties>
- <xml-root-element name="services" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v9.Service" />
- </java-attributes>
- </java-type>
-
- <java-type name="Service">
- <xml-root-element name="service" />
- <java-attributes>
- <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description of the service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="service version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC. Does not strictly map to ASDC services." />
- <xml-property name="indexedProps" value="service-description,service-id" />
- <xml-property name="container" value="services" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceCapabilities">
- <xml-properties>
- <xml-property name="description" value="Collection of service capabilities." />
- </xml-properties>
- <xml-root-element name="service-capabilities" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v9.ServiceCapability" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceCapability">
- <xml-root-element name="service-capability" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
- <xml-property name="indexedProps" value="service-type,vnf-type" />
- <xml-property name="container" value="service-capabilities" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Network">
- <xml-properties>
- <xml-property name="description" value="Namespace for network inventory resources." />
- </xml-properties>
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v9.LogicalLinks" />
- <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v9.SitePairSets" />
- <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v9.VpnBindings" />
- <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v9.VplsPes" />
- <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v9.MulticastConfigurations" />
- <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v9.Vces" />
- <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v9.Vnfcs" />
- <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v9.L3Networks" />
- <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v9.NetworkPolicies" />
- <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v9.GenericVnfs" />
- <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v9.LagLinks" />
- <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v9.Newvces" />
- <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v9.Pnfs" />
- <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v9.PhysicalLinks" />
- <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v9.IpsecConfigurations" />
- <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v9.RouteTableReferences" />
- <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v9.InstanceGroups" />
- <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v9.Zones" />
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v9.TestObjects" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of logical connections" />
- </xml-properties>
- <xml-root-element name="logical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v9.LogicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLink">
- <xml-root-element name="logical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of logical link, e.g., evc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="For example, static or BGP" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of operational status of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of the network use of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Reason for this entity, role it is playing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
- <xml-property name="indexedProps" value="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose" />
- <xml-property name="uniqueProps" value="link-id" />
- <xml-property name="container" value="logical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairSets">
- <xml-properties>
- <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
- </xml-properties>
- <xml-root-element name="site-pair-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v9.SitePairSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePairSet">
- <xml-root-element name="site-pair-set" />
- <java-attributes>
- <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of site pair set." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v9.RoutingInstances" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
- <xml-property name="indexedProps" value="site-pair-set-id" />
- <xml-property name="uniqueProps" value="site-pair-set-id" />
- <xml-property name="container" value="site-pair-sets" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="RoutingInstances">
- <xml-properties>
- <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
- </xml-properties>
- <xml-root-element name="routing-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v9.RoutingInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="RoutingInstance">
- <xml-root-element name="routing-instance" />
- <java-attributes>
- <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of routing instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rpm owner" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v9.SitePairs" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="routing-instance-id" />
- <xml-property name="uniqueProps" value="routing-instance-id" />
- <xml-property name="dependentOn" value="site-pair-set" />
- <xml-property name="container" value="routing-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairs">
- <xml-properties>
- <xml-property name="description" value="probe within a set" />
- </xml-properties>
- <xml-root-element name="site-pairs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v9.SitePair" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePair">
- <xml-root-element name="site-pair" />
- <java-attributes>
- <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version, v4, v6" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The type of destinatination equipment. Could be Router, UCPE, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v9.ClassesOfService" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="site-pair-id" />
- <xml-property name="uniqueProps" value="site-pair-id" />
- <xml-property name="dependentOn" value="routing-instance" />
- <xml-property name="container" value="site-pairs" />
- </xml-properties>
- </java-type>
-
- <java-type name="ClassesOfService">
- <xml-properties>
- <xml-property name="description" value="class-of-service of probe" />
- </xml-properties>
- <xml-root-element name="classes-of-service" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v9.ClassOfService" />
- </java-attributes>
- </java-type>
-
- <java-type name="ClassOfService">
- <xml-root-element name="class-of-service" />
- <java-attributes>
- <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="cos" />
- <xml-property name="dependentOn" value="site-pair" />
- <xml-property name="container" value="classes-of-service" />
- </xml-properties>
- </java-type>
-
- <java-type name="VpnBindings">
- <xml-root-element name="vpn-bindings" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v9.VpnBinding" />
- </java-attributes>
- </java-type>
-
- <java-type name="VpnBinding">
- <xml-root-element name="vpn-binding" />
- <java-attributes>
- <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="VPN Name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
- <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
- <xml-property name="defaultValue" value="BOTH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList">
- <xml-properties>
- <xml-property name="description" value="l3-networks relate to vpn-bindings" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPN binding" />
- <xml-property name="nameProps" value="vpn-name,vpn-type" />
- <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
- <xml-property name="searchable" value="vpn-id,vpn-name" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="container" value="vpn-bindings" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="VplsPes">
- <xml-properties>
- <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
- </xml-properties>
- <xml-root-element name="vpls-pes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v9.VplsPe" />
- </java-attributes>
- </java-type>
-
- <java-type name="VplsPe">
- <xml-root-element name="vpls-pe" />
- <java-attributes>
- <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Temporary location for stag to get to VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPLS Provider Edge routers." />
- <xml-property name="indexedProps" value="prov-status,equipment-name" />
- <xml-property name="container" value="vpls-pes" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="MulticastConfigurations">
- <xml-properties>
- <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
- </xml-properties>
- <xml-root-element name="multicast-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v9.MulticastConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="MulticastConfiguration">
- <xml-root-element name="multicast-configuration" />
- <java-attributes>
- <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of multicast configuration." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="protocol of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rp type of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="multicast-configuration-id" />
- <xml-property name="uniqueProps" value="multicast-configuration-id" />
- <xml-property name="container" value="multicast-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vces">
- <xml-properties>
- <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
- </xml-properties>
- <xml-root-element name="vces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v9.Vce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vce">
- <xml-root-element name="vce" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not strictly map to ASDC services, SOON TO BE DEPRECATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- <xml-property name="dbAlias" value="operational-status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network role being played by this VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - see child relationships" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v9.PortGroups" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v9.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v9.Entitlements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="vces" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="PortGroups">
- <xml-root-element name="port-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v9.PortGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="PortGroup">
- <xml-root-element name="port-group" />
- <java-attributes>
- <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network name of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID for port group in vmware" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Likely to duplicate value of neutron network name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v9.CvlanTags" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
- <xml-property name="nameProps" value="port-group-name" />
- <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
- <xml-property name="dependentOn" value="vce" />
- <xml-property name="container" value="port-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="CvlanTags">
- <xml-root-element name="cvlan-tags" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v9.CvlanTagEntry" />
- </java-attributes>
- </java-type>
-
- <java-type name="CvlanTagEntry">
- <xml-root-element name="cvlan-tag-entry" />
- <java-attributes>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="port-group" />
- <xml-property name="indexedProps" value="cvlan-tag" />
- <xml-property name="container" value="cvlan-tags" />
- </xml-properties>
- </java-type>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v9.ServiceInstances">
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Object that group service instances." />
+ <xml-property name="indexedProps" value="service-type" />
+ <xml-property name="dependentOn" value="customer" />
+ <xml-property name="container" value="service-subscriptions" />
+ <xml-property name="crossEntityReference" value="service-instance,service-type" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceInstances">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service instances" />
+ </xml-properties>
+ <xml-root-element name="service-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v9.ServiceInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceInstance">
+ <xml-root-element name="service-instance" />
+ <java-attributes>
+ <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Uniquely identifies this instance of a service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="This field will store a name assigned to the service-instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL customers will use to access the vHN Portal." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this service." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
+ <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v9.AllottedResources" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Instance of a service" />
+ <xml-property name="indexedProps" value="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
+ <xml-property name="nameProps" value="service-instance-name" />
+ <xml-property name="searchable" value="service-instance-id,service-instance-name" />
+ <xml-property name="uniqueProps" value="service-instance-id" />
+ <xml-property name="dependentOn" value="service-subscription" />
+ <xml-property name="container" value="service-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceDesignAndCreation">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for objects managed by ASDC" />
+ </xml-properties>
+ <xml-root-element name="service-design-and-creation" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v9.VnfImages" />
+ <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v9.Services" />
+ <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v9.ServiceCapabilities" />
+ <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v9.Models" />
+ <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v9.NamedQueries" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImages">
+ <xml-properties>
+ <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ </xml-properties>
+ <xml-root-element name="vnf-images" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v9.VnfImage" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VnfImage">
+ <xml-root-element name="vnf-image" />
+ <java-attributes>
+ <xml-element java-attribute="vnfImageUuid" name="vnf-image-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of this asset" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The application that the image instantiates." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The vendor of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The version of the application." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
+ <xml-property name="indexedProps" value="application,vnf-image-uuid,application-vendor,application-version" />
+ <xml-property name="uniqueProps" value="vnf-image-uuid" />
+ <xml-property name="container" value="vnf-images" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Services">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
+ </xml-properties>
+ <xml-root-element name="services" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v9.Service" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Service">
+ <xml-root-element name="service" />
+ <java-attributes>
+ <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description of the service" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="service version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC. Does not strictly map to ASDC services." />
+ <xml-property name="indexedProps" value="service-description,service-id" />
+ <xml-property name="container" value="services" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ServiceCapabilities">
+ <xml-properties>
+ <xml-property name="description" value="Collection of service capabilities." />
+ </xml-properties>
+ <xml-root-element name="service-capabilities" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v9.ServiceCapability" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ServiceCapability">
+ <xml-root-element name="service-capability" />
+ <java-attributes>
+ <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
+ <xml-property name="indexedProps" value="service-type,vnf-type" />
+ <xml-property name="container" value="service-capabilities" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Network">
+ <xml-properties>
+ <xml-property name="description" value="Namespace for network inventory resources." />
+ </xml-properties>
+ <xml-root-element name="network" />
+ <java-attributes>
+ <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v9.LogicalLinks" />
+ <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v9.SitePairSets" />
+ <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v9.VpnBindings" />
+ <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v9.VplsPes" />
+ <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v9.MulticastConfigurations" />
+ <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v9.Vces" />
+ <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v9.Vnfcs" />
+ <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v9.L3Networks" />
+ <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v9.NetworkPolicies" />
+ <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v9.GenericVnfs" />
+ <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v9.LagLinks" />
+ <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v9.Newvces" />
+ <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v9.Pnfs" />
+ <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v9.PhysicalLinks" />
+ <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v9.IpsecConfigurations" />
+ <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v9.RouteTableReferences" />
+ <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v9.InstanceGroups" />
+ <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v9.Zones" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of logical connections" />
+ </xml-properties>
+ <xml-root-element name="logical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v9.LogicalLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LogicalLink">
+ <xml-root-element name="logical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of logical link, e.g., evc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4, v6, or ds for dual stack" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="For example, static or BGP" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of operational status of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indication of the network use of the logical link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Reason for this entity, role it is playing" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
+ <xml-property name="indexedProps" value="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose" />
+ <xml-property name="uniqueProps" value="link-id" />
+ <xml-property name="container" value="logical-links" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="searchable" value="link-name" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairSets">
+ <xml-properties>
+ <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
+ </xml-properties>
+ <xml-root-element name="site-pair-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v9.SitePairSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePairSet">
+ <xml-root-element name="site-pair-set" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of site pair set." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v9.RoutingInstances" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
+ <xml-property name="indexedProps" value="site-pair-set-id" />
+ <xml-property name="uniqueProps" value="site-pair-set-id" />
+ <xml-property name="container" value="site-pair-sets" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="RoutingInstances">
+ <xml-properties>
+ <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
+ </xml-properties>
+ <xml-root-element name="routing-instances" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v9.RoutingInstance" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RoutingInstance">
+ <xml-root-element name="routing-instance" />
+ <java-attributes>
+ <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of routing instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rpm owner" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v9.SitePairs" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="routing-instance-id" />
+ <xml-property name="uniqueProps" value="routing-instance-id" />
+ <xml-property name="dependentOn" value="site-pair-set" />
+ <xml-property name="container" value="routing-instances" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="SitePairs">
+ <xml-properties>
+ <xml-property name="description" value="probe within a set" />
+ </xml-properties>
+ <xml-root-element name="site-pairs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v9.SitePair" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SitePair">
+ <xml-root-element name="site-pair" />
+ <java-attributes>
+ <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prefix address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version, v4, v6" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The type of destinatination equipment. Could be Router, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v9.ClassesOfService" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="site-pair-id" />
+ <xml-property name="uniqueProps" value="site-pair-id" />
+ <xml-property name="dependentOn" value="routing-instance" />
+ <xml-property name="container" value="site-pairs" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="ClassesOfService">
+ <xml-properties>
+ <xml-property name="description" value="class-of-service of probe" />
+ </xml-properties>
+ <xml-root-element name="classes-of-service" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v9.ClassOfService" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ClassOfService">
+ <xml-root-element name="class-of-service" />
+ <java-attributes>
+ <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="type of probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="cos" />
+ <xml-property name="dependentOn" value="site-pair" />
+ <xml-property name="container" value="classes-of-service" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VpnBindings">
+ <xml-root-element name="vpn-bindings" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v9.VpnBinding" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VpnBinding">
+ <xml-root-element name="vpn-binding" />
+ <java-attributes>
+ <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="VPN Name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
+ <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this route target" />
+ <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
+ <xml-property name="defaultValue" value="BOTH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList">
+ <xml-properties>
+ <xml-property name="description" value="l3-networks relate to vpn-bindings" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPN binding" />
+ <xml-property name="nameProps" value="vpn-name,vpn-type" />
+ <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
+ <xml-property name="searchable" value="vpn-id,vpn-name" />
+ <xml-property name="uniqueProps" value="vpn-id" />
+ <xml-property name="container" value="vpn-bindings" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VplsPes">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
+ </xml-properties>
+ <xml-root-element name="vpls-pes" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v9.VplsPe" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VplsPe">
+ <xml-root-element name="vpls-pe" />
+ <java-attributes>
+ <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by VPE (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="Temporary location for stag to get to VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="VPLS Provider Edge routers." />
+ <xml-property name="indexedProps" value="prov-status,equipment-name" />
+ <xml-property name="container" value="vpls-pes" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="MulticastConfigurations">
+ <xml-properties>
+ <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
+ </xml-properties>
+ <xml-root-element name="multicast-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v9.MulticastConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="MulticastConfiguration">
+ <xml-root-element name="multicast-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of multicast configuration." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="protocol of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="rp type of multicast configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="multicast-configuration-id" />
+ <xml-property name="uniqueProps" value="multicast-configuration-id" />
+ <xml-property name="container" value="multicast-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vces">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
+ </xml-properties>
+ <xml-root-element name="vces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v9.Vce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Vce">
+ <xml-root-element name="vce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service, does not strictly map to ASDC services, SOON TO BE DEPRECATED." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network role being played by this VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - see child relationships" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v9.PortGroups" />
+ <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v9.Licenses" />
+ <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v9.Entitlements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="vces" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PortGroups">
+ <xml-root-element name="port-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v9.PortGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PortGroup">
+ <xml-root-element name="port-group" />
+ <java-attributes>
+ <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of the interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network name of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for port group in vmware" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Likely to duplicate value of neutron network name" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v9.CvlanTags" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
+ <xml-property name="nameProps" value="port-group-name" />
+ <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
+ <xml-property name="dependentOn" value="vce" />
+ <xml-property name="container" value="port-groups" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="CvlanTags">
+ <xml-root-element name="cvlan-tags" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v9.CvlanTagEntry" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CvlanTagEntry">
+ <xml-root-element name="cvlan-tag-entry" />
+ <java-attributes>
+ <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="dependentOn" value="port-group" />
+ <xml-property name="indexedProps" value="cvlan-tag" />
+ <xml-property name="container" value="cvlan-tags" />
+ </xml-properties>
+ </java-type>
- <java-type name="Vnfcs">
- <xml-properties>
- <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
- </xml-properties>
- <xml-root-element name="vnfcs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v9.Vnfc" />
- </java-attributes>
- </java-type>
+ <java-type name="Vnfcs">
+ <xml-properties>
+ <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
+ </xml-properties>
+ <xml-root-element name="vnfcs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v9.Vnfc" />
+ </java-attributes>
+ </java-type>
<java-type name="Vnfc">
<xml-root-element name="vnfc" />
@@ -3105,11 +3067,12 @@
<xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="function code" />
+ <xml-property name="dbAlias" value="nfc-naming-code" />
</xml-properties>
</xml-element>
<xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
<xml-properties>
- <xml-property name="description" value="type" />
+ <xml-property name="description" value="type" /><xml-property name="dbAlias" value="nfc-function" />
</xml-properties>
</xml-element>
<xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
@@ -3159,2444 +3122,2209 @@
</xml-properties>
</java-type>
- <java-type name="L3Networks">
- <xml-root-element name="l3-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v9.L3Network" />
- </java-attributes>
- </java-type>
-
- <java-type name="L3Network">
- <xml-root-element name="l3-network" />
- <java-attributes>
- <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network, governed by some naming convention.." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the network - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role the network plans - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network technology - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Set to true if bound to VPN" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service from ASDC. Does not strictly map to ASDC services. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="network role instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the physical network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v9.Subnets" />
- <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v9.CtagAssignments" />
- <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v9.SegmentationAssignments" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" >
- <xml-properties>
- <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Generic network definition" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn,network-role" />
- <xml-property name="searchable" value="network-id,network-name" />
- <xml-property name="uniqueProps" value="network-id" />
- <xml-property name="container" value="l3-networks" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="NetworkPolicies">
- <xml-root-element name="network-policies" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v9.NetworkPolicy" />
- </java-attributes>
- </java-type>
- <java-type name="NetworkPolicy">
- <xml-root-element name="network-policy" />
- <java-attributes>
- <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID representing unique key to this instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the policy" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID for the openStack Heat instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="network-policy-fqdn" />
- <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="searchable" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="uniqueProps" value="network-policy-id" />
- <xml-property name="container" value="network-policies" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="CtagAssignments">
- <xml-root-element name="ctag-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v9.CtagAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagAssignment">
- <xml-root-element name="ctag-assignment" />
- <java-attributes>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="id." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vlan-id-inner" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="ctag-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Subnets">
- <xml-root-element name="subnets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v9.Subnet" />
- </java-attributes>
- </java-type>
-
- <java-type name="Subnet">
- <xml-root-element name="subnet" />
- <java-attributes>
- <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Subnet ID, should be UUID." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the subnet." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of this subnet" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="gateway ip address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="network start address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="cidr mask" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="dhcp enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the start address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the last address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="subnet-id,subnet-name" />
- <xml-property name="nameProps" value="subnet-name" />
- <xml-property name="uniqueProps" value="subnet-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="subnets" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="generic-vnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v9.GenericVnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnf">
- <xml-root-element name="generic-vnf" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- <xml-property name="dbAlias" value="operational-status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
- <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v9.VfModules" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v9.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v9.Entitlements" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="generic-vnfs" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="VfModules">
- <xml-properties>
- <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
- </xml-properties>
- <xml-root-element name="vf-modules" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v9.VfModule" />
- </java-attributes>
- </java-type>
-
- <java-type name="VfModule">
- <xml-root-element name="vf-module" />
- <java-attributes>
- <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vf-module." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vf-module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the Contrail unique ID for a service-instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="moduleIndex" name="module-index" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="the index will track the number of modules of a given type that have been deployed in a VNF, starting with 0, and always choosing the lowest available digit" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="a deployment unit of VNFCs" />
- <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
- <xml-property name="searchable" value="vf-module-id,vf-module-name" />
- <xml-property name="dependentOn" value="generic-vnf" />
- <xml-property name="container" value="vf-modules" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="LagLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregation connections" />
- </xml-properties>
- <xml-root-element name="lag-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v9.LagLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagLink">
- <xml-root-element name="lag-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="LAG links can connect lag-interfaces" />
- <xml-property name="indexedProps" value="link-name" />
- <xml-property name="container" value="lag-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Newvces">
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- </xml-properties>
- <xml-root-element name="newvces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v9.Newvce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Newvce">
- <xml-root-element name="newvce" />
- <java-attributes>
- <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- <xml-property name="dbAlias" value="operational-status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
- <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id2" />
- <xml-property name="container" value="newvces" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of Physical Network Functions." />
- </xml-properties>
- <xml-root-element name="pnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v9.Pnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnf">
- <xml-root-element name="pnf" />
- <java-attributes>
- <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="source of name2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="id of pnf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number of the device" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nf Role is the role performed by this instance in the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world. in 1607, this will be populated by SDN-C to represent a premises router that a uCPE connects to. But this can be used to represent any physical device that is not an AIC node or uCPE." />
- <xml-property name="indexedProps" value="pnf-name,orchestration-status,inv-status" />
- <xml-property name="searchable" value="pnf-name" />
- <xml-property name="uniqueProps" value="pnf-name" />
- <xml-property name="container" value="pnfs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- </xml-properties>
- <xml-root-element name="physical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v9.PhysicalLink" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLink">
- <xml-root-element name="physical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit it" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the service Provider on this link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- <xml-property name="indexedProps" value="circuit-id,link-name" />
- <xml-property name="alternateKeys1" value="circuit-id" />
- <xml-property name="container" value="physical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name,circuit-id" />
- </xml-properties>
- </java-type>
-
- <java-type name="VigServers">
- <xml-root-element name="vig-servers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v9.VigServer" />
- </java-attributes>
- </java-type>
-
- <java-type name="VigServer">
- <xml-root-element name="vig-server" />
- <java-attributes>
- <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v4 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v6 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
- <xml-property name="indexedProps" value="vig-address-type" />
- <xml-property name="dependentOn" value="ipsec-configuration" />
- <xml-property name="container" value="vig-servers" />
- </xml-properties>
- </java-type>
-
- <java-type name="IpsecConfigurations">
- <xml-root-element name="ipsec-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v9.IpsecConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="IpsecConfiguration">
- <xml-root-element name="ipsec-configuration" />
- <java-attributes>
- <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of this configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ATT can offer a shared DMZ or a DMZ specific to a customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network address of shared DMZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="can be 1 or 2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,�aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="pre-shared key for the above group name " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Lifetime for IKEv1 SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,�aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Life time for IPSec SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="enable PFS or not" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="user ID for xAuth, sm-user,ucpeHostName,nmteHostName" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The time between DPD probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v9.VigServers" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
- <xml-property name="indexedProps" value="ipsec-configuration-id" />
- <xml-property name="uniqueProps" value="ipsec-configuration-id" />
- <xml-property name="container" value="ipsec-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="NotificationEvent">
- <xml-root-element name="notification-event" />
- <java-attributes>
- <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
- <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v9.NotificationEventHeader" />
- <xml-any-element java-attribute="entity" />
- </java-attributes>
- </java-type>
- <java-type name="NotificationEventHeader">
- <xml-root-element name="notification-event-header" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" type="java.lang.String" />
- <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
- <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
- <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
- <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
- <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
- <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
- <xml-element java-attribute="version" name="version" type="java.lang.String" />
- <xml-element java-attribute="action" name="action" type="java.lang.String" />
- <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
- <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
- <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
- <xml-element java-attribute="status" name="status" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="AaiInternal">
- <xml-root-element name="aai-internal" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v9.ReservedPropNames" />
- <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v9.EdgePropNames" />
- </java-attributes>
- </java-type>
- <java-type name="ReservedPropNames">
- <xml-properties>
- <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
- <xml-property name="uniqueProps" value="aai-unique-key" />
- <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type,aai-uri" />
- </xml-properties>
- <xml-root-element name="reserved-prop-names" />
- <java-attributes>
- <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
- <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
- <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
- <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
- <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiUri" name="aai-uri" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="EdgePropNames">
- <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
- <xml-properties>
- <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
- <xml-root-element name="edge-prop-names" />
- <java-attributes>
- <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
- <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
- <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.Boolean" />
- </java-attributes>
- </java-type>
-
- <java-type name="Models">
- <xml-properties>
- <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
- </xml-properties>
- <xml-root-element name="models" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v9.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="Model">
- <xml-root-element name="model" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
- <xml-property name="nameProps" value="model-type" />
- <xml-property name="indexedProps" value="model-invariant-id,model-type" />
- <xml-property name="uniqueProps" value="model-invariant-id" />
- <xml-property name="container" value="models" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v9.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="ModelVers">
- <xml-root-element name="model-vers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v9.ModelVer" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelVer">
- <xml-root-element name="model-ver" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
- <xml-property name="nameProps" value="model-name" />
- <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
- <xml-property name="uniqueProps" value="model-version-id" />
- <xml-property name="container" value="model-vers" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElements">
- <xml-root-element name="model-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v9.ModelElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElement">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
- <xml-property name="uniqueProps" value="model-element-uuid" />
- <xml-property name="indexedProps" value="model-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-elements" />
- </xml-properties>
- <xml-root-element name="model-element" />
- <java-attributes>
- <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="How many of this type of element are required/allowed" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String" >
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v9.ModelConstraints">
- <xml-properties>
- <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraints">
- <xml-root-element name="model-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v9.ModelConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraint">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="model-constraint-uuid" />
- <xml-property name="indexedProps" value="model-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-constraints" />
- </xml-properties>
- <xml-root-element name="model-constraint" />
- <java-attributes>
- <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
- <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v9.ConstrainedElementSets" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSets">
- <xml-root-element name="constrained-element-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v9.ConstrainedElementSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
- <xml-property name="indexedProps" value="constrained-element-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="constrained-element-sets" />
- </xml-properties>
- <xml-root-element name="constrained-element-set" />
- <java-attributes>
- <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v9.ElementChoiceSets" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSets">
- <xml-root-element name="element-choice-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v9.ElementChoiceSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="element-choice-set-uuid" />
- <xml-property name="indexedProps" value="element-choice-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="element-choice-sets" />
- </xml-properties>
- <xml-root-element name="element-choice-set" />
- <java-attributes>
- <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueries">
- <xml-root-element name="named-queries" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v9.NamedQuery" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQuery">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="nameProps" value="named-query-name" />
- <xml-property name="uniqueProps" value="named-query-uuid" />
- <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
- <xml-property name="container" value="named-queries" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <xml-root-element name="named-query" />
- <java-attributes>
- <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String" >
- <xml-element-wrapper name="required-input-params" />
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v9.NamedQueryElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElements">
- <xml-root-element name="named-query-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v9.NamedQueryElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElement">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="named-query-element-uuid" />
- <xml-property name="indexedProps" value="named-query-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="named-query-elements" />
- </xml-properties>
- <xml-root-element name="named-query-element" />
- <java-attributes>
- <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
- <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v9.NamedQueryElements" />
- <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v9.RelatedLookups" />
- <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v9.PropertyConstraints" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookups">
- <xml-root-element name="related-lookups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v9.RelatedLookup" />
- </java-attributes>
- </java-type>
+ <java-type name="L3Networks">
+ <xml-root-element name="l3-networks" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v9.L3Network" />
+ </java-attributes>
+ </java-type>
- <java-type name="RelatedLookup">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="related-lookup-uuid" />
- <xml-property name="indexedProps" value="related-lookup-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="related-lookups" />
- </xml-properties>
- <xml-root-element name="related-lookup" />
- <java-attributes>
- <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
+ <java-type name="L3Network">
+ <xml-root-element name="l3-network" />
+ <java-attributes>
+ <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the network, governed by some naming convention.." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the network - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Role the network plans - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network technology - who defines these values?" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron network id of this Interface" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Set to true if bound to VPN" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service from ASDC. Does not strictly map to ASDC services. SOON TO BE DEPRECATED" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="network role instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the network" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="dbAlias" value="model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the physical network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v9.Subnets" />
+ <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v9.CtagAssignments" />
+ <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v9.SegmentationAssignments" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" >
+ <xml-properties>
+ <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Generic network definition" />
+ <xml-property name="nameProps" value="network-name" />
+ <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn,network-role" />
+ <xml-property name="searchable" value="network-id,network-name" />
+ <xml-property name="uniqueProps" value="network-id" />
+ <xml-property name="container" value="l3-networks" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="NetworkPolicies">
+ <xml-root-element name="network-policies" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v9.NetworkPolicy" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NetworkPolicy">
+ <xml-root-element name="network-policy" />
+ <java-attributes>
+ <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID representing unique key to this instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contrail FQDN for the policy" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID for the openStack Heat instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="nameProps" value="network-policy-fqdn" />
+ <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
+ <xml-property name="searchable" value="network-policy-id,network-policy-fqdn" />
+ <xml-property name="uniqueProps" value="network-policy-id" />
+ <xml-property name="container" value="network-policies" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+ <java-type name="CtagAssignments">
+ <xml-root-element name="ctag-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v9.CtagAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="CtagAssignment">
+ <xml-root-element name="ctag-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="id." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="vlan-id-inner" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="ctag-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Subnets">
+ <xml-root-element name="subnets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v9.Subnet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Subnet">
+ <xml-root-element name="subnet" />
+ <java-attributes>
+ <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Subnet ID, should be UUID." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name associated with the subnet." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Neutron id of this subnet" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="gateway ip address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="network start address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="cidr mask" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ip version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="dhcp enabled" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the start address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the last address reserved for use by dhcp" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="indexedProps" value="subnet-id,subnet-name" />
+ <xml-property name="nameProps" value="subnet-name" />
+ <xml-property name="uniqueProps" value="subnet-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="subnets" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GenericVnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of VNFs" />
+ </xml-properties>
+ <xml-root-element name="generic-vnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v9.GenericVnf" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="GenericVnf">
+ <xml-root-element name="generic-vnf" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 Loopback address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v6 management address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
+ <xml-properties>
+ <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only in some usecases" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="dbAlias" value="model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="as-number of the VNF" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="represents sub zone of the rr plane" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
+ <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v9.VfModules" />
+ <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v9.Licenses" />
+ <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v9.Entitlements" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="General purpose VNF" />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
+ <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="container" value="generic-vnfs" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="extends" value="vnf" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VfModules">
+ <xml-properties>
+ <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
+ </xml-properties>
+ <xml-root-element name="vf-modules" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v9.VfModule" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VfModule">
+ <xml-root-element name="vf-module" />
+ <java-attributes>
+ <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of vf-module." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of vf-module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="dbAlias" value="model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the Contrail unique ID for a service-instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="moduleIndex" name="module-index" type="java.lang.Integer">
+ <xml-properties>
+ <xml-property name="description" value="the index will track the number of modules of a given type that have been deployed in a VNF, starting with 0, and always choosing the lowest available digit" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Path to the controller object." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="a deployment unit of VNFCs" />
+ <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
+ <xml-property name="searchable" value="vf-module-id,vf-module-name" />
+ <xml-property name="dependentOn" value="generic-vnf" />
+ <xml-property name="container" value="vf-modules" />
+ </xml-properties>
+ </java-type>
- <java-type name="PropertyConstraints">
- <xml-root-element name="property-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v9.PropertyConstraint" />
- </java-attributes>
- </java-type>
- <java-type name="PropertyConstraint">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="property-constraint-uuid" />
- <xml-property name="indexedProps" value="property-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="property-constraints" />
- </xml-properties>
- <xml-root-element name="property-constraint" />
- <java-attributes>
- <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyName" name="property-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- </java-attributes>
- </java-type>
+ <java-type name="LagLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of link aggregation connections" />
+ </xml-properties>
+ <xml-root-element name="lag-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v9.LagLink" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="LagLink">
+ <xml-root-element name="lag-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="LAG links can connect lag-interfaces" />
+ <xml-property name="indexedProps" value="link-name" />
+ <xml-property name="container" value="lag-links" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Newvces">
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ </xml-properties>
+ <xml-root-element name="newvces" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v9.Newvce" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Newvce">
+ <xml-root-element name="newvce" />
+ <java-attributes>
+ <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Alternate name of VNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicator for whether the resource is considered operational" />
+ <xml-property name="dbAlias" value="operational-status" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="OBSOLETE - do not use" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by VPE (v4-loopback0-ip-address)." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Client should send valid enumerated value." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="v4 Loopback0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v9.LInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
+ <xml-property name="nameProps" value="vnf-name" />
+ <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
+ <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
+ <xml-property name="uniqueProps" value="vnf-id2" />
+ <xml-property name="container" value="newvces" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pnfs">
+ <xml-properties>
+ <xml-property name="description" value="Collection of Physical Network Functions." />
+ </xml-properties>
+ <xml-root-element name="pnfs" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v9.Pnf" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Pnf">
+ <xml-root-element name="pnf" />
+ <java-attributes>
+ <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="unique name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="name of Physical Network Function." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="source of name2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="id of pnf" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="identifier of managed by company or customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
+ </xml-properties>
+ </xml-element>
+ <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="defaultValue" value="false"/>
+ <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Serial number of the device" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 Loopback 0 address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV4 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 AIM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="IPV6 OAM address" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Nf Role is the role performed by this instance in the network." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v9.PInterfaces" />
+ <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v9.LagInterfaces" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world." />
+ <xml-property name="indexedProps" value="pnf-name,orchestration-status,inv-status" />
+ <xml-property name="searchable" value="pnf-name" />
+ <xml-property name="uniqueProps" value="pnf-name" />
+ <xml-property name="container" value="pnfs" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PhysicalLinks">
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ </xml-properties>
+ <xml-root-element name="physical-links" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v9.PhysicalLink" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="maximumDepth" value="0" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="PhysicalLink">
+ <xml-root-element name="physical-link" />
+ <java-attributes>
+ <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the numeric part of the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Captures the units corresponding to the speed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Circuit it" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the service Provider on this link." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
+ <xml-property name="indexedProps" value="circuit-id,link-name" />
+ <xml-property name="alternateKeys1" value="circuit-id" />
+ <xml-property name="container" value="physical-links" />
+ <xml-property name="namespace" value="network" />
+ <xml-property name="searchable" value="link-name,circuit-id" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="VigServers">
+ <xml-root-element name="vig-servers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v9.VigServer" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="VigServer">
+ <xml-root-element name="vig-server" />
+ <java-attributes>
+ <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String" >
+ <xml-properties>
+ <xml-property name="description" value="v4 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String" >
+ <xml-properties>
+ <xml-property name="description" value="v6 IP of the vig server" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
+ <xml-property name="indexedProps" value="vig-address-type" />
+ <xml-property name="dependentOn" value="ipsec-configuration" />
+ <xml-property name="container" value="vig-servers" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="IpsecConfigurations">
+ <xml-root-element name="ipsec-configurations" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v9.IpsecConfiguration" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="IpsecConfiguration">
+ <xml-root-element name="ipsec-configuration" />
+ <java-attributes>
+ <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="UUID of this configuration" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can offer a shared DMZ or a DMZ specific to a customer" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Network address of shared DMZ" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="can be 1 or 2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="pre-shared key for the above group name " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Lifetime for IKEv1 SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="md5, sha1, sha256, sha384" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Life time for IPSec SA" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="enable PFS or not" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="user ID for xAuth, sm-user, ,nmteHostName" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The time between DPD probe" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v9.VigServers" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
+ <xml-property name="indexedProps" value="ipsec-configuration-id" />
+ <xml-property name="uniqueProps" value="ipsec-configuration-id" />
+ <xml-property name="container" value="ipsec-configurations" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+
+ <java-type name="NotificationEvent">
+ <xml-root-element name="notification-event" />
+ <java-attributes>
+ <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
+ <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v9.NotificationEventHeader" />
+ <xml-any-element java-attribute="entity" />
+ </java-attributes>
+ </java-type>
+ <java-type name="NotificationEventHeader">
+ <xml-root-element name="notification-event-header" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" type="java.lang.String" />
+ <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
+ <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
+ <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
+ <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
+ <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
+ <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
+ <xml-element java-attribute="version" name="version" type="java.lang.String" />
+ <xml-element java-attribute="action" name="action" type="java.lang.String" />
+ <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
+ <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
+ <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
+ <xml-element java-attribute="status" name="status" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="AaiInternal">
+ <xml-root-element name="aai-internal" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v9.ReservedPropNames" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v9.EdgePropNames" />
+ </java-attributes>
+ </java-type>
+ <java-type name="ReservedPropNames">
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
+ <xml-property name="uniqueProps" value="aai-unique-key" />
+ <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type,aai-uri" />
+ </xml-properties>
+ <xml-root-element name="reserved-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
+ <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
+ <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
+ <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
+ <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
+ <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
+ <xml-element java-attribute="aaiUri" name="aai-uri" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+ <java-type name="EdgePropNames">
+ <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
+ <xml-properties>
+ <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
+ <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
+ </xml-properties>
+ <xml-root-element name="edge-prop-names" />
+ <java-attributes>
+ <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
+ <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
+ <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
+ <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
+ <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
+ <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.Boolean" />
+ <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.Boolean" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Models">
+ <xml-properties>
+ <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
+ </xml-properties>
+ <xml-root-element name="models" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v9.Model" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Model">
+ <xml-root-element name="model" />
+ <xml-properties>
+ <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
+ <xml-property name="nameProps" value="model-type" />
+ <xml-property name="indexedProps" value="model-invariant-id,model-type" />
+ <xml-property name="uniqueProps" value="model-invariant-id" />
+ <xml-property name="container" value="models" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v9.ModelVers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
- <java-type name="ModelAndNamedQuerySearch">
- <xml-properties>
- <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="model-and-named-query-search" />
- <java-attributes>
- <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v9.QueryParameters" />
- <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v9.InstanceFilters" />
- <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v9.SecondaryFilts" />
- <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
- <xml-element java-attribute="secondaryFilterCutPoint" name="secondary-filter-cut-point" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="QueryParameters">
- <xml-properties>
- <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="query-parameters" />
- <java-attributes>
- <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v9.NamedQuery" />
- <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v9.OverloadedModel" />
- </java-attributes>
- </java-type>
+ <java-type name="ModelVers">
+ <xml-root-element name="model-vers" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v9.ModelVer" />
+ </java-attributes>
+ </java-type>
- <java-type name="OverloadedModel">
- <xml-root-element name="overloaded-model" />
- <xml-properties>
- <xml-property name="description" value="Allows for legacy POST of old-style and new-style models" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v9.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- </java-type>
+ <java-type name="ModelVer">
+ <xml-root-element name="model-ver" />
+ <xml-properties>
+ <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
+ <xml-property name="nameProps" value="model-name" />
+ <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
+ <xml-property name="uniqueProps" value="model-version-id" />
+ <xml-property name="container" value="model-vers" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the model, which can change from version to version." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements" />
+ <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v9.Metadata" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElements">
+ <xml-root-element name="model-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v9.ModelElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelElement">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
+ <xml-property name="uniqueProps" value="model-element-uuid" />
+ <xml-property name="indexedProps" value="model-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-elements" />
+ </xml-properties>
+ <xml-root-element name="model-element" />
+ <java-attributes>
+ <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="How many of this type of element are required/allowed" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String" >
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements">
+ <xml-properties>
+ <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v9.ModelConstraints">
+ <xml-properties>
+ <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraints">
+ <xml-root-element name="model-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v9.ModelConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelConstraint">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="model-constraint-uuid" />
+ <xml-property name="indexedProps" value="model-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="model-constraints" />
+ </xml-properties>
+ <xml-root-element name="model-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
+ <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v9.ConstrainedElementSets" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ </java-type>
- <java-type name="InstanceFilters">
- <xml-properties>
- <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="instance-filters" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v9.InstanceFilter" />
- </java-attributes>
- </java-type>
+ <java-type name="ConstrainedElementSets">
+ <xml-root-element name="constrained-element-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v9.ConstrainedElementSet" />
+ </java-attributes>
+ </java-type>
- <java-type name="InstanceFilter">
- <xml-properties>
- <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
- <xml-property name="container" value="instance-filters" />
- </xml-properties>
- <xml-root-element name="instance-filter" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilts">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilts for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filts" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilt" name="secondary-filt" type="inventory.aai.onap.org.v9.SecondaryFilt" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilt">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilt for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filt" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
+ <java-type name="ConstrainedElementSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
+ <xml-property name="indexedProps" value="constrained-element-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="constrained-element-sets" />
+ </xml-properties>
+ <xml-root-element name="constrained-element-set" />
+ <java-attributes>
+ <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v9.ElementChoiceSets" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSets">
+ <xml-root-element name="element-choice-sets" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v9.ElementChoiceSet" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ElementChoiceSet">
+ <xml-properties>
+ <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
+ <xml-property name="uniqueProps" value="element-choice-set-uuid" />
+ <xml-property name="indexedProps" value="element-choice-set-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="element-choice-sets" />
+ </xml-properties>
+ <xml-root-element name="element-choice-set" />
+ <java-attributes>
+ <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v9.ModelElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueries">
+ <xml-root-element name="named-queries" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v9.NamedQuery" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQuery">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="nameProps" value="named-query-name" />
+ <xml-property name="uniqueProps" value="named-query-uuid" />
+ <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
+ <xml-property name="container" value="named-queries" />
+ <xml-property name="namespace" value="service-design-and-creation" />
+ </xml-properties>
+ <xml-root-element name="named-query" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
+ <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String" >
+ <xml-element-wrapper name="required-input-params" />
+ </xml-element>
+ <xml-element java-attribute="description" name="description" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v9.NamedQueryElements" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElements">
+ <xml-root-element name="named-query-elements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v9.NamedQueryElement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="NamedQueryElement">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="named-query-element-uuid" />
+ <xml-property name="indexedProps" value="named-query-element-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="named-query-elements" />
+ </xml-properties>
+ <xml-root-element name="named-query-element" />
+ <java-attributes>
+ <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
+ <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
+ <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v9.NamedQueryElements" />
+ <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v9.RelatedLookups" />
+ <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v9.PropertyConstraints" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookups">
+ <xml-root-element name="related-lookups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v9.RelatedLookup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RelatedLookup">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="related-lookup-uuid" />
+ <xml-property name="indexedProps" value="related-lookup-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="related-lookups" />
+ </xml-properties>
+ <xml-root-element name="related-lookup" />
+ <java-attributes>
+ <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraints">
+ <xml-root-element name="property-constraints" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v9.PropertyConstraint" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="PropertyConstraint">
+ <xml-properties>
+ <xml-property name="description" value="TBD" />
+ <xml-property name="uniqueProps" value="property-constraint-uuid" />
+ <xml-property name="indexedProps" value="property-constraint-uuid" />
+ <xml-property name="allowDirectRead" value="true" />
+ <xml-property name="allowDirectWrite" value="false" />
+ <xml-property name="container" value="property-constraints" />
+ </xml-properties>
+ <xml-root-element name="property-constraint" />
+ <java-attributes>
+ <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="autoGenerateUuid" value="true" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
+ <xml-element java-attribute="propertyName" name="property-name" required="true" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" required="true" type="java.lang.String" />
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ModelAndNamedQuerySearch">
+ <xml-properties>
+ <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="model-and-named-query-search" />
+ <java-attributes>
+ <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v9.QueryParameters" />
+ <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v9.InstanceFilters" />
+ <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v9.SecondaryFilts" />
+ <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
+ <xml-element java-attribute="secondaryFilterCutPoint" name="secondary-filter-cut-point" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="QueryParameters">
+ <xml-properties>
+ <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="query-parameters" />
+ <java-attributes>
+ <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v9.NamedQuery" />
+ <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v9.OverloadedModel" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="OverloadedModel">
+ <xml-root-element name="overloaded-model" />
+ <xml-properties>
+ <xml-property name="description" value="Allows for legacy POST of old-style and new-style models" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Name of the model, which can change from version to version." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Version" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Description" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v9.ModelVers" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ </java-type>
- <java-type name="Properties">
- <xml-properties>
- <xml-property name="description" value="Property holder for query properties or instance properties" />
- </xml-properties>
- <xml-root-element name="properties" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
+ <java-type name="InstanceFilters">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="instance-filters" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v9.InstanceFilter" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceFilter">
+ <xml-properties>
+ <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
+ <xml-property name="container" value="instance-filters" />
+ </xml-properties>
+ <xml-root-element name="instance-filter" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilts">
+ <xml-properties>
+ <xml-property name="description" value="SecondaryFilts for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="secondary-filts" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilt" name="secondary-filt" type="inventory.aai.onap.org.v9.SecondaryFilt" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SecondaryFilt">
+ <xml-properties>
+ <xml-property name="description" value="SecondaryFilt for performing a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="secondary-filt" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Properties">
+ <xml-properties>
+ <xml-property name="description" value="Property holder for query properties or instance properties" />
+ </xml-properties>
+ <xml-root-element name="properties" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ResponseList">
+ <xml-properties>
+ <xml-property name="description" value="Response container for the results of a named-query or model query" />
+ </xml-properties>
+ <xml-root-element name="response-list" />
+ <java-attributes>
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v9.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItems">
+ <xml-properties>
+ <xml-property name="description" value="Container for inventory items in response list" />
+ <xml-property name="container" value="response-list" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-items" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v9.InventoryResponseItem" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InventoryResponseItem">
+ <xml-properties>
+ <xml-property name="description" value="Inventory item for response list" />
+ <xml-property name="container" value="inventory-response-items" />
+ </xml-properties>
+ <xml-root-element name="inventory-response-item" />
+ <java-attributes>
+ <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
+ <xml-any-element java-attribute="item" />
+ <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v9.ExtraProperties" />
+ <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v9.InventoryResponseItems" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperties">
+ <xml-properties>
+ <xml-property name="description" value="Extra properties for inventory item for response list" />
+ </xml-properties>
+ <xml-root-element name="extra-properties" />
+ <java-attributes>
+ <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v9.ExtraProperty" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="ExtraProperty">
+ <xml-root-element name="extra-property" />
+ <java-attributes>
+ <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
+ <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReferences">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack route table references" />
+ </xml-properties>
+ <xml-root-element name="route-table-references" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v9.RouteTableReference" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="RouteTableReference">
+ <xml-root-element name="route-table-reference" />
+ <java-attributes>
+ <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="FQDN entry in the route table." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
- <java-type name="ResponseList">
- <xml-properties>
- <xml-property name="description" value="Response container for the results of a named-query or model query" />
- </xml-properties>
- <xml-root-element name="response-list" />
- <java-attributes>
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v9.InventoryResponseItems" />
- </java-attributes>
- </java-type>
+ <xml-properties>
+ <xml-property name="description" value="Openstack route table reference." />
+ <xml-property name="nameProps" value="route-table-reference-fqdn" />
+ <xml-property name="uniqueProps" value="route-table-reference-id" />
+ <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
+ <xml-property name="container" value="route-table-references" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="InstanceGroups">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack route table references" />
+ </xml-properties>
+ <xml-root-element name="instance-groups" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="instanceGroup" name="instance-group" type="inventory.aai.onap.org.v9.InstanceGroup" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="InstanceGroup">
+ <xml-root-element name="instance-group" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="description" name="description" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Descriptive text to help identify the usage of this instance-group" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="type" name="type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Only valid value today is lower case ha for high availability" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="subType" name="sub-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Valid values for ha type are [geo-activeactive, geo-activestandby, local-activeactive, local-activestandby]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
- <java-type name="InventoryResponseItems">
- <xml-properties>
- <xml-property name="description" value="Container for inventory items in response list" />
- <xml-property name="container" value="response-list" />
- </xml-properties>
- <xml-root-element name="inventory-response-items" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v9.InventoryResponseItem" />
- </java-attributes>
- </java-type>
+ <xml-properties>
+ <xml-property name="description" value="General mechanism for grouping instances" />
+ <xml-property name="nameProps" value="description" />
+ <xml-property name="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id,description,type,sub-type" />
+ <xml-property name="container" value="instance-groups" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
- <java-type name="InventoryResponseItem">
- <xml-properties>
- <xml-property name="description" value="Inventory item for response list" />
- <xml-property name="container" value="inventory-response-items" />
- </xml-properties>
- <xml-root-element name="inventory-response-item" />
- <java-attributes>
- <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
- <xml-any-element java-attribute="item" />
- <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v9.ExtraProperties" />
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v9.InventoryResponseItems" />
- </java-attributes>
- </java-type>
- <java-type name="ExtraProperties">
- <xml-properties>
- <xml-property name="description" value="Extra properties for inventory item for response list" />
- </xml-properties>
- <xml-root-element name="extra-properties" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v9.ExtraProperty" />
- </java-attributes>
- </java-type>
+ <java-type name="SegmentationAssignments">
+ <xml-properties>
+ <xml-property name="description" value="Collection of openstack segmentation assignments" />
+ </xml-properties>
+ <xml-root-element name="segmentation-assignments" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v9.SegmentationAssignment" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="SegmentationAssignment">
+ <xml-root-element name="segmentation-assignment" />
+ <java-attributes>
+ <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Openstack segmentation assignment." />
+ <xml-property name="indexedProps" value="segmentation-id" />
+ <xml-property name="dependentOn" value="l3-network" />
+ <xml-property name="container" value="segmentation-assignments" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="AllottedResources">
+ <xml-properties>
+ <xml-property name="description" value="This object is used to store slices of services being offered" />
+ </xml-properties>
+ <xml-root-element name="allotted-resources" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v9.AllottedResource" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="AllottedResource">
+ <xml-root-element name="allotted-resource" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="description" name="description" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Link back to more information in the controller" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model id for this resource or service model." />
+ <xml-property name="dbAlias" value="model-invariant-id-local" />
+ <xml-property name="requires" value="persona-model-version" />
+ <xml-property name="visibility" value="deployment" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="deployment" />
+ <xml-property name="requires" value="persona-model-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="the ASDC model version for this resource or service model." />
+ <xml-property name="visibility" value="internal" />
+ <xml-property name="dbAlias" value="model-version-id-local" />
+ <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
+ <xml-property name="dbAlias" value="model-customization-id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v9.TunnelXconnects" />
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
- <java-type name="ExtraProperty">
- <xml-root-element name="extra-property" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReferences">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="route-table-references" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v9.RouteTableReference" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReference">
- <xml-root-element name="route-table-reference" />
- <java-attributes>
- <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="FQDN entry in the route table." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Openstack route table reference." />
- <xml-property name="nameProps" value="route-table-reference-fqdn" />
- <xml-property name="uniqueProps" value="route-table-reference-id" />
- <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
- <xml-property name="container" value="route-table-references" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="InstanceGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="instance-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceGroup" name="instance-group" type="inventory.aai.onap.org.v9.InstanceGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceGroup">
- <xml-root-element name="instance-group" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Descriptive text to help identify the usage of this instance-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="type" name="type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Only valid value today is lower case ha for high availability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subType" name="sub-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid values for ha type are [geo-activeactive, geo-activestandby, local-activeactive, local-activestandby]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="General mechanism for grouping instances" />
- <xml-property name="nameProps" value="description" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,description,type,sub-type" />
- <xml-property name="container" value="instance-groups" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
+ <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="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id,persona-model-id,persona-model-version" />
+ <xml-property name="dependentOn" value="service-instance" />
+ <xml-property name="container" value="allotted-resources" />
+ <!-- <xml-property name="namespace" value="network" /> -->
+ </xml-properties>
+ </java-type>
+
+ <java-type name="TunnelXconnects">
+ <xml-properties>
+ <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
+ </xml-properties>
+ <xml-root-element name="tunnel-xconnects" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v9.TunnelXconnect" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="TunnelXconnect">
+ <xml-root-element name="tunnel-xconnect" />
+ <java-attributes>
+ <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
- <java-type name="SegmentationAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack segmentation assignments" />
- </xml-properties>
- <xml-root-element name="segmentation-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v9.SegmentationAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="SegmentationAssignment">
- <xml-root-element name="segmentation-assignment" />
- <java-attributes>
- <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack segmentation assignment." />
- <xml-property name="indexedProps" value="segmentation-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="segmentation-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="AllottedResources">
- <xml-properties>
- <xml-property name="description" value="This object is used to store slices of services being offered" />
- </xml-properties>
- <xml-root-element name="allotted-resources" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v9.AllottedResource" />
- </java-attributes>
- </java-type>
-
- <java-type name="AllottedResource">
- <xml-root-element name="allotted-resource" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link back to more information in the controller" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v9.TunnelXconnects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.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="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,persona-model-id,persona-model-version" />
- <xml-property name="dependentOn" value="service-instance" />
- <xml-property name="container" value="allotted-resources" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="TunnelXconnects">
- <xml-properties>
- <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
- </xml-properties>
- <xml-root-element name="tunnel-xconnects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v9.TunnelXconnect" />
- </java-attributes>
- </java-type>
-
- <java-type name="TunnelXconnect">
- <xml-root-element name="tunnel-xconnect" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id" />
- <xml-property name="dependentOn" value="allotted-resource" />
- <xml-property name="container" value="tunnel-xconnects" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="Entitlements">
- <xml-properties>
- <xml-property name="description" value="Entitlements, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="entitlements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="entitlement" name="entitlement" type="inventory.aai.onap.org.v9.Entitlement" />
- </java-attributes>
- </java-type>
-
- <java-type name="Entitlement">
- <xml-root-element name="entitlement" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the entitlement group the resource comes from, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of an entitlement resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for entitlement group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="entitlements" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="Licenses">
- <xml-properties>
- <xml-property name="description" value="Licenses to be allocated across resources, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="licenses" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="license" name="license" type="inventory.aai.onap.org.v9.License" />
- </java-attributes>
- </java-type>
-
- <java-type name="License">
- <xml-root-element name="license" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the license group the resource belongs to, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of a license resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for license group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="licenses" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vnf">
- <xml-root-element name="vnf"/>
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Abstract vnf class" />
- <xml-property name="indexedProps" value="vnf-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="inheritors" value="vce,generic-vnf" />
- <xml-property name="abstract" value="true" />
- </xml-properties>
- </java-type>
-
- <java-type name="Zones">
- <xml-properties>
- <xml-property name="description" value="Collection of zones" />
- </xml-properties>
- <xml-root-element name="zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="zone" name="zone" type="inventory.aai.onap.org.v9.Zone" />
- </java-attributes>
- </java-type>
+ <xml-properties>
+ <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
+ <xml-property name="uniqueProps" value="id" />
+ <xml-property name="indexedProps" value="id" />
+ <xml-property name="dependentOn" value="allotted-resource" />
+ <xml-property name="container" value="tunnel-xconnects" />
+ <!-- <xml-property name="namespace" value="network" /> -->
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Entitlements">
+ <xml-properties>
+ <xml-property name="description" value="Entitlements, keyed by group-uuid and resource-uuid, related to license management" />
+ </xml-properties>
+ <xml-root-element name="entitlements" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="entitlement" name="entitlement" type="inventory.aai.onap.org.v9.Entitlement" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Entitlement">
+ <xml-root-element name="entitlement" />
+ <java-attributes>
+ <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for the entitlement group the resource comes from, should be uuid." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of an entitlement resource. " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Metadata for entitlement group." />
+ <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
+ <xml-property name="dependentOn" value="generic-vnf,vce" />
+ <xml-property name="container" value="entitlements" />
+ </xml-properties>
+ </java-type>
- <java-type name="Zone">
- <xml-root-element name="zone" />
- <java-attributes>
- <xml-element java-attribute="zoneId" name="zone-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Code assigned by AIC to the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneName" name="zone-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="English name associated with the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="designType" name="design-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Design of zone [Medium/Large?]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneContext" name="zone-context" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Context of zone [production/test]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="status" name="status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a zone." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A zone is a grouping of assets in a location homing to the same connections into the CBB" />
- <xml-property name="nameProps" value="zone-name" />
- <xml-property name="indexedProps" value="zone-id,design-type,zone-context" />
- <xml-property name="uniqueProps" value="zone-id" />
- <xml-property name="container" value="zones" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="TestObjects">
- <xml-root-element name="test-objects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="testObject" name="test-object" type="inventory.aai.onap.org.v9.TestObject" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- </java-type>
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by ATT or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure test-object, also used for troubleshooting and is IP used for traps generated by test-object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the test-object operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
- </java-types>
+ <java-type name="Licenses">
+ <xml-properties>
+ <xml-property name="description" value="Licenses to be allocated across resources, keyed by group-uuid and resource-uuid, related to license management" />
+ </xml-properties>
+ <xml-root-element name="licenses" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="license" name="license" type="inventory.aai.onap.org.v9.License" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="License">
+ <xml-root-element name="license" />
+ <java-attributes>
+ <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID for the license group the resource belongs to, should be uuid." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique ID of a license resource. " />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Metadata for license group." />
+ <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
+ <xml-property name="dependentOn" value="generic-vnf,vce" />
+ <xml-property name="container" value="licenses" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Vnf">
+ <xml-root-element name="vnf"/>
+ <java-attributes>
+ <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
+ </xml-properties>
+ </xml-element>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Abstract vnf class" />
+ <xml-property name="indexedProps" value="vnf-id" />
+ <xml-property name="uniqueProps" value="vnf-id" />
+ <xml-property name="inheritors" value="vce,generic-vnf" />
+ <xml-property name="abstract" value="true" />
+ </xml-properties>
+ </java-type>
+
+ <java-type name="Zones">
+ <xml-properties>
+ <xml-property name="description" value="Collection of zones" />
+ </xml-properties>
+ <xml-root-element name="zones" />
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="zone" name="zone" type="inventory.aai.onap.org.v9.Zone" />
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Zone">
+ <xml-root-element name="zone" />
+ <java-attributes>
+ <xml-element java-attribute="zoneId" name="zone-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Code assigned by AIC to the zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="zoneName" name="zone-name" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="English name associated with the zone" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="designType" name="design-type" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Design of zone [Medium/Large?]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="zoneContext" name="zone-context" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Context of zone [production/test]" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="status" name="status" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Status of a zone." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Concurrency value" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="A zone is a grouping of assets in a location homing to the same connections into the CBB" />
+ <xml-property name="nameProps" value="zone-name" />
+ <xml-property name="indexedProps" value="zone-id,design-type,zone-context" />
+ <xml-property name="uniqueProps" value="zone-id" />
+ <xml-property name="container" value="zones" />
+ <xml-property name="namespace" value="network" />
+ </xml-properties>
+ </java-type>
+
+ </java-types>
</xml-bindings>
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/ambiguous-relationship.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/ambiguous-relationship.json
index 241cc146..c6407e2c 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/ambiguous-relationship.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/ambiguous-relationship.json
@@ -1,10 +1,10 @@
{
- "related-to": "test-object",
+ "related-to": "generic-vnf",
"relationship-data" : [{
- "relationship-key" : "test-object.vnf-id",
+ "relationship-key" : "generic-vnf.vnf-id",
"relationship-value":"key1"
},{
- "relationship-key" : "test-object.vnf-id",
+ "relationship-key" : "generic-vnf.vnf-id",
"relationship-value":"key2"
}]
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-failv10-successv9.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-failv10-successv9.json
index 0f0378d9..5bafc9ff 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-failv10-successv9.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-failv10-successv9.json
@@ -1,8 +1,8 @@
{
- "related-to": "test-object",
- "related-link": "/aai/v10/network/test-objects/test-objet/key1",
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v10/network/generic-vnfs/test-objet/key1",
"relationship-data" : [{
- "relationship-key" : "test-object.vnf-id",
+ "relationship-key" : "generic-vnf.vnf-id",
"relationship-value":"key2"
}]
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-successv10-failv9.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-successv10-failv9.json
index 490bbd30..3afe6bb7 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-successv10-failv9.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/both-successv10-failv9.json
@@ -1,6 +1,6 @@
{
- "related-to": "test-object",
- "related-link": "http://localhost/aai/v10/network/test-objects/test-object/key1",
+ "related-to": "generic-vnf",
+ "related-link": "http://localhost/aai/v10/network/generic-vnfs/generic-vnf/key1",
"relationship-data" : [{
"relationship-key" : "test-obect.vnf-id",
"relationship-value":"key2"
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/nothing-to-parse.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/nothing-to-parse.json
index ea5ff2fe..b24834af 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/nothing-to-parse.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/nothing-to-parse.json
@@ -1,4 +1,4 @@
{
- "related-to": "test-object",
+ "related-to": "generic-vnf",
"relationship-data" : []
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-related-link.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-related-link.json
index 15e383aa..4cc103e8 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-related-link.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-related-link.json
@@ -1,4 +1,4 @@
{
- "related-to": "test-object",
- "related-link": "http://localhost/aai/v10/network/test-objects/test-object/key1"
+ "related-to": "generic-vnf",
+ "related-link": "http://localhost/aai/v10/network/generic-vnfs/generic-vnf/key1"
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-relationship-data.json b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-relationship-data.json
index dc7445e0..b9fccc9c 100644
--- a/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-relationship-data.json
+++ b/aai-core/src/test/resources/bundleconfig-local/etc/relationship/only-relationship-data.json
@@ -1,7 +1,7 @@
{
- "related-to": "test-object",
+ "related-to": "generic-vnf",
"relationship-data" : [{
- "relationship-key" : "test-object.vnf-id",
+ "relationship-key" : "generic-vnf.vnf-id",
"relationship-value":"key1"
}]
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
index 0b79192a..515831e9 100644
--- a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
+++ b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_TraversalQueryTest.json
@@ -10,7 +10,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "vnfc",
@@ -21,7 +22,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "vce",
@@ -33,7 +35,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "pserver",
@@ -45,7 +48,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "generic-vnf",
@@ -57,7 +61,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "generic-vnf",
@@ -68,7 +73,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "complex",
@@ -80,7 +86,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "complex",
@@ -91,7 +98,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "l-interface",
@@ -103,7 +111,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "l-interface",
@@ -115,7 +124,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "false"
+ "default": "false",
+ "description": "Hard to describe"
},
{
"from": "l-interface",
@@ -127,7 +137,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "false"
+ "default": "false",
+ "description": "Hard to describe"
},
{
"from": "pserver",
@@ -139,7 +150,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
}
]
}
diff --git a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
index 76059ed6..9888ed76 100644
--- a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
+++ b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test.json
@@ -9,7 +9,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "foo",
@@ -20,7 +21,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "foo",
@@ -31,7 +33,8 @@
"contains-other-v": "${direction}",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "quux",
@@ -42,7 +45,8 @@
"contains-other-v": "!${direction}",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "test-parent",
@@ -53,7 +57,8 @@
"contains-other-v": "${direction}",
"delete-other-v": "NONE",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "test-cousin",
@@ -64,7 +69,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "test-child",
@@ -75,8 +81,9 @@
"contains-other-v": "${direction}",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
- },
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
+ },
{
"from": "a",
"to": "b",
@@ -87,7 +94,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
- "default": "false"
+ "default": "false",
+ "description": "Hard to describe"
},
{
"from": "a",
@@ -99,7 +107,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
- "default" : "true"
+ "default" : "true",
+ "description": "Hard to describe"
},
{
"from": "z",
@@ -110,7 +119,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "y",
@@ -122,7 +132,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
- "default" : "true"
+ "default" : "true",
+ "description": "Hard to describe"
},
{
"from": "generic-vnf",
@@ -134,7 +145,8 @@
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
"prevent-delete": "NONE",
- "default": "true"
+ "default": "true",
+ "description": "Hard to describe"
},
{
"from": "generic-vnf",
@@ -145,7 +157,8 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "generic-vnf",
@@ -156,6 +169,30 @@
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "${direction}",
+ "prevent-delete": "NONE",
+ "description": "Hard to describe",
+ "prevent-delete": "NONE"
+ },
+ {
+ "from": "l-interface",
+ "to": "logical-link",
+ "label": "usesLogicalLink",
+ "direction": "OUT",
+ "multiplicity": "Many2Many",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "SVC-INFRA": "${direction}",
+ "prevent-delete": "NONE"
+ },
+ {
+ "from": "generic-vnf",
+ "to": "l-interface",
+ "label": "hasLInterface",
+ "direction": "OUT",
+ "multiplicity": "Many2Many",
+ "contains-other-v": "${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "${direction}",
"prevent-delete": "NONE"
}
]
diff --git a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
index d4b7f7f3..f9d401f2 100644
--- a/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
+++ b/aai-core/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
@@ -8,7 +8,8 @@
"multiplicity": "One2Many",
"contains-other-v": "NONE",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "foo",
@@ -19,7 +20,8 @@
"contains-other-v": "${direction}",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
},
{
"from": "quux",
@@ -29,7 +31,8 @@
"multiplicity": "One2Many",
"contains-other-v": "!${direction}",
"delete-other-v": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "NONE",
+ "description": "Hard to describe"
}
]
} \ No newline at end of file
diff --git a/aai-core/src/test/resources/edgeLabelMigration.csv b/aai-core/src/test/resources/edgeLabelMigration.csv
new file mode 100644
index 00000000..53639e55
--- /dev/null
+++ b/aai-core/src/test/resources/edgeLabelMigration.csv
@@ -0,0 +1,212 @@
+from,to,label,direction,multiplicity,contains-other-v,delete-other-v,SVC-INFRA,prevent-delete,new from,new to,new label,new direction,new multiplicity,new contains-other-v,new delete-other-v,new SVC-INFRA,new prevent-delete,new default
+allotted-resource,allotted-resource,bindsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,allotted-resource,allotted-resource,tosca.relationships.network.BindsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,T
+allotted-resource,generic-vnf,isPartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,allotted-resource,generic-vnf,org.onap.relationships.inventory.PartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+allotted-resource,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,allotted-resource,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+allotted-resource,l3-network,isPartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,allotted-resource,l3-network,org.onap.relationships.inventory.PartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+allotted-resource,l-interface,uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,allotted-resource,l-interface,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+allotted-resource,network-policy,uses,OUT,ONE2ONE,NONE,NONE,NONE,NONE,allotted-resource,network-policy,org.onap.relationships.inventory.Uses,OUT,ONE2ONE,NONE,NONE,NONE,NONE,T
+allotted-resource,vlan,isPartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,allotted-resource,vlan,org.onap.relationships.inventory.PartOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+allotted-resource,vpn-binding,belongsTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},allotted-resource,vpn-binding,org.onap.relationships.inventory.BelongsTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+allotted-resource,tunnel-xconnect,has,OUT,ONE2ONE,${direction},${direction},NONE,NONE,tunnel-xconnect,allotted-resource,org.onap.relationships.inventory.BelongsTo,OUT,ONE2ONE,!${direction},!${direction},NONE,NONE,T
+availability-zone,complex,groupsResourcesIn,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},availability-zone,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+availability-zone,service-capability,supportsServiceCapability,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},availability-zone,service-capability,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+cloud-region,availability-zone,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},availability-zone,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+cloud-region,complex,locatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},cloud-region,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+cloud-region,l3-network,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,cloud-region,l3-network,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+cloud-region,zone,isMemberOf,OUT,MANY2ONE,NONE,NONE,NONE,NONE,cloud-region,zone,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+cloud-region,dvs-switch,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},dvs-switch,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,flavor,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},flavor,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,group-assignment,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},group-assignment,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,image,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},image,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,oam-network,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},oam-network,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,snapshot,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},snapshot,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,tenant,has,OUT,ONE2MANY,${direction},${direction},!${direction},${direction},tenant,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,${direction},!${direction},T
+cloud-region,vip-ipv4-address-list,hasIpAddress,OUT,ONE2MANY,${direction},${direction},${direction},NONE,vip-ipv4-address-list,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,vip-ipv6-address-list,hasIpAddress,OUT,ONE2MANY,${direction},${direction},${direction},NONE,vip-ipv6-address-list,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+cloud-region,volume-group,has,OUT,ONE2MANY,${direction},${direction},NONE,${direction},volume-group,cloud-region,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,NONE,!${direction},T
+complex,l3-network,usesL3Network,OUT,MANY2MANY,NONE,NONE,${direction},NONE,complex,l3-network,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+complex,ctag-pool,hasCtagPool,OUT,MANY2MANY,${direction},${direction},NONE,NONE,ctag-pool,complex,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+configuration,allotted-resource,uses,OUT,ONE2ONE,NONE,${direction},NONE,NONE,configuration,allotted-resource,org.onap.relationships.inventory.Uses,OUT,ONE2ONE,NONE,${direction},NONE,NONE,T
+configuration,logical-link,has,OUT,ONE2MANY,NONE,${direction},NONE,NONE,configuration,logical-link,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,${direction},NONE,NONE,T
+configuration,metadatum,owns,OUT,ONE2MANY,${direction},${direction},NONE,NONE,metadatum,configuration,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+connector,virtual-data-center,contains,OUT,MANY2MANY,NONE,NONE,NONE,NONE,connector,virtual-data-center,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+connector,metadatum,hasMetaData,OUT,MANY2MANY,${direction},${direction},NONE,NONE,metadatum,connector,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+constrained-element-set,element-choice-set,uses,OUT,ONE2MANY,${direction},${direction},NONE,NONE,element-choice-set,constrained-element-set,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+ctag-pool,availability-zone,supportsAvailabilityZone,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},ctag-pool,availability-zone,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+customer,service-subscription,subscribesTo,OUT,MANY2MANY,${direction},${direction},!${direction},NONE,service-subscription,customer,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},${direction},NONE,T
+dvs-switch,availability-zone,existsIn,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},dvs-switch,availability-zone,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+element-choice-set,model-element,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,model-element,element-choice-set,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+generic-vnf,entitlement,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,entitlement,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+generic-vnf,availability-zone,hasAvailabilityZone,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},generic-vnf,availability-zone,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},T
+generic-vnf,complex,locatedIn,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},generic-vnf,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+generic-vnf,configuration,uses,OUT,ONE2MANY,NONE,${direction},NONE,NONE,generic-vnf,configuration,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,${direction},NONE,NONE,T
+generic-vnf,ctag-pool,usesCtagPool,OUT,MANY2MANY,NONE,NONE,NONE,NONE,generic-vnf,ctag-pool,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+generic-vnf,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,generic-vnf,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+generic-vnf,ipsec-configuration,uses,OUT,MANY2ONE,NONE,NONE,NONE,NONE,generic-vnf,ipsec-configuration,org.onap.relationships.inventory.Uses,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+generic-vnf,l3-network,usesL3Network,OUT,MANY2MANY,NONE,NONE,${direction},NONE,generic-vnf,l3-network,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+generic-vnf,license-key-resource,uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},generic-vnf,license-key-resource,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+generic-vnf,pnf,hostedOn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,generic-vnf,pnf,tosca.relationships.HostedOn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+generic-vnf,pserver,runsOnPserver,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},generic-vnf,pserver,tosca.relationships.HostedOn,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},T
+generic-vnf,vnfc,uses,OUT,ONE2MANY,NONE,${direction},${direction},NONE,vnfc,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,NONE,!${direction},!${direction},NONE,T
+generic-vnf,vnf-image,usesVnfImage,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},generic-vnf,vnf-image,org.onap.relationships.inventory.Uses,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+generic-vnf,volume-group,uses,OUT,ONE2MANY,NONE,NONE,${direction},NONE,generic-vnf,volume-group,org.onap.relationships.inventory.DependsOn,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+generic-vnf,vserver,runsOnVserver,OUT,ONE2MANY,NONE,NONE,${direction},NONE,generic-vnf,vserver,tosca.relationships.HostedOn,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+generic-vnf,lag-interface,hasLAGInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,lag-interface,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+generic-vnf,license,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,license,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+generic-vnf,l-interface,hasLInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l-interface,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+generic-vnf,network-profile,hasNetworkProfile,OUT,MANY2MANY,NONE,NONE,NONE,NONE,network-profile,generic-vnf,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+generic-vnf,service-instance,hasInstance,OUT,MANY2MANY,NONE,NONE,${direction},NONE,service-instance,generic-vnf,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,!${direction},NONE,T
+generic-vnf,site-pair-set,hasSitePairSet,OUT,MANY2MANY,NONE,NONE,NONE,NONE,site-pair-set,generic-vnf,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+generic-vnf,vf-module,has,OUT,ONE2MANY,${direction},${direction},${direction},NONE,vf-module,generic-vnf,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+group-assignment,pserver,has,OUT,ONE2MANY,NONE,NONE,NONE,!${direction},pserver,group-assignment,org.onap.relationships.inventory.MemberOf,OUT,MANY2ONE,NONE,NONE,NONE,${direction},T
+group-assignment,tenant,has,OUT,MANY2MANY,NONE,NONE,NONE,NONE,tenant,group-assignment,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+image,metadatum,hasMetaDatum,OUT,MANY2MANY,${direction},${direction},NONE,NONE,metadatum,image,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+instance-group,model,targets,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},instance-group,model,org.onap.relationships.inventory.Targets,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+ipsec-configuration,vig-server,hasVigServer,OUT,ONE2MANY,${direction},${direction},NONE,NONE,vig-server,ipsec-configuration,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+l3-interface-ipv4-address-list,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,l3-interface-ipv4-address-list,instance-group,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l3-interface-ipv4-address-list,l3-network,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},NONE,l3-interface-ipv4-address-list,l3-network,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+l3-interface-ipv4-address-list,subnet,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},l3-interface-ipv4-address-list,subnet,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},T
+l3-interface-ipv6-address-list,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,l3-interface-ipv6-address-list,instance-group,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l3-interface-ipv6-address-list,l3-network,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},NONE,l3-interface-ipv6-address-list,l3-network,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+l3-interface-ipv6-address-list,subnet,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},l3-interface-ipv6-address-list,subnet,org.onap.relationships.inventory.network.MemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},T
+l3-network,ctag-assignment,hasCtagAssignment,OUT,MANY2MANY,${direction},${direction},${direction},NONE,ctag-assignment,l3-network,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+l3-network,instance-group,memberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,l3-network,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l3-network,network-policy,uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,l3-network,network-policy,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+l3-network,route-table-reference,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,l3-network,route-table-reference,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l3-network,vpn-binding,usesVpnBinding,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},l3-network,vpn-binding,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+l3-network,segmentation-assignment,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,segmentation-assignment,l3-network,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+l3-network,service-instance,hasInstance,OUT,MANY2MANY,NONE,NONE,!${direction},NONE,service-instance,l3-network,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+l3-network,subnet,hasSubnet,OUT,MANY2MANY,${direction},${direction},!${direction},NONE,subnet,l3-network,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},${direction},NONE,T
+lag-interface,lag-link,usesLAGLink,OUT,MANY2MANY,NONE,${direction},${direction},NONE,lag-interface,lag-link,tosca.relationships.network.LinksTo,OUT,MANY2MANY,NONE,${direction},${direction},NONE,T
+lag-interface,logical-link,uses,OUT,MANY2MANY,NONE,${direction},${direction},NONE,lag-interface,logical-link,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,${direction},${direction},NONE,T
+lag-interface,p-interface,usesPInterface,OUT,MANY2MANY,NONE,NONE,${direction},NONE,lag-interface,p-interface,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+lag-interface,l-interface,hasLInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l-interface,lag-interface,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+line-of-business,generic-vnf,realizedBy,OUT,MANY2MANY,NONE,NONE,NONE,NONE,line-of-business,generic-vnf,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l-interface,l3-interface-ipv4-address-list,hasIpAddress,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l3-interface-ipv4-address-list,l-interface,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+l-interface,l3-interface-ipv6-address-list,hasIpAddress,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l3-interface-ipv6-address-list,l-interface,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+l-interface,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,l-interface,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+l-interface,l-interface,has,OUT,ONE2MANY,${direction},${direction},${direction},NONE,l-interface,l-interface,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+l-interface,logical-link,usesLogicalLink,OUT,MANY2MANY,NONE,${direction},${direction},NONE,l-interface,logical-link,tosca.relationships.network.LinksTo,OUT,MANY2ONE,NONE,${direction},${direction},NONE,T
+l-interface,logical-link,sourceLInterface,OUT,MANY2MANY,NONE,${direction},${direction},NONE,logical-link,l-interface,org.onap.relationships.inventory.Source,OUT,ONE2MANY,NONE,!${direction},!${direction},NONE,F
+l-interface,logical-link,targetLInterface,OUT,MANY2MANY,NONE,${direction},${direction},NONE,logical-link,l-interface,org.onap.relationships.inventory.Destination,OUT,ONE2MANY,NONE,!${direction},!${direction},NONE,F
+l-interface,sriov-vf,has,OUT,ONE2ONE,${direction},${direction},NONE,NONE,sriov-vf,l-interface,org.onap.relationships.inventory.BelongsTo,OUT,ONE2ONE,!${direction},!${direction},NONE,NONE,T
+l-interface,vlan,hasVlan,OUT,MANY2MANY,${direction},${direction},NONE,NONE,vlan,l-interface,tosca.relationships.network.LinksTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+logical-link,cloud-region,existsIn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,logical-link,cloud-region,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+logical-link,generic-vnf,bridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,logical-link,generic-vnf,org.onap.relationships.inventory.BridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+logical-link,lag-link,usesLAGLink,OUT,MANY2MANY,NONE,NONE,${direction},NONE,logical-link,lag-link,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+logical-link,logical-link,uses,OUT,ONE2MANY,NONE,NONE,${direction},NONE,logical-link,logical-link,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+logical-link,pnf,bridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,logical-link,pnf,org.onap.relationships.inventory.BridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+logical-link,pserver,bridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},logical-link,pserver,org.onap.relationships.inventory.BridgedTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+logical-link,vpn-binding,uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},logical-link,vpn-binding,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+model,model-ver,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,model-ver,model,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-constraint,constrained-element-set,uses,OUT,ONE2MANY,${direction},${direction},NONE,NONE,constrained-element-set,model-constraint,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-element,constrained-element-set,connectsTo,OUT,ONE2MANY,${direction},${direction},NONE,NONE,constrained-element-set,model-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-element,model-constraint,uses,OUT,ONE2MANY,${direction},${direction},NONE,NONE,model-constraint,model-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-element,model-element,connectsTo,OUT,ONE2MANY,${direction},${direction},NONE,NONE,model-element,model-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-element,model-ver,isA,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},model-element,model-ver,org.onap.relationships.inventory.IsA,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+model-ver,metadatum,hasMetaDatum,OUT,ONE2MANY,${direction},${direction},NONE,NONE,metadatum,model-ver,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+model-ver,model-element,startsWith,OUT,ONE2MANY,${direction},${direction},NONE,NONE,model-element,model-ver,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+named-query,model,relatedTo,OUT,ONE2MANY,NONE,NONE,NONE,!${direction},named-query,model,org.onap.relationships.inventory.AppliesTo,OUT,ONE2MANY,NONE,NONE,NONE,!${direction},T
+named-query,named-query-element,startsWith,OUT,ONE2ONE,${direction},${direction},NONE,NONE,named-query-element,named-query,org.onap.relationships.inventory.BelongsTo,OUT,ONE2ONE,!${direction},!${direction},NONE,NONE,T
+named-query-element,model,isA,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},named-query-element,model,org.onap.relationships.inventory.IsA,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+named-query-element,named-query-element,connectsTo,OUT,MANY2MANY,${direction},${direction},NONE,NONE,named-query-element,named-query-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+named-query-element,property-constraint,uses,OUT,ONE2MANY,${direction},${direction},NONE,NONE,property-constraint,named-query-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+named-query-element,related-lookup,uses,OUT,ONE2MANY,${direction},${direction},NONE,NONE,related-lookup,named-query-element,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+newvce,l-interface,hasLInterface,OUT,MANY2MANY,${direction},${direction},NONE,NONE,l-interface,newvce,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+oam-network,complex,definedFor,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},oam-network,complex,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+oam-network,service-capability,supportsServiceCapability,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},oam-network,service-capability,org.onap.relationships.inventory.AppliesTo,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+operational-environment,operational-environment,managedBy,OUT,ONE2ONE,NONE,NONE,NONE,NONE,operational-environment,operational-environment,org.onap.relationships.inventory.Uses,OUT,ONE2ONE,NONE,NONE,NONE,NONE,T
+owning-entity,service-instance,owns,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,owning-entity,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+p-interface,l-interface,hasLInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l-interface,p-interface,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+p-interface,logical-link,usesLogicalLink,OUT,MANY2ONE,NONE,NONE,${direction},NONE,p-interface,logical-link,tosca.relationships.network.LinksTo,OUT,MANY2ONE,NONE,NONE,${direction},NONE,T
+p-interface,physical-link,usesPhysicalLink,OUT,MANY2MANY,NONE,${direction},NONE,NONE,p-interface,physical-link,tosca.relationships.network.LinksTo,OUT,MANY2ONE,NONE,${direction},NONE,NONE,T
+p-interface,sriov-pf,has,OUT,ONE2ONE,${direction},${direction},NONE,NONE,sriov-pf,p-interface,org.onap.relationships.inventory.BelongsTo,OUT,ONE2ONE,!${direction},!${direction},NONE,NONE,T
+platform,generic-vnf,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,platform,generic-vnf,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+pnf,lag-interface,has,OUT,ONE2MANY,${direction},${direction},${direction},NONE,lag-interface,pnf,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+pnf,p-interface,hasPinterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,p-interface,pnf,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+pnf,complex,locatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},pnf,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+pnf,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,pnf,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+pnf,zone,isMemberOf,OUT,MANY2ONE,NONE,NONE,NONE,NONE,pnf,zone,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+port-group,cvlan-tag,hasCTag,OUT,MANY2MANY,${direction},${direction},${direction},NONE,cvlan-tag,port-group,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+project,service-instance,created,OUT,ONE2MANY,NONE,NONE,NONE,NONE,project,service-instance,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+pserver,lag-interface,hasLAGInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,lag-interface,pserver,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+pserver,p-interface,hasPinterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,p-interface,pserver,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+pserver,availability-zone,existsIn,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},pserver,availability-zone,org.onap.relationships.inventory.MemberOf,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+pserver,cloud-region,locatedIn,OUT,MANY2ONE,NONE,NONE,${direction},NONE,pserver,cloud-region,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,${direction},NONE,T
+pserver,complex,locatedIn,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},pserver,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+pserver,zone,isMemberOf,OUT,MANY2ONE,NONE,NONE,NONE,NONE,pserver,zone,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+routing-instance,site-pair,hasSitePair,OUT,MANY2MANY,${direction},${direction},NONE,NONE,site-pair,routing-instance,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+service-instance,allotted-resource,has,OUT,MANY2MANY,${direction},${direction},NONE,NONE,allotted-resource,service-instance,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+service-instance,metadatum,hasMetaData,OUT,MANY2MANY,${direction},${direction},NONE,NONE,metadatum,service-instance,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+service-instance,allotted-resource,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,service-instance,allotted-resource,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+service-instance,configuration,has,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,configuration,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+service-instance,connector,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,service-instance,connector,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+service-instance,ctag-assignment,uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,ctag-assignment,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+service-instance,cvlan-tag,hasIPAGFacingVLAN,OUT,MANY2MANY,NONE,NONE,NONE,NONE,service-instance,cvlan-tag,org.onap.relationships.inventory.ComposedOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+service-instance,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,service-instance,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+service-instance,logical-link,uses,OUT,MANY2MANY,NONE,${direction},NONE,NONE,service-instance,logical-link,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,${direction},NONE,NONE,T
+service-instance,pnf,uses,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,pnf,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+service-instance,service-instance,dependsOn,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,service-instance,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+service-instance,vlan,dependsOn,OUT,ONE2MANY,NONE,NONE,NONE,NONE,service-instance,vlan,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+service-instance,zone,locatedIn,OUT,MANY2ONE,NONE,NONE,${direction},NONE,service-instance,zone,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,${direction},NONE,T
+service-subscription,service-instance,hasInstance,OUT,MANY2MANY,${direction},${direction},!${direction},NONE,service-instance,service-subscription,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},${direction},NONE,T
+site-pair,class-of-service,hasClassOfService,OUT,MANY2MANY,${direction},${direction},NONE,NONE,class-of-service,site-pair,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+site-pair-set,routing-instance,hasRoutingInstance,OUT,MANY2MANY,${direction},${direction},NONE,NONE,routing-instance,site-pair-set,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+sriov-vf,sriov-pf,uses,OUT,MANY2ONE,NONE,NONE,NONE,NONE,sriov-vf,sriov-pf,org.onap.relationships.inventory.Uses,OUT,MANY2ONE,NONE,NONE,NONE,NONE,T
+subnet,host-route,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,host-route,subnet,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+tenant,service-subscription,relatedTo,OUT,MANY2MANY,NONE,NONE,NONE,NONE,service-subscription,tenant,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+tenant,l3-network,usesL3Network,OUT,MANY2MANY,NONE,NONE,NONE,NONE,tenant,l3-network,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+tenant,vserver,owns,OUT,ONE2MANY,${direction},${direction},!${direction},${direction},vserver,tenant,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},NONE,${direction},!${direction},T
+vce,entitlement,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,entitlement,vce,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vce,license,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,license,vce,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vce,port-group,hasPortGroup,OUT,MANY2MANY,${direction},${direction},${direction},NONE,port-group,vce,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+vce,service-instance,hasServiceInstance,OUT,MANY2MANY,NONE,NONE,!${direction},NONE,service-instance,vce,org.onap.relationships.inventory.ComposedOf,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+vce,availability-zone,hasAvailabilityZone,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},vce,availability-zone,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+vce,complex,locatedIn,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},vce,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},T
+vce,vserver,runsOnVserver,OUT,MANY2MANY,NONE,NONE,${direction},NONE,vce,vserver,tosca.relationships.HostedOn,OUT,ONE2MANY,NONE,NONE,${direction},NONE,T
+vf-module,l3-network,uses,OUT,MANY2MANY,NONE,NONE,${direction},NONE,vf-module,l3-network,org.onap.relationships.inventory.DependsOn,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+vf-module,vnfc,uses,OUT,ONE2MANY,NONE,${direction},${direction},${direction},vf-module,vnfc,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,${direction},${direction},T
+vf-module,volume-group,uses,OUT,ONE2ONE,NONE,NONE,${direction},NONE,vf-module,volume-group,org.onap.relationships.inventory.Uses,OUT,ONE2ONE,NONE,NONE,${direction},NONE,T
+vip-ipv4-address-list,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vip-ipv4-address-list,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vip-ipv4-address-list,subnet,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},vip-ipv4-address-list,subnet,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+vip-ipv6-address-list,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vip-ipv6-address-list,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vip-ipv6-address-list,subnet,isMemberOf,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},vip-ipv6-address-list,subnet,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},T
+virtual-data-center,generic-vnf,hasVNF,OUT,MANY2MANY,NONE,NONE,!${direction},NONE,generic-vnf,virtual-data-center,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,${direction},NONE,T
+virtual-data-center,logical-link,contains,OUT,MANY2MANY,NONE,NONE,NONE,NONE,logical-link,virtual-data-center,org.onap.relationships.inventory.LocatedIn,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vlan,l3-interface-ipv4-address-list,hasIpAddress,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l3-interface-ipv4-address-list,vlan,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+vlan,l3-interface-ipv6-address-list,hasIpAddress,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l3-interface-ipv6-address-list,vlan,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+vlan,logical-link,usesLogicalLink,OUT,MANY2MANY,NONE,${direction},${direction},NONE,vlan,logical-link,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,${direction},${direction},NONE,T
+vlan,multicast-configuration,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vlan,multicast-configuration,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vnfc,l3-interface-ipv4-address-list,hasIpAddress,OUT,ONE2MANY,${direction},${direction},NONE,NONE,l3-interface-ipv4-address-list,vnfc,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vnfc,l3-interface-ipv6-address-list,hasIpAddress,OUT,ONE2MANY,${direction},${direction},NONE,NONE,l3-interface-ipv6-address-list,vnfc,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vnfc,instance-group,isMemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vnfc,instance-group,org.onap.relationships.inventory.MemberOf,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vnfc,vip-ipv4-address-list,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vnfc,vip-ipv4-address-list,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vnfc,vip-ipv6-address-list,uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vnfc,vip-ipv6-address-list,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+volume-group,tenant,belongsTo,OUT,MANY2MANY,NONE,NONE,${direction},NONE,tenant,volume-group,org.onap.relationships.inventory.DependsOn,OUT,ONE2MANY,NONE,NONE,!${direction},NONE,T
+volume-group,complex,existsIn,OUT,MANY2MANY,NONE,NONE,${direction},!${direction},volume-group,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+vpls-pe,lag-interface,hasLAGinterface,OUT,MANY2MANY,${direction},${direction},NONE,NONE,lag-interface,vpls-pe,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vpls-pe,p-interface,hasPinterface,OUT,MANY2MANY,${direction},${direction},NONE,NONE,p-interface,vpls-pe,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vpls-pe,complex,locatedIn,OUT,MANY2MANY,NONE,NONE,NONE,!${direction},vpls-pe,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+vpls-pe,ctag-pool,usesCtagPool,OUT,MANY2MANY,NONE,NONE,NONE,NONE,vpls-pe,ctag-pool,org.onap.relationships.inventory.Uses,OUT,MANY2MANY,NONE,NONE,NONE,NONE,T
+vpn-binding,route-target,has,OUT,ONE2MANY,${direction},${direction},NONE,NONE,route-target,vpn-binding,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+vserver,l-interface,hasLInterface,OUT,MANY2MANY,${direction},${direction},${direction},NONE,l-interface,vserver,tosca.relationships.network.BindsTo,OUT,MANY2ONE,!${direction},!${direction},!${direction},NONE,T
+vserver,vf-module,isPartOf,OUT,MANY2ONE,NONE,NONE,${direction},NONE,vf-module,vserver,org.onap.relationships.inventory.Uses,OUT,ONE2MANY,NONE,NONE,!${direction},NONE,T
+vserver,vnfc,hosts,OUT,MANY2MANY,NONE,NONE,${direction},NONE,vnfc,vserver,tosca.relationships.HostedOn,OUT,ONE2MANY,NONE,NONE,!${direction},NONE,T
+vserver,flavor,hasFlavor,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},vserver,flavor,org.onap.relationships.inventory.Uses,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+vserver,image,hasImage,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},vserver,image,org.onap.relationships.inventory.Uses,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+vserver,pserver,runsOnPserver,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},vserver,pserver,tosca.relationships.HostedOn,OUT,MANY2ONE,NONE,NONE,${direction},!${direction},T
+vserver,snapshot,uses,OUT,ONE2ONE,NONE,NONE,${direction},NONE,vserver,snapshot,org.onap.relationships.inventory.Uses,OUT,ONE2ONE,NONE,NONE,${direction},NONE,T
+vserver,volume,hasVolume,OUT,MANY2MANY,${direction},${direction},${direction},NONE,vserver,volume,tosca.relationships.AttachesTo,OUT,ONE2MANY,${direction},${direction},${direction},NONE,T
+zone,complex,existsIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},zone,complex,org.onap.relationships.inventory.LocatedIn,OUT,MANY2ONE,NONE,NONE,NONE,!${direction},T
+,,,,,,,,,allotted-resource,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+,,,,,,,,,generic-vnf,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+,,,,,,,,,l3-network,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+,,,,,,,,,logical-link,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+,,,,,,,,,service-instance,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+,,,,,,,,,vf-module,model-ver,org.onap.relationships.inventory.IsA,OUT,Many2One,NONE,NONE,NONE,NONE,T
+configuration,l-interface,has,OUT,ONE2MANY,NONE,NONE,NONE,NONE,configuration,l-interface,org.onap.relationships.inventory.AppliesTo,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+configuration,pnf,has,OUT,ONE2MANY,NONE,NONE,NONE,NONE,configuration,pnf,org.onap.relationships.inventory.AppliesTo,OUT,ONE2MANY,NONE,NONE,NONE,NONE,T
+forwarder,forwarding-path,belongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,forwarder,forwarding-path,org.onap.relationships.inventory.BelongsTo,OUT,MANY2ONE,!${direction},!${direction},NONE,NONE,T
+forwarding-path,service-instance,implements,OUT,MANY2ONE,NONE,!${direction},NONE,NONE,forwarding-path,service-instance,org.onap.relationships.inventory.AppliesTo,OUT,MANY2ONE,NONE,!${direction},NONE,NONE,T
+forwarder,l-interface,forwardsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,forwarder,l-interface,org.onap.relationships.inventory.ForwardsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,T
+forwarder,p-interface,forwardsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,forwarder,p-interface,org.onap.relationships.inventory.ForwardsTo,OUT,ONE2ONE,NONE,NONE,NONE,NONE,T
diff --git a/aai-core/src/test/resources/logback.xml b/aai-core/src/test/resources/logback.xml
index 959ef63f..37425b97 100644
--- a/aai-core/src/test/resources/logback.xml
+++ b/aai-core/src/test/resources/logback.xml
@@ -130,7 +130,7 @@
</filter>
<file>${logDirectory}/rest/audit.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>${logDirectory}/rest/audit-${Pid}.%d{yyyy-MM-dd}.log.zip
+ <fileNamePattern>${logDirectory}/rest/audit-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.log.zip
</fileNamePattern>
</rollingPolicy>
<triggeringPolicy
@@ -148,7 +148,7 @@
</filter>
<file>${logDirectory}/rest/perform.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>${logDirectory}/rest/perform-${Pid}.%d{yyyy-MM-dd}.log.zip
+ <fileNamePattern>${logDirectory}/rest/perform-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.log.zip
</fileNamePattern>
</rollingPolicy>
<!-- <triggeringPolicy
diff --git a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v10.xml b/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v10.xml
deleted file mode 100644
index 818128eb..00000000
--- a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v10.xml
+++ /dev/null
@@ -1,5796 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- ============LICENSE_START=======================================================
- org.onap.aai
- ================================================================================
- Copyright © 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=========================================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.
-
--->
-<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v10" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v10" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v10.Search" />
- <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v10.Actions" />
- <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v10.CloudInfrastructure" />
- <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v10.Business" />
- <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v10.ServiceDesignAndCreation" />
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v10.Network" />
- <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v10.AaiInternal" />
- <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v10.Nodes"/>
- </java-attributes>
- </java-type>
-
- <java-type name="Nodes">
- <xml-root-element name="nodes" />
- </java-type>
- <java-type name="Search">
- <xml-root-element name="search" />
- <java-attributes>
- <xml-element java-attribute="edgeTagQueryResult" name="edge-tag-query-result" type="inventory.aai.onap.org.v10.EdgeTagQueryResult" />
- <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v10.EdgeTagQueryRequest" />
- <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v10.SearchResults" />
- <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v10.SdnZoneResponse" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryResult">
- <xml-root-element name="edge-tag-query-result" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="TaggedInventoryItemList">
- <xml-root-element name="tagged-inventory-item-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v10.InventoryItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItem">
- <xml-root-element name="inventory-item" />
- <java-attributes>
- <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
- <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v10.InventoryItemData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v10.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItemData">
- <xml-root-element name="inventory-item-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgeTagQueryRequest">
- <xml-root-element name="edge-tag-query-request" />
- <java-attributes>
- <xml-element java-attribute="edgeTag" name="edge-tag" type="java.lang.String" />
- <xml-element java-attribute="resultDetail" name="result-detail" type="java.lang.String" />
- <xml-element java-attribute="startNodeType" name="start-node-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="startNodeFilter" name="start-node-filter" type="inventory.aai.onap.org.v10.StartNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v10.IncludeNodeFilter" />
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v10.SecondaryFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="StartNodeFilter">
- <xml-root-element name="start-node-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="IncludeNodeFilter">
- <xml-root-element name="include-node-filter" />
- <java-attributes>
- <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilter">
- <xml-root-element name="secondary-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SearchResults">
- <xml-root-element name="search-results" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v10.ResultData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResultData">
- <xml-root-element name="result-data" />
- <java-attributes>
- <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The URL to the specific resource" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="SdnZoneResponse">
- <xml-root-element name="sdn-zone-response" />
- <java-attributes>
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
- <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v10.AzAndDvsSwitches" />
- </java-attributes>
- </java-type>
-
- <java-type name="AzAndDvsSwitches">
- <xml-root-element name="az-and-dvs-switches" />
- <java-attributes>
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
- <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Actions">
- <xml-properties>
- <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
- </xml-properties>
- <xml-root-element name="actions" />
- <java-attributes>
- <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v10.Update" />
- <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v10.Notify" />
- </java-attributes>
- </java-type>
-
- <java-type name="Update">
- <xml-properties>
- <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control. Clear each usage with AAI team." />
- </xml-properties>
- <xml-root-element name="update" />
- <java-attributes>
- <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v10.UpdateNodeKey" />
- <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v10.Action" />
- </java-attributes>
- </java-type>
-
- <java-type name="Action">
- <xml-root-element name="action" />
- <java-attributes>
- <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v10.ActionData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ActionData">
- <xml-root-element name="action-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="UpdateNodeKey">
- <xml-root-element name="update-node-key" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Notify">
- <xml-root-element name="notify" />
- <java-attributes>
- <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
- <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
- <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v10.KeyData" />
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="KeyData">
- <xml-root-element name="key-data" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudInfrastructure">
- <xml-properties>
- <xml-property name="description" value="Namespace for cloud infrastructure." />
- </xml-properties>
- <xml-root-element name="cloud-infrastructure" />
- <java-attributes>
- <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.v10.Complexes" />
- <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v10.CloudRegions" />
- <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v10.NetworkProfiles" />
- <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v10.Pservers" />
- <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v10.VirtualDataCenters" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudRegions">
- <xml-root-element name="cloud-regions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v10.CloudRegion" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="CloudRegion">
- <xml-root-element name="cloud-region" />
- <java-attributes>
- <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Cloud-owner defined type indicator (e.g., dcp, lcp)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Software version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP TO DATE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Zone where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="complex name for cloud-region instance. NOTE - THIS FIELD IS NOT CORRECTLY POPULATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v10.VolumeGroups" />
- <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v10.Tenants" />
- <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v10.Flavors" />
- <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v10.GroupAssignments" />
- <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v10.Snapshots" />
- <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v10.Images" />
- <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v10.DvsSwitches" />
- <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v10.OamNetworks" />
- <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v10.AvailabilityZones" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation." />
- <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
- <xml-property name="nameProps" value="owner-defined-type" />
- <xml-property name="container" value="cloud-regions" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
- <java-type name="VolumeGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of persistent block-level storage." />
- </xml-properties>
- <xml-root-element name="volume-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v10.VolumeGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="VolumeGroup">
- <xml-root-element name="volume-group" />
- <java-attributes>
- <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of volume-group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the volume group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleModelCustomizationId" name="vf-module-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="helps relate the volume group to the vf-module whose components will require the volume group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Persistent block-level storage." />
- <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
- <xml-property name="searchable" value="volume-group-id,volume-group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="volume-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v10.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v10.RelationshipData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v10.RelatedToProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedToProperty">
- <xml-root-element name="related-to-property" />
- <java-attributes>
- <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Key part of a key/value pair" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value part of a key/value pair" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="Complexes">
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- </xml-properties>
- <xml-root-element name="complexes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.v10.Complex" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Complex">
- <xml-root-element name="complex" />
- <java-attributes>
- <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Gamma complex name for LCP instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type, e.g., central office, data center." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
- <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
- <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
- <xml-element java-attribute="state" name="state" type="java.lang.String" />
- <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
- <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
- <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
- <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
- <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
- <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
- <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
- <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.v10.CtagPools" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical locations that can house cloud-regions." />
- <xml-property name="indexedProps" value="identity-url,data-center-code,complex-name,physical-location-id" />
- <xml-property name="searchable" value="physical-location-id,data-center-code,complex-name,street1,street2,postal-code" />
- <xml-property name="uniqueProps" value="physical-location-id" />
- <xml-property name="container" value="complexes" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="CtagPools">
- <xml-root-element name="ctag-pools" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.v10.CtagPool" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagPool">
- <xml-root-element name="ctag-pool" />
- <java-attributes>
- <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="The Target provider edge router" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Describes what the intended purpose of this pool is." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Comma separated list of ctags" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A collection of C tags (vlan tags) grouped for a specific purpose." />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="complex" />
- <xml-property name="container" value="ctag-pools" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenants">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack tenants." />
- </xml-properties>
- <xml-root-element name="tenants" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v10.Tenant" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Tenant">
- <xml-root-element name="tenant" />
- <java-attributes>
- <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id relative to the cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Readable name of tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v10.Vservers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack tenant" />
- <xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-name,tenant-id" />
- <xml-property name="searchable" value="tenant-id,tenant-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="tenants" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vservers">
- <xml-properties>
- <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
- </xml-properties>
- <xml-root-element name="vservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v10.Vserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vserver">
- <xml-root-element name="vserver" />
- <java-attributes>
- <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternative name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v10.Volumes" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
- <xml-property name="nameProps" value="vserver-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
- <xml-property name="searchable" value="vserver-id,vserver-name,vserver-name2" />
- <xml-property name="dependentOn" value="tenant" />
- <xml-property name="container" value="vservers" />
- </xml-properties>
- </java-type>
-
- <java-type name="LInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of logical interfaces." />
- </xml-properties>
- <xml-root-element name="l-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v10.LInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LInterface">
- <xml-root-element name="l-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name given to the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="MAC address for the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isPortMirrored" name="is-port-mirrored" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not port is a mirrored." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v10.Vlans" />
- <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v10.SriovVfs" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
- <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
- <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver,lag-interface" />
- <xml-property name="container" value="l-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="SriovVfs">
- <xml-properties>
- <xml-property name="description" value="Collection of SR-IOV Virtual Functions." />
- </xml-properties>
- <xml-root-element name="sriov-vfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sriovVf" name="sriov-vf" type="inventory.aai.onap.org.v10.SriovVf" />
- </java-attributes>
- </java-type>
- <java-type name="SriovVf">
- <xml-root-element name="sriov-vf" />
- <java-attributes>
- <xml-element java-attribute="pciId" name="pci-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="PCI ID used to identify the sriov-vf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanFilter" name="vf-vlan-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacFilter" name="vf-mac-filter" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanStrip" name="vf-vlan-strip" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfVlanAntiSpoofCheck" name="vf-vlan-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMacAntiSpoofCheck" name="vf-mac-anti-spoof-check" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfMirrors" name="vf-mirrors" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfBroadcastAllow" name="vf-broadcast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownMulticastAllow" name="vf-unknown-multicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfUnknownUnicastAllow" name="vf-unknown-unicast-allow" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfInsertStag" name="vf-insert-stag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="This option, if set to true, instructs to insert outer tag after traffic comes out of VM." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfLinkStatus" name="vf-link-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This option is used to set the link status. Valid values as of 1607 are on, off, and auto." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="SR-IOV Virtual Function (not to be confused with virtual network function)" />
- <xml-property name="indexedProps" value="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="sriov-vfs" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv4AddressList">
- <xml-root-element name="l3-interface-ipv4-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 32 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv4 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vlans">
- <xml-root-element name="vlans" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v10.Vlan" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vlan">
- <xml-root-element name="vlan" />
- <java-attributes>
- <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String that identifies the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v10.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Definition of vlan" />
- <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="vlans" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv6AddressList">
- <xml-root-element name="l3-interface-ipv6-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 128 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv6 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Volumes">
- <xml-properties>
- <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
- </xml-properties>
- <xml-root-element name="volumes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v10.Volume" />
- </java-attributes>
- </java-type>
-
- <java-type name="Volume">
- <xml-root-element name="volume" />
- <java-attributes>
- <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Ephemeral Block storage volume." />
- <xml-property name="indexedProps" value="volume-id" />
- <xml-property name="dependentOn" value="vserver" />
- <xml-property name="container" value="volumes" />
- </xml-properties>
- </java-type>
-
- <java-type name="Flavors">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack flavors." />
- </xml-properties>
- <xml-root-element name="flavors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v10.Flavor" />
- </java-attributes>
- </java-type>
-
- <java-type name="Flavor">
- <xml-root-element name="flavor" />
- <java-attributes>
- <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Flavor name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of CPUs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of memory" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of ephemeral disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="amount of swap space allocation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack flavor." />
- <xml-property name="nameProps" value="flavor-name" />
- <xml-property name="indexedProps" value="flavor-name,flavor-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="flavors" />
- </xml-properties>
- </java-type>
-
- <java-type name="Snapshots">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack snapshots" />
- </xml-properties>
- <xml-root-element name="snapshots" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v10.Snapshot" />
- </java-attributes>
- </java-type>
-
- <java-type name="Snapshot">
- <xml-root-element name="snapshot" />
- <java-attributes>
- <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Snapshot name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack snapshot" />
- <xml-property name="nameProps" value="snapshot-name" />
- <xml-property name="uniqueProps" value="snapshot-id" />
- <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="snapshots" />
- </xml-properties>
- </java-type>
-
- <java-type name="GroupAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack group assignments" />
- </xml-properties>
- <xml-root-element name="group-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v10.GroupAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="GroupAssignment">
- <xml-root-element name="group-assignment" />
- <java-attributes>
- <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group type - the type of group this instance refers to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name - name assigned to the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group description - description of the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
- <xml-property name="nameProps" value="group-name" />
- <xml-property name="indexedProps" value="group-id,group-type,group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="group-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Images">
- <xml-properties>
- <xml-property name="description" value="Collectio of Openstack images." />
- </xml-properties>
- <xml-root-element name="images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v10.Image" />
- </java-attributes>
- </java-type>
-
- <java-type name="Image">
- <xml-root-element name="image" />
- <java-attributes>
- <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Image id, expected to be unique across cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Image name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack image." />
- <xml-property name="nameProps" value="image-name" />
- <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="images" />
- </xml-properties>
- </java-type>
-
- <java-type name="Metadata">
- <xml-properties>
- <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
- </xml-properties>
- <xml-root-element name="metadata" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v10.Metadatum" />
- </java-attributes>
- </java-type>
-
- <java-type name="Metadatum">
- <xml-root-element name="metadatum" />
- <java-attributes>
- <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Key/value pairs" />
- <xml-property name="indexedProps" value="metaname" />
- <xml-property name="dependentOn" value="tenant,image,service-instance,connector,model" />
- <xml-property name="container" value="metadata" />
- </xml-properties>
- </java-type>
-
- <java-type name="DvsSwitches">
- <xml-properties>
- <xml-property name="description" value="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs." />
- </xml-properties>
- <xml-root-element name="dvs-switches" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.v10.DvsSwitch" />
- </java-attributes>
- </java-type>
-
- <java-type name="DvsSwitch">
- <xml-root-element name="dvs-switch" />
- <java-attributes>
- <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="DVS switch name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL used to reach the vcenter" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. " />
- <xml-property name="indexedProps" value="vcenter-url,switch-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="dvs-switches" />
- </xml-properties>
- </java-type>
-
- <java-type name="NetworkProfiles">
- <xml-properties>
- <xml-property name="description" value="Collection of network profiles" />
- </xml-properties>
- <xml-root-element name="network-profiles" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkProfile" name="network-profile" type="inventory.aai.onap.org.v10.NetworkProfile" />
- </java-attributes>
- </java-type>
-
- <java-type name="NetworkProfile">
- <xml-root-element name="network-profile" />
- <java-attributes>
- <xml-element java-attribute="nmProfileName" name="nm-profile-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique name of network profile." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="communityString" name="community-string" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted SNMP community string" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Network profile populated by SDN-GP for SNMP" />
- <xml-property name="indexedProps" value="nm-profile-name" />
- <xml-property name="container" value="network-profiles" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pservers">
- <xml-properties>
- <xml-property name="description" value="Collection of compute hosts." />
- </xml-properties>
- <xml-root-element name="pservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v10.Pserver" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pserver">
- <xml-root-element name="pserver" />
- <java-attributes>
- <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value from executing hostname on the compute node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="PTNII name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of cpus" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk size, in GBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="RAM size, in MBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Fully-qualified domain name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number, may be queried" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="internet topology of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="alternative pserver name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="purpose of pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
- <xml-property name="nameProps" value="pserver-name2" />
- <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2,inv-status" />
- <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
- <xml-property name="container" value="pservers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="PInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of physical interfaces." />
- </xml-properties>
- <xml-root-element name="p-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v10.PInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="PInterface">
- <xml-root-element name="p-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the physical interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nature of the services and connectivity on this port." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the physical properties of the interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Physical interface (e.g., nic)" />
- <xml-property name="indexedProps" value="interface-name,prov-status" />
- <xml-property name="nameProps" value="prov-status" />
- <xml-property name="dependentOn" value="vpls-pe,pserver,pnf" />
- <xml-property name="container" value="p-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregate interfaces." />
- </xml-properties>
- <xml-root-element name="lag-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v10.LagInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagInterface">
- <xml-root-element name="lag-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the link aggregate interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceDescription" name="interface-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Human friendly text regarding this interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" java-attribute="inMaint" name="in-maint" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Link aggregate interface" />
- <xml-property name="indexedProps" value="interface-name,interface-id,interface-role" />
- <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe,pnf" />
- <xml-property name="container" value="lag-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="OamNetworks">
- <xml-properties>
- <xml-property name="description" value="Collection of OAM networks, to be deprecated shortly. Do not use for new purposes. " />
- </xml-properties>
- <xml-root-element name="oam-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.v10.OamNetwork" />
- </java-attributes>
- </java-type>
-
- <java-type name="OamNetwork">
- <xml-root-element name="oam-network" />
- <java-attributes>
- <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of the network. Unique across a cloud-region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="cvlan-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="OAM network, to be deprecated shortly. Do not use for new purposes. " />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="cvlan-tag,network-uuid,network-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="oam-networks" />
- </xml-properties>
- </java-type>
-
- <java-type name="AvailabilityZones">
- <xml-properties>
- <xml-property name="description" value="Collection of availability zones" />
- </xml-properties>
- <xml-root-element name="availability-zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v10.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="AvailabilityZone">
- <xml-root-element name="availability-zone" />
- <java-attributes>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="availability-zones" />
- </xml-properties>
- </java-type>
-
- <java-type name="VirtualDataCenters">
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- </xml-properties>
- <xml-root-element name="virtual-data-centers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.v10.VirtualDataCenter" />
- </java-attributes>
- </java-type>
-
- <java-type name="VirtualDataCenter">
- <xml-root-element name="virtual-data-center" />
- <java-attributes>
- <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the vdc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the virtual data center" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
- <xml-property name="nameProps" value="vdc-name" />
- <xml-property name="indexedProps" value="vdc-name,vdc-id" />
- <xml-property name="container" value="virtual-data-centers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
-
-
-
- <java-type name="Business">
- <xml-properties>
- <xml-property name="description" value="Namespace for business related constructs" />
- </xml-properties>
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v10.Connectors" />
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v10.Customers" />
- </java-attributes>
- </java-type>
-
- <java-type name="Connectors">
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- </xml-properties>
- <xml-root-element name="connectors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v10.Connector" />
- </java-attributes>
- </java-type>
-
- <java-type name="Connector">
- <xml-root-element name="connector" />
- <java-attributes>
- <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of resource instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
- <xml-property name="indexedProps" value="resource-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version" />
- <xml-property name="container" value="connectors" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="Customers">
- <xml-properties>
- <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
- </xml-properties>
- <xml-root-element name="customers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v10.Customer" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Customer">
- <xml-root-element name="customer" />
- <java-attributes>
- <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
- <xml-property name="defaultValue" value="CUST" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v10.ServiceSubscriptions" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
- <xml-property name="nameProps" value="subscriber-name" />
- <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
- <xml-property name="searchable" value="global-customer-id,subscriber-name" />
- <xml-property name="uniqueProps" value="global-customer-id" />
- <xml-property name="container" value="customers" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceSubscriptions">
- <xml-properties>
- <xml-property name="description" value="Collection of objects that group service instances." />
- </xml-properties>
- <xml-root-element name="service-subscriptions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v10.ServiceSubscription" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceSubscription">
- <xml-root-element name="service-subscription" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v10.ServiceInstances">
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Object that group service instances." />
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="dependentOn" value="customer" />
- <xml-property name="container" value="service-subscriptions" />
- <xml-property name="crossEntityReference" value="service-instance,service-type" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceInstances">
- <xml-properties>
- <xml-property name="description" value="Collection of service instances" />
- </xml-properties>
- <xml-root-element name="service-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v10.ServiceInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceInstance">
- <xml-root-element name="service-instance" />
- <java-attributes>
- <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Uniquely identifies this instance of a service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field will store a name assigned to the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL customers will use to access the vHN Portal." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operational status of the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v10.AllottedResources" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Instance of a service" />
- <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status" />
- <xml-property name="nameProps" value="service-instance-name" />
- <xml-property name="searchable" value="service-instance-id,service-instance-name" />
- <xml-property name="uniqueProps" value="service-instance-id" />
- <xml-property name="dependentOn" value="service-subscription" />
- <xml-property name="container" value="service-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceDesignAndCreation">
- <xml-properties>
- <xml-property name="description" value="Namespace for objects managed by ASDC" />
- </xml-properties>
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="vnfImages" name="vnf-images" type="inventory.aai.onap.org.v10.VnfImages" />
- <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v10.Services" />
- <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v10.ServiceCapabilities" />
- <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v10.Models" />
- <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v10.NamedQueries" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImages">
- <xml-properties>
- <xml-property name="description" value="Collection of image objects that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- </xml-properties>
- <xml-root-element name="vnf-images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfImage" name="vnf-image" type="inventory.aai.onap.org.v10.VnfImage" />
- </java-attributes>
- </java-type>
-
- <java-type name="VnfImage">
- <xml-root-element name="vnf-image" />
- <java-attributes>
- <xml-element java-attribute="vnfImageUuid" name="vnf-image-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of this asset" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Image object that pertain to a VNF that doesn't have associated vservers. This is a kludge." />
- <xml-property name="indexedProps" value="application,vnf-image-uuid,application-vendor,application-version" />
- <xml-property name="uniqueProps" value="vnf-image-uuid" />
- <xml-property name="container" value="vnf-images" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Services">
- <xml-properties>
- <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from ASDC." />
- </xml-properties>
- <xml-root-element name="services" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v10.Service" />
- </java-attributes>
- </java-type>
-
- <java-type name="Service">
- <xml-root-element name="service" />
- <java-attributes>
- <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description of the service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="service version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from ASDC. Does not strictly map to ASDC services." />
- <xml-property name="indexedProps" value="service-description,service-id" />
- <xml-property name="container" value="services" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceCapabilities">
- <xml-properties>
- <xml-property name="description" value="Collection of service capabilities." />
- </xml-properties>
- <xml-root-element name="service-capabilities" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.v10.ServiceCapability" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceCapability">
- <xml-root-element name="service-capability" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Early definition of server/resource pairings, likely to be replaced by models. No new use should be made of this." />
- <xml-property name="indexedProps" value="service-type,vnf-type" />
- <xml-property name="container" value="service-capabilities" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Network">
- <xml-properties>
- <xml-property name="description" value="Namespace for network inventory resources." />
- </xml-properties>
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v10.LogicalLinks" />
- <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v10.SitePairSets" />
- <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v10.VpnBindings" />
- <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v10.VplsPes" />
- <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v10.MulticastConfigurations" />
- <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v10.Vces" />
- <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v10.Vnfcs" />
- <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v10.L3Networks" />
- <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v10.NetworkPolicies" />
- <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v10.GenericVnfs" />
- <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v10.LagLinks" />
- <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v10.Newvces" />
- <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v10.Pnfs" />
- <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v10.PhysicalLinks" />
- <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v10.IpsecConfigurations" />
- <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v10.RouteTableReferences" />
- <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v10.InstanceGroups" />
- <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v10.Zones" />
- <xml-element java-attribute="testObjects" name="test-objects"
- type="inventory.aai.onap.org.v10.TestObjects" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of logical connections" />
- </xml-properties>
- <xml-root-element name="logical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v10.LogicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLink">
- <xml-root-element name="logical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of logical link, e.g., evc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="For example, static or BGP" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of operational status of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of the network use of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Reason for this entity, role it is playing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
- <xml-property name="indexedProps" value="link-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose" />
- <xml-property name="uniqueProps" value="link-id" />
- <xml-property name="container" value="logical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairSets">
- <xml-properties>
- <xml-property name="description" value="Collection of sets of instances for probes related to generic-vnf" />
- </xml-properties>
- <xml-root-element name="site-pair-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePairSet" name="site-pair-set" type="inventory.aai.onap.org.v10.SitePairSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePairSet">
- <xml-root-element name="site-pair-set" />
- <java-attributes>
- <xml-element java-attribute="sitePairSetId" name="site-pair-set-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of site pair set." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingInstances" name="routing-instances" type="inventory.aai.onap.org.v10.RoutingInstances" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Set of instances for probes used to measure service level agreements" />
- <xml-property name="indexedProps" value="site-pair-set-id" />
- <xml-property name="uniqueProps" value="site-pair-set-id" />
- <xml-property name="container" value="site-pair-sets" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="RoutingInstances">
- <xml-properties>
- <xml-property name="description" value="set of probes related to generic-vnf routing instance" />
- </xml-properties>
- <xml-root-element name="routing-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routingInstance" name="routing-instance" type="inventory.aai.onap.org.v10.RoutingInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="RoutingInstance">
- <xml-root-element name="routing-instance" />
- <java-attributes>
- <xml-element java-attribute="routingInstanceId" name="routing-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of routing instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpmOwner" name="rpm-owner" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rpm owner" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sitePairs" name="site-pairs" type="inventory.aai.onap.org.v10.SitePairs" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="routing-instance-id" />
- <xml-property name="uniqueProps" value="routing-instance-id" />
- <xml-property name="dependentOn" value="site-pair-set" />
- <xml-property name="container" value="routing-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="SitePairs">
- <xml-properties>
- <xml-property name="description" value="probe within a set" />
- </xml-properties>
- <xml-root-element name="site-pairs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="sitePair" name="site-pair" type="inventory.aai.onap.org.v10.SitePair" />
- </java-attributes>
- </java-type>
-
- <java-type name="SitePair">
- <xml-root-element name="site-pair" />
- <java-attributes>
- <xml-element java-attribute="sitePairId" name="site-pair-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceIp" name="source-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationIp" name="destination-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prefix address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version, v4, v6" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationHostname" name="destination-hostname" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Hostname of the destination equipment to which SLAs are measured against." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="destinationEquipType" name="destination-equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The type of destinatination equipment. Could be Router, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="classesOfService" name="classes-of-service" type="inventory.aai.onap.org.v10.ClassesOfService" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="site-pair-id" />
- <xml-property name="uniqueProps" value="site-pair-id" />
- <xml-property name="dependentOn" value="routing-instance" />
- <xml-property name="container" value="site-pairs" />
- </xml-properties>
- </java-type>
-
- <java-type name="ClassesOfService">
- <xml-properties>
- <xml-property name="description" value="class-of-service of probe" />
- </xml-properties>
- <xml-root-element name="classes-of-service" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="classOfService" name="class-of-service" type="inventory.aai.onap.org.v10.ClassOfService" />
- </java-attributes>
- </java-type>
-
- <java-type name="ClassOfService">
- <xml-root-element name="class-of-service" />
- <java-attributes>
- <xml-element java-attribute="cos" name="cos" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeId" name="probe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="probeType" name="probe-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type of probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="cos" />
- <xml-property name="dependentOn" value="site-pair" />
- <xml-property name="container" value="classes-of-service" />
- </xml-properties>
- </java-type>
-
- <java-type name="VpnBindings">
- <xml-root-element name="vpn-bindings" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v10.VpnBinding" />
- </java-attributes>
- </java-type>
-
- <java-type name="VpnBinding">
- <xml-root-element name="vpn-binding" />
- <java-attributes>
- <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="VPN Name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargets" name="route-targets" type="inventory.aai.onap.org.v10.RouteTargets" />
-
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList">
- <xml-properties>
- <xml-property name="description" value="l3-networks relate to vpn-bindings" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPN binding" />
- <xml-property name="nameProps" value="vpn-name,vpn-type" />
- <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
- <xml-property name="searchable" value="vpn-id,vpn-name" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="container" value="vpn-bindings" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="RouteTargets">
- <xml-properties>
- <xml-property name="description" value="Collection of route target information" />
- </xml-properties>
- <xml-root-element name="route-targets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTarget" name="route-target" type="inventory.aai.onap.org.v10.RouteTarget" />
- </java-attributes>
- </java-type>
- <java-type name="RouteTarget">
- <xml-root-element name="route-target" />
- <java-attributes>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify an RT, globally unique in the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" required="true" xml-key="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Route target information" />
- <xml-property name="container" value="route-targets" />
- <xml-property name="canBeLinked" value="true" />
- </xml-properties>
- </java-type>
- <java-type name="VplsPes">
- <xml-properties>
- <xml-property name="description" value="Collection of VPLS Provider Edge routers" />
- </xml-properties>
- <xml-root-element name="vpls-pes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.v10.VplsPe" />
- </java-attributes>
- </java-type>
-
- <java-type name="VplsPe">
- <xml-root-element name="vpls-pe" />
- <java-attributes>
- <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Temporary location for stag to get to VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPLS Provider Edge routers." />
- <xml-property name="indexedProps" value="prov-status,equipment-name" />
- <xml-property name="container" value="vpls-pes" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="MulticastConfigurations">
- <xml-properties>
- <xml-property name="description" value="multicast configuration of generic-vnf ip-address" />
- </xml-properties>
- <xml-root-element name="multicast-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="multicastConfiguration" name="multicast-configuration" type="inventory.aai.onap.org.v10.MulticastConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="MulticastConfiguration">
- <xml-root-element name="multicast-configuration" />
- <java-attributes>
- <xml-element java-attribute="multicastConfigurationId" name="multicast-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of multicast configuration." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="multicastProtocol" name="multicast-protocol" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="protocol of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="rpType" name="rp-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="rp type of multicast configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="multicast-configuration-id" />
- <xml-property name="uniqueProps" value="multicast-configuration-id" />
- <xml-property name="container" value="multicast-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vces">
- <xml-properties>
- <xml-property name="description" value="Collection of Virtual Customer Edge Routers, used specifically for Gamma. This object is deprecated." />
- </xml-properties>
- <xml-root-element name="vces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.v10.Vce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vce">
- <xml-root-element name="vce" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not strictly map to ASDC services, SOON TO BE DEPRECATED." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network role being played by this VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router. Implied length of /64." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - see child relationships" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.v10.PortGroups" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Customer Edge Router, used specifically for Gamma. This object is deprecated." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="vces" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="PortGroups">
- <xml-root-element name="port-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v10.PortGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="PortGroup">
- <xml-root-element name="port-group" />
- <java-attributes>
- <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network name of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID for port group in vmware" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Likely to duplicate value of neutron network name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.v10.CvlanTags" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
- <xml-property name="nameProps" value="port-group-name" />
- <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
- <xml-property name="dependentOn" value="vce" />
- <xml-property name="container" value="port-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="CvlanTags">
- <xml-root-element name="cvlan-tags" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.v10.CvlanTagEntry" />
- </java-attributes>
- </java-type>
-
- <java-type name="CvlanTagEntry">
- <xml-root-element name="cvlan-tag-entry" />
- <java-attributes>
- <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="dependentOn" value="port-group" />
- <xml-property name="indexedProps" value="cvlan-tag" />
- <xml-property name="container" value="cvlan-tags" />
- </xml-properties>
- </java-type>
-
-
-
- <java-type name="Vnfcs">
- <xml-properties>
- <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
- </xml-properties>
- <xml-root-element name="vnfcs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v10.Vnfc" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vnfc">
- <xml-root-element name="vnfc" />
- <java-attributes>
- <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vnfc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="function code" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="prov status of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Oam V4 vip address of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group notation of VNFC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
- <xml-property name="searchable" value="vnfc-name" />
- <xml-property name="container" value="vnfcs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3Networks">
- <xml-root-element name="l3-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v10.L3Network" />
- </java-attributes>
- </java-type>
-
- <java-type name="L3Network">
- <xml-root-element name="l3-network" />
- <java-attributes>
- <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Network ID, should be uuid. Unique across A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network, governed by some naming convention.." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the network - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role the network plans - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network technology - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Set to true if bound to VPN" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service from ASDC. Does not strictly map to ASDC services. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="network role instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the physical network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v10.Subnets" />
- <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v10.CtagAssignments" />
- <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v10.SegmentationAssignments" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" >
- <xml-properties>
- <xml-property name="description" value="Relates to tenant (or is it a child of tenant), complex, service, vpn-binding" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Generic network definition" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-network-fqdn,network-role" />
- <xml-property name="searchable" value="network-id,network-name" />
- <xml-property name="uniqueProps" value="network-id" />
- <xml-property name="container" value="l3-networks" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="NetworkPolicies">
- <xml-root-element name="network-policies" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="networkPolicy" name="network-policy" type="inventory.aai.onap.org.v10.NetworkPolicy" />
- </java-attributes>
- </java-type>
- <java-type name="NetworkPolicy">
- <xml-root-element name="network-policy" />
- <java-attributes>
- <xml-element java-attribute="networkPolicyId" name="network-policy-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID representing unique key to this instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkPolicyFqdn" name="network-policy-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the policy" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID for the openStack Heat instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="nameProps" value="network-policy-fqdn" />
- <xml-property name="indexedProps" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="searchable" value="network-policy-id,network-policy-fqdn" />
- <xml-property name="uniqueProps" value="network-policy-id" />
- <xml-property name="container" value="network-policies" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="CtagAssignments">
- <xml-root-element name="ctag-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v10.CtagAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagAssignment">
- <xml-root-element name="ctag-assignment" />
- <java-attributes>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="id." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vlan-id-inner" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="ctag-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Subnets">
- <xml-root-element name="subnets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v10.Subnet" />
- </java-attributes>
- </java-type>
-
- <java-type name="Subnet">
- <xml-root-element name="subnet" />
- <java-attributes>
- <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Subnet ID, should be UUID." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the subnet." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of this subnet" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="gateway ip address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="network start address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="cidr mask" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="dhcp enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the start address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the last address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="subnet-id,subnet-name" />
- <xml-property name="nameProps" value="subnet-name" />
- <xml-property name="uniqueProps" value="subnet-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="subnets" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="generic-vnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v10.GenericVnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnf">
- <xml-root-element name="generic-vnf" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by company or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfType" name="nf-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Generic description of the type of NF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="English description of Network function that the specific VNF deployment is providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="role in the network that this model will be providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="string assigned to this model used for naming purposes" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v10.VfModules" />
- <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v10.Licenses" />
- <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v10.Entitlements" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="generic-vnfs" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="VfModules">
- <xml-properties>
- <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
- </xml-properties>
- <xml-root-element name="vf-modules" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v10.VfModule" />
- </java-attributes>
- </java-type>
-
- <java-type name="VfModule">
- <xml-root-element name="vf-module" />
- <java-attributes>
- <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vf-module." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vf-module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the Contrail unique ID for a service-instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="moduleIndex" name="module-index" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="the index will track the number of modules of a given type that have been deployed in a VNF, starting with 0, and always choosing the lowest available digit" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="a deployment unit of VNFCs" />
- <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
- <xml-property name="searchable" value="vf-module-id,vf-module-name" />
- <xml-property name="dependentOn" value="generic-vnf" />
- <xml-property name="container" value="vf-modules" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="LagLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregation connections" />
- </xml-properties>
- <xml-root-element name="lag-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.v10.LagLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagLink">
- <xml-root-element name="lag-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="LAG links can connect lag-interfaces" />
- <xml-property name="indexedProps" value="link-name" />
- <xml-property name="container" value="lag-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Newvces">
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- </xml-properties>
- <xml-root-element name="newvces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.v10.Newvce" />
- </java-attributes>
- </java-type>
-
- <java-type name="Newvce">
- <xml-root-element name="newvce" />
- <java-attributes>
- <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v10.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="This object fills in the gaps from vce that were incorporated into generic-vnf. This object will be retired with vce." />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2" />
- <xml-property name="searchable" value="vnf-id2,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id2" />
- <xml-property name="container" value="newvces" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of Physical Network Functions." />
- </xml-properties>
- <xml-root-element name="pnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v10.Pnf" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnf">
- <xml-root-element name="pnf" />
- <java-attributes>
- <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="source of name2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="id of pnf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by company or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number of the device" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Loopback0" name="ipaddress-v4-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Loopback0" name="ipaddress-v6-loopback-0" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 Loopback 0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Aim" name="ipaddress-v4-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV4 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Aim" name="ipaddress-v6-aim" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 AIM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV6Oam" name="ipaddress-v6-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="IPV6 OAM address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="invStatus" name="inv-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CANOPI's inventory status. Only set with values exactly as defined by CANOPI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Prov Status of this device (not under canopi control) Valid values [PREPROV/NVTPROV/PROV]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nf Role is the role performed by this instance in the network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v10.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v10.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="PNF represents a physical network function. typically equipment used in the D1 world." />
- <xml-property name="indexedProps" value="pnf-name,orchestration-status,inv-status" />
- <xml-property name="searchable" value="pnf-name" />
- <xml-property name="uniqueProps" value="pnf-name" />
- <xml-property name="container" value="pnfs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- </xml-properties>
- <xml-root-element name="physical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v10.PhysicalLink" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLink">
- <xml-root-element name="physical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit it" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="To provide information on who manages this circuit. A&amp;AI or 3rd party transport provider" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the service Provider on this link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- <xml-property name="indexedProps" value="circuit-id,link-name" />
- <xml-property name="alternateKeys1" value="circuit-id" />
- <xml-property name="container" value="physical-links" />
- <xml-property name="namespace" value="network" />
- <xml-property name="searchable" value="link-name,circuit-id" />
- </xml-properties>
- </java-type>
-
- <java-type name="VigServers">
- <xml-root-element name="vig-servers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vigServer" name="vig-server" type="inventory.aai.onap.org.v10.VigServer" />
- </java-attributes>
- </java-type>
-
- <java-type name="VigServer">
- <xml-root-element name="vig-server" />
- <java-attributes>
- <xml-element java-attribute="vigAddressType" name="vig-address-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="indicates whether the VIG is for AVPN or INTERNET" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV4Vig" name="ipaddress-v4-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v4 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipaddressV6Vig" name="ipaddress-v6-vig" type="java.lang.String" >
- <xml-properties>
- <xml-property name="description" value="v6 IP of the vig server" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="vig-server contains information about a vig server used for IPSec-configuration. Populated by SDN-C from 1607" />
- <xml-property name="indexedProps" value="vig-address-type" />
- <xml-property name="dependentOn" value="ipsec-configuration" />
- <xml-property name="container" value="vig-servers" />
- </xml-properties>
- </java-type>
-
- <java-type name="IpsecConfigurations">
- <xml-root-element name="ipsec-configurations" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ipsecConfiguration" name="ipsec-configuration" type="inventory.aai.onap.org.v10.IpsecConfiguration" />
- </java-attributes>
- </java-type>
-
- <java-type name="IpsecConfiguration">
- <xml-root-element name="ipsec-configuration" />
- <java-attributes>
- <xml-element java-attribute="ipsecConfigurationId" name="ipsec-configuration-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="UUID of this configuration" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedVigAddressType" name="requested-vig-address-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicate the type of VIG server like AVPN, INTERNET, BOTH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedEncryptionStrength" name="requested-encryption-strength" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encryption values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedDmzType" name="requested-dmz-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="can offer a shared DMZ or a DMZ specific to a customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sharedDmzNetworkAddress" name="shared-dmz-network-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network address of shared DMZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="requestedCustomerName" name="requested-customer-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="If the DMZ is a custom DMZ, this field will indicate the customer information" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikeVersion" name="ike-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="can be 1 or 2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Authentication" name="ikev1-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contains values like md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1Encryption" name="ikev1-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encyption values like 3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1DhGroup" name="ikev1-dh-group" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Diffie-Hellman group like DH-GROUP2, DH-GROUP5, DH-GROUP14" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmGroupId" name="ikev1-am-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name defined in VIG for clients using aggressive mode" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1AmPassword" name="ikev1-am-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="pre-shared key for the above group name " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ikev1SaLifetime" name="ikev1-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Lifetime for IKEv1 SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecAuthentication" name="ipsec-authentication" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="md5, sha1, sha256, sha384" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecEncryption" name="ipsec-encryption" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="3des-cbc, des-cbc, aes-128-cbc,?aes-192-cbc, aes-265-cbc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecSaLifetime" name="ipsec-sa-lifetime" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Life time for IPSec SA" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipsecPfs" name="ipsec-pfs" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="enable PFS or not" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserId" name="xauth-userid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="user ID for xAuth, sm-user, ,nmteHostName" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="xauthUserPassword" name="xauth-user-password" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Encrypted using the Juniper $9$ algorithm" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdInterval" name="dpd-interval" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The time between DPD probe" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dpdFrequency" name="dpd-frequency" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Maximum number of DPD before claiming the tunnel is down" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v10.VigServers" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPSec configuration node will contain various configuration data for the NMTE VNF. This node will have an edge to the generic-vnf (vnf type = TE). Starting 1607, this data will be populated by SDN-C" />
- <xml-property name="indexedProps" value="ipsec-configuration-id" />
- <xml-property name="uniqueProps" value="ipsec-configuration-id" />
- <xml-property name="container" value="ipsec-configurations" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="NotificationEvent">
- <xml-root-element name="notification-event" />
- <java-attributes>
- <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
- <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v10.NotificationEventHeader" />
- <xml-any-element java-attribute="entity" />
- </java-attributes>
- </java-type>
- <java-type name="NotificationEventHeader">
- <xml-root-element name="notification-event-header" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" type="java.lang.String" />
- <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
- <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
- <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
- <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
- <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
- <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
- <xml-element java-attribute="version" name="version" type="java.lang.String" />
- <xml-element java-attribute="action" name="action" type="java.lang.String" />
- <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
- <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
- <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
- <xml-element java-attribute="status" name="status" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="AaiInternal">
- <xml-root-element name="aai-internal" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v10.ReservedPropNames" />
- <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v10.EdgePropNames" />
- </java-attributes>
- </java-type>
- <java-type name="ReservedPropNames">
- <xml-properties>
- <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
- <xml-property name="uniqueProps" value="aai-unique-key" />
- <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type,aai-uri" />
- </xml-properties>
- <xml-root-element name="reserved-prop-names" />
- <java-attributes>
- <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
- <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
- <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
- <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
- <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiUri" name="aai-uri" type="java.lang.String" />
- </java-attributes>
- </java-type>
- <java-type name="EdgePropNames">
- <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
- <xml-properties>
- <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
- <xml-root-element name="edge-prop-names" />
- <java-attributes>
- <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
- <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
- <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Models">
- <xml-properties>
- <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
- </xml-properties>
- <xml-root-element name="models" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v10.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="Model">
- <xml-root-element name="model" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
- <xml-property name="nameProps" value="model-type" />
- <xml-property name="indexedProps" value="model-invariant-id,model-type" />
- <xml-property name="uniqueProps" value="model-invariant-id" />
- <xml-property name="container" value="models" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="ModelVers">
- <xml-root-element name="model-vers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v10.ModelVer" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelVer">
- <xml-root-element name="model-ver" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
- <xml-property name="nameProps" value="model-name" />
- <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
- <xml-property name="uniqueProps" value="model-version-id" />
- <xml-property name="container" value="model-vers" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v10.Metadata" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElements">
- <xml-root-element name="model-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v10.ModelElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElement">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
- <xml-property name="uniqueProps" value="model-element-uuid" />
- <xml-property name="indexedProps" value="model-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-elements" />
- </xml-properties>
- <xml-root-element name="model-element" />
- <java-attributes>
- <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="How many of this type of element are required/allowed" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-points" type="java.lang.String" >
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v10.ModelConstraints">
- <xml-properties>
- <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraints">
- <xml-root-element name="model-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v10.ModelConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraint">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="model-constraint-uuid" />
- <xml-property name="indexedProps" value="model-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-constraints" />
- </xml-properties>
- <xml-root-element name="model-constraint" />
- <java-attributes>
- <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
- <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v10.ConstrainedElementSets" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSets">
- <xml-root-element name="constrained-element-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v10.ConstrainedElementSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
- <xml-property name="indexedProps" value="constrained-element-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="constrained-element-sets" />
- </xml-properties>
- <xml-root-element name="constrained-element-set" />
- <java-attributes>
- <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v10.ElementChoiceSets" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSets">
- <xml-root-element name="element-choice-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v10.ElementChoiceSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="element-choice-set-uuid" />
- <xml-property name="indexedProps" value="element-choice-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="element-choice-sets" />
- </xml-properties>
- <xml-root-element name="element-choice-set" />
- <java-attributes>
- <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v10.ModelElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueries">
- <xml-root-element name="named-queries" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQuery">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="nameProps" value="named-query-name" />
- <xml-property name="uniqueProps" value="named-query-uuid" />
- <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
- <xml-property name="container" value="named-queries" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <xml-root-element name="named-query" />
- <java-attributes>
- <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String" >
- <xml-element-wrapper name="required-input-params" />
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElements">
- <xml-root-element name="named-query-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v10.NamedQueryElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElement">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="named-query-element-uuid" />
- <xml-property name="indexedProps" value="named-query-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="named-query-elements" />
- </xml-properties>
- <xml-root-element name="named-query-element" />
- <java-attributes>
- <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
- <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v10.NamedQueryElements" />
- <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v10.RelatedLookups" />
- <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v10.PropertyConstraints" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookups">
- <xml-root-element name="related-lookups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v10.RelatedLookup" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookup">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="related-lookup-uuid" />
- <xml-property name="indexedProps" value="related-lookup-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="related-lookups" />
- </xml-properties>
- <xml-root-element name="related-lookup" />
- <java-attributes>
- <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraints">
- <xml-root-element name="property-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v10.PropertyConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraint">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="property-constraint-uuid" />
- <xml-property name="indexedProps" value="property-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="property-constraints" />
- </xml-properties>
- <xml-root-element name="property-constraint" />
- <java-attributes>
- <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyName" name="property-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelAndNamedQuerySearch">
- <xml-properties>
- <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="model-and-named-query-search" />
- <java-attributes>
- <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v10.QueryParameters" />
- <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v10.InstanceFilters" />
- <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v10.SecondaryFilts" />
- <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
- <xml-element java-attribute="secondaryFilterCutPoint" name="secondary-filter-cut-point" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="QueryParameters">
- <xml-properties>
- <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="query-parameters" />
- <java-attributes>
- <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v10.NamedQuery" />
- <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v10.OverloadedModel" />
- </java-attributes>
- </java-type>
-
- <java-type name="OverloadedModel">
- <xml-root-element name="overloaded-model" />
- <xml-properties>
- <xml-property name="description" value="Allows for legacy POST of old-style and new-style models" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v10.ModelVers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilters">
- <xml-properties>
- <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="instance-filters" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v10.InstanceFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilter">
- <xml-properties>
- <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
- <xml-property name="container" value="instance-filters" />
- </xml-properties>
- <xml-root-element name="instance-filter" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilts">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilts for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filts" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilt" name="secondary-filt" type="inventory.aai.onap.org.v10.SecondaryFilt" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilt">
- <xml-properties>
- <xml-property name="description" value="SecondaryFilt for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="secondary-filt" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="Properties">
- <xml-properties>
- <xml-property name="description" value="Property holder for query properties or instance properties" />
- </xml-properties>
- <xml-root-element name="properties" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResponseList">
- <xml-properties>
- <xml-property name="description" value="Response container for the results of a named-query or model query" />
- </xml-properties>
- <xml-root-element name="response-list" />
- <java-attributes>
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItems">
- <xml-properties>
- <xml-property name="description" value="Container for inventory items in response list" />
- <xml-property name="container" value="response-list" />
- </xml-properties>
- <xml-root-element name="inventory-response-items" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v10.InventoryResponseItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItem">
- <xml-properties>
- <xml-property name="description" value="Inventory item for response list" />
- <xml-property name="container" value="inventory-response-items" />
- </xml-properties>
- <xml-root-element name="inventory-response-item" />
- <java-attributes>
- <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
- <xml-any-element java-attribute="item" />
- <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v10.ExtraProperties" />
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v10.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperties">
- <xml-properties>
- <xml-property name="description" value="Extra properties for inventory item for response list" />
- </xml-properties>
- <xml-root-element name="extra-properties" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v10.ExtraProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperty">
- <xml-root-element name="extra-property" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReferences">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="route-table-references" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="routeTableReference" name="route-table-reference" type="inventory.aai.onap.org.v10.RouteTableReference" />
- </java-attributes>
- </java-type>
-
- <java-type name="RouteTableReference">
- <xml-root-element name="route-table-reference" />
- <java-attributes>
- <xml-element java-attribute="routeTableReferenceId" name="route-table-reference-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTableReferenceFqdn" name="route-table-reference-fqdn" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="FQDN entry in the route table." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Openstack route table reference." />
- <xml-property name="nameProps" value="route-table-reference-fqdn" />
- <xml-property name="uniqueProps" value="route-table-reference-id" />
- <xml-property name="indexedProps" value="route-table-reference-id,route-table-reference-fqdn" />
- <xml-property name="container" value="route-table-references" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="InstanceGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack route table references" />
- </xml-properties>
- <xml-root-element name="instance-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceGroup" name="instance-group" type="inventory.aai.onap.org.v10.InstanceGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceGroup">
- <xml-root-element name="instance-group" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Instance Group ID, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Descriptive text to help identify the usage of this instance-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="type" name="type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Only valid value today is lower case ha for high availability" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subType" name="sub-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Valid values for ha type are [geo-activeactive, geo-activestandby, local-activeactive, local-activestandby]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="General mechanism for grouping instances" />
- <xml-property name="nameProps" value="description" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,description,type,sub-type" />
- <xml-property name="container" value="instance-groups" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="SegmentationAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack segmentation assignments" />
- </xml-properties>
- <xml-root-element name="segmentation-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v10.SegmentationAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="SegmentationAssignment">
- <xml-root-element name="segmentation-assignment" />
- <java-attributes>
- <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack segmentation assignment." />
- <xml-property name="indexedProps" value="segmentation-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="segmentation-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="AllottedResources">
- <xml-properties>
- <xml-property name="description" value="This object is used to store slices of services being offered" />
- </xml-properties>
- <xml-root-element name="allotted-resources" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v10.AllottedResource" />
- </java-attributes>
- </java-type>
-
- <java-type name="AllottedResource">
- <xml-root-element name="allotted-resource" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Link back to more information in the controller" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="type" name="type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Generic description of the type of allotted resource." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="role" name="role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="role in the network that this resource will be providing." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v10.TunnelXconnects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.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="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role" />
- <xml-property name="dependentOn" value="service-instance" />
- <xml-property name="container" value="allotted-resources" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="TunnelXconnects">
- <xml-properties>
- <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
- </xml-properties>
- <xml-root-element name="tunnel-xconnects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v10.TunnelXconnect" />
- </java-attributes>
- </java-type>
-
- <java-type name="TunnelXconnect">
- <xml-root-element name="tunnel-xconnect" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
-
- <xml-properties>
- <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
- <xml-property name="uniqueProps" value="id" />
- <xml-property name="indexedProps" value="id" />
- <xml-property name="dependentOn" value="allotted-resource" />
- <xml-property name="container" value="tunnel-xconnects" />
- <!-- <xml-property name="namespace" value="network" /> -->
- </xml-properties>
- </java-type>
-
- <java-type name="Entitlements">
- <xml-properties>
- <xml-property name="description" value="Entitlements, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="entitlements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="entitlement" name="entitlement" type="inventory.aai.onap.org.v10.Entitlement" />
- </java-attributes>
- </java-type>
-
- <java-type name="Entitlement">
- <xml-root-element name="entitlement" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the entitlement group the resource comes from, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of an entitlement resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for entitlement group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="entitlements" />
- </xml-properties>
- </java-type>
-
-
- <java-type name="Licenses">
- <xml-properties>
- <xml-property name="description" value="Licenses to be allocated across resources, keyed by group-uuid and resource-uuid, related to license management" />
- </xml-properties>
- <xml-root-element name="licenses" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="license" name="license" type="inventory.aai.onap.org.v10.License" />
- </java-attributes>
- </java-type>
-
- <java-type name="License">
- <xml-root-element name="license" />
- <java-attributes>
- <xml-element java-attribute="groupUuid" name="group-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID for the license group the resource belongs to, should be uuid." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceUuid" name="resource-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of a license resource. " />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Metadata for license group." />
- <xml-property name="indexedProps" value="group-uuid,resource-uuid" />
- <xml-property name="dependentOn" value="generic-vnf,vce" />
- <xml-property name="container" value="licenses" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vnf">
- <xml-root-element name="vnf"/>
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Abstract vnf class" />
- <xml-property name="indexedProps" value="vnf-id" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="inheritors" value="vce,generic-vnf" />
- <xml-property name="abstract" value="true" />
- </xml-properties>
- </java-type>
-
- <java-type name="Zones">
- <xml-properties>
- <xml-property name="description" value="Collection of zones" />
- </xml-properties>
- <xml-root-element name="zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="zone" name="zone" type="inventory.aai.onap.org.v10.Zone" />
- </java-attributes>
- </java-type>
-
- <java-type name="Zone">
- <xml-root-element name="zone" />
- <java-attributes>
- <xml-element java-attribute="zoneId" name="zone-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Code assigned by AIC to the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneName" name="zone-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="English name associated with the zone" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="designType" name="design-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Design of zone [Medium/Large?]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="zoneContext" name="zone-context" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Context of zone [production/test]" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="status" name="status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Status of a zone." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="A zone is a grouping of assets in a location homing to the same connections into the CBB" />
- <xml-property name="nameProps" value="zone-name" />
- <xml-property name="indexedProps" value="zone-id,design-type,zone-context" />
- <xml-property name="uniqueProps" value="zone-id" />
- <xml-property name="container" value="zones" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- <java-type name="TestObjects">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="test-objects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList"
- java-attribute="testObject" name="test-object"
- type="inventory.aai.onap.org.v10.TestObject" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- </xml-properties>
- </java-type>
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id"
- required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description"
- value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type"
- required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="identifier of managed by company or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk"
- type="java.lang.Long">
- <xml-properties>
- <xml-property name="description"
- value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true"
- java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false" />
- <xml-property name="description"
- value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="details regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag"
- type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description"
- value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid"
- name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid"
- name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid"
- name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model id for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="deployment" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVer" name="persona-model-ver"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dataCopy"
- value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="notVisibleTestElement"
- name="not-visible-test-element" type="java.lang.String">
- <xml-properties>
- <xml-property name="visibility" value="internal" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelCustomizationId" name="model-customization-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone"
- name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfType" name="nf-type"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="Generic description of the type of NF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfFunction" name="nf-function"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="English description of Network function that the specific VNF deployment is providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfRole" name="nf-role"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="role in the network that this model will be providing" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nfNamingCode" name="nf-naming-code"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description"
- value="string assigned to this model used for naming purposes" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink"
- type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v10.TestObjects" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v10.RelationshipList" />
-
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps"
- value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
- </java-types>
-</xml-bindings>
diff --git a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v8.xml b/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v8.xml
deleted file mode 100644
index 06dc6e03..00000000
--- a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v8.xml
+++ /dev/null
@@ -1,3079 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- ============LICENSE_START=======================================================
- org.onap.aai
- ================================================================================
- Copyright © 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=========================================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.
-
--->
-<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v8" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v8" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.v8.Search" />
- <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v8.Actions" />
- <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v8.CloudInfrastructure" />
- <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v8.Business" />
- <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v8.ServiceDesignAndCreation" />
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v8.Network" />
- <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v8.AaiInternal" />
- </java-attributes>
- </java-type>
-
- <java-type name="Search">
- <xml-root-element name="search" />
- <java-attributes>
- <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v8.SearchResults" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="TaggedInventoryItemList">
- <xml-root-element name="tagged-inventory-item-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItem" name="inventory-item" type="inventory.aai.onap.org.v8.InventoryItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItem">
- <xml-root-element name="inventory-item" />
- <java-attributes>
- <xml-element java-attribute="inventoryItemType" name="inventory-item-type" type="java.lang.String" />
- <xml-element java-attribute="inventoryItemLink" name="inventory-item-link" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryItemData" name="inventory-item-data" type="inventory.aai.onap.org.v8.InventoryItemData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v8.TaggedInventoryItemList" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryItemData">
- <xml-root-element name="inventory-item-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="StartNodeFilter">
- <xml-root-element name="start-node-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="IncludeNodeFilter">
- <xml-root-element name="include-node-filter" />
- <java-attributes>
- <xml-element java-attribute="includeNodeType" name="include-node-type" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SecondaryFilter">
- <xml-root-element name="secondary-filter" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="filterType" name="filter-type" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="SearchResults">
- <xml-root-element name="search-results" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.v8.ResultData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResultData">
- <xml-root-element name="result-data" />
- <java-attributes>
- <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The specific type of node in the AAI graph" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The URL to the specific resource" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="Actions">
- <xml-properties>
- <xml-property name="description" value="APIs that are more action related than REST (e.g., notify, update)." />
- </xml-properties>
- <xml-root-element name="actions" />
- <java-attributes>
- <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.v8.Update" />
- <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v8.Notify" />
- </java-attributes>
- </java-type>
-
- <java-type name="Update">
- <xml-properties>
- <xml-property name="description" value="Serves a PATCH like function. Does not enforce concurrency control." />
- </xml-properties>
- <xml-root-element name="update" />
- <java-attributes>
- <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.v8.UpdateNodeKey" />
- <xml-element java-attribute="updateNodeUri" name="update-node-uri" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.v8.Action" />
- </java-attributes>
- </java-type>
-
- <java-type name="Action">
- <xml-root-element name="action" />
- <java-attributes>
- <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.v8.ActionData" />
- </java-attributes>
- </java-type>
-
- <java-type name="ActionData">
- <xml-root-element name="action-data" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="UpdateNodeKey">
- <xml-root-element name="update-node-key" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Notify">
- <xml-root-element name="notify" />
- <java-attributes>
- <xml-element java-attribute="eventId" name="event-id" required="true" type="java.lang.String" />
- <xml-element java-attribute="nodeType" name="node-type" type="java.lang.String" />
- <xml-element java-attribute="eventTrigger" name="event-trigger" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="keyData" name="key-data" type="inventory.aai.onap.org.v8.KeyData" />
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="KeyData">
- <xml-root-element name="key-data" />
- <java-attributes>
- <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
- <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudInfrastructure">
- <xml-properties>
- <xml-property name="description" value="Namespace for cloud infrastructure." />
- </xml-properties>
- <xml-root-element name="cloud-infrastructure" />
- <java-attributes>
- <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v8.CloudRegions" />
- <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v8.Pservers" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudRegions">
- <xml-root-element name="cloud-regions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="cloudRegion" name="cloud-region" type="inventory.aai.onap.org.v8.CloudRegion" />
- </java-attributes>
- </java-type>
-
- <java-type name="CloudRegion">
- <xml-root-element name="cloud-region" />
- <java-attributes>
- <xml-element java-attribute="cloudOwner" name="cloud-owner" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionId" name="cloud-region-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Identifier used by the vendor for the region. Second part of composite key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudType" name="cloud-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the cloud (e.g., openstack)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ownerDefinedType" name="owner-defined-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Cloud-owner defined type indicator" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudRegionVersion" name="cloud-region-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Software version employed at the site" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="identityUrl" name="identity-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL of the keystone identity service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cloudZone" name="cloud-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Zone where the cloud is homed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="complex name for cloud-region instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroups" name="volume-groups" type="inventory.aai.onap.org.v8.VolumeGroups" />
- <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v8.Tenants" />
- <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v8.Flavors" />
- <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v8.GroupAssignments" />
- <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v8.Snapshots" />
- <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v8.Images" />
- <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v8.AvailabilityZones" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="cloud-region designates an installation of a cloud cluster or region or instantiation. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname." />
- <xml-property name="indexedProps" value="cloud-owner,cloud-region-id,cloud-type,owner-defined-type" />
- <xml-property name="nameProps" value="owner-defined-type" />
- <xml-property name="container" value="cloud-regions" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
- <java-type name="VolumeGroups">
- <xml-properties>
- <xml-property name="description" value="Collection of persistent block-level storage." />
- </xml-properties>
- <xml-root-element name="volume-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volumeGroup" name="volume-group" type="inventory.aai.onap.org.v8.VolumeGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="VolumeGroup">
- <xml-root-element name="volume-group" />
- <java-attributes>
- <xml-element java-attribute="volumeGroupId" name="volume-group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of volume-group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeGroupName" name="volume-group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the volume group." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the SDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as SDC matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this volume-group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Persistent block-level storage." />
- <xml-property name="indexedProps" value="volume-group-name,vnf-type,heat-stack-id,volume-group-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="volume-groups" />
- </xml-properties>
- </java-type>
-
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v8.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by AAI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in AAI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v8.RelationshipData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v8.RelatedToProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedToProperty">
- <xml-root-element name="related-to-property" />
- <java-attributes>
- <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Key part of a key/value pair" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value part of a key/value pair" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by AAI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="Tenants">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack tenants." />
- </xml-properties>
- <xml-root-element name="tenants" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.v8.Tenant" />
- </java-attributes>
- </java-type>
-
- <java-type name="Tenant">
- <xml-root-element name="tenant" />
- <java-attributes>
- <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id relative to the cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Readable name of tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v8.Vservers" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack tenant" />
- <xml-property name="nameProps" value="tenant-name" />
- <xml-property name="indexedProps" value="tenant-name,tenant-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="tenants" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vservers">
- <xml-properties>
- <xml-property name="description" value="Collection of virtual Servers, aka virtual machines or VMs." />
- </xml-properties>
- <xml-root-element name="vservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.v8.Vserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vserver">
- <xml-root-element name="vserver" />
- <java-attributes>
- <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternative name of vserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.v8.Volumes" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Virtual Servers, aka virtual machine or VM." />
- <xml-property name="nameProps" value="vserver-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2" />
- <xml-property name="searchable" value="vserver-name,vserver-id,vserver-name2" />
- <xml-property name="dependentOn" value="tenant" />
- <xml-property name="container" value="vservers" />
- </xml-properties>
- </java-type>
-
- <java-type name="LInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of logical interfaces." />
- </xml-properties>
- <xml-root-element name="l-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.v8.LInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LInterface">
- <xml-root-element name="l-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name given to the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="macaddr" name="macaddr" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="MAC address for the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether AAI should be managing this interface of not. Could have value like CUSTOMER" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v8.Vlans" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical interfaces, e.g., a vnic." />
- <xml-property name="indexedProps" value="macaddr,interface-id,interface-name,network-name" />
- <xml-property name="dependentOn" value="generic-vnf,p-interface,vserver,lag-interface" />
- <xml-property name="container" value="l-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv4AddressList">
- <xml-root-element name="l3-interface-ipv4-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 32 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv4 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vlans">
- <xml-root-element name="vlans" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.v8.Vlan" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vlan">
- <xml-root-element name="vlan" />
- <java-attributes>
- <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="String that identifies the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanDescription" name="vlan-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to describe (the service associated with) the vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="backdoorConnection" name="backdoor-connection" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Whether customer is going to use this VLAN for backdoor connection to another customer premise device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnId" name="vpn-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This indicates the customers VPN ID associated with this vlan" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv4AddressList" />
- <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v8.L3InterfaceIpv6AddressList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Definition of vlan" />
- <xml-property name="indexedProps" value="vlan-interface,vlan-id-inner,vpn-id" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="dependentOn" value="l-interface" />
- <xml-property name="container" value="vlans" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3InterfaceIpv6AddressList">
- <xml-root-element name="l3-interface-ipv6-address-list" />
- <java-attributes>
- <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="IP address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Prefix length, 128 for single address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Inner VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="Outer VLAN tag" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicator of fixed or floating address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of the interface that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of subnet that address belongs to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="IPv6 Address Range" />
- <xml-property name="indexedProps" value="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id" />
- <xml-property name="dependentOn" value="vlan,l-interface" />
- </xml-properties>
- </java-type>
-
- <java-type name="Volumes">
- <xml-properties>
- <xml-property name="description" value="Collection of ephemeral Block storage volumes." />
- </xml-properties>
- <xml-root-element name="volumes" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.v8.Volume" />
- </java-attributes>
- </java-type>
-
- <java-type name="Volume">
- <xml-root-element name="volume" />
- <java-attributes>
- <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Ephemeral Block storage volume." />
- <xml-property name="indexedProps" value="volume-id" />
- <xml-property name="dependentOn" value="vserver" />
- <xml-property name="container" value="volumes" />
- </xml-properties>
- </java-type>
-
- <java-type name="Flavors">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack flavors." />
- </xml-properties>
- <xml-root-element name="flavors" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.v8.Flavor" />
- </java-attributes>
- </java-type>
-
- <java-type name="Flavor">
- <xml-root-element name="flavor" />
- <java-attributes>
- <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Flavor id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Flavor name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of CPUs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of memory" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Amount of ephemeral disk space" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="amount of swap space allocation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack flavor." />
- <xml-property name="nameProps" value="flavor-name" />
- <xml-property name="indexedProps" value="flavor-name,flavor-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="flavors" />
- </xml-properties>
- </java-type>
-
- <java-type name="Snapshots">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack snapshots" />
- </xml-properties>
- <xml-root-element name="snapshots" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="snapshot" name="snapshot" type="inventory.aai.onap.org.v8.Snapshot" />
- </java-attributes>
- </java-type>
-
- <java-type name="Snapshot">
- <xml-root-element name="snapshot" />
- <java-attributes>
- <xml-element java-attribute="snapshotId" name="snapshot-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Snapshot id, this is the key UUID assoc associated in glance with the snapshots." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotName" name="snapshot-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Snapshot name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotArchitecture" name="snapshot-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsDistro" name="snapshot-os-distro" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotOsVersion" name="snapshot-os-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="snapshotSelflink" name="snapshot-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="prevSnapshotId" name="prev-snapshot-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field contains the UUID of the previous snapshot (if any)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack snapshot" />
- <xml-property name="nameProps" value="snapshot-name" />
- <xml-property name="uniqueProps" value="snapshot-id" />
- <xml-property name="indexedProps" value="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="snapshots" />
- </xml-properties>
- </java-type>
-
- <java-type name="GroupAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack group assignments" />
- </xml-properties>
- <xml-root-element name="group-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="groupAssignment" name="group-assignment" type="inventory.aai.onap.org.v8.GroupAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="GroupAssignment">
- <xml-root-element name="group-assignment" />
- <java-attributes>
- <xml-element java-attribute="groupId" name="group-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Group id, expected to be unique across cloud-region." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupType" name="group-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group type - the type of group this instance refers to" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupName" name="group-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group name - name assigned to the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupDescription" name="group-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group description - description of the group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack group-assignment used to store exclusivity groups (EG)." />
- <xml-property name="nameProps" value="group-name" />
- <xml-property name="indexedProps" value="group-id,group-type,group-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="group-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Images">
- <xml-properties>
- <xml-property name="description" value="Collectio of Openstack images." />
- </xml-properties>
- <xml-root-element name="images" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.v8.Image" />
- </java-attributes>
- </java-type>
-
- <java-type name="Image">
- <xml-root-element name="image" />
- <java-attributes>
- <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Image id, expected to be unique across cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Image name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operating system architecture." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The operating system version as specified by the distributor." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="application" name="application" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The application that the image instantiates." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The vendor of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="The version of the application." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack image." />
- <xml-property name="nameProps" value="image-name" />
- <xml-property name="indexedProps" value="application,image-name,application-vendor,image-id,application-version" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="images" />
- </xml-properties>
- </java-type>
-
- <java-type name="Metadata">
- <xml-properties>
- <xml-property name="description" value="Collection of metadatum (key/value pairs)" />
- </xml-properties>
- <xml-root-element name="metadata" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="metadatum" name="metadatum" type="inventory.aai.onap.org.v8.Metadatum" />
- </java-attributes>
- </java-type>
-
- <java-type name="Metadatum">
- <xml-root-element name="metadatum" />
- <java-attributes>
- <xml-element java-attribute="metaname" name="metaname" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="metaval" name="metaval" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Key/value pairs" />
- <xml-property name="indexedProps" value="metaname" />
- <xml-property name="dependentOn" value="tenant,image,service-instance,model" />
- <xml-property name="container" value="metadata" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pservers">
- <xml-properties>
- <xml-property name="description" value="Collection of compute hosts." />
- </xml-properties>
- <xml-root-element name="pservers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.v8.Pserver" />
- </java-attributes>
- </java-type>
-
- <java-type name="Pserver">
- <xml-root-element name="pserver" />
- <java-attributes>
- <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value from executing hostname on the compute node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="PTNII name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Number of cpus" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="Disk size, in GBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
- <xml-properties>
- <xml-property name="description" value="RAM size, in MBs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Fully-qualified domain name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serialNumber" name="serial-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Serial number, may be queried" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverId" name="pserver-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="internetTopology" name="internet-topology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="internet topology of Pserver" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pserverName2" name="pserver-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="alternative pserver name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="purpose" name="purpose" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="purpose of pserver" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v8.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Compute host whose hostname must be unique and must exactly match what is sent as a relationship to a vserver." />
- <xml-property name="nameProps" value="pserver-name2" />
- <xml-property name="indexedProps" value="hostname,in-maint,pserver-id,pserver-name2" />
- <xml-property name="searchable" value="hostname,pserver-name2,pserver-id,ipv4-oam-address" />
- <xml-property name="container" value="pservers" />
- <xml-property name="namespace" value="cloud-infrastructure" />
- </xml-properties>
- </java-type>
-
- <java-type name="PInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of physical interfaces." />
- </xml-properties>
- <xml-root-element name="p-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.v8.PInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="PInterface">
- <xml-root-element name="p-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the physical interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portDescription" name="port-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Nature of the services and connectivity on this port." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentIdentifier" name="equipment-identifier" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="CLEI or other specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role specification for p-interface hardware." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceType" name="interface-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the physical properties of the interface." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Physical interface (e.g., nic)" />
- <xml-property name="indexedProps" value="interface-name" />
- <xml-property name="dependentOn" value="pserver,pnf" />
- <xml-property name="container" value="p-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="LagInterfaces">
- <xml-properties>
- <xml-property name="description" value="Collection of link aggregate interfaces." />
- </xml-properties>
- <xml-root-element name="lag-interfaces" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.v8.LagInterface" />
- </java-attributes>
- </java-type>
-
- <java-type name="LagInterface">
- <xml-root-element name="lag-interface" />
- <java-attributes>
- <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name that identifies the link aggregate interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Link aggregate interface" />
- <xml-property name="indexedProps" value="interface-name" />
- <xml-property name="dependentOn" value="generic-vnf,pserver,pnf" />
- <xml-property name="container" value="lag-interfaces" />
- </xml-properties>
- </java-type>
-
- <java-type name="AvailabilityZones">
- <xml-properties>
- <xml-property name="description" value="Collection of availability zones" />
- </xml-properties>
- <xml-root-element name="availability-zones" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v8.AvailabilityZone" />
- </java-attributes>
- </java-type>
-
- <java-type name="AvailabilityZone">
- <xml-root-element name="availability-zone" />
- <java-attributes>
- <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Name of the availability zone. Unique across a cloud region" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of hypervisor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="State that indicates whether the availability zone should be used, etc. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Availability zone, a collection of compute hosts/pservers" />
- <xml-property name="indexedProps" value="availability-zone-name" />
- <xml-property name="dependentOn" value="cloud-region" />
- <xml-property name="container" value="availability-zones" />
- </xml-properties>
- </java-type>
-
- <java-type name="Business">
- <xml-properties>
- <xml-property name="description" value="Namespace for business related constructs" />
- </xml-properties>
- <xml-root-element name="business" />
- <java-attributes>
- <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v8.Customers" />
- </java-attributes>
- </java-type>
-
- <java-type name="Customers">
- <xml-properties>
- <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
- </xml-properties>
- <xml-root-element name="customers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v8.Customer" />
- </java-attributes>
- </java-type>
-
- <java-type name="Customer">
- <xml-root-element name="customer" />
- <java-attributes>
- <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Global customer id used across OpenECOMP to uniquely identify customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
- <xml-property name="defaultValue" value="CUST" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v8.ServiceSubscriptions" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
- <xml-property name="nameProps" value="subscriber-name" />
- <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
- <xml-property name="searchable" value="subscriber-name,global-customer-id" />
- <xml-property name="uniqueProps" value="global-customer-id,subscriber-name" />
- <xml-property name="alternateKeys1" value="subscriber-name" />
- <xml-property name="container" value="customers" />
- <xml-property name="namespace" value="business" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceSubscriptions">
- <xml-properties>
- <xml-property name="description" value="Collection of objects that group service instances." />
- </xml-properties>
- <xml-root-element name="service-subscriptions" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v8.ServiceSubscription" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceSubscription">
- <xml-root-element name="service-subscription" />
- <java-attributes>
- <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Value defined by orchestration to identify this service across OpenECOMP." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This property will be deleted from AAI in the near future. Only stop gap solution." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v8.ServiceInstances">
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Object that group service instances." />
- <xml-property name="indexedProps" value="service-type" />
- <xml-property name="dependentOn" value="customer" />
- <xml-property name="container" value="service-subscriptions" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceInstances">
- <xml-properties>
- <xml-property name="description" value="Collection of service instances" />
- </xml-properties>
- <xml-root-element name="service-instances" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v8.ServiceInstance" />
- </java-attributes>
- </java-type>
-
- <java-type name="ServiceInstance">
- <xml-root-element name="service-instance" />
- <java-attributes>
- <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Uniquely identifies this instance of a service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="This field will store a name assigned to the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model id for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary widget model. This maps directly to the AAI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary version of the widget model.This maps directly to the AAI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL customers will use to access the vHN Portal." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Operational status of the service-instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Instance of a service" />
- <xml-property name="indexedProps" value="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id" />
- <xml-property name="nameProps" value="service-instance-name" />
- <xml-property name="searchable" value="service-instance-id" />
- <xml-property name="uniqueProps" value="service-instance-id" />
- <xml-property name="dependentOn" value="service-subscription" />
- <xml-property name="container" value="service-instances" />
- </xml-properties>
- </java-type>
-
- <java-type name="ServiceDesignAndCreation">
- <xml-properties>
- <xml-property name="description" value="Namespace for objects managed by SDC" />
- </xml-properties>
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v8.Services" />
- <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v8.Models" />
- <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v8.NamedQueries" />
- </java-attributes>
- </java-type>
-
- <java-type name="Network">
- <xml-properties>
- <xml-property name="description" value="Namespace for network inventory resources." />
- </xml-properties>
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v8.LogicalLinks" />
- <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v8.Vnfcs" />
- <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v8.L3Networks" />
- <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v8.GenericVnfs" />
- <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v8.Pnfs" />
- <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v8.PhysicalLinks" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of logical connections" />
- </xml-properties>
- <xml-root-element name="logical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.v8.LogicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="LogicalLink">
- <xml-root-element name="logical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of logical link, e.g., evc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4, v6, or ds for dual stack (should be ip-version)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="For example, static or BGP" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model id for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary widget model. This maps directly to the AAI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary version of the widget model.This maps directly to the AAI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of operational status of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkRole" name="link-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indication of the network use of the logical link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkName2" name="link-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alias or alternate name (CLCI or D1 name)." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="linkId" name="link-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the logical-link, SDNC generates this." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Logical links generally connect l-interfaces but are used to express logical connectivity between two points" />
- <xml-property name="indexedProps" value="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id" />
- <xml-property name="uniqueProps" value="link-id" />
- <xml-property name="container" value="logical-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="Vnfcs">
- <xml-properties>
- <xml-property name="description" value="virtual network components associated with a vserver from application controller." />
- </xml-properties>
- <xml-root-element name="vnfcs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vnfc" name="vnfc" type="inventory.aai.onap.org.v8.Vnfc" />
- </java-attributes>
- </java-type>
-
- <java-type name="Vnfc">
- <xml-root-element name="vnfc" />
- <java-attributes>
- <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vnfc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="function code" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="type" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="prov status of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Oam V4 vip address of this vnfc" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Group notation of VNFC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
- <xml-property name="container" value="vnfcs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="L3Networks">
- <xml-root-element name="l3-networks" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.v8.L3Network" />
- </java-attributes>
- </java-type>
-
- <java-type name="L3Network">
- <xml-root-element name="l3-network" />
- <java-attributes>
- <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Network ID, should be uuid. Unique across AAI." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the network, governed by some naming convention.." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the network - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRole" name="network-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role the network plans - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkTechnology" name="network-technology" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Network technology - who defines these values?" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBoundToVpn" name="is-bound-to-vpn" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Set to true if bound to VPN" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service from SDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkRoleInstance" name="network-role-instance" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="network role instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailNetworkFqdn" name="contrail-network-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Contrail FQDN for the network" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model id for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary widget model. This maps directly to the AAI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary version of the widget model.This maps directly to the AAI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="physicalNetworkName" name="physical-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the physical network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isProviderNetwork" name="is-provider-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a provider network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isSharedNetwork" name="is-shared-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is a shared network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="isExternalNetwork" name="is-external-network" required="true" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="boolean indicatating whether or not network is an external network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnets" name="subnets" type="inventory.aai.onap.org.v8.Subnets" />
- <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v8.CtagAssignments" />
- <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v8.SegmentationAssignments" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" >
- <xml-properties>
- <xml-property name="description" value="Relates to tenant (or is it a child of tenant)" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Generic network definition" />
- <xml-property name="nameProps" value="network-name" />
- <xml-property name="indexedProps" value="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn" />
- <xml-property name="uniqueProps" value="network-id" />
- <xml-property name="container" value="l3-networks" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="CtagAssignments">
- <xml-root-element name="ctag-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="ctagAssignment" name="ctag-assignment" type="inventory.aai.onap.org.v8.CtagAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="CtagAssignment">
- <xml-root-element name="ctag-assignment" />
- <java-attributes>
- <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" required="true" type="java.lang.Long" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="id." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="vlan-id-inner" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="ctag-assignments" />
- </xml-properties>
- </java-type>
-
- <java-type name="Subnets">
- <xml-root-element name="subnets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="subnet" name="subnet" type="inventory.aai.onap.org.v8.Subnet" />
- </java-attributes>
- </java-type>
-
- <java-type name="Subnet">
- <xml-root-element name="subnet" />
- <java-attributes>
- <xml-element java-attribute="subnetId" name="subnet-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Subnet ID, should be UUID." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="subnetName" name="subnet-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name associated with the subnet." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronSubnetId" name="neutron-subnet-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron id of this subnet" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="gatewayAddress" name="gateway-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="gateway ip address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="networkStartAddress" name="network-start-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="network start address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cidrMask" name="cidr-mask" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="cidr mask" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ip version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="dhcpEnabled" name="dhcp-enabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="dhcp enabled" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpStart" name="dhcp-start" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the start address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dhcpEnd" name="dhcp-end" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the last address reserved for use by dhcp" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="indexedProps" value="subnet-id,subnet-name" />
- <xml-property name="nameProps" value="subnet-name" />
- <xml-property name="uniqueProps" value="subnet-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="subnets" />
- </xml-properties>
- </java-type>
-
- <java-type name="GenericVnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- <xml-root-element name="generic-vnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.v8.GenericVnf" />
- </java-attributes>
- </java-type>
-
- <java-type name="GenericVnf">
- <xml-root-element name="generic-vnf" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the SDC resource. This field has been overloaded and clients should expect changes to occur in the future to this field as SDC matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service from SDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="License key" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by generic-vnf." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the generic-vnf operation" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether generic-vnf access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the specific entitlement resource" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the license assignment group" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the actual license resource" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model id for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary widget model. This maps directly to the AAI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary version of the widget model.This maps directly to the AAI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v8.LInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
- <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v8.VfModules" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="generic-vnfs" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="VfModules">
- <xml-properties>
- <xml-property name="description" value="Collection of vf-modules, a deployment unit of VNFCs" />
- </xml-properties>
- <xml-root-element name="vf-modules" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vfModule" name="vf-module" type="inventory.aai.onap.org.v8.VfModule" />
- </java-attributes>
- </java-type>
-
- <java-type name="VfModule">
- <xml-root-element name="vf-module" />
- <java-attributes>
- <xml-element java-attribute="vfModuleId" name="vf-module-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of vf-module." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vfModuleName" name="vf-module-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of vf-module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="orchestration status of this vf-module, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isBaseVfModule" name="is-base-vf-module" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is base vf module" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model id for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary widget model. This maps directly to the AAI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the SDC data dictionary version of the widget model.This maps directly to the AAI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="contrailServiceInstanceFqdn" name="contrail-service-instance-fqdn" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the Contrail unique ID for a service-instance" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="a deployment unit of VNFCs" />
- <xml-property name="indexedProps" value="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn" />
- <xml-property name="dependentOn" value="generic-vnf" />
- <xml-property name="container" value="vf-modules" />
- </xml-properties>
- </java-type>
-
- <java-type name="Pnfs">
- <xml-properties>
- <xml-property name="description" value="Collection of Physical Network Functions." />
- </xml-properties>
- <xml-root-element name="pnfs" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="pnf" name="pnf" type="inventory.aai.onap.org.v8.Pnf" />
- </java-attributes>
- </java-type>
-
- <java-type name="Pnf">
- <xml-root-element name="pnf" />
- <java-attributes>
- <xml-element java-attribute="pnfName" name="pnf-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="unique name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2" name="pnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="name of Physical Network Function." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfName2Source" name="pnf-name2-source" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="source of name2" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="pnfId" name="pnf-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="id of pnf" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment type. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment vendor. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Equipment model. Source of truth should define valid values." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipaddressV4Oam" name="ipaddress-v4-oam" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ipv4-oam-address with new naming convention for IP addresses" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="swVersion" name="sw-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="sw-version is the version of SW for the hosted application on the PNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="orchestration-status is the status of orchestration on the PNF." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="frameId" name="frame-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="ID of the physical frame (relay rack) where pnf is installed." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v8.PInterfaces" />
- <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v8.LagInterfaces" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="PNF represents a physical network function." />
- <xml-property name="indexedProps" value="pnf-name,orchestration-status" />
- <xml-property name="uniqueProps" value="pnf-name" />
- <xml-property name="container" value="pnfs" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="PhysicalLinks">
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- </xml-properties>
- <xml-root-element name="physical-links" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.v8.PhysicalLink" />
- </java-attributes>
- </java-type>
-
- <java-type name="PhysicalLink">
- <xml-root-element name="physical-link" />
- <java-attributes>
- <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the numeric part of the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Captures the units corresponding to the speed" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Circuit it" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="dualMode" name="dual-mode" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Dual access mode (e.g., primary, secondary" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="To provide information on who manages this circuit. AAI or 3rd party transport provider" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceProviderName" name="service-provider-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the service Provider on this link." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Collection of physical connections, typically between p-interfaces" />
- <xml-property name="indexedProps" value="circuit-id,link-name" />
- <xml-property name="alternateKeys1" value="circuit-id" />
- <xml-property name="container" value="physical-links" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
-
- <java-type name="NotificationEvent">
- <xml-root-element name="notification-event" />
- <java-attributes>
- <xml-element java-attribute="cambriaPartition" name="cambria.partition" type="java.lang.String" />
- <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.v8.NotificationEventHeader" />
- <xml-any-element java-attribute="entity" />
- </java-attributes>
- </java-type>
- <java-type name="NotificationEventHeader">
- <xml-root-element name="notification-event-header" />
- <java-attributes>
- <xml-element java-attribute="id" name="id" type="java.lang.String" />
- <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
- <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
- <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
- <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
- <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
- <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
- <xml-element java-attribute="version" name="version" type="java.lang.String" />
- <xml-element java-attribute="action" name="action" type="java.lang.String" />
- <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
- <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
- <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
- <xml-element java-attribute="status" name="status" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="AaiInternal">
- <xml-root-element name="aai-internal" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.v8.ReservedPropNames" />
- <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v8.EdgePropNames" />
- </java-attributes>
- </java-type>
-
- <java-type name="ReservedPropNames">
- <xml-properties>
- <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
- <xml-property name="uniqueProps" value="aai-unique-key" />
- <xml-property name="indexedProps" value="aai-unique-key,source-of-truth,aai-node-type" />
- </xml-properties>
- <xml-root-element name="reserved-prop-names" />
- <java-attributes>
- <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
- <xml-element java-attribute="aaiNodeType" name="aai-node-type" type="java.lang.String" />
- <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
- <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
- <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
- <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="EdgePropNames">
- <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
- <xml-properties>
- <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
- <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
- </xml-properties>
- <xml-root-element name="edge-prop-names" />
- <java-attributes>
- <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
- <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
- <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
- <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
- <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
- <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
- <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
- <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="Services">
- <xml-properties>
- <xml-property name="description" value="Collection of service model definitions. Likely to be deprecated in favor of models from SDC."/>
- </xml-properties>
- <xml-root-element name="services" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="service" name="service" type="inventory.aai.onap.org.v8.Service" />
- </java-attributes>
- </java-type>
-
- <java-type name="Service">
- <xml-root-element name="service" />
- <java-attributes>
- <xml-element java-attribute="serviceId" name="service-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceDescription" name="service-description" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description of the service" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceSelflink" name="service-selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to endpoint where AAI can get more details" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceVersion" name="service-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="service version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Stand-in for service model definitions. Likely to be deprecated in favor of models from SDC." />
- <xml-property name="indexedProps" value="service-description,service-id" />
- <xml-property name="container" value="services" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- </java-type>
-
- <java-type name="Models">
- <xml-properties>
- <xml-property name="description" value="Collection of subgraph definitions provided by SDC to describe the inventory assets and their connections related to SDC models" />
- </xml-properties>
- <xml-root-element name="models" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v8.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="Model">
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by SDC to describe an inventory asset and its connections related to SDC models" />
- <xml-property name="nameProps" value="model-name,model-type" />
- <xml-property name="indexedProps" value="model-name-version-id,model-type,model-name,model-id,model-version" />
- <xml-property name="alternateKeys1" value="model-id,model-version" />
- <xml-property name="uniqueProps" value="model-name-version-id" />
- <xml-property name="container" value="models" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <xml-root-element name="model" />
- <java-attributes>
- <xml-element java-attribute="modelNameVersionId" name="model-name-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in SDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelId" name="model-id" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Invariant unique ID which does not change from version to version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements" />
- <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v8.Metadata" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElements">
- <xml-root-element name="model-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelElement" name="model-element" type="inventory.aai.onap.org.v8.ModelElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelElement">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model." />
- <xml-property name="uniqueProps" value="model-element-uuid" />
- <xml-property name="indexedProps" value="model-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-elements" />
- </xml-properties>
- <xml-root-element name="model-element" />
- <java-attributes>
- <xml-element java-attribute="modelElementUuid" name="model-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="newDataDelFlag" name="new-data-del-flag" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicates whether this element was created as part of instantiation from this model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="cardinality" name="cardinality" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="How many of this type of element are required/allowed" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="linkagePoints" name="linkage-point" type="java.lang.String">
- <xml-element-wrapper name="linkage-points" />
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements">
- <xml-properties>
- <xml-property name="description" value="Defines how other models combine to make up a higher-level model" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelConstraints" name="model-constraints" type="inventory.aai.onap.org.v8.ModelConstraints">
- <xml-properties>
- <xml-property name="description" value="Describes new constraints on this model element that are not part of that model's definition" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraints">
- <xml-root-element name="model-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelConstraint" name="model-constraint" type="inventory.aai.onap.org.v8.ModelConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelConstraint">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="model-constraint-uuid" />
- <xml-property name="indexedProps" value="model-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="model-constraints" />
- </xml-properties>
- <xml-root-element name="model-constraint" />
- <java-attributes>
- <xml-element java-attribute="modelConstraintUuid" name="model-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constrainedElementSetUuidToReplace" name="constrained-element-set-uuid-to-replace" required="true" type="java.lang.String" />
- <xml-element java-attribute="constrainedElementSets" name="constrained-element-sets" type="inventory.aai.onap.org.v8.ConstrainedElementSets" />
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSets">
- <xml-root-element name="constrained-element-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="constrainedElementSet" name="constrained-element-set" type="inventory.aai.onap.org.v8.ConstrainedElementSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ConstrainedElementSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="constrained-element-set-uuid" />
- <xml-property name="indexedProps" value="constrained-element-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="constrained-element-sets" />
- </xml-properties>
- <xml-root-element name="constrained-element-set" />
- <java-attributes>
- <xml-element java-attribute="constrainedElementSetUuid" name="constrained-element-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="checkType" name="check-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="elementChoiceSets" name="element-choice-sets" type="inventory.aai.onap.org.v8.ElementChoiceSets" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSets">
- <xml-root-element name="element-choice-sets" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="elementChoiceSet" name="element-choice-set" type="inventory.aai.onap.org.v8.ElementChoiceSet" />
- </java-attributes>
- </java-type>
-
- <java-type name="ElementChoiceSet">
- <xml-properties>
- <xml-property name="description" value="This is how we would capture constraints defining allowed sets of elements." />
- <xml-property name="uniqueProps" value="element-choice-set-uuid" />
- <xml-property name="indexedProps" value="element-choice-set-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="element-choice-sets" />
- </xml-properties>
- <xml-root-element name="element-choice-set" />
- <java-attributes>
- <xml-element java-attribute="elementChoiceSetUuid" name="element-choice-set-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="elementChoiceSetName" name="element-choice-set-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="cardinality" name="cardinality" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="modelElements" name="model-elements" type="inventory.aai.onap.org.v8.ModelElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueries">
- <xml-root-element name="named-queries" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v8.NamedQuery" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQuery">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="nameProps" value="named-query-name" />
- <xml-property name="uniqueProps" value="named-query-uuid" />
- <xml-property name="indexedProps" value="named-query-uuid,named-query-name" />
- <xml-property name="container" value="named-queries" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <xml-root-element name="named-query" />
- <java-attributes>
- <xml-element java-attribute="namedQueryUuid" name="named-query-uuid" required="true" type="java.lang.String" xml-key="true" />
- <xml-element java-attribute="namedQueryName" name="named-query-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="namedQueryVersion" name="named-query-version" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="requiredInputParams" name="required-input-param" type="java.lang.String">
- <xml-element-wrapper name="required-input-params" />
- </xml-element>
- <xml-element java-attribute="description" name="description" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v8.NamedQueryElements" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElements">
- <xml-root-element name="named-query-elements" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="namedQueryElement" name="named-query-element" type="inventory.aai.onap.org.v8.NamedQueryElement" />
- </java-attributes>
- </java-type>
-
- <java-type name="NamedQueryElement">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="named-query-element-uuid" />
- <xml-property name="indexedProps" value="named-query-element-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="named-query-elements" />
- </xml-properties>
- <xml-root-element name="named-query-element" />
- <java-attributes>
- <xml-element java-attribute="namedQueryElementUuid" name="named-query-element-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="propertyLimitDesc" name="property-limit-desc" type="java.lang.String" />
- <xml-element java-attribute="doNotOutput" name="do-not-output" type="java.lang.String" />
- <xml-element java-attribute="namedQueryElements" name="named-query-elements" type="inventory.aai.onap.org.v8.NamedQueryElements" />
- <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v8.RelatedLookups" />
- <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v8.PropertyConstraints" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookups">
- <xml-root-element name="related-lookups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedLookup" name="related-lookup" type="inventory.aai.onap.org.v8.RelatedLookup" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedLookup">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="related-lookup-uuid" />
- <xml-property name="indexedProps" value="related-lookup-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="related-lookups" />
- </xml-properties>
- <xml-root-element name="related-lookup" />
- <java-attributes>
- <xml-element java-attribute="relatedLookupUuid" name="related-lookup-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="sourceNodeType" name="source-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="sourceNodeProperty" name="source-node-property" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeType" name="target-node-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="targetNodeProperty" name="target-node-property" required="true" type="java.lang.String" />
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyCollectList" name="property-collect-list" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraints">
- <xml-root-element name="property-constraints" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="propertyConstraint" name="property-constraint" type="inventory.aai.onap.org.v8.PropertyConstraint" />
- </java-attributes>
- </java-type>
-
- <java-type name="PropertyConstraint">
- <xml-properties>
- <xml-property name="description" value="TBD" />
- <xml-property name="uniqueProps" value="property-constraint-uuid" />
- <xml-property name="indexedProps" value="property-constraint-uuid" />
- <xml-property name="allowDirectRead" value="true" />
- <xml-property name="allowDirectWrite" value="false" />
- <xml-property name="container" value="property-constraints" />
- </xml-properties>
- <xml-root-element name="property-constraint" />
- <java-attributes>
- <xml-element java-attribute="propertyConstraintUuid" name="property-constraint-uuid" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="autoGenerateUuid" value="true" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="constraintType" name="constraint-type" required="true" type="java.lang.String" />
- <xml-element java-attribute="property-name" name="property-name" required="true" type="java.lang.String" />
- <xml-element java-attribute="property-value" name="property-value" required="true" type="java.lang.String" />
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelAndNamedQuerySearch">
- <xml-properties>
- <xml-property name="description" value="ModelAndNamedQuerySearch holds query-parameters and instance-properties for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="model-and-named-query-search" />
- <java-attributes>
- <xml-element java-attribute="queryParameters" name="query-parameters" type="inventory.aai.onap.org.v8.QueryParameters" />
- <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v8.InstanceFilters" />
- <xml-element java-attribute="topNodeType" name="top-node-type" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="QueryParameters">
- <xml-properties>
- <xml-property name="description" value="QueryParameters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="query-parameters" />
- <java-attributes>
- <xml-element java-attribute="namedQuery" name="named-query" type="inventory.aai.onap.org.v8.NamedQuery" />
- <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v8.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilters">
- <xml-properties>
- <xml-property name="description" value="InstanceFilters for performing a named-query or model query" />
- </xml-properties>
- <xml-root-element name="instance-filters" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="instanceFilter" name="instance-filter" type="inventory.aai.onap.org.v8.InstanceFilter" />
- </java-attributes>
- </java-type>
-
- <java-type name="InstanceFilter">
- <xml-properties>
- <xml-property name="description" value="InstanceFilter for performing a named-query or model query" />
- <xml-property name="container" value="instance-filters" />
- </xml-properties>
- <xml-root-element name="instance-filter" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="any" lax="true" name="any" />
- </java-attributes>
- </java-type>
-
- <java-type name="Properties">
- <xml-properties>
- <xml-property name="description" value="Property holder for query properties or instance properties" />
- </xml-properties>
- <xml-root-element name="properties" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
- </java-attributes>
- </java-type>
-
- <java-type name="ResponseList">
- <xml-properties>
- <xml-property name="description" value="Response container for the results of a named-query or model query" />
- </xml-properties>
- <xml-root-element name="response-list" />
- <java-attributes>
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v8.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItems">
- <xml-properties>
- <xml-property name="description" value="Container for inventory items in response list" />
- <xml-property name="container" value="response-list" />
- </xml-properties>
- <xml-root-element name="inventory-response-items" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="inventoryResponseItem" name="inventory-response-item" type="inventory.aai.onap.org.v8.InventoryResponseItem" />
- </java-attributes>
- </java-type>
-
- <java-type name="InventoryResponseItem">
- <xml-properties>
- <xml-property name="description" value="Inventory item for response list" />
- <xml-property name="container" value="inventory-response-items" />
- </xml-properties>
- <xml-root-element name="inventory-response-item" />
- <java-attributes>
- <xml-element java-attribute="modelName" name="model-name" type="java.lang.String" />
- <xml-any-element java-attribute="item" />
- <xml-element java-attribute="extraProperties" name="extra-properties" type="inventory.aai.onap.org.v8.ExtraProperties" />
- <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v8.InventoryResponseItems" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperties">
- <xml-properties>
- <xml-property name="description" value="Extra properties for inventory item for response list" />
- </xml-properties>
- <xml-root-element name="extra-properties" />
- <java-attributes>
- <xml-any-element container-type="java.util.ArrayList" java-attribute="extraProperty" name="extra-property" type="inventory.aai.onap.org.v8.ExtraProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="ExtraProperty">
- <xml-root-element name="extra-property" />
- <java-attributes>
- <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
- <xml-any-element java-attribute="propertyValue" lax="true" name="property-value" />
- </java-attributes>
- </java-type>
-
- <java-type name="SegmentationAssignments">
- <xml-properties>
- <xml-property name="description" value="Collection of openstack segmentation assignments" />
- </xml-properties>
- <xml-root-element name="segmentation-assignments" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="segmentationAssignment" name="segmentation-assignment" type="inventory.aai.onap.org.v8.SegmentationAssignment" />
- </java-attributes>
- </java-type>
-
- <java-type name="SegmentationAssignment">
- <xml-root-element name="segmentation-assignment" />
- <java-attributes>
- <xml-element java-attribute="segmentationId" name="segmentation-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Route Table Reference id, UUID assigned to this instance." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Concurrency value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v8.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Openstack segmentation assignment." />
- <xml-property name="indexedProps" value="segmentation-id" />
- <xml-property name="dependentOn" value="l3-network" />
- <xml-property name="container" value="segmentation-assignments" />
- </xml-properties>
- </java-type>
-
- </java-types>
-</xml-bindings>
diff --git a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v9.xml b/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v9.xml
deleted file mode 100644
index aec9b83d..00000000
--- a/aai-core/src/test/resources/org/openecomp/aai/introspection/aai_oxm_v9.xml
+++ /dev/null
@@ -1,599 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-
- ============LICENSE_START=======================================================
- org.onap.aai
- ================================================================================
- Copyright © 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=========================================================
-
- ECOMP is a trademark and service mark of AT&T Intellectual Property.
-
--->
-<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v9" xml-mapping-metadata-complete="true">
- <xml-schema element-form-default="QUALIFIED">
- <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v9" />
- </xml-schema>
- <java-types>
- <java-type name="Inventory">
- <xml-root-element name="inventory" />
- <java-attributes>
- <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v9.Network" />
- </java-attributes>
- </java-type>
- <java-type name="Network">
- <xml-properties>
- <xml-property name="description" value="Namespace for network inventory resources." />
- </xml-properties>
- <xml-root-element name="network" />
- <java-attributes>
- <xml-element java-attribute="testObjects" name="test-objects" type="inventory.aai.onap.org.v9.TestObjects" />
- <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v9.VpnBindings" />
- </java-attributes>
- </java-type>
- <java-type name="ServiceDesignAndCreation">
- <xml-properties>
- <xml-property name="description" value="Namespace for objects managed by ASDC" />
- </xml-properties>
- <xml-root-element name="service-design-and-creation" />
- <java-attributes>
- <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v9.Models" />
- </java-attributes>
- </java-type>
- <java-type name="Models">
- <xml-properties>
- <xml-property name="description" value="Collection of subgraph definitions provided by ASDC to describe the inventory assets and their connections related to ASDC models" />
- </xml-properties>
- <xml-root-element name="models" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="model" name="model" type="inventory.aai.onap.org.v9.Model" />
- </java-attributes>
- </java-type>
-
- <java-type name="Model">
- <xml-root-element name="model" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe an inventory asset and its connections related to ASDC models, independent of version" />
- <xml-property name="nameProps" value="model-type" />
- <xml-property name="indexedProps" value="model-invariant-id,model-type" />
- <xml-property name="uniqueProps" value="model-invariant-id" />
- <xml-property name="container" value="models" />
- <xml-property name="namespace" value="service-design-and-creation" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelInvariantId" name="model-invariant-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to the main definition of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelType" name="model-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the model, e.g., service, resource, widget, etc." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVers" name="model-vers" type="inventory.aai.onap.org.v9.ModelVers" />
- </java-attributes>
- </java-type>
-
-
- <java-type name="ModelVers">
- <xml-root-element name="model-vers" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="modelVer" name="model-ver" type="inventory.aai.onap.org.v9.ModelVer" />
- </java-attributes>
- </java-type>
-
- <java-type name="ModelVer">
- <xml-root-element name="model-ver" />
- <xml-properties>
- <xml-property name="description" value="Subgraph definition provided by ASDC to describe a specific version of an inventory asset and its connections related to ASDC models" />
- <xml-property name="nameProps" value="model-name" />
- <xml-property name="indexedProps" value="model-version-id,model-name,model-version" />
- <xml-property name="uniqueProps" value="model-version-id" />
- <xml-property name="container" value="model-vers" />
- </xml-properties>
- <java-attributes>
- <xml-element java-attribute="modelVersionId" name="model-version-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique identifier corresponding to one version of a model in ASDC" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelName" name="model-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of the model, which can change from version to version." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersion" name="model-version" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Version" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelDescription" name="model-description" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Description" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
- <java-type name="TestObjects">
- <xml-root-element name="test-objects" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="testObject" name="test-object" type="inventory.aai.onap.org.v9.TestObject" />
- </java-attributes>
- <xml-properties>
- <xml-property name="maximumDepth" value="0" />
- <xml-property name="description" value="Collection of VNFs" />
- </xml-properties>
- </java-type>
-
- <java-type name="TestObject">
- <xml-root-element name="test-object" />
- <java-attributes>
- <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique id of VNF. This is unique across the graph." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Alternate name of VNF." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="String capturing type of vnf, that was intended to identify the ASDC resource. This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="serviceId" name="service-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique identifier of service, does not necessarily map to ASDC service models. SOON TO BE DEPRECATED" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceZone" name="regional-resource-zone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Regional way of organizing pservers, source of truth should define values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Indicator for whether the resource is considered operational. Valid values are in-service-path and out-of-service-path." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="OBSOLETE - do not use" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Client should send valid enumerated value" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="identifier of managed by company or customer" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Address tail-f uses to configure test-object, also used for troubleshooting and is IP used for traps generated by test-object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="ipv4Loopback0Address" name="ipv4-loopback0-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v4 Loopback0 address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="nmLanV6Address" name="nm-lan-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 Loopback address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="managementV6Address" name="management-v6-address" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="v6 management address" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpu" name="vcpu" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vcpus ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vcpuUnits" name="vcpu-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vcpu, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemory" name="vmemory" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of GB of memory ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vmemoryUnits" name="vmemory-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vmemory, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdisk" name="vdisk" type="java.lang.Long">
- <xml-properties>
- <xml-property name="description" value="number of vdisks ordered for this instance of VNF, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vdiskUnits" name="vdisk-units" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only in some usecases" />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs." />
- </xml-properties>
- </xml-element>
- <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="defaultValue" value="false"/>
- <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="summaryStatus" name="summary-status" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="details regarding the test-object operation, PLEASE DISCONTINUE USE OF THIS FIELD." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="encryptedAccessFlag" name="encrypted-access-flag" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="indicates whether access uses SSH" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementAssignmentGroupUuid" name="entitlement-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the Entitlement group used for licensing VNFs, OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="entitlementResourceUuid" name="entitlement-resource-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the specific entitlement resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseAssignmentGroupUuid" name="license-assignment-group-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the license assignment group. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="licenseKeyUuid" name="license-key-uuid" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="UUID of the actual license resource. OBSOLETE - See child relationships." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelId" name="persona-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model id for this resource or service model." />
- <xml-property name="dbAlias" value="model-invariant-id-local" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC model version for this resource or service model." />
- <xml-property name="visibility" value="internal" />
- <xml-property name="dbAlias" value="model-version-id-local" />
- <xml-property name="dataCopy" value="service-design-and-creation/models/model/{persona-model-id}/model-vers?model-version={persona-model-version}#model-version-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="personaModelCustomizationId" name="persona-model-customization-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="captures the id of all the configuration used to customize the resource for the service." />
- <xml-property name="dbAlias" value="model-customization-id" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="asNumber" name="as-number" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="as-number of the VNF" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="regionalResourceSubzone" name="regional-resource-subzone" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="represents sub zone of the rr plane" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Path to the controller object." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList" />
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="General purpose VNF" />
- <xml-property name="nameProps" value="vnf-name" />
- <xml-property name="indexedProps" value="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version" />
- <xml-property name="searchable" value="vnf-id,vnf-name,vnf-name2" />
- <xml-property name="uniqueProps" value="vnf-id" />
- <xml-property name="container" value="test-objects" />
- <xml-property name="namespace" value="network" />
- <xml-property name="extends" value="vnf" />
- </xml-properties>
- </java-type>
-
- <java-type name="PortGroups">
- <xml-root-element name="port-groups" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.v9.PortGroup" />
- </java-attributes>
- </java-type>
-
- <java-type name="PortGroup">
- <xml-root-element name="port-group" />
- <java-attributes>
- <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="Unique ID of the interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network id of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Neutron network name of this Interface" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Unique ID for port group in vmware" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Likely to duplicate value of neutron network name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Orchestration status of this VNF, mastered by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
- <xml-property name="nameProps" value="port-group-name" />
- <xml-property name="indexedProps" value="port-group-id,heat-stack-id,interface-id,interface-name,switch-name" />
- <xml-property name="dependentOn" value="vce" />
- <xml-property name="container" value="port-groups" />
- </xml-properties>
- </java-type>
- <java-type name="RelationshipList">
- <xml-root-element name="relationship-list" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.v9.Relationship" />
- </java-attributes>
- </java-type>
-
- <java-type name="Relationship">
- <xml-root-element name="relationship" />
- <java-attributes>
- <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="URL to the object in A&amp;AI." />
- </xml-properties>
- </xml-element>
- <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v9.RelationshipData" />
- <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v9.RelatedToProperty" />
- </java-attributes>
- </java-type>
-
- <java-type name="RelatedToProperty">
- <xml-root-element name="related-to-property" />
- <java-attributes>
- <xml-element java-attribute="propertyKey" name="property-key" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Key part of a key/value pair" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value part of a key/value pair" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
-
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
- <java-type name="RelationshipData">
- <xml-root-element name="relationship-data" />
- <java-attributes>
- <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Value of the attribute." />
- </xml-properties>
- </xml-element>
- </java-attributes>
- </java-type>
- <java-type name="VpnBindings">
- <xml-root-element name="vpn-bindings" />
- <java-attributes>
- <xml-element container-type="java.util.ArrayList" java-attribute="vpnBinding" name="vpn-binding" type="inventory.aai.onap.org.v9.VpnBinding" />
- </java-attributes>
- </java-type>
-
- <java-type name="VpnBinding">
- <xml-root-element name="vpn-binding" />
- <java-attributes>
- <xml-element java-attribute="vpnId" name="vpn-id" required="true" type="java.lang.String" xml-key="true">
- <xml-properties>
- <xml-property name="description" value="VPN ID, globally unique within A&amp;AI" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnName" name="vpn-name" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="VPN Name" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="globalRouteTarget" name="global-route-target" required="true" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Number used to identify a VPN, globally unique in the network" />
- <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnPlatform" name="vpn-platform" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="the platform associated with the VPN example AVPN, Mobility" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="vpnType" name="vpn-type" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Type of the vpn, should be taken from enumerated/valid values" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeDistinguisher" name="route-distinguisher" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used to distinguish the distinct VPN routes of separate customers who connect to the provider in an MPLS network." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="routeTargetRole" name="route-target-role" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Role assigned to this route target" />
- <xml-property name="dataLink" value="./route-targets/route-target/{global-route-target}/{route-target-role}" />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
- <xml-properties>
- <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
- </xml-properties>
- </xml-element>
- <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v9.RelationshipList">
- <xml-properties>
- <xml-property name="description" value="l3-networks relate to vpn-bindings" />
- </xml-properties>
- </xml-element>
- </java-attributes>
- <xml-properties>
- <xml-property name="description" value="VPN binding" />
- <xml-property name="nameProps" value="vpn-name,vpn-type" />
- <xml-property name="indexedProps" value="vpn-name,vpn-id,global-route-target,vpn-type" />
- <xml-property name="searchable" value="vpn-id,vpn-name" />
- <xml-property name="uniqueProps" value="vpn-id" />
- <xml-property name="container" value="vpn-bindings" />
- <xml-property name="namespace" value="network" />
- </xml-properties>
- </java-type>
- </java-types>
-</xml-bindings>
diff --git a/aai-core/src/test/resources/payloads/expected/generic-vnf-with-lag-interface.json b/aai-core/src/test/resources/payloads/expected/generic-vnf-with-lag-interface.json
new file mode 100644
index 00000000..3c656da1
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/expected/generic-vnf-with-lag-interface.json
@@ -0,0 +1,27 @@
+{
+ "vnf-id": "vnf1",
+ "vnf-type": "someval",
+ "vnf-name": "someval",
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "lag1",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "int1",
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "ipv1"
+ },
+ {
+ "l3-interface-ipv6-address": "ipv2"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/resource/cloud-region-with-all-children.json b/aai-core/src/test/resources/payloads/resource/cloud-region-with-all-children.json
new file mode 100644
index 00000000..97372dd8
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/cloud-region-with-all-children.json
@@ -0,0 +1,310 @@
+{
+ "cloud-owner" : "junit-cloud-owner",
+ "cloud-region-id" : "junit-cloud-region",
+ "cloud-type" : "P9P1X6U9eDXR",
+ "owner-defined-type" : "OUrR8kI6Br",
+ "cloud-region-version" : "Nyr",
+ "identity-url" : "JHqvA1M",
+ "cloud-zone" : "Y5UfJUM",
+ "complex-name" : "QLP",
+ "sriov-automation" : false,
+ "tenants" : {
+ "tenant" : [ {
+ "tenant-id" : "tenant1",
+ "tenant-name" : "yhgVBcv3Pr",
+ "tenant-context" : "De4NNayqFBO",
+ "vservers" : {
+ "vserver" : [ {
+ "vserver-id" : "vserver1",
+ "vserver-name" : "P3SJ347Uyv",
+ "vserver-name2" : "1dHd",
+ "prov-status" : "PR04shorWQ",
+ "vserver-selflink" : "v7dU8H",
+ "in-maint" : false,
+ "is-closed-loop-disabled" : true,
+ "volumes" : {
+ "volume" : [ {
+ "volume-id" : "61cbb17e-8e5f-4545-a8ea-13a0e9c9871f-vk250x",
+ "volume-selflink" : "mYkfJ9rGv"
+ }, {
+ "volume-id" : "d98083a6-b235-4e54-b19b-2ebfa1604246-vk250x",
+ "volume-selflink" : "69RRsreL4"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "top-linterface",
+ "interface-role" : "3W1FAJGSQ",
+ "v6-wan-link-ip" : "WugWw3N",
+ "selflink" : "Of4j0pU",
+ "interface-id" : "eoW",
+ "macaddr" : "XNbbIy33",
+ "network-name" : "ZETDv5sGhiS",
+ "management-option" : "qR3RyCxgEU",
+ "interface-description" : "ksuRPpWDEH7",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "20Q0ZE6n5iB0",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "KjPXyH",
+ "vlans" : {
+ "vlan" : [ {
+ "vlan-interface" : "8d225c33-7494-4173-939f-0e1e8741344d-vk250x",
+ "vlan-id-inner" : 884,
+ "vlan-id-outer" : 992,
+ "speed-value" : "RyFPm",
+ "speed-units" : "ZrckmLff7b",
+ "vlan-description" : "zjAeUFgeagpf",
+ "backdoor-connection" : "gANMvUquB",
+ "vpn-key" : "l0rV7bb2Sc",
+ "orchestration-status" : "WVnLpbzIx",
+ "in-maint" : false,
+ "prov-status" : "tYMRi6df",
+ "is-ip-unnumbered" : false,
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "2e7d62a5-ff93-446f-9fa3-b4ba585e742b-vk250x",
+ "l3-interface-ipv4-prefix-length" : 640,
+ "vlan-id-inner" : 652,
+ "vlan-id-outer" : 868,
+ "is-floating" : true,
+ "neutron-network-id" : "dJ8Fqs4ZTRn",
+ "neutron-subnet-id" : "HC6ji9DO8"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "818cd2e5-8dac-4a49-aa2e-4f97d4e98594-vk250x",
+ "l3-interface-ipv6-prefix-length" : 910,
+ "vlan-id-inner" : 116,
+ "vlan-id-outer" : 661,
+ "is-floating" : true,
+ "neutron-network-id" : "vSpYqFg5Tfe",
+ "neutron-subnet-id" : "bqkOUZSlVF"
+ }, {
+ "l3-interface-ipv6-address" : "915a8e5d-9d39-4f99-a350-c48f48ac8f46-vk250x",
+ "l3-interface-ipv6-prefix-length" : 593,
+ "vlan-id-inner" : 554,
+ "vlan-id-outer" : 762,
+ "is-floating" : false,
+ "neutron-network-id" : "b7PM",
+ "neutron-subnet-id" : "u51Ma93"
+ } ]
+ } ]
+ },
+ "sriov-vfs" : {
+ "sriov-vf" : [ {
+ "pci-id" : "01ca7dbe-e270-4545-a045-72e9e3fcb44b-vk250x",
+ "vf-vlan-filter" : "f9YNFlqrfHi",
+ "vf-mac-filter" : "HQhFdXpL1v",
+ "vf-vlan-strip" : true,
+ "vf-vlan-anti-spoof-check" : false,
+ "vf-mac-anti-spoof-check" : false,
+ "vf-mirrors" : "SqknCX",
+ "vf-broadcast-allow" : true,
+ "vf-unknown-multicast-allow" : false,
+ "vf-unknown-unicast-allow" : false,
+ "vf-insert-stag" : true,
+ "vf-link-status" : "MsSX9hug4u1",
+ "neutron-network-id" : "f4jq6yFxVVtC"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "nested-linterface1",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ },{
+ "interface-name" : "nested-linterface2",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ } ]
+ },
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "fc25fa49-ec46-43f5-bd39-c1c9067d2962-vk250x",
+ "l3-interface-ipv4-prefix-length" : 339,
+ "vlan-id-inner" : 644,
+ "vlan-id-outer" : 701,
+ "is-floating" : true,
+ "neutron-network-id" : "IEpYVl",
+ "neutron-subnet-id" : "7uWdipdgtC4Qc"
+ }, {
+ "l3-interface-ipv4-address" : "402d29fe-baf4-47e3-9208-e12a75e25349-vk250x",
+ "l3-interface-ipv4-prefix-length" : 370,
+ "vlan-id-inner" : 971,
+ "vlan-id-outer" : 142,
+ "is-floating" : false,
+ "neutron-network-id" : "sRi62ZY3IrKkq",
+ "neutron-subnet-id" : "PeV5RhIfV2Ib7"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "c9befce1-5617-4525-b217-105a57f6bd59-vk250x",
+ "l3-interface-ipv6-prefix-length" : 333,
+ "vlan-id-inner" : 275,
+ "vlan-id-outer" : 324,
+ "is-floating" : true,
+ "neutron-network-id" : "em6Lc6ovvWsdx",
+ "neutron-subnet-id" : "pyx4f"
+ }, {
+ "l3-interface-ipv6-address" : "18aa594c-143b-4564-ac0c-72144aecbb66-vk250x",
+ "l3-interface-ipv6-prefix-length" : 350,
+ "vlan-id-inner" : 893,
+ "vlan-id-outer" : 37,
+ "is-floating" : false,
+ "neutron-network-id" : "lhiR1",
+ "neutron-subnet-id" : "kdfoiCb7JYBuh"
+ } ]
+ } ]
+ }
+ } ]
+ }
+ } ]
+ },
+ "flavors" : {
+ "flavor" : [ {
+ "flavor-id" : "a7208e23-b517-4ccb-a3ab-00952aa89480-vk250x",
+ "flavor-name" : "JGWnOD",
+ "flavor-vcpus" : 803,
+ "flavor-ram" : 920,
+ "flavor-disk" : 438,
+ "flavor-ephemeral" : 41,
+ "flavor-swap" : "KiuHc7",
+ "flavor-is-public" : false,
+ "flavor-selflink" : "pXtX",
+ "flavor-disabled" : false
+ } ]
+ },
+ "group-assignments" : {
+ "group-assignment" : [ {
+ "group-id" : "30c1bb60-1b71-4b46-910f-d33c7905a779-vk250x",
+ "group-type" : "bRh",
+ "group-name" : "hg11sdvW",
+ "group-description" : "df3w60RR"
+ } ]
+ },
+ "snapshots" : {
+ "snapshot" : [ {
+ "snapshot-id" : "26c013f4-c119-4ddd-89cf-e9b2729f87e5-vk250x",
+ "snapshot-name" : "0J3q8ZjyPGH",
+ "snapshot-architecture" : "wMu9Tvile",
+ "snapshot-os-distro" : "2Vv4Pqzu",
+ "snapshot-os-version" : "Vim0fyf404YVW",
+ "application" : "oxkCtHUk",
+ "application-vendor" : "tTpXkD",
+ "application-version" : "aOqn",
+ "snapshot-selflink" : "GCapKV9Tq",
+ "prev-snapshot-id" : "Imnj21xW5Hez"
+ }, {
+ "snapshot-id" : "ee2e8769-2dcf-4a3c-90bd-a0ba91c97f13-vk250x",
+ "snapshot-name" : "zRh94rw3pc1",
+ "snapshot-architecture" : "FxVDY",
+ "snapshot-os-distro" : "QZnKXjI5LDBSi",
+ "snapshot-os-version" : "u0Bl2moOJ7bb",
+ "application" : "dlXZPm9B7",
+ "application-vendor" : "89tls6",
+ "application-version" : "c05X",
+ "snapshot-selflink" : "rmExWmnDIZu3",
+ "prev-snapshot-id" : "5chZxlmHfhe"
+ } ]
+ },
+ "images" : {
+ "image" : [ {
+ "image-id" : "691210f6-f3f2-488f-993c-a9c9570fb71f-vk250x",
+ "image-name" : "GsPzYlduuWk",
+ "image-architecture" : "vNdK4fYJf",
+ "image-os-distro" : "ZxYe",
+ "image-os-version" : "SVBBpHEc",
+ "application" : "GgBxi1zv8h2KG",
+ "application-vendor" : "x6NtDNUj",
+ "application-version" : "VOZYqE04K9",
+ "image-selflink" : "gOzbbHZtkuh",
+ "metadata" : {
+ "metadatum" : [ {
+ "metaname" : "b9565dfa-ed1f-4d35-90c6-bb56a48d9b2a-vk250x",
+ "metaval" : "nyq5IHmI"
+ } ]
+ }
+ }, {
+ "image-id" : "1f00c00a-9ab7-44a0-9961-bcf5f806fef8-vk250x",
+ "image-name" : "WChNCg3ThQ1Of",
+ "image-architecture" : "oL2m4nUPPG6j",
+ "image-os-distro" : "kf7",
+ "image-os-version" : "DxTTyv4S16e",
+ "application" : "Y0dytCJ2ouDk",
+ "application-vendor" : "F7E7a",
+ "application-version" : "8wkd3Cy",
+ "image-selflink" : "5N5A",
+ "metadata" : {
+ "metadatum" : [ {
+ "metaname" : "a5c4c98f-0b36-4f70-a235-5135e8e644f1-vk250x",
+ "metaval" : "vupk3k29rdN"
+ }, {
+ "metaname" : "e6084e48-df73-4854-a2be-522087b5f6a3-vk250x",
+ "metaval" : "l9VaEeP"
+ } ]
+ }
+ } ]
+ },
+ "dvs-switches" : {
+ "dvs-switch" : [ {
+ "switch-name" : "b01222d9-f9f9-493d-8ee0-9ab7c095d5a0-vk250x",
+ "vcenter-url" : "NNtc"
+ }, {
+ "switch-name" : "7abed153-9fb5-4c05-87aa-ead0feb35b16-vk250x",
+ "vcenter-url" : "YSS"
+ } ]
+ },
+ "oam-networks" : {
+ "oam-network" : [ {
+ "network-uuid" : "af2371f8-0fa6-4d4d-90c8-9c5d3ba3e01e-vk250x",
+ "network-name" : "cVevT9o20HAs4",
+ "cvlan-tag" : 560,
+ "ipv4-oam-gateway-address" : "F565rGb",
+ "ipv4-oam-gateway-address-prefix-length" : 540
+ } ]
+ },
+ "availability-zones" : {
+ "availability-zone" : [ {
+ "availability-zone-name" : "9761e922-fd2a-4c96-9a13-4e62e1daccdc-vk250x",
+ "hypervisor-type" : "qijdeI",
+ "operational-status" : "C0KkUiJ"
+ } ]
+ },
+ "vip-ipv4-address-list" : [ {
+ "vip-ipv4-address" : "08b4a6c1-c702-4449-8791-caaa5341c6d9-vk250x",
+ "vip-ipv4-prefix-length" : 185,
+ "vlan-id-inner" : 969,
+ "vlan-id-outer" : 414,
+ "is-floating" : true,
+ "neutron-network-id" : "S7r90cEZ",
+ "neutron-subnet-id" : "2NwjH"
+ } ],
+ "vip-ipv6-address-list" : [ {
+ "vip-ipv6-address" : "f01dbad0-10c5-491c-a6e5-d972c9b99f56-vk250x",
+ "vip-ipv6-prefix-length" : 365,
+ "vlan-id-inner" : 326,
+ "vlan-id-outer" : 927,
+ "is-floating" : true,
+ "neutron-network-id" : "ULEl0",
+ "neutron-subnet-id" : "eyt9"
+ } ]
+} \ No newline at end of file
diff --git a/aai-core/src/test/resources/payloads/resource/l-interface-with-ipv6.json b/aai-core/src/test/resources/payloads/resource/l-interface-with-ipv6.json
new file mode 100644
index 00000000..fee82181
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/resource/l-interface-with-ipv6.json
@@ -0,0 +1,22 @@
+{
+ "vnf-id": "vnf1",
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "lag1",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "int1",
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "ipv6-1"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/templates/cloud-region.json b/aai-core/src/test/resources/payloads/templates/cloud-region.json
new file mode 100644
index 00000000..176214af
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/templates/cloud-region.json
@@ -0,0 +1,310 @@
+{
+ "cloud-owner" : "${cloud-owner}",
+ "cloud-region-id" : "${cloud-region-id}",
+ "cloud-type" : "P9P1X6U9eDXR",
+ "owner-defined-type" : "OUrR8kI6Br",
+ "cloud-region-version" : "Nyr",
+ "identity-url" : "JHqvA1M",
+ "cloud-zone" : "Y5UfJUM",
+ "complex-name" : "QLP",
+ "sriov-automation" : false,
+ "tenants" : {
+ "tenant" : [ {
+ "tenant-id" : "${tenant-id}",
+ "tenant-name" : "yhgVBcv3Pr",
+ "tenant-context" : "De4NNayqFBO",
+ "vservers" : {
+ "vserver" : [ {
+ "vserver-id" : "${vserver-id}",
+ "vserver-name" : "P3SJ347Uyv",
+ "vserver-name2" : "1dHd",
+ "prov-status" : "PR04shorWQ",
+ "vserver-selflink" : "v7dU8H",
+ "in-maint" : false,
+ "is-closed-loop-disabled" : true,
+ "volumes" : {
+ "volume" : [ {
+ "volume-id" : "61cbb17e-8e5f-4545-a8ea-13a0e9c9871f-vk250x",
+ "volume-selflink" : "mYkfJ9rGv"
+ }, {
+ "volume-id" : "d98083a6-b235-4e54-b19b-2ebfa1604246-vk250x",
+ "volume-selflink" : "69RRsreL4"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "top-linterface",
+ "interface-role" : "3W1FAJGSQ",
+ "v6-wan-link-ip" : "WugWw3N",
+ "selflink" : "Of4j0pU",
+ "interface-id" : "eoW",
+ "macaddr" : "XNbbIy33",
+ "network-name" : "ZETDv5sGhiS",
+ "management-option" : "qR3RyCxgEU",
+ "interface-description" : "ksuRPpWDEH7",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "20Q0ZE6n5iB0",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "KjPXyH",
+ "vlans" : {
+ "vlan" : [ {
+ "vlan-interface" : "8d225c33-7494-4173-939f-0e1e8741344d-vk250x",
+ "vlan-id-inner" : 884,
+ "vlan-id-outer" : 992,
+ "speed-value" : "RyFPm",
+ "speed-units" : "ZrckmLff7b",
+ "vlan-description" : "zjAeUFgeagpf",
+ "backdoor-connection" : "gANMvUquB",
+ "vpn-key" : "l0rV7bb2Sc",
+ "orchestration-status" : "WVnLpbzIx",
+ "in-maint" : false,
+ "prov-status" : "tYMRi6df",
+ "is-ip-unnumbered" : false,
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "2e7d62a5-ff93-446f-9fa3-b4ba585e742b-vk250x",
+ "l3-interface-ipv4-prefix-length" : 640,
+ "vlan-id-inner" : 652,
+ "vlan-id-outer" : 868,
+ "is-floating" : true,
+ "neutron-network-id" : "dJ8Fqs4ZTRn",
+ "neutron-subnet-id" : "HC6ji9DO8"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "818cd2e5-8dac-4a49-aa2e-4f97d4e98594-vk250x",
+ "l3-interface-ipv6-prefix-length" : 910,
+ "vlan-id-inner" : 116,
+ "vlan-id-outer" : 661,
+ "is-floating" : true,
+ "neutron-network-id" : "vSpYqFg5Tfe",
+ "neutron-subnet-id" : "bqkOUZSlVF"
+ }, {
+ "l3-interface-ipv6-address" : "915a8e5d-9d39-4f99-a350-c48f48ac8f46-vk250x",
+ "l3-interface-ipv6-prefix-length" : 593,
+ "vlan-id-inner" : 554,
+ "vlan-id-outer" : 762,
+ "is-floating" : false,
+ "neutron-network-id" : "b7PM",
+ "neutron-subnet-id" : "u51Ma93"
+ } ]
+ } ]
+ },
+ "sriov-vfs" : {
+ "sriov-vf" : [ {
+ "pci-id" : "01ca7dbe-e270-4545-a045-72e9e3fcb44b-vk250x",
+ "vf-vlan-filter" : "f9YNFlqrfHi",
+ "vf-mac-filter" : "HQhFdXpL1v",
+ "vf-vlan-strip" : true,
+ "vf-vlan-anti-spoof-check" : false,
+ "vf-mac-anti-spoof-check" : false,
+ "vf-mirrors" : "SqknCX",
+ "vf-broadcast-allow" : true,
+ "vf-unknown-multicast-allow" : false,
+ "vf-unknown-unicast-allow" : false,
+ "vf-insert-stag" : true,
+ "vf-link-status" : "MsSX9hug4u1",
+ "neutron-network-id" : "f4jq6yFxVVtC"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "nested-linterface1",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ },{
+ "interface-name" : "nested-linterface2",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ } ]
+ },
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "fc25fa49-ec46-43f5-bd39-c1c9067d2962-vk250x",
+ "l3-interface-ipv4-prefix-length" : 339,
+ "vlan-id-inner" : 644,
+ "vlan-id-outer" : 701,
+ "is-floating" : true,
+ "neutron-network-id" : "IEpYVl",
+ "neutron-subnet-id" : "7uWdipdgtC4Qc"
+ }, {
+ "l3-interface-ipv4-address" : "402d29fe-baf4-47e3-9208-e12a75e25349-vk250x",
+ "l3-interface-ipv4-prefix-length" : 370,
+ "vlan-id-inner" : 971,
+ "vlan-id-outer" : 142,
+ "is-floating" : false,
+ "neutron-network-id" : "sRi62ZY3IrKkq",
+ "neutron-subnet-id" : "PeV5RhIfV2Ib7"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "c9befce1-5617-4525-b217-105a57f6bd59-vk250x",
+ "l3-interface-ipv6-prefix-length" : 333,
+ "vlan-id-inner" : 275,
+ "vlan-id-outer" : 324,
+ "is-floating" : true,
+ "neutron-network-id" : "em6Lc6ovvWsdx",
+ "neutron-subnet-id" : "pyx4f"
+ }, {
+ "l3-interface-ipv6-address" : "18aa594c-143b-4564-ac0c-72144aecbb66-vk250x",
+ "l3-interface-ipv6-prefix-length" : 350,
+ "vlan-id-inner" : 893,
+ "vlan-id-outer" : 37,
+ "is-floating" : false,
+ "neutron-network-id" : "lhiR1",
+ "neutron-subnet-id" : "kdfoiCb7JYBuh"
+ } ]
+ } ]
+ }
+ } ]
+ }
+ } ]
+ },
+ "flavors" : {
+ "flavor" : [ {
+ "flavor-id" : "a7208e23-b517-4ccb-a3ab-00952aa89480-vk250x",
+ "flavor-name" : "JGWnOD",
+ "flavor-vcpus" : 803,
+ "flavor-ram" : 920,
+ "flavor-disk" : 438,
+ "flavor-ephemeral" : 41,
+ "flavor-swap" : "KiuHc7",
+ "flavor-is-public" : false,
+ "flavor-selflink" : "pXtX",
+ "flavor-disabled" : false
+ } ]
+ },
+ "group-assignments" : {
+ "group-assignment" : [ {
+ "group-id" : "30c1bb60-1b71-4b46-910f-d33c7905a779-vk250x",
+ "group-type" : "bRh",
+ "group-name" : "hg11sdvW",
+ "group-description" : "df3w60RR"
+ } ]
+ },
+ "snapshots" : {
+ "snapshot" : [ {
+ "snapshot-id" : "26c013f4-c119-4ddd-89cf-e9b2729f87e5-vk250x",
+ "snapshot-name" : "0J3q8ZjyPGH",
+ "snapshot-architecture" : "wMu9Tvile",
+ "snapshot-os-distro" : "2Vv4Pqzu",
+ "snapshot-os-version" : "Vim0fyf404YVW",
+ "application" : "oxkCtHUk",
+ "application-vendor" : "tTpXkD",
+ "application-version" : "aOqn",
+ "snapshot-selflink" : "GCapKV9Tq",
+ "prev-snapshot-id" : "Imnj21xW5Hez"
+ }, {
+ "snapshot-id" : "ee2e8769-2dcf-4a3c-90bd-a0ba91c97f13-vk250x",
+ "snapshot-name" : "zRh94rw3pc1",
+ "snapshot-architecture" : "FxVDY",
+ "snapshot-os-distro" : "QZnKXjI5LDBSi",
+ "snapshot-os-version" : "u0Bl2moOJ7bb",
+ "application" : "dlXZPm9B7",
+ "application-vendor" : "89tls6",
+ "application-version" : "c05X",
+ "snapshot-selflink" : "rmExWmnDIZu3",
+ "prev-snapshot-id" : "5chZxlmHfhe"
+ } ]
+ },
+ "images" : {
+ "image" : [ {
+ "image-id" : "691210f6-f3f2-488f-993c-a9c9570fb71f-vk250x",
+ "image-name" : "GsPzYlduuWk",
+ "image-architecture" : "vNdK4fYJf",
+ "image-os-distro" : "ZxYe",
+ "image-os-version" : "SVBBpHEc",
+ "application" : "GgBxi1zv8h2KG",
+ "application-vendor" : "x6NtDNUj",
+ "application-version" : "VOZYqE04K9",
+ "image-selflink" : "gOzbbHZtkuh",
+ "metadata" : {
+ "metadatum" : [ {
+ "metaname" : "b9565dfa-ed1f-4d35-90c6-bb56a48d9b2a-vk250x",
+ "metaval" : "nyq5IHmI"
+ } ]
+ }
+ }, {
+ "image-id" : "1f00c00a-9ab7-44a0-9961-bcf5f806fef8-vk250x",
+ "image-name" : "WChNCg3ThQ1Of",
+ "image-architecture" : "oL2m4nUPPG6j",
+ "image-os-distro" : "kf7",
+ "image-os-version" : "DxTTyv4S16e",
+ "application" : "Y0dytCJ2ouDk",
+ "application-vendor" : "F7E7a",
+ "application-version" : "8wkd3Cy",
+ "image-selflink" : "5N5A",
+ "metadata" : {
+ "metadatum" : [ {
+ "metaname" : "a5c4c98f-0b36-4f70-a235-5135e8e644f1-vk250x",
+ "metaval" : "vupk3k29rdN"
+ }, {
+ "metaname" : "e6084e48-df73-4854-a2be-522087b5f6a3-vk250x",
+ "metaval" : "l9VaEeP"
+ } ]
+ }
+ } ]
+ },
+ "dvs-switches" : {
+ "dvs-switch" : [ {
+ "switch-name" : "b01222d9-f9f9-493d-8ee0-9ab7c095d5a0-vk250x",
+ "vcenter-url" : "NNtc"
+ }, {
+ "switch-name" : "7abed153-9fb5-4c05-87aa-ead0feb35b16-vk250x",
+ "vcenter-url" : "YSS"
+ } ]
+ },
+ "oam-networks" : {
+ "oam-network" : [ {
+ "network-uuid" : "af2371f8-0fa6-4d4d-90c8-9c5d3ba3e01e-vk250x",
+ "network-name" : "cVevT9o20HAs4",
+ "cvlan-tag" : 560,
+ "ipv4-oam-gateway-address" : "F565rGb",
+ "ipv4-oam-gateway-address-prefix-length" : 540
+ } ]
+ },
+ "availability-zones" : {
+ "availability-zone" : [ {
+ "availability-zone-name" : "9761e922-fd2a-4c96-9a13-4e62e1daccdc-vk250x",
+ "hypervisor-type" : "qijdeI",
+ "operational-status" : "C0KkUiJ"
+ } ]
+ },
+ "vip-ipv4-address-list" : [ {
+ "vip-ipv4-address" : "08b4a6c1-c702-4449-8791-caaa5341c6d9-vk250x",
+ "vip-ipv4-prefix-length" : 185,
+ "vlan-id-inner" : 969,
+ "vlan-id-outer" : 414,
+ "is-floating" : true,
+ "neutron-network-id" : "S7r90cEZ",
+ "neutron-subnet-id" : "2NwjH"
+ } ],
+ "vip-ipv6-address-list" : [ {
+ "vip-ipv6-address" : "f01dbad0-10c5-491c-a6e5-d972c9b99f56-vk250x",
+ "vip-ipv6-prefix-length" : 365,
+ "vlan-id-inner" : 326,
+ "vlan-id-outer" : 927,
+ "is-floating" : true,
+ "neutron-network-id" : "ULEl0",
+ "neutron-subnet-id" : "eyt9"
+ } ]
+} \ No newline at end of file
diff --git a/aai-core/src/test/resources/payloads/templates/generic-vnf-with-lag-interface.json b/aai-core/src/test/resources/payloads/templates/generic-vnf-with-lag-interface.json
new file mode 100644
index 00000000..fc025bb2
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/templates/generic-vnf-with-lag-interface.json
@@ -0,0 +1,24 @@
+{
+ "vnf-id": "vnf1",
+ "vnf-type": "someval",
+ "vnf-name": "someval",
+ "lag-interfaces": {
+ "lag-interface": [
+ {
+ "interface-name": "lag1",
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "int1",
+ "l3-interface-ipv6-address-list": [
+ {
+ "l3-interface-ipv6-address": "${ip-address}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+}
diff --git a/aai-core/src/test/resources/payloads/templates/tenant.json b/aai-core/src/test/resources/payloads/templates/tenant.json
new file mode 100644
index 00000000..ce0f5588
--- /dev/null
+++ b/aai-core/src/test/resources/payloads/templates/tenant.json
@@ -0,0 +1,169 @@
+{
+ "tenant-id" : "${tenant-id}",
+ "tenant-name" : "yhgVBcv3Pr",
+ "tenant-context" : "De4NNayqFBO",
+ "vservers" : {
+ "vserver" : [ {
+ "vserver-id" : "${vserver-id}",
+ "vserver-name" : "P3SJ347Uyv",
+ "vserver-name2" : "1dHd",
+ "prov-status" : "PR04shorWQ",
+ "vserver-selflink" : "v7dU8H",
+ "in-maint" : false,
+ "is-closed-loop-disabled" : true,
+ "volumes" : {
+ "volume" : [ {
+ "volume-id" : "61cbb17e-8e5f-4545-a8ea-13a0e9c9871f-vk250x",
+ "volume-selflink" : "mYkfJ9rGv"
+ }, {
+ "volume-id" : "d98083a6-b235-4e54-b19b-2ebfa1604246-vk250x",
+ "volume-selflink" : "69RRsreL4"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "top-linterface",
+ "interface-role" : "3W1FAJGSQ",
+ "v6-wan-link-ip" : "WugWw3N",
+ "selflink" : "Of4j0pU",
+ "interface-id" : "eoW",
+ "macaddr" : "XNbbIy33",
+ "network-name" : "ZETDv5sGhiS",
+ "management-option" : "qR3RyCxgEU",
+ "interface-description" : "ksuRPpWDEH7",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "20Q0ZE6n5iB0",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "KjPXyH",
+ "vlans" : {
+ "vlan" : [ {
+ "vlan-interface" : "8d225c33-7494-4173-939f-0e1e8741344d-vk250x",
+ "vlan-id-inner" : 884,
+ "vlan-id-outer" : 992,
+ "speed-value" : "RyFPm",
+ "speed-units" : "ZrckmLff7b",
+ "vlan-description" : "zjAeUFgeagpf",
+ "backdoor-connection" : "gANMvUquB",
+ "vpn-key" : "l0rV7bb2Sc",
+ "orchestration-status" : "WVnLpbzIx",
+ "in-maint" : false,
+ "prov-status" : "tYMRi6df",
+ "is-ip-unnumbered" : false,
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "2e7d62a5-ff93-446f-9fa3-b4ba585e742b-vk250x",
+ "l3-interface-ipv4-prefix-length" : 640,
+ "vlan-id-inner" : 652,
+ "vlan-id-outer" : 868,
+ "is-floating" : true,
+ "neutron-network-id" : "dJ8Fqs4ZTRn",
+ "neutron-subnet-id" : "HC6ji9DO8"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "818cd2e5-8dac-4a49-aa2e-4f97d4e98594-vk250x",
+ "l3-interface-ipv6-prefix-length" : 910,
+ "vlan-id-inner" : 116,
+ "vlan-id-outer" : 661,
+ "is-floating" : true,
+ "neutron-network-id" : "vSpYqFg5Tfe",
+ "neutron-subnet-id" : "bqkOUZSlVF"
+ }, {
+ "l3-interface-ipv6-address" : "915a8e5d-9d39-4f99-a350-c48f48ac8f46-vk250x",
+ "l3-interface-ipv6-prefix-length" : 593,
+ "vlan-id-inner" : 554,
+ "vlan-id-outer" : 762,
+ "is-floating" : false,
+ "neutron-network-id" : "b7PM",
+ "neutron-subnet-id" : "u51Ma93"
+ } ]
+ } ]
+ },
+ "sriov-vfs" : {
+ "sriov-vf" : [ {
+ "pci-id" : "01ca7dbe-e270-4545-a045-72e9e3fcb44b-vk250x",
+ "vf-vlan-filter" : "f9YNFlqrfHi",
+ "vf-mac-filter" : "HQhFdXpL1v",
+ "vf-vlan-strip" : true,
+ "vf-vlan-anti-spoof-check" : false,
+ "vf-mac-anti-spoof-check" : false,
+ "vf-mirrors" : "SqknCX",
+ "vf-broadcast-allow" : true,
+ "vf-unknown-multicast-allow" : false,
+ "vf-unknown-unicast-allow" : false,
+ "vf-insert-stag" : true,
+ "vf-link-status" : "MsSX9hug4u1",
+ "neutron-network-id" : "f4jq6yFxVVtC"
+ } ]
+ },
+ "l-interfaces" : {
+ "l-interface" : [ {
+ "interface-name" : "nested-linterface1",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ },{
+ "interface-name" : "nested-linterface2",
+ "interface-role" : "ZjOYJKIE4j9W1",
+ "v6-wan-link-ip" : "63RKRTd",
+ "selflink" : "5xF",
+ "interface-id" : "akNmnDyijrHla",
+ "macaddr" : "XLZCof4",
+ "network-name" : "yJt",
+ "management-option" : "FJ6qVt",
+ "interface-description" : "fCHE1Glz",
+ "is-port-mirrored" : false,
+ "in-maint" : false,
+ "prov-status" : "vuTb",
+ "is-ip-unnumbered" : false,
+ "allowed-address-pairs" : "5Lzn9"
+ } ]
+ },
+ "l3-interface-ipv4-address-list" : [ {
+ "l3-interface-ipv4-address" : "fc25fa49-ec46-43f5-bd39-c1c9067d2962-vk250x",
+ "l3-interface-ipv4-prefix-length" : 339,
+ "vlan-id-inner" : 644,
+ "vlan-id-outer" : 701,
+ "is-floating" : true,
+ "neutron-network-id" : "IEpYVl",
+ "neutron-subnet-id" : "7uWdipdgtC4Qc"
+ }, {
+ "l3-interface-ipv4-address" : "402d29fe-baf4-47e3-9208-e12a75e25349-vk250x",
+ "l3-interface-ipv4-prefix-length" : 370,
+ "vlan-id-inner" : 971,
+ "vlan-id-outer" : 142,
+ "is-floating" : false,
+ "neutron-network-id" : "sRi62ZY3IrKkq",
+ "neutron-subnet-id" : "PeV5RhIfV2Ib7"
+ } ],
+ "l3-interface-ipv6-address-list" : [ {
+ "l3-interface-ipv6-address" : "c9befce1-5617-4525-b217-105a57f6bd59-vk250x",
+ "l3-interface-ipv6-prefix-length" : 333,
+ "vlan-id-inner" : 275,
+ "vlan-id-outer" : 324,
+ "is-floating" : true,
+ "neutron-network-id" : "em6Lc6ovvWsdx",
+ "neutron-subnet-id" : "pyx4f"
+ }, {
+ "l3-interface-ipv6-address" : "18aa594c-143b-4564-ac0c-72144aecbb66-vk250x",
+ "l3-interface-ipv6-prefix-length" : 350,
+ "vlan-id-inner" : 893,
+ "vlan-id-outer" : 37,
+ "is-floating" : false,
+ "neutron-network-id" : "lhiR1",
+ "neutron-subnet-id" : "kdfoiCb7JYBuh"
+ } ]
+ } ]
+ }
+ } ]
+ }
+} \ No newline at end of file