diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2018-01-18 02:25:31 -0500 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2018-02-12 15:44:18 -0500 |
commit | 4c4412642e40a92bebd26f2966bc72619e16ae79 (patch) | |
tree | a9c0c08aa8dd2de651cdaad684155ec4962dd3eb /aai-resources | |
parent | 9c04bb4a324af0857dacc65880c3540dc18d5b89 (diff) |
Sync up the latest logging code changes
Issue-ID: AAI-493
Change-Id: I778acf7726b1f9881dee62b128b1fbc457bf7a7e
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-resources')
81 files changed, 4271 insertions, 28392 deletions
diff --git a/aai-resources/.classpath b/aai-resources/.classpath index 9a7604c..9dedccc 100644 --- a/aai-resources/.classpath +++ b/aai-resources/.classpath @@ -1,30 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="src" output="target/classes" path="src/main/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> - <attributes> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> - <classpathentry kind="src" output="target/test-classes" path="src/test/java"> - <attributes> - <attribute name="optional" value="true"/> - <attribute name="maven.pomderived" value="true"/> - </attributes> - </classpathentry> + <classpathentry kind="src" path="src/main/java"/> + <classpathentry kind="src" path="src/main/resources"/> + <classpathentry kind="src" path="src/test/resources"/> + <classpathentry kind="src" path="src/test/java"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> <attributes> - <attribute name="maven.pomderived" value="true"/> + <attribute name="owner.project.facets" value="java"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> @@ -32,6 +14,5 @@ <attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> - <classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/> <classpathentry kind="output" path="target/classes"/> </classpath> diff --git a/aai-resources/.gitignore b/aai-resources/.gitignore index 4a3cb42..7f156f5 100644 --- a/aai-resources/.gitignore +++ b/aai-resources/.gitignore @@ -1,9 +1,14 @@ .settings target/ **/logs/ +bundleconfig-local/etc/auth/aai-client-cert.p12 +bundleconfig-local/etc/auth/tomcat_keystore bundleconfig-local/etc/oxm src/main/aai_schema bundleconfig-local/etc/logback.xml /.pydevproject /test_csvWriter.csv /bin/ +**/.idea/ +*/.idea +*.iml
\ No newline at end of file diff --git a/aai-resources/ajsc-shared-config/etc/aft.properties b/aai-resources/ajsc-shared-config/etc/aft.properties deleted file mode 100644 index 43e896d..0000000 --- a/aai-resources/ajsc-shared-config/etc/aft.properties +++ /dev/null @@ -1,13 +0,0 @@ - -# Flow test 319 -com.att.aft.discovery.client.environment=AFTUAT -com.att.aft.discovery.client.latitude=35.318900 -com.att.aft.discovery.client.longitude=-80.762200 -com.att.aft.alias=ecomp-aai -#com.att.aft.keyStore=ajsc-shared-config/etc/spm2.jks -com.att.aft.keyStore=/opt/app/aai/bundleconfig/etc/m04353t.jks -com.att.aft.keyStorePassword=its4test -#com.att.aft.trustStore=ajsc-shared-config/etc/spm2.jks -com.att.aft.trustStore=/opt/app/aai/bundleconfig/etc/m04353t.jks -com.att.aft.trustStorePassword=its4test - diff --git a/aai-resources/ajsc-shared-config/etc/csm-config-app.properties b/aai-resources/ajsc-shared-config/etc/csm-config-app.properties deleted file mode 100644 index 0aebe00..0000000 --- a/aai-resources/ajsc-shared-config/etc/csm-config-app.properties +++ /dev/null @@ -1,185 +0,0 @@ -Global.ExtendedProperty.AuthoritativeServers=${ChangeMe_csm.acfshost}:${ChangeMe_csm.acfsport} - -#Possible working server for troubleshooting csm related items (used when testing/using invokeService or invokeAdapter components) -#Global.ExtendedProperty.AuthoritativeServers=ONAPserverTBD -# -# The settings in this file control the behavior of the CSM Framework. -# The majority of the settings in this file adhere to the following -# pattern: -# -# [EntityType].[EntityId].[PropertyName]=[PropertyValue] -# -# Where: -# -# [EntityType] Identifies the type of entity (service or -# service group) that's being configured. -# [EntityId] Identifies the individual entity. -# [PropertyName] Identifies the property that is being set. -# [PropertyValue] Is the actual property value. -# -# In the formatting sample above, the EntityType can be setto one of the -# following values: -# -# * 'Service' if an individual service is being configured. -# * 'Group 'if a service group is being configured. -# -# The reference to 'entity' in the above description is intentionally -# generic. The CSM Framework supports the configuration of individual -# services as well as groups of services. The type of entity that is -# actually being configured is determined by the value of the -# [EntityType] portion of the property. -# -# There are two values for [EntityId] that have a special meaning within -# the CSM Framework: -# -# -# DefaultService - Identifies the default configuration for any service -# that is not explicitly configured elsewhere in this file. -# -# DefaultServiceGroup - This identifies the entity that provides the -# default configuration for any service group that is not explicitly -# configured elsewhere in this file. -# -# DO NOT use either of these as the identifier for any of your -# application-specific services or service groups. -# -# The CSM Framework treats all entity identifiers in a case-insensitive -# manner. The entity ids 'Service1' and 'SERVICE1' are equivalant. All -# properties with the same [EntityId] will be applied to the same -# configuration. The CSM Framework framework also treats property names -# in a case-insensitive manner. 'MaxRequestCount' and 'MAXREQUESTCOUNT' -# are considered equivalent within the CSM framework. -# -# The following properties are supported by the CSM Framework. Any -# properties that are entity-specific will include the '[EntityId].' -# prefix. -# -# [EntityType].[EntityId].Enabled - Indicates if the entity is enabled -# or disabled by default. The value of this property must be either -# 'true' or 'false'. -# -# [EntityType].[EntityId].MaxRequestCount - The maximum number of -# requests that can be running at any point in time. Once this limit is -# reached, the service is considered to be 'flooded', and subsequent -# requests are refused until the request count drops to the level -# specified by the RestartThreshold property. Once the restart -# threshold is reached, the service will be 'restarted' based on the -# values of the 'RestartFrequency' and 'RestartIncrement' properties. -# The value of this property must be a numeric value. -# The default value for this property is 20. -# -# [EntityType].[EntityId].MaxStalledRequestCount - the maximum number of -# 'stalled' requests that are allowed before subsequent requests are -# refused -# The value of this property must be a numeric value. -# The default value for this property is 10. -# -# [EntityType].[EntityId].RestartThreshold - the process count level at -# which requests will be allowed to proceed whenever a service becomes -# 'flooded'. This property is only used if the total process count -# reaches the level set by the 'MaxRequestCount' property. Once that -# occurs, subsequent requests will be refused until the active request -# count drops to the level specified by this property. Once the active -# request count drops to the level specified by this property, the -# service will be 'restarted' based on the values of the -# 'RestartFrequency' and 'RestartIncrement' properties. To cause the -# CSM framework to allow subsequent requests to proceed as soon as the -# active request count drops below level level set by the -# 'MaxRequestCount' property, just set this property to either -1 or 1 -# less than the value of the 'MaxRequestCount' property. -# The value of this property must be a numeric value. -# The default value for this property is -1. -# -# [EntityType].[EntityId].RestartIncrement - This property, along with -# the 'RestartFrequency' property helps determine how quickly the active -# request count will rise to the 'maximum request count' whenever a -# service is 'restarted' after becoming 'flooded'. The -# 'RestartFrequency' property determines how frequenty the permissable -# number of active requests will be increased. This property determines -# how much the permissible number of active requests will increase by -# whenever it is raised. If this property is set to a positive value, -# then the 'RestartFrequency' property must also be set to a positive -# value. If this property is set to 0, then the 'RestartFrequency' -# property must also be set to 0. In other words, either both -# properties are 0 or both properties are greater than 0. When both -# properties are set to 0, then the permissable number of active -# requests immediately rises back up to the maximum request count once -# it has droppedback down to the 'restart threshold'. When both -# properties are greater than 0, then the permissable number of active -# requests gradually rises to the maximum request count. -# The value of this property must be a numeric value greater than or equal to 0. -# The default value for this property is 0. -# -# [EntityType].[EntityId].RestartFrequency - This property, along with -# the 'RestartIncrement' property helps determine how quickly the active -# request count will rise to the 'maximum request count' whenever a -# service is 'restarted' after becoming 'flooded'. The -# 'RestartIncrement' property determines how quickly the permissable -# number of active requests will be increased. This property determines -# how frequently that increase will occur. If this property is set to -# a positive value, then the 'RestartIncrement' property must also be -# set to a positive value. If this property is set to 0, then the -# 'RestartIncrement' property must also be set to 0. In other words, -# either both properties are 0 or both properties are greater than 0. -# When both properties are set to 0, then the permissable number of -# active requests immediately rises back up to the maximum request count -# once it has droppedback down to the 'restart threshold'. When both -# properties are greater than 0, then the permissable number of active -# requests gradually rises to the maximum request count. -# The value of this property must be a numeric value greater than or equal to 0. -# The default value for this property is 0. -# -# [EntityType].[EntityId].ServiceGroupId - This property is only -# relevant for entities that are configured as services (i.e. the -# [EntityType] portion of the property is set to 'Service'). When the -# 'ServiceGroupId' property is set to a non-blank value, the behavior of -# the service is controled by the configuration of the corresponding -# service group. There is no default value for this property. -# -# [EntityType].[EntityId].Timeout - the timeout, in milliseconds, for -# each process that is controlled by this configuration. Once the -# duration of a process exceeds this value, the process will be -# considered to have entered a 'stalled' state. The default value for -# this property is 10000. -# -# FrameworkEnabled: - This is the one property that is not specific to a -# single entity. This property determines whether the entire CSM -# Framework is enabled or disabled. When disabled, the CSM Framework -# does not track any process counts. All requests to access a service -# are allowed, regardless of the current level of activity. The value -# of this property must be either 'true' or 'false'. -# - -# -# Enables the CSM Framework so that it can manage interactions with external -# services and/or resources. To disable the CSM Framework, simply set -# this property to false. -# -FrameworkEnabled=true - -# -# These are the default settings for any service that is no explicitly configured -# below. A few things to note about this configuration: -# 1) The "Enabled" property is not explicitly set. Instead, we are relying -# on the default value of 'true'. -# 2) The Timeout and Type properties are also not explicitly set. Again, we -# are relying on the default values for these properties. -# -Service.DefaultService.Enabled=true -Service.DefaultService.MaxRequestCount=30 -Service.DefaultService.MaxStalledRequestCount=20 -Service.DefaultService.Timeout=30000 -Service.DefaultService.RestartThreshold=-1 -Service.DefaultService.AutoPurgeAfter=150000 - - -# -# These are the default settings for any service group that is referenced in -# a service configuration but not configured below. -# -# Currently CSI does not use any service group configurations! -# -#Group.DefaultGroup.MaxRequestCount=-1 -#Group.DefaultGroup.MaxStalledRequestCount=-1 -#Group.DefaultGroup.RestartThreshold=-1 -#Group.DefaultGroup.Timeout=-1 diff --git a/aai-resources/ajsc-shared-config/etc/logback.xml b/aai-resources/ajsc-shared-config/etc/logback.xml index 5853cea..48fbb3e 100644 --- a/aai-resources/ajsc-shared-config/etc/logback.xml +++ b/aai-resources/ajsc-shared-config/etc/logback.xml @@ -26,9 +26,10 @@ <jmxConfigurator /> <property name="logDirectory" value="${AJSC_HOME}/logs" /> <property name="eelfLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%X{statusCode}|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/> - <property name="eelfAuditLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%X{statusCode}|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n|\r\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n|\r\n', '^'}%n"/> + <property name="eelfAuditLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%X{statusCode}|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n|\r\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/> <property name="eelfMetricLogPattern" value="%ecompStartTime|%date{yyyy-MM-dd'T'HH:mm:ss.SSSZ, UTC}|%X{requestId}|%X{serviceInstanceId}|%-10t|%X{serverName}|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%X{statusCode}|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n', '^'}|%X{instanceUUID}|%level|%X{severity}|%X{serverIpAddress}|%ecompElapsedTime|%X{server}|%X{clientIpAddress}|%eelfClassOfCaller|%X{unused}|%X{processKey}|%X{targetVirtualEntity}|%X{customField1}|%X{customField2}|%X{customField3}|%X{customField4}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/> - + <!-- <property name="eelfErrorLogPattern" value="%ecompStartTime|%X{requestId}|%-10t|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%ecompErrorCategory|%X{responseCode}|%replace(%replace(%X{responseDescription}){'\\|', '!'}){'\r|\n|\r\n', '^'}|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/> --> + <property name="eelfErrorLogPattern" value="%ecompStartTime|%X{requestId}|%-10t|%X{serviceName}|%X{partnerName}|%X{targetEntity}|%X{targetServiceName}|%ecompErrorCategory|%ecompResponseCode|%ecompResponseDescription|co=%X{component}:%replace(%replace(%m){'\\|', '!'}){'\r|\n', '^'}%n"/> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.LevelFilter"> <level>ERROR</level> @@ -114,7 +115,7 @@ </fileNamePattern> </rollingPolicy> <encoder class="org.onap.aai.logging.EcompEncoder"> - <pattern>${eelfLogPattern}</pattern> + <pattern>${eelfErrorLogPattern}</pattern> </encoder> </appender> @@ -212,6 +213,26 @@ <pattern>${eelfMetricLogPattern}</pattern> </encoder> </appender> + <appender name="external" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> + <level>WARN</level> + </filter> + <file>${logDirectory}/external/external.log</file> + <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> + <fileNamePattern>${logDirectory}/external/external.log.%d{yyyy-MM-dd} + </fileNamePattern> + </rollingPolicy> + <encoder class="org.onap.aai.logging.EcompEncoder"> + <pattern>${eelfLogPattern}</pattern> + </encoder> + </appender> + <logger name="org.onap.aai" level="DEBUG" additivity="false"> + <appender-ref ref="asyncDEBUG" /> + <appender-ref ref="asyncERROR" /> + <appender-ref ref="asyncMETRIC" /> + <appender-ref ref="asyncSANE" /> + </logger> <!-- Spring related loggers --> <logger name="org.springframework" level="WARN" /> @@ -232,6 +253,8 @@ <!-- AJSC related loggers (DME2 Registration, csi logging, restlet, servlet logging) --> + <logger name="org.codehaus.groovy" level="WARN" /> + <logger name="com.att.scamper" level="WARN" /> <logger name="ajsc.utils" level="WARN" /> <logger name="ajsc.utils.DME2Helper" level="WARN" /> <logger name="ajsc.filters" level="WARN" /> @@ -241,6 +264,7 @@ <logger name="com.att.ajsc" level="WARN" /> <logger name="com.att.ajsc.csi.logging" level="WARN" /> <logger name="com.att.ajsc.filemonitor" level="WARN" /> + <logger name="com.att.ajsc.runner" level="WARN" /> <!-- Other Loggers that may help troubleshoot --> <logger name="net.sf" level="WARN" /> @@ -361,9 +385,6 @@ </logger> <root level="DEBUG"> - <appender-ref ref="asyncDEBUG" /> - <appender-ref ref="asyncERROR" /> - <appender-ref ref="asyncMETRIC" /> - <appender-ref ref="asyncSANE" /> + <appender-ref ref="external" /> </root> </configuration> diff --git a/aai-resources/bundleconfig-local/etc/VNT-migration-data/VNT-migration-input.csv b/aai-resources/bundleconfig-local/etc/VNT-migration-data/VNT-migration-input.csv new file mode 100644 index 0000000..916dced --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/VNT-migration-data/VNT-migration-input.csv @@ -0,0 +1,2 @@ +"entitlement-pool-uuid vendor-allowed-max-bandwidth (VNT)" +"some-uuid 1000" diff --git a/aai-resources/bundleconfig-local/etc/appprops/aaiconfig.properties b/aai-resources/bundleconfig-local/etc/appprops/aaiconfig.properties index dda9b46..84072f9 100644 --- a/aai-resources/bundleconfig-local/etc/appprops/aaiconfig.properties +++ b/aai-resources/bundleconfig-local/etc/appprops/aaiconfig.properties @@ -149,6 +149,14 @@ ecm.auth.password.x=OBF:1igd1i9a1jnb1yte1vv11vu91yt81jk71i6o1idt aai.run.migrations=false aai.jms.enable=false +#timeout for crud enabled flag +aai.crud.timeoutenabled=true + +#timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms) +aai.crud.timeout.appspecific=JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1 + +#default timeout limit added for crud if not overridden (in ms) +aai.crud.timeoutlimit=100000 #limit set for bulk consumer APIS aai.bulkconsumer.payloadlimit=30 diff --git a/aai-resources/bundleconfig-local/etc/appprops/caet.properties b/aai-resources/bundleconfig-local/etc/appprops/caet.properties index e69de29..ac4960c 100644 --- a/aai-resources/bundleconfig-local/etc/appprops/caet.properties +++ b/aai-resources/bundleconfig-local/etc/appprops/caet.properties @@ -0,0 +1,4 @@ +#caet_service=http://DME2RESOLVE/service=com.att.csid.CAET/version=3/envContext=TEST/routeOffer=TEST_CAET +#caet_service=http://DME2RESOLVE/service=com.att.csid.CAET/version=3/envContext=TEST/routeOffer=D3A_CAET +#caet_service=dme2://DME2RESOLVE/service=com.att.csid.CAET/version=4.0/envContext=TEST/routeOffer=TEST_CAET +caet_service=http://DME2RESOLVE/service=com.att.csid.CAET/version=4.0/envContext=TEST/routeOffer=TEST_CAET
\ No newline at end of file diff --git a/aai-resources/bundleconfig-local/etc/appprops/createDBSchema-logback.xml b/aai-resources/bundleconfig-local/etc/appprops/createDBSchema-logback.xml index d0ef422..5fcdf9b 100644 --- a/aai-resources/bundleconfig-local/etc/appprops/createDBSchema-logback.xml +++ b/aai-resources/bundleconfig-local/etc/appprops/createDBSchema-logback.xml @@ -34,7 +34,7 @@ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <fileNamePattern>${logDirectory}/createDBSchema/error.log.%d{yyyy-MM-dd}</fileNamePattern> </rollingPolicy> - <encoder class="org.onap.aai.logging.EcompEncoder"> + <encoder class="org.onap.aai.logging.EcompEncoder"> <pattern>${eelfLogPattern}</pattern> </encoder> </appender> diff --git a/aai-resources/bundleconfig-local/etc/appprops/dynamic.properties b/aai-resources/bundleconfig-local/etc/appprops/dynamic.properties new file mode 100644 index 0000000..e8f9a90 --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/appprops/dynamic.properties @@ -0,0 +1,35 @@ +# +# ============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. +# +query.fast-property=true +# the following parameters are not reloaded automatically and require a manual bounce +storage.backend=inmemory + +#Kept the below if we need to change from in-memory to dynamic instance +#storage.hostname=mtanjv9aads01.nvp.cip.att.com,mtanjv9aads02.nvp.cip.att.com,mtanjv9aads03.nvp.cip.att.com +#storage.hbase.table=tenant-isol-temp + +#caching on +cache.db-cache = true +cache.db-cache-clean-wait = 20 +cache.db-cache-time = 180000 +cache.db-cache-size = 0.3 +load.snapshot.file=true diff --git a/aai-resources/bundleconfig-local/etc/appprops/dynamicPayloadGenerator-logback.xml b/aai-resources/bundleconfig-local/etc/appprops/dynamicPayloadGenerator-logback.xml new file mode 100644 index 0000000..025b49b --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/appprops/dynamicPayloadGenerator-logback.xml @@ -0,0 +1,85 @@ +<!-- + + ============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. + +--> +<configuration> + <property name="logDirectory" value="${AJSC_HOME}/logs" /> + + <appender name="dynamicPayloadGeneratorlog" class="ch.qos.logback.classic.sift.SiftingAppender"> + <filter class="ch.qos.logback.classic.filter.LevelFilter"> + <level>INFO</level> + <onMatch>ACCEPT</onMatch> + <onMismatch>DENY</onMismatch> + </filter> + <!-- This is MDC value --> + <!-- We will assign a value to 'logFilenameAppender' via Java code --> + <discriminator> + <key>logFilenameAppender</key> + <defaultValue>undefined</defaultValue> + </discriminator> + <sift> + <!-- A standard RollingFileAppender, the log file is based on 'logFileName' + at runtime --> + <appender name="FILE-${logFilenameAppender}" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>${logDirectory}/dynamicPayloadGeneratorlog/${logFilenameAppender}.log</file> + <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> + <fileNamePattern>${logDirectory}/dynamicPayloadGeneratorlog/${logFilenameAppender}.log.%d{yyyy-MM-dd} + </fileNamePattern> + </rollingPolicy> + <encoder> + <pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%m%n</pattern> + </encoder> + </appender> + </sift> + </appender> + + <logger name="org.reflections" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="org.apache.zookeeper" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="org.apache.hadoop" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="com.thinkaurelius" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="ch.qos.logback.classic" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="ch.qos.logback.core" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="com.att.eelf" level="ERROR" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + <logger name="org.onap.aai" level="INFO" additivity="false"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </logger> + + + <root level="INFO"> + <appender-ref ref="dynamicPayloadGeneratorlog" /> + </root> +</configuration> diff --git a/aai-resources/bundleconfig-local/etc/appprops/error.properties b/aai-resources/bundleconfig-local/etc/appprops/error.properties index a20dce5..ba71275 100644 --- a/aai-resources/bundleconfig-local/etc/appprops/error.properties +++ b/aai-resources/bundleconfig-local/etc/appprops/error.properties @@ -25,11 +25,13 @@ AAI_3003=5:1:WARN:3003:400:3003:Failed to make edge to missing target node of ty AAI_3005=5:6:WARN:3005:404:3001:Node cannot be directly accessed for read, must be accessed via ancestor(s) AAI_3006=5:6:WARN:3006:404:3001:Node cannot be directly accessed for write, must be accessed via ancestor(s) AAI_3007=5:6:INFO:3007:410:3007:This version (%1) of the API is retired, please migrate to %2 -AAI_3008=5:6:ERROR:3008:400:3008:URI is not encoded in UTF-8 -AAI_3009=5:6:ERROR:3009:400:3002:Malformed URL -AAI_3010=5:6:ERROR:3010:400:3002:Cannot write via this URL -AAI_3011=5:6:ERROR:3011:400:3000:Unknown XML namespace used in payload -AAI_3012=5:6:ERROR:3012:400:3012:Unrecognized A&AI function +AAI_3008=5:6:WARN:3008:400:3008:URI is not encoded in UTF-8 +AAI_3009=5:6:WARN:3009:400:3002:Malformed URL +AAI_3010=5:6:WARN:3010:400:3002:Cannot write via this URL +AAI_3011=5:6:WARN:3011:400:3000:Unknown XML namespace used in payload +AAI_3012=5:6:WARN:3012:400:3012:Unrecognized AAI function +AAI_3013=5:6:WARN:3013:400:3013:Query payload missing required parameters %1 +AAI_3014=5:6:WARN:3014:400:3014:Query payload is invalid %1 # pol errors AAI_3100=5:1:WARN:3100:400:3100:Unsupported operation %1 AAI_3101=5:1:WARN:3101:403:3101:Attempt by client %1 to execute API %2 @@ -37,7 +39,7 @@ AAI_3102=5:1:WARN:3102:400:3102:Error parsing input performing %1 on %2 AAI_3300=5:1:WARN:3300:403:3300:Unauthorized AAI_3301=5:1:WARN:3301:401:3301:Stale credentials AAI_3302=5:1:WARN:3302:401:3301:Not authenticated -AAI_3303=5:1:ERROR:3303:403:3300:Too many objects would be returned by this request, please refine your request and retry +AAI_3303=5:1:WARN:3303:403:3300:Too many objects would be returned by this request, please refine your request and retry #--- aaigen: 4000-4099 AAI_4000=5:4:ERROR:4000:500:3002:Internal Error @@ -47,23 +49,18 @@ AAI_4003=5:4:ERROR:4003:500:3002:Error writing to log file AAI_4004=5:4:FATAL:4004:500:3002:Error reading/parsing the error properties file AAI_4005=5:4:FATAL:4005:500:3002:Missing or invalid configuration parameter AAI_4006=5:4:FATAL:4006:500:3002:Unexpected error in service -AAI_4007=5:4:ERROR:4007:500:3102:Input parsing error +AAI_4007=5:4:WARN:4007:500:3102:Input parsing error 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_4009=4:0:WARN:4009:400:3000:Invalid X-FromAppId in header +AAI_4010=4:0:WARN: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_4014=4:0:WARN:4014:400:3000:Invalid Accept header +AAI_4015=4:0:WARN:4015:400:3000:You must provide at least one indexed property +AAI_4016=4:0:WARN: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 +AAI_4018=5:2:WARN:4018:400:3000:Unable to convert the string to integer +#--- 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 @@ -80,14 +77,14 @@ AAI_6107=5:4:WARN:6107:400:3000:Required Edge-property not found in input data AAI_6108=5:4:WARN:6108:400:3000:Required Edge-property was passed with no data AAI_6109=5:4:WARN:6109:400:3000:Bad dependent Node value AAI_6110=5:4:ERROR:6110:400:3100:Node cannot be deleted -AAI_6111=5:4:ERROR:6111:400:3000:JSON processing error +AAI_6111=5:4:WARN:6111:400:3000:JSON processing error AAI_6112=5:4:ERROR:6112:400:3000:More than one node found by getUniqueNode() AAI_6114=5:4:INFO:6114:404:3001:Node Not Found AAI_6115=5:4:ERROR:6115:400:3000:Unrecognized NodeType AAI_6116=5:4:ERROR:6116:400:3000:Unrecognized Property AAI_6117=5:4:ERROR:6117:400:3000:Uniqueness constraint violated -AAI_6118=5:4:ERROR:6118:400:3000:Required Field not passed. -AAI_6120=5:4:ERROR:6120:400:3000:Bad Parameter Passed +AAI_6118=5:4:WARN:6118:400:3000:Required Field not passed. +AAI_6120=5:4:WARN:6120:400:3000:Bad Parameter Passed AAI_6121=5:4:ERROR:6121:400:3000:Problem with internal AAI reference data AAI_6122=5:4:ERROR:6122:400:3000:Data Set not complete in DB for this request AAI_6123=5:4:ERROR:6123:500:3000:Bad Data found by DataGrooming Tool - Investigate @@ -142,7 +139,7 @@ AAI_7202=5:4:ERROR:7202:500:3002:Error getting connection to odl AAI_7203=5:4:ERROR:7203:500:3002:Unexpected error calling DataChangeNotification API AAI_7204=5:4:ERROR:7204:500:3002:Error returned by DataChangeNotification API AAI_7205=5:4:ERROR:7205:500:3002:Unexpected error running notifySDNCOnUpdate -AAI_7206=5:4:ERROR:7206:500:3002:Invalid data returned from ODL +#AAI_7206=5:4:ERROR:7206:500:3002:Invalid data returned from ODL #--- NotificationEvent, using UEB space AAI_7350=5:4:ERROR:7305:500:3002:Notification event creation failed @@ -152,17 +149,24 @@ 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 +AAI_7406=5:4:ERROR:7406:400:7406:Request Timed Out + +#--- aaicsiovals: 7501-7599 +#AAI_7501=5:4:WARN:7501:500:3002:Error getting connection to CSI-OVALS +AAI_7502=5:4:WARN:7502:500:3002:Bad parameter when trying to build request for CSI-OVALS +AAI_7503=5:4:WARN:7503:500:3002:Error returned by CSI-OVALS #--- aaiauth: 9101-9199 AAI_9101=5:0:WARN:9101:403:3300:User is not authorized to perform function -AAI_9102=5:0:WARN:9102:401:3301:Refresh credentials from source -AAI_9103=5:0:WARN:9103:403:3300:User not found -AAI_9104=5:0:WARN:9104:401:3302:Authentication error -AAI_9105=5:0:WARN:9105:403:3300:Authorization error -AAI_9106=5:0:WARN:9106:403:3300:Invalid AppId +#AAI_9102=5:0:WARN:9102:401:3301:Refresh credentials from source +#AAI_9103=5:0:WARN:9103:403:3300:User not found +#AAI_9104=5:0:WARN:9104:401:3302:Authentication error +#AAI_9105=5:0:WARN:9105:403:3300:Authorization error +#AAI_9106=5:0:WARN:9106:403:3300:Invalid AppId #AAI_9107=5:0:WARN:9107:403:3300:No Username in Request AAI_9107=5:0:WARN:9107:403:3300:SSL is not provided in request, please contact admin #--- aaiinstar: 9201-9299 -AAI_9201=5:4:ERROR:9201:500:3002:Unable to send notification -AAI_9202=5:4:ERROR:9202:500:3002:Unable to start a thread
\ No newline at end of file +#AAI_9201=5:4:ERROR:9201:500:3002:Unable to send notification +AAI_9202=5:4:ERROR:9202:500:3002:Unable to start a thread diff --git a/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodes.json b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodes.json new file mode 100644 index 0000000..5c28c8b --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodes.json @@ -0,0 +1,14 @@ +{ + "pserver" : { + "cousins" : ["zone", "complex", "availability-zone", "cloud-region"], + "parents":[] + }, + "complex" : { + "cousins":[], + "parents":[] + }, + "zone" : { + "cousins":["complex"], + "parents":[] + } +} diff --git a/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesAZCloud.json b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesAZCloud.json new file mode 100644 index 0000000..b955757 --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesAZCloud.json @@ -0,0 +1,22 @@ +{ + "cloud-region": { + "cousins" : [], + "parents":[] + }, + "availability-zone": { + "cousins" : [], + "parents":["cloud-region"] + }, + "pserver" : { + "cousins" : ["zone", "complex", "availability-zone"], + "parents":[] + }, + "complex" : { + "cousins":[], + "parents":[] + }, + "zone" : { + "cousins":["complex"], + "parents":[] + } +} diff --git a/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesNoAZ.json b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesNoAZ.json new file mode 100644 index 0000000..a0dfae5 --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/scriptdata/tenant_isolation/nodesNoAZ.json @@ -0,0 +1,14 @@ +{ + "pserver" : { + "cousins" : ["zone", "complex"], + "parents":[] + }, + "complex" : { + "cousins":[], + "parents":[] + }, + "zone" : { + "cousins":["complex"], + "parents":[] + } +} diff --git a/aai-resources/bundleconfig-local/etc/tmp-config/hbase-site.xml b/aai-resources/bundleconfig-local/etc/tmp-config/hbase-site.xml new file mode 100644 index 0000000..a2fcca6 --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/tmp-config/hbase-site.xml @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> +<!-- +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +--> + +<!-- +OVERVIEW + +The important configs. are listed near the top. You should change +at least the setting for hbase.tmp.dir. Other settings will change +dependent on whether you are running hbase in standalone mode or +distributed. See the hbase reference guide for requirements and +guidance making configuration. + +This file does not contain all possible configurations. The file would be +much larger if it carried everything. The absent configurations will only be +found through source code reading. The idea is that such configurations are +exotic and only those who would go to the trouble of reading a particular +section in the code would be knowledgeable or invested enough in ever wanting +to alter such configurations, so we do not list them here. Listing all +possible configurations would overwhelm and obscure the important. +--> + +<configuration> + <property> + <name>hbase.client.scanner.timeout.period</name> + <value>600000</value> + <description>Client scanner lease period in milliseconds.</description> + </property> + <property> + <name>hbase.rpc.timeout</name> + <value>6000000</value> + <description>hbase rpc timeout</description> + </property> +</configuration> diff --git a/aai-resources/bundleconfig-local/etc/tosca-migration-data/edgeLabelMigration.csv b/aai-resources/bundleconfig-local/etc/tosca-migration-data/edgeLabelMigration.csv new file mode 100644 index 0000000..53639e5 --- /dev/null +++ b/aai-resources/bundleconfig-local/etc/tosca-migration-data/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-resources/pom.xml b/aai-resources/pom.xml index c50c6de..5590298 100644 --- a/aai-resources/pom.xml +++ b/aai-resources/pom.xml @@ -32,7 +32,7 @@ <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-core</artifactId> - <version>${project.version}</version> + <version>${aai.core.version}</version> <exclusions> <exclusion> <artifactId>ajsc-runner</artifactId> @@ -43,7 +43,7 @@ <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema</artifactId> - <version>${project.version}</version> + <version>${aai.schema.version}</version> <exclusions> <exclusion> <artifactId>ajsc-runner</artifactId> @@ -490,7 +490,7 @@ <artifactItem> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema</artifactId> - <version>${project.version}</version> + <version>${aai.core.version}</version> <outputDirectory>bundleconfig-local/etc</outputDirectory> <includes>oxm/*.xml</includes> </artifactItem> @@ -504,6 +504,7 @@ <version>2.12.4</version> <configuration> <argLine>-noverify ${argLine}</argLine> + <runOrder>alphabetical</runOrder> <systemPropertyVariables> <AJSC_HOME>.</AJSC_HOME> <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR> diff --git a/aai-resources/src/main/config/caet.properties b/aai-resources/src/main/config/caet.properties deleted file mode 100644 index e69de29..0000000 --- a/aai-resources/src/main/config/caet.properties +++ /dev/null diff --git a/aai-resources/src/main/config/logback-migration.xml b/aai-resources/src/main/config/logback-migration.xml new file mode 100644 index 0000000..88ade33 --- /dev/null +++ b/aai-resources/src/main/config/logback-migration.xml @@ -0,0 +1,56 @@ +<!-- + ============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========================================================= + --> + +<configuration> + <appender name="MIGRATION_FILE_LOG" + class="ch.qos.logback.core.FileAppender"> + <append>true</append> + <file>logs/migrationAic3.log</file> + <encoder class="org.onap.aai.logging.CustomLogPatternLayoutEncoder"> + <Pattern>%a %u %z [%t] "%m %U" %s %b</Pattern> + </encoder> + </appender> + <root level="DEBUG"> + <appender-ref ref="MIGRATION_FILE_LOG" /> + </root> +</configuration> + +<!-- +%a - Remote IP address +%A - Local IP address +%b - Bytes sent, excluding HTTP headers, or '-' if no bytes were sent +%B - Bytes sent, excluding HTTP headers +%h - Remote host name +%H - Request protocol +%l - Remote logical username from identd (always returns '-') +%m - Request method +%p - Local port +%q - Query string (prepended with a '?' if it exists, otherwise an empty string +%r - First line of the request +%s - HTTP status code of the response +%S - User session ID +%t - Date and time, in Common Log Format format +%u - Remote user that was authenticated +%U - Requested URL path +%v - Local server name +%I - current request thread name (can compare later with stacktraces) + +%z - Custom pattern that parses the cert for the subject + --> diff --git a/aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java b/aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java index 01c6185..993b72f 100644 --- a/aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java +++ b/aai-resources/src/main/java/org/onap/aai/dbgen/DataSnapshot.java @@ -35,6 +35,7 @@ import org.onap.aai.exceptions.AAIException; import org.onap.aai.logging.ErrorLogHelper; import org.onap.aai.util.AAIConfig; import org.onap.aai.util.AAIConstants; +import org.onap.aai.util.AAISystemExitUtil; import org.onap.aai.util.FormatDate; import com.att.eelf.configuration.Configuration; @@ -54,6 +55,7 @@ public class DataSnapshot { */ public static void main(String[] args) { // Set the logging file properties to be used by EELFManager + System.setProperty("aai.service.name", DataSnapshot.class.getSimpleName()); Properties props = System.getProperties(); props.setProperty(Configuration.PROPERTY_LOGGING_FILE_NAME, AAIConstants.AAI_DATA_SNAPSHOT_LOGBACK_PROPS); props.setProperty(Configuration.PROPERTY_LOGGING_FILE_PATH, AAIConstants.AAI_HOME_ETC_APP_PROPERTIES); @@ -90,7 +92,7 @@ public class DataSnapshot { if (graph == null) { String emsg = "Not able to get a graph object in DataSnapshot.java\n"; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } if (command.equals("JUST_TAKE_SNAPSHOT")) { @@ -123,22 +125,22 @@ public class DataSnapshot { if (oldSnapshotFileName.equals("")) { String emsg = "No oldSnapshotFileName passed to DataSnapshot."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } String oldSnapshotFullFname = targetDir + AAIConstants.AAI_FILESEP + oldSnapshotFileName; File f = new File(oldSnapshotFullFname); if (!f.exists()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be found."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (!f.canRead()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be read."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (f.length() == 0) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " had no data."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } System.out.println("\n>>> WARNING <<<< "); @@ -151,7 +153,7 @@ public class DataSnapshot { Thread.sleep(5000); } catch (java.lang.InterruptedException ie) { System.out.println(" DB Clearing has been aborted. "); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } System.out.println(" Begin clearing out old data. "); @@ -169,22 +171,22 @@ public class DataSnapshot { if (oldSnapshotFileName.equals("")) { String emsg = "No oldSnapshotFileName passed to DataSnapshot when RELOAD_LEGACY_DATA used."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } String oldSnapshotFullFname = targetDir + AAIConstants.AAI_FILESEP + oldSnapshotFileName; File f = new File(oldSnapshotFullFname); if (!f.exists()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be found."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (!f.canRead()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be read."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (f.length() == 0) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " had no data."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } System.out.println("We will load data IN from the file = " + oldSnapshotFullFname); @@ -207,22 +209,22 @@ public class DataSnapshot { if (oldSnapshotFileName.equals("")) { String emsg = "No oldSnapshotFileName passed to DataSnapshot when RELOAD_DATA used."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } String oldSnapshotFullFname = targetDir + AAIConstants.AAI_FILESEP + oldSnapshotFileName; File f = new File(oldSnapshotFullFname); if (!f.exists()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be found."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (!f.canRead()) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " could not be read."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } else if (f.length() == 0) { String emsg = "oldSnapshotFile " + oldSnapshotFullFname + " had no data."; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } System.out.println("We will load data IN from the file = " + oldSnapshotFullFname); @@ -238,7 +240,7 @@ public class DataSnapshot { } else { String emsg = "Bad command passed to DataSnapshot: [" + command + "]"; System.out.println(emsg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } } catch (AAIException e) { @@ -260,7 +262,7 @@ public class DataSnapshot { } } - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); }// End of main() diff --git a/aai-resources/src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java b/aai-resources/src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java index 56af86f..9a7fc39 100644 --- a/aai-resources/src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java +++ b/aai-resources/src/main/java/org/onap/aai/dbgen/ForceDeleteTool.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.Properties; import java.util.Scanner; +import java.util.UUID; import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal; import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__; @@ -31,7 +32,10 @@ import org.apache.tinkerpop.gremlin.structure.Direction; import org.apache.tinkerpop.gremlin.structure.Edge; import org.apache.tinkerpop.gremlin.structure.Vertex; import org.apache.tinkerpop.gremlin.structure.VertexProperty; +import org.onap.aai.dbmap.AAIGraphConfig; import org.onap.aai.exceptions.AAIException; +import org.onap.aai.logging.LoggingContext; +import org.onap.aai.logging.LoggingContext.StatusCode; import org.onap.aai.serialization.db.AAIDirection; import org.onap.aai.serialization.db.EdgeProperty; import org.onap.aai.util.AAIConfig; @@ -47,6 +51,8 @@ import com.thinkaurelius.titan.core.TitanGraph; public class ForceDeleteTool { + private static final String FROMAPPID = "AAI-DB"; + private static final String TRANSID = UUID.randomUUID().toString(); /* * The main method. * @@ -56,6 +62,7 @@ public class ForceDeleteTool { //SWGK 01/21/2016 - To suppress the warning message when the tool is run from the Terminal. + System.setProperty("aai.service.name", ForceDelete.class.getSimpleName()); // Set the logging file properties to be used by EELFManager Properties props = System.getProperties(); props.setProperty(Configuration.PROPERTY_LOGGING_FILE_NAME, "forceDelete-logback.xml"); @@ -63,6 +70,16 @@ public class ForceDeleteTool { EELFLogger logger = EELFManager.getInstance().getLogger(ForceDeleteTool.class.getSimpleName()); MDC.put("logFilenameAppender", ForceDeleteTool.class.getSimpleName()); + LoggingContext.init(); + LoggingContext.partnerName(FROMAPPID); + LoggingContext.serviceName(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.component("forceDeleteTool"); + LoggingContext.targetEntity(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.targetServiceName("main"); + LoggingContext.requestId(TRANSID); + LoggingContext.statusCode(StatusCode.COMPLETE); + LoggingContext.responseCode(LoggingContext.SUCCESS); + String actionVal = ""; String userIdVal = ""; String dataString = ""; @@ -81,6 +98,8 @@ public class ForceDeleteTool { if (thisArg.equals("-action")) { i++; if (i >= args.length) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" No value passed with -action option. "); System.exit(0); } @@ -90,6 +109,8 @@ public class ForceDeleteTool { else if (thisArg.equals("-userId")) { i++; if (i >= args.length) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" No value passed with -userId option. "); System.exit(0); } @@ -105,6 +126,8 @@ public class ForceDeleteTool { else if (thisArg.equals("-vertexId")) { i++; if (i >= args.length) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" No value passed with -vertexId option. "); System.exit(0); } @@ -113,6 +136,8 @@ public class ForceDeleteTool { try { vertexIdLong = Long.parseLong(nextArg); } catch (Exception e) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error("Bad value passed with -vertexId option: [" + nextArg + "]"); System.exit(0); @@ -121,6 +146,8 @@ public class ForceDeleteTool { else if (thisArg.equals("-params4Collect")) { i++; if (i >= args.length) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" No value passed with -params4Collect option. "); System.exit(0); } @@ -130,6 +157,8 @@ public class ForceDeleteTool { else if (thisArg.equals("-edgeId")) { i++; if (i >= args.length) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" No value passed with -edgeId option. "); System.exit(0); } @@ -138,6 +167,8 @@ public class ForceDeleteTool { edgeIdStr = nextArg; } else { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(" Unrecognized argument passed to ForceDeleteTool: [" + thisArg + "]. "); logger.error(" Valid values are: -action -userId -vertexId -edgeId -overRideProtection -params4Collect -DISPLAY_ALL_VIDS"); @@ -149,6 +180,8 @@ public class ForceDeleteTool { if( !actionVal.equals("COLLECT_DATA") && !actionVal.equals("DELETE_NODE") && !actionVal.equals("DELETE_EDGE")){ String emsg = "Bad action parameter [" + actionVal + "] passed to ForceDeleteTool(). Valid values = COLLECT_DATA or DELETE_NODE or DELETE_EDGE\n"; System.out.println(emsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(emsg); System.exit(0); } @@ -156,12 +189,16 @@ public class ForceDeleteTool { if( actionVal.equals("DELETE_NODE") && vertexIdLong == 0 ){ String emsg = "ERROR: No vertex ID passed on DELETE_NODE request. \n"; System.out.println(emsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(emsg); System.exit(0); } else if( actionVal.equals("DELETE_EDGE") && edgeIdStr.equals("")){ String emsg = "ERROR: No edge ID passed on DELETE_EDGE request. \n"; System.out.println(emsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(emsg); System.exit(0); } @@ -171,6 +208,8 @@ public class ForceDeleteTool { if( (userIdVal.length() < 6) || userIdVal.toUpperCase().equals("AAIADMIN") ){ String emsg = "Bad userId parameter [" + userIdVal + "] passed to ForceDeleteTool(). must be not empty and not aaiadmin \n"; System.out.println(emsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(emsg); System.exit(0); } @@ -180,10 +219,12 @@ public class ForceDeleteTool { try { AAIConfig.init(); System.out.println(" ---- NOTE --- about to open graph (takes a little while)--------\n"); - graph = TitanFactory.open(AAIConstants.REALTIME_DB_CONFIG); + graph = TitanFactory.open(new AAIGraphConfig.Builder(AAIConstants.REALTIME_DB_CONFIG).forService(ForceDelete.class.getSimpleName()).withGraphType("realtime1").buildConfiguration()); if( graph == null ){ String emsg = "could not get graph object in ForceDeleteTool() \n"; System.out.println(emsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.AVAILABILITY_TIMEOUT_ERROR); logger.error(emsg); System.exit(0); } @@ -191,12 +232,16 @@ public class ForceDeleteTool { catch (AAIException e1) { msg = e1.getErrorObject().toString(); System.out.println(msg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.UNKNOWN_ERROR); logger.error(msg); System.exit(0); - } + } catch (Exception e2) { msg = e2.toString(); System.out.println(msg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.UNKNOWN_ERROR); logger.error(msg); System.exit(0); } @@ -217,6 +262,8 @@ public class ForceDeleteTool { if( firstPipeLoc <= 0 ){ msg = "Must use the -params4Collect option when collecting data with data string in a format like: 'propName1|propVal1,propName2|propVal2'"; System.out.println(msg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(msg); System.exit(0); } @@ -229,6 +276,8 @@ public class ForceDeleteTool { if( pipeLoc <= 0 ){ msg = "Must use the -params4Collect option when collecting data with data string in a format like: 'propName1|propVal1,propName2|propVal2'"; System.out.println(msg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(msg); System.exit(0); } @@ -239,7 +288,7 @@ public class ForceDeleteTool { qStringForMsg = qStringForMsg + ".has(" + propName + "," + propVal + ")"; } } - if(g != null){ + if( (g != null)){ Iterator<Vertex> vertItor = g; while( vertItor.hasNext() ){ resCount++; @@ -254,6 +303,8 @@ public class ForceDeleteTool { else { msg = "Bad TitanGraphQuery object. "; System.out.println(msg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.error(msg); System.exit(0); } @@ -339,7 +390,7 @@ public class ForceDeleteTool { public static class ForceDelete { - private static final int MAXDESCENDENTDEPTH = 15; + private final int MAXDESCENDENTDEPTH = 15; private final TitanGraph graph; public ForceDelete(TitanGraph graph) { this.graph = graph; @@ -367,7 +418,10 @@ public class ForceDeleteTool { catch (Exception e){ String warnMsg = " -- Error -- trying to display edge info. [" + e.getMessage() + "]"; System.out.println( warnMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn(warnMsg); + LoggingContext.successStatusFields(); } }// End of showNodeInfo() @@ -519,7 +573,10 @@ public class ForceDeleteTool { catch (Exception e) { String wMsg = "-- ERROR -- Stopping the counting of edges because of Exception [" + e.getMessage() + "]"; System.out.println( wMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn( wMsg ); + LoggingContext.successStatusFields(); } return edgeCount; @@ -533,6 +590,8 @@ public class ForceDeleteTool { if( thisLevel > MAXDESCENDENTDEPTH ){ String wMsg = "Warning -- Stopping the counting of descendents because we reached the max depth of " + MAXDESCENDENTDEPTH; System.out.println( wMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn( wMsg ); return totalCount; } @@ -548,7 +607,11 @@ public class ForceDeleteTool { catch (Exception e) { String wMsg = "Error -- Stopping the counting of descendents because of Exception [" + e.getMessage() + "]"; System.out.println( wMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn( wMsg ); + LoggingContext.successStatusFields(); + } return totalCount; @@ -591,7 +654,10 @@ public class ForceDeleteTool { // Let the user know something is going on - but they can confirm the delete if they want to. String infMsg = " -- WARNING -- could not get an aai-node-type for this vertex. -- WARNING -- "; System.out.println( infMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn( infMsg ); + LoggingContext.successStatusFields(); } String ntListString = ""; @@ -612,7 +678,10 @@ public class ForceDeleteTool { // Don't worry, we will use default values String infMsg = "-- WARNING -- could not get aai.forceDel.protected values from aaiconfig.properties -- will use default values. "; System.out.println( infMsg ); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logger.warn( infMsg ); + LoggingContext.successStatusFields(); } if( maxDescString != null && !maxDescString.equals("") ){ @@ -695,7 +764,10 @@ public class ForceDeleteTool { else if( giveProtErrorMsg ) { String errMsg = " ERROR >> this kind of node can only be deleted if you pass the overRideProtection parameter."; System.out.println("\n" + errMsg); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logger.error(errMsg); + LoggingContext.successStatusFields(); return false; } diff --git a/aai-resources/src/main/java/org/onap/aai/dbgen/UpdateEdgeTags.java b/aai-resources/src/main/java/org/onap/aai/dbgen/UpdateEdgeTags.java index 9fbed5d..e17e1f3 100644 --- a/aai-resources/src/main/java/org/onap/aai/dbgen/UpdateEdgeTags.java +++ b/aai-resources/src/main/java/org/onap/aai/dbgen/UpdateEdgeTags.java @@ -29,9 +29,13 @@ import org.apache.tinkerpop.gremlin.structure.Vertex; import org.onap.aai.dbmap.AAIGraph; import org.onap.aai.exceptions.AAIException; import org.onap.aai.logging.ErrorLogHelper; +import org.onap.aai.logging.LoggingContext; +import org.onap.aai.logging.LoggingContext.StatusCode; import org.onap.aai.serialization.db.EdgeRule; import org.onap.aai.serialization.db.EdgeRules; import org.onap.aai.util.AAIConfig; +import org.onap.aai.util.AAISystemExitUtil; +import org.onap.aai.util.AAIConstants; import java.util.*; @@ -47,12 +51,24 @@ public class UpdateEdgeTags { * @param args the arguments */ public static void main(String[] args) { - - if( args == null || args.length != 1 ){ + + System.setProperty("aai.service.name", UpdateEdgeTags.class.getSimpleName()); + + if( args == null || args.length != 1 ){ String msg = "usage: UpdateEdgeTags edgeRuleKey (edgeRuleKey can be either, all, or a rule key like 'nodeTypeA|nodeTypeB') \n"; System.out.println(msg); - System.exit(1); + AAISystemExitUtil.systemExitCloseAAIGraph(1); } + LoggingContext.init(); + LoggingContext.partnerName(FROMAPPID); + LoggingContext.serviceName(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.component("updateEdgeTags"); + LoggingContext.targetEntity(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.targetServiceName("main"); + LoggingContext.requestId(TRANSID); + LoggingContext.statusCode(StatusCode.COMPLETE); + LoggingContext.responseCode("0"); + String edgeRuleKeyVal = args[0]; TitanGraph graph = null; @@ -112,7 +128,7 @@ public class UpdateEdgeTags { else { String msg = " Error - Unrecognized edgeRuleKey: [" + edgeRuleKeyVal + "]. "; System.out.println(msg); - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); } } else { @@ -130,19 +146,19 @@ public class UpdateEdgeTags { if( graph == null ){ String emsg = "null graph object in updateEdgeTags() \n"; System.out.println(emsg); - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); } } catch (AAIException e1) { String msg = e1.getErrorObject().toString(); System.out.println(msg); - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); } catch (Exception e2) { String msg = e2.toString(); System.out.println(msg); e2.printStackTrace(); - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); } Graph g = graph.newTransaction(); @@ -231,10 +247,10 @@ public class UpdateEdgeTags { if( graph != null ){ graph.tx().rollback(); } - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); } - System.exit(0); + AAISystemExitUtil.systemExitCloseAAIGraph(0); }// end of main() @@ -303,8 +319,6 @@ public class UpdateEdgeTags { } // End of getEdgeTagPropPutHash() - - } diff --git a/aai-resources/src/main/java/org/onap/aai/interceptors/PostAaiAjscInterceptor.java b/aai-resources/src/main/java/org/onap/aai/interceptors/PostAaiAjscInterceptor.java index 30382e4..2a34774 100644 --- a/aai-resources/src/main/java/org/onap/aai/interceptors/PostAaiAjscInterceptor.java +++ b/aai-resources/src/main/java/org/onap/aai/interceptors/PostAaiAjscInterceptor.java @@ -48,16 +48,17 @@ public class PostAaiAjscInterceptor implements AjscInterceptor { @Override public boolean allowOrReject(HttpServletRequest req, HttpServletResponse resp, Map<?, ?> paramMap) throws Exception { - final String responseCode = LoggingContext.responseCode(); - - if (responseCode != null && responseCode.startsWith("ERR.")) { + + final int httpStatusCode = resp.getStatus(); + LoggingContext.responseCode(Integer.toString(httpStatusCode)); + if ( httpStatusCode < 200 || httpStatusCode > 299 ) { LoggingContext.statusCode(StatusCode.ERROR); - LOGGER.error(req.getRequestURL() + " call failed with responseCode=" + responseCode); - } else { + LOGGER.error(req.getRequestURL() + " call failed with responseCode=" + httpStatusCode); + } + else { LoggingContext.statusCode(StatusCode.COMPLETE); LOGGER.info(req.getRequestURL() + " call succeeded"); } - LoggingContext.clear(); return true; } diff --git a/aai-resources/src/main/java/org/onap/aai/interceptors/PreAaiAjscInterceptor.java b/aai-resources/src/main/java/org/onap/aai/interceptors/PreAaiAjscInterceptor.java index 7d1ae73..360ebe4 100644 --- a/aai-resources/src/main/java/org/onap/aai/interceptors/PreAaiAjscInterceptor.java +++ b/aai-resources/src/main/java/org/onap/aai/interceptors/PreAaiAjscInterceptor.java @@ -31,7 +31,7 @@ import org.onap.aai.logging.LoggingContext; import ajsc.beans.interceptors.AjscInterceptor; public class PreAaiAjscInterceptor implements AjscInterceptor { - + private final static String TARGET_ENTITY = "aai-resources"; private static class LazyAaiAjscInterceptor { public static final PreAaiAjscInterceptor INSTANCE = new PreAaiAjscInterceptor(); } @@ -45,10 +45,16 @@ public class PreAaiAjscInterceptor implements AjscInterceptor { throws Exception { LoggingContext.init(); - - LoggingContext.requestId(req.getHeader("X-TransactionId")); + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } LoggingContext.partnerName(req.getHeader("X-FromAppId")); - LoggingContext.serviceName(req.getMethod() + " " + req.getRequestURI().toString()); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); + LoggingContext.requestId(req.getHeader("X-TransactionId")); return true; } diff --git a/aai-resources/src/main/java/org/onap/aai/migration/EdgeMigrator.java b/aai-resources/src/main/java/org/onap/aai/migration/EdgeMigrator.java index 4e2fde4..ed29c84 100644 --- a/aai-resources/src/main/java/org/onap/aai/migration/EdgeMigrator.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/EdgeMigrator.java @@ -39,16 +39,13 @@ import org.onap.aai.serialization.db.EdgeRules; * A migration template for migrating all edge properties between "from" and "to" node from the DbedgeRules.json * */ +@MigrationPriority(0) +@MigrationDangerRating(1) public abstract class EdgeMigrator extends Migrator { private boolean success = true; private EdgeRules rules; - public EdgeMigrator() { - // used for not great reflection implementation - super(); - } - public EdgeMigrator(TransactionalGraphEngine engine) { super(engine); rules = EdgeRules.getInstance(); @@ -140,20 +137,6 @@ public abstract class EdgeMigrator extends Migrator { } } - @Override - public int getPriority() { - return 0; - } - - /* - * Higher danger rating of 10 only for all edge property changes - * or when a quorum of edges change which can be overridden by inheritors - */ - @Override - public int getDangerRating() { - return 1; - } - /** * List of node pairs("from" and "to"), you would like EdgeMigrator to migrate from json files * @return diff --git a/aai-resources/src/main/java/org/onap/aai/migration/MigrationController.java b/aai-resources/src/main/java/org/onap/aai/migration/MigrationController.java index 93d58b3..6742c8a 100644 --- a/aai-resources/src/main/java/org/onap/aai/migration/MigrationController.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/MigrationController.java @@ -21,10 +21,15 @@ */ package org.onap.aai.migration; +import java.util.UUID; + import org.onap.aai.dbmap.AAIGraph; +import org.onap.aai.logging.LoggingContext; +import org.onap.aai.logging.LoggingContext.StatusCode; +import org.onap.aai.util.AAIConstants; /** - * Wrapper class to allow {@link com.openecomp.aai.migration.MigrationControllerInternal MigrationControllerInternal} + * Wrapper class to allow {@link org.onap.aai.migration.MigrationControllerInternal MigrationControllerInternal} * to be run from a shell script */ public class MigrationController { @@ -36,15 +41,23 @@ public class MigrationController { * the arguments */ public static void main(String[] args) { - + LoggingContext.init(); + LoggingContext.partnerName("Migration"); + LoggingContext.serviceName(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.component("MigrationController"); + LoggingContext.targetEntity(AAIConstants.AAI_RESOURCES_MS); + LoggingContext.targetServiceName("main"); + LoggingContext.requestId(UUID.randomUUID().toString()); + LoggingContext.statusCode(StatusCode.COMPLETE); + LoggingContext.responseCode(LoggingContext.SUCCESS); MigrationControllerInternal internal = new MigrationControllerInternal(); try { internal.run(args); } catch (Exception e) { - //ignore + e.printStackTrace(); } - AAIGraph.getInstance().getGraph().close(); + AAIGraph.getInstance().graphShutdown(); System.exit(0); } } diff --git a/aai-resources/src/main/java/org/onap/aai/migration/MigrationControllerInternal.java b/aai-resources/src/main/java/org/onap/aai/migration/MigrationControllerInternal.java index 6da9321..fbc4e03 100644 --- a/aai-resources/src/main/java/org/onap/aai/migration/MigrationControllerInternal.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/MigrationControllerInternal.java @@ -29,10 +29,10 @@ import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; -import java.util.Comparator; import java.util.List; import java.util.Properties; import java.util.Set; +import java.util.stream.Collectors; import org.apache.activemq.broker.BrokerService; import org.apache.commons.configuration.ConfigurationException; @@ -48,6 +48,8 @@ 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 org.onap.aai.logging.LoggingContext; +import org.onap.aai.logging.LoggingContext.StatusCode; import org.onap.aai.serialization.engines.QueryStyle; import org.onap.aai.serialization.engines.TitanDBEngine; import org.onap.aai.serialization.engines.TransactionalGraphEngine; @@ -63,20 +65,20 @@ import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; /** - * Runs a series of migrations from a defined directory based on the presence of - * the {@link com.openecomp.aai.migration.Enabled Enabled} annotation - * + * Runs a series of migrations from a defined directory based on the presence of + * the {@link org.onap.aai.migration.Enabled Enabled} annotation + * * It will also write a record of the migrations run to the database. */ public class MigrationControllerInternal { private EELFLogger logger; private final int DANGER_ZONE = 10; - private final String vertexType = "migration-list-1707"; + private static final String VERTEX_TYPE = "migration-list-" + Version.getLatest().toString(); private final List<String> resultsSummary = new ArrayList<>(); private BrokerService broker; private final List<NotificationHelper> notifications = new ArrayList<>(); - private final String snapshotLocation = AAIConstants.AAI_HOME + AAIConstants.AAI_FILESEP + "logs" + AAIConstants.AAI_FILESEP + "data" + AAIConstants.AAI_FILESEP + "migrationSnapshots"; + private static final String SNAPSHOT_LOCATION = AAIConstants.AAI_HOME + AAIConstants.AAI_FILESEP + "logs" + AAIConstants.AAI_FILESEP + "data" + AAIConstants.AAI_FILESEP + "migrationSnapshots"; /** * The main method. * @@ -85,6 +87,7 @@ public class MigrationControllerInternal { */ public void run(String[] args) { // Set the logging file properties to be used by EELFManager + System.setProperty("aai.service.name", MigrationController.class.getSimpleName()); Properties props = System.getProperties(); props.setProperty(Configuration.PROPERTY_LOGGING_FILE_NAME, "migration-logback.xml"); props.setProperty(Configuration.PROPERTY_LOGGING_FILE_PATH, AAIConstants.AAI_HOME_ETC_APP_PROPERTIES); @@ -98,6 +101,7 @@ public class MigrationControllerInternal { JCommander jCommander = new JCommander(cArgs, args); jCommander.setProgramName(MigrationController.class.getSimpleName()); + // Set flag to load from snapshot based on the presence of snapshot and // graph storage backend of inmemory if (cArgs.dataSnapshot != null && !cArgs.dataSnapshot.isEmpty()) { @@ -109,6 +113,8 @@ public class MigrationControllerInternal { System.setProperty("snapshot.location", cArgs.dataSnapshot); } } catch (ConfigurationException e) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logAndPrint("ERROR: Could not load titan configuration.\n" + ExceptionUtils.getFullStackTrace(e)); return; } @@ -123,80 +129,76 @@ public class MigrationControllerInternal { ModelType introspectorFactoryType = ModelType.MOXY; Loader loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); TransactionalGraphEngine engine = new TitanDBEngine(queryStyle, DBConnectionType.REALTIME, loader); - + if (cArgs.help) { jCommander.usage(); engine.rollback(); return; - } else if (cArgs.list) { - Reflections reflections = new Reflections("org.onap.aai.migration"); - Set<Class<? extends Migrator>> migratorClasses = findClasses(reflections); - List<Migrator> migratorList = createMigratorList(cArgs, migratorClasses); - - sortList(migratorList); - engine.startTransaction(); - System.out.println("---------- List of all migrations ----------"); - migratorList.forEach(migrator -> { - boolean enabledAnnotation = migrator.getClass().isAnnotationPresent(Enabled.class); - String enabled = enabledAnnotation ? "Enabled" : "Disabled"; - StringBuilder sb = new StringBuilder(); - sb.append(migrator.getClass().getSimpleName() + " " + enabled); - sb.append(" "); - sb.append("[" + getDbStatus(migrator.getClass().getSimpleName(), engine) + "]"); - System.out.println(sb.toString()); - }); - engine.rollback(); - System.out.println("---------- Done ----------"); - return; } - Reflections reflections = new Reflections("org.onap.aai.migration"); + List<Class<? extends Migrator>> migratorClasses = new ArrayList<>(findClasses(reflections)); + //Displays list of migration classes which needs to be executed.Pass flag "-l" following by the class names + if (cArgs.list) { + listMigrationWithStatus(cArgs, migratorClasses, engine); + return; + } logAndPrint("---------- Looking for migration scripts to be executed. ----------"); - Set<Class<? extends Migrator>> migratorClasses = findClasses(reflections); - List<Migrator> migratorList = createMigratorList(cArgs, migratorClasses); + //Excluding any migration class when run migration from script.Pass flag "-e" following by the class names + if (!cArgs.excludeClasses.isEmpty()) { + migratorClasses = filterMigrationClasses(cArgs.excludeClasses, migratorClasses); + listMigrationWithStatus(cArgs, migratorClasses, engine); + } + List<Class<? extends Migrator>> migratorClassesToRun = createMigratorList(cArgs, migratorClasses); - sortList(migratorList); + sortList(migratorClassesToRun); - if (!cArgs.scripts.isEmpty() && migratorList.size() == 0) { + if (!cArgs.scripts.isEmpty() && migratorClassesToRun.isEmpty()) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.BUSINESS_PROCESS_ERROR); logAndPrint("\tERROR: Failed to find migrations " + cArgs.scripts + "."); logAndPrint("---------- Done ----------"); + LoggingContext.successStatusFields(); } - logAndPrint("\tFound " + migratorList.size() + " migration scripts."); + logAndPrint("\tFound " + migratorClassesToRun.size() + " migration scripts."); logAndPrint("---------- Executing Migration Scripts ----------"); - - - takeSnapshotIfRequired(engine, cArgs, migratorList); - for (Migrator migratorClass : migratorList) { - String name = migratorClass.getClass().getSimpleName(); + if (!cArgs.skipPreMigrationSnapShot) { + takePreSnapshotIfRequired(engine, cArgs, migratorClassesToRun); + } + + for (Class<? extends Migrator> migratorClass : migratorClassesToRun) { + String name = migratorClass.getSimpleName(); Migrator migrator; - if (migratorClass.getClass().isAnnotationPresent(Enabled.class)) { - + if (migratorClass.isAnnotationPresent(Enabled.class)) { + try { engine.startTransaction(); if (!cArgs.forced && hasAlreadyRun(name, engine)) { logAndPrint("Migration " + name + " has already been run on this database and will not be executed again. Use -f to force execution"); continue; } - migrator = migratorClass.getClass().getConstructor(TransactionalGraphEngine.class).newInstance(engine); + migrator = migratorClass.getConstructor(TransactionalGraphEngine.class).newInstance(engine); } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException e) { - logAndPrint("EXCEPTION caught initalizing migration class " + migratorClass.getClass().getSimpleName() + ".\n" + ExceptionUtils.getFullStackTrace(e)); + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); + logAndPrint("EXCEPTION caught initalizing migration class " + migratorClass.getSimpleName() + ".\n" + ExceptionUtils.getFullStackTrace(e)); + LoggingContext.successStatusFields(); engine.rollback(); continue; } - logAndPrint("\tRunning " + migratorClass.getClass().getSimpleName() + " migration script."); - logAndPrint("\t\t See " + System.getProperty("AJSC_HOME") + "/logs/migration/" + migratorClass.getClass().getSimpleName() + "/* for logs."); - MDC.put("logFilenameAppender", migratorClass.getClass().getSimpleName() + "/" + migratorClass.getClass().getSimpleName()); - + logAndPrint("\tRunning " + migratorClass.getSimpleName() + " migration script."); + logAndPrint("\t\t See " + System.getProperty("AJSC_HOME") + "/logs/migration/" + migratorClass.getSimpleName() + "/* for logs."); + MDC.put("logFilenameAppender", migratorClass.getSimpleName() + "/" + migratorClass.getSimpleName()); + migrator.run(); - + commitChanges(engine, migrator, cArgs); } else { - logAndPrint("\tSkipping " + migratorClass.getClass().getSimpleName() + " migration script because it has been disabled."); + logAndPrint("\tSkipping " + migratorClass.getSimpleName() + " migration script because it has been disabled."); } } MDC.put("logFilenameAppender", MigrationController.class.getSimpleName()); @@ -204,27 +206,76 @@ public class MigrationControllerInternal { try { notificationHelper.triggerEvents(); } catch (AAIException e) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.AVAILABILITY_TIMEOUT_ERROR); logAndPrint("\tcould not event"); logger.error("could not event", e); + LoggingContext.successStatusFields(); } } logAndPrint("---------- Done ----------"); // Save post migration snapshot if snapshot was loaded - generateSnapshot(engine, "post"); - + if (!cArgs.skipPostMigrationSnapShot) { + generateSnapshot(engine, "post"); + } + outputResultsSummary(); } + /** + * This method is used to remove excluded classes from migration from the + * script command. + * + * @param excludeClasses + * : Classes to be removed from Migration + * @param migratorClasses + * : Classes to execute migration. + * @return + */ + private List<Class<? extends Migrator>> filterMigrationClasses( + List<String> excludeClasses, + List<Class<? extends Migrator>> migratorClasses) { + + List<Class<? extends Migrator>> filteredMigratorClasses = migratorClasses + .stream() + .filter(migratorClass -> !excludeClasses.contains(migratorClass + .getSimpleName())).collect(Collectors.toList()); + + return filteredMigratorClasses; + } + + private void listMigrationWithStatus(CommandLineArgs cArgs, + List<Class<? extends Migrator>> migratorClasses, TransactionalGraphEngine engine) { + sortList(migratorClasses); + engine.startTransaction(); + System.out.println("---------- List of all migrations ----------"); + migratorClasses.forEach(migratorClass -> { + boolean enabledAnnotation = migratorClass.isAnnotationPresent(Enabled.class); + String enabled = enabledAnnotation ? "Enabled" : "Disabled"; + StringBuilder sb = new StringBuilder(); + sb.append(migratorClass.getSimpleName()); + sb.append(" in package "); + sb.append(migratorClass.getPackage().getName().substring(migratorClass.getPackage().getName().lastIndexOf('.')+1)); + sb.append(" is "); + sb.append(enabled); + sb.append(" "); + sb.append("[" + getDbStatus(migratorClass.getSimpleName(), engine) + "]"); + System.out.println(sb.toString()); + }); + engine.rollback(); + System.out.println("---------- Done ----------"); + } + private String getDbStatus(String name, TransactionalGraphEngine engine) { if (hasAlreadyRun(name, engine)) { return "Already executed in this env"; } - return "Will be run on next execution"; + return "Will be run on next execution if Enabled"; } private boolean hasAlreadyRun(String name, TransactionalGraphEngine engine) { - return engine.asAdmin().getReadOnlyTraversalSource().V().has(AAIProperties.NODE_TYPE, vertexType).has(name, true).hasNext(); + return engine.asAdmin().getReadOnlyTraversalSource().V().has(AAIProperties.NODE_TYPE, VERTEX_TYPE).has(name, true).hasNext(); } private Set<Class<? extends Migrator>> findClasses(Reflections reflections) { Set<Class<? extends Migrator>> migratorClasses = reflections.getSubTypesOf(Migrator.class); @@ -232,85 +283,75 @@ public class MigrationControllerInternal { * TODO- Change this to make sure only classes in the specific $release are added in the runList * Or add a annotation like exclude which folks again need to remember to add ?? */ - + migratorClasses.remove(PropertyMigrator.class); migratorClasses.remove(EdgeMigrator.class); return migratorClasses; } - private void takeSnapshotIfRequired(TransactionalGraphEngine engine, CommandLineArgs cArgs, List<Migrator> migratorList) { + private void takePreSnapshotIfRequired(TransactionalGraphEngine engine, CommandLineArgs cArgs, List<Class<? extends Migrator>> migratorClassesToRun) { /*int sum = 0; - for (Migrator migrator : migratorList) { - if (migrator.getClass().isAnnotationPresent(Enabled.class)) { - sum += migrator.getDangerRating(); + for (Class<? extends Migrator> migratorClass : migratorClassesToRun) { + if (migratorClass.isAnnotationPresent(Enabled.class)) { + sum += migratorClass.getAnnotation(MigrationPriority.class).value(); } } - + if (sum >= DANGER_ZONE) { - + logAndPrint("Entered Danger Zone. Taking snapshot."); }*/ - + //always take snapshot for now + generateSnapshot(engine, "pre"); } - private List<Migrator> createMigratorList(CommandLineArgs cArgs, - Set<Class<? extends Migrator>> migratorClasses) { - List<Migrator> migratorList = new ArrayList<>(); + private List<Class<? extends Migrator>> createMigratorList(CommandLineArgs cArgs, + List<Class<? extends Migrator>> migratorClasses) { + List<Class<? extends Migrator>> migratorClassesToRun = new ArrayList<>(); for (Class<? extends Migrator> migratorClass : migratorClasses) { if (!cArgs.scripts.isEmpty() && !cArgs.scripts.contains(migratorClass.getSimpleName())) { continue; } else { - Migrator migrator; - try { - - migrator = migratorClass.getConstructor().newInstance(); - } catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException e) { - logAndPrint("EXCEPTION caught initalizing migration class " + migratorClass.getSimpleName() + ".\n" + ExceptionUtils.getFullStackTrace(e)); - continue; - } - migratorList.add(migrator); + migratorClassesToRun.add(migratorClass); } } - return migratorList; + return migratorClassesToRun; } - private void sortList(List<Migrator> migratorList) { - Collections.sort(migratorList, new Comparator<Migrator>() { - public int compare(Migrator m1, Migrator m2) { - try { - - if (m1.getPriority() > m2.getPriority()) { - return 1; - } else if (m1.getPriority() < m2.getPriority()) { - return -1; - } else { - return m1.getClass().getSimpleName().compareTo(m2.getClass().getSimpleName()); - } - } catch (Exception e) { - return 0; + private void sortList(List<Class<? extends Migrator>> migratorClasses) { + Collections.sort(migratorClasses, (m1, m2) -> { + try { + if (m1.getAnnotation(MigrationPriority.class).value() > m2.getAnnotation(MigrationPriority.class).value()) { + return 1; + } else if (m1.getAnnotation(MigrationPriority.class).value() < m2.getAnnotation(MigrationPriority.class).value()) { + return -1; + } else { + return m1.getSimpleName().compareTo(m2.getSimpleName()); } + } catch (Exception e) { + return 0; } }); } - + private void generateSnapshot(TransactionalGraphEngine engine, String phase) { - + FormatDate fd = new FormatDate("yyyyMMddHHmm", "GMT"); String dateStr= fd.getDateTime(); - String fileName = snapshotLocation + File.separator + phase + "Migration." + dateStr + ".graphson"; + String fileName = SNAPSHOT_LOCATION + File.separator + phase + "Migration." + dateStr + ".graphson"; logAndPrint("Saving snapshot of inmemory graph " + phase + " migration to " + fileName); Graph transaction = null; try { - + Path pathToFile = Paths.get(fileName); if (!pathToFile.toFile().exists()) { Files.createDirectories(pathToFile.getParent()); @@ -319,17 +360,18 @@ public class MigrationControllerInternal { transaction.io(IoCore.graphson()).writeGraph(fileName); engine.rollback(); } catch (IOException e) { + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.AVAILABILITY_TIMEOUT_ERROR); logAndPrint("ERROR: Could not write in memory graph to " + phase + "Migration file. \n" + ExceptionUtils.getFullStackTrace(e)); + LoggingContext.successStatusFields(); engine.rollback(); - } + } logAndPrint( phase + " migration snapshot saved to " + fileName); } /** * Log and print. * - * @param logger - * the logger * @param msg * the msg */ @@ -341,12 +383,11 @@ public class MigrationControllerInternal { /** * Commit changes. * - * @param g - * the g + * @param engine + * the graph transaction * @param migrator * the migrator - * @param logger - * the logger + * @param cArgs */ protected void commitChanges(TransactionalGraphEngine engine, Migrator migrator, CommandLineArgs cArgs) { @@ -354,20 +395,26 @@ public class MigrationControllerInternal { String message; if (migrator.getStatus().equals(Status.FAILURE)) { message = "Migration " + simpleName + " Failed. Rolling back."; + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logAndPrint("\t" + message); + LoggingContext.successStatusFields(); migrator.rollback(); } else if (migrator.getStatus().equals(Status.CHECK_LOGS)) { - message = "Migration " + simpleName + " encountered an anomily, check logs. Rolling back."; + message = "Migration " + simpleName + " encountered an anomaly, check logs. Rolling back."; + LoggingContext.statusCode(StatusCode.ERROR); + LoggingContext.responseCode(LoggingContext.DATA_ERROR); logAndPrint("\t" + message); + LoggingContext.successStatusFields(); migrator.rollback(); } else { - MDC.put("logFilenameAppender", simpleName + "/" + migrator.getClass().getSimpleName()); + MDC.put("logFilenameAppender", simpleName + "/" + simpleName); if (cArgs.commit) { - if (!engine.asAdmin().getTraversalSource().V().has(AAIProperties.NODE_TYPE, vertexType).hasNext()) { - engine.asAdmin().getTraversalSource().addV(AAIProperties.NODE_TYPE, vertexType).iterate(); + if (!engine.asAdmin().getTraversalSource().V().has(AAIProperties.NODE_TYPE, VERTEX_TYPE).hasNext()) { + engine.asAdmin().getTraversalSource().addV(AAIProperties.NODE_TYPE, VERTEX_TYPE).iterate(); } - engine.asAdmin().getTraversalSource().V().has(AAIProperties.NODE_TYPE, vertexType) + engine.asAdmin().getTraversalSource().V().has(AAIProperties.NODE_TYPE, VERTEX_TYPE) .property(simpleName, true).iterate(); MDC.put("logFilenameAppender", MigrationController.class.getSimpleName()); notifications.add(migrator.getNotificationHelper()); @@ -381,11 +428,11 @@ public class MigrationControllerInternal { } } - + resultsSummary.add(message); } - + private void outputResultsSummary() { logAndPrint("---------------------------------"); logAndPrint("-------------Summary-------------"); @@ -395,7 +442,7 @@ public class MigrationControllerInternal { logAndPrint("---------------------------------"); logAndPrint("---------------------------------"); } - + } class CommandLineArgs { @@ -411,14 +458,22 @@ class CommandLineArgs { @Parameter(names = "-l", description = "list the status of migrations") public boolean list = false; - + @Parameter(names = "-d", description = "location of data snapshot", hidden = true) public String dataSnapshot; - + @Parameter(names = "-f", description = "force migrations to be rerun") public boolean forced = false; - + @Parameter(names = "--commit", description = "commit changes to graph") public boolean commit = false; + @Parameter(names = "-e", description = "exclude list of migrator classes") + public List<String> excludeClasses = new ArrayList<>(); + + @Parameter(names = "--skipPreMigrationSnapShot", description = "skips taking the PRE migration snapshot") + public boolean skipPreMigrationSnapShot = false; + + @Parameter(names = "--skipPostMigrationSnapShot", description = "skips taking the POST migration snapshot") + public boolean skipPostMigrationSnapShot = false; } diff --git a/aai-resources/src/test/java/org/onap/aai/rest/util/LogFormatToolsTest.java b/aai-resources/src/main/java/org/onap/aai/migration/MigrationDangerRating.java index c4cc211..a1d456c 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/util/LogFormatToolsTest.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/MigrationDangerRating.java @@ -1,36 +1,42 @@ -/** +/*- * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ - * Copyright Ā© 2017 AT&T Intellectual Property. All rights reserved. + * 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 - * + * + * 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.util; -import org.junit.Test; +package org.onap.aai.migration; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; -import static org.junit.Assert.assertNotNull; -public class LogFormatToolsTest { +/** + * Used to enable a migration to be picked up by the {@link com.openecomp.aai.migration.MigrationControllerInternal MigrationController} + * + * The larger the number, the more danger + * + * Range is 0-10 + */ +@Target(ElementType.TYPE) +@Retention(value = RetentionPolicy.RUNTIME) +public @interface MigrationDangerRating { - @Test - public void testLogFormatTools(){ + int value(); - String dateTime = new LogFormatTools().getCurrentDateTime(); - assertNotNull(dateTime); - } } diff --git a/aai-resources/src/main/java/org/onap/aai/rest/util/LogFormatTools.java b/aai-resources/src/main/java/org/onap/aai/migration/MigrationPriority.java index cfda0c3..fb7b06f 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/util/LogFormatTools.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/MigrationPriority.java @@ -1,37 +1,42 @@ -/** +/*- * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ - * Copyright Ā© 2017 AT&T Intellectual Property. All rights reserved. + * 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 - * + * + * 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.util; -import java.time.ZoneOffset; -import java.time.ZonedDateTime; -import java.time.format.DateTimeFormatter; +package org.onap.aai.migration; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + + +/** + * Used to enable a migration to be picked up by the {@link com.openecomp.aai.migration.MigrationControllerInternal MigrationController} + * + * The priority of the migration. + * + * Lower number has higher priority + */ +@Target(ElementType.TYPE) +@Retention(value = RetentionPolicy.RUNTIME) +public @interface MigrationPriority { -public class LogFormatTools { + int value(); - private static final String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"; - private static final DateTimeFormatter DTF = DateTimeFormatter.ofPattern(DATE_FORMAT) - .withZone(ZoneOffset.UTC); - - public static String getCurrentDateTime() { - return DTF.format(ZonedDateTime.now()); - } } diff --git a/aai-resources/src/main/java/org/onap/aai/migration/Migrator.java b/aai-resources/src/main/java/org/onap/aai/migration/Migrator.java index 900c914..e5e4c52 100644 --- a/aai-resources/src/main/java/org/onap/aai/migration/Migrator.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/Migrator.java @@ -21,6 +21,7 @@ */ package org.onap.aai.migration; +import java.util.Collections; import java.util.Iterator; import java.util.Optional; @@ -50,6 +51,8 @@ import com.att.eelf.configuration.EELFManager; /** * This class defines an A&AI Migration */ +@MigrationPriority(0) +@MigrationDangerRating(0) public abstract class Migrator implements Runnable { protected EELFLogger logger = null; @@ -59,10 +62,7 @@ public abstract class Migrator implements Runnable { protected TransactionalGraphEngine engine; protected NotificationHelper notificationHelper; - - public Migrator() { - //used for not great reflection implementation - } + /** * Instantiates a new migrator. * @@ -97,24 +97,8 @@ public abstract class Migrator implements Runnable { engine.commit(); } - /** - * Gets the priority. - * - * Lower number has higher priority - * - * @return the priority - */ - public abstract int getPriority(); /** - * The larger the number, the more danger - * - * Range is 0-10 - * - * @return danger rating - */ - public abstract int getDangerRating(); - /** * As string. * * @param v the v @@ -157,12 +141,48 @@ public abstract class Migrator implements Runnable { return result.toString(); } + + /** + * + * @param v + * @param numLeadingTabs number of leading \t char's + * @return + */ + protected String toStringForPrinting(Vertex v, int numLeadingTabs) { + String prefix = String.join("", Collections.nCopies(numLeadingTabs, "\t")); + if (v == null) { + return ""; + } + final StringBuilder sb = new StringBuilder(); + sb.append(prefix + v + "\n"); + v.properties().forEachRemaining(prop -> sb.append(prefix + prop + "\n")); + return sb.toString(); + } + + /** + * + * @param e + * @param numLeadingTabs number of leading \t char's + * @return + */ + protected String toStringForPrinting(Edge e, int numLeadingTabs) { + String prefix = String.join("", Collections.nCopies(numLeadingTabs, "\t")); + if (e == null) { + return ""; + } + final StringBuilder sb = new StringBuilder(); + sb.append(prefix + e + "\n"); + sb.append(prefix + e.label() + "\n"); + e.properties().forEachRemaining(prop -> sb.append(prefix + "\t" + prop + "\n")); + return sb.toString(); + } + /** * Checks for edge between. * - * @param vertex a - * @param vertex b - * @param direction d + * @param a a + * @param b b + * @param d d * @param edgeLabel the edge label * @return true, if successful */ @@ -179,7 +199,7 @@ public abstract class Migrator implements Runnable { /** * Creates the edge * - * @param edgeType the edge type - COUSIN or TREE + * @param type the edge type - COUSIN or TREE * @param out the out * @param in the in * @return the edge diff --git a/aai-resources/src/main/java/org/onap/aai/migration/PropertyMigrator.java b/aai-resources/src/main/java/org/onap/aai/migration/PropertyMigrator.java index c42862a..28c78ea 100644 --- a/aai-resources/src/main/java/org/onap/aai/migration/PropertyMigrator.java +++ b/aai-resources/src/main/java/org/onap/aai/migration/PropertyMigrator.java @@ -36,6 +36,8 @@ import com.thinkaurelius.titan.core.schema.TitanManagement; /** * A migration template for migrating a property from one name to another */ +@MigrationPriority(0) +@MigrationDangerRating(1) public abstract class PropertyMigrator extends Migrator { protected final String OLD_FIELD; @@ -43,15 +45,7 @@ public abstract class PropertyMigrator extends Migrator { protected final Class<?> fieldType; protected final Cardinality cardinality; protected final TitanManagement graphMgmt; - public PropertyMigrator() { - //used for not great reflection implementation - super(); - this.OLD_FIELD = null; - this.NEW_FIELD = null; - this.fieldType = null; - this.cardinality = null; - this.graphMgmt = null; - } + public PropertyMigrator(TransactionalGraphEngine engine, String oldName, String newName, Class<?> type, Cardinality cardinality) { super(engine); this.OLD_FIELD = oldName; @@ -111,17 +105,7 @@ public abstract class PropertyMigrator extends Migrator { return Status.FAILURE; } } - - @Override - public int getPriority() { - return 0; - } - @Override - public int getDangerRating() { - return 1; - } - protected Optional<PropertyKey> addProperty() { if (!graphMgmt.containsPropertyKey(this.NEW_FIELD)) { diff --git a/aai-resources/src/main/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigration.java b/aai-resources/src/main/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigration.java new file mode 100644 index 0000000..643517d --- /dev/null +++ b/aai-resources/src/main/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigration.java @@ -0,0 +1,105 @@ +/*- + * ============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.migration.v12; + +import java.util.Optional; + +import org.apache.commons.lang.exception.ExceptionUtils; +import org.apache.tinkerpop.gremlin.structure.Edge; +import org.onap.aai.migration.MigrationDangerRating; +import org.onap.aai.migration.Enabled; +import org.onap.aai.migration.MigrationPriority; +import org.onap.aai.migration.Migrator; +import org.onap.aai.migration.Status; +import org.onap.aai.serialization.db.AAIDirection; +import org.onap.aai.serialization.db.EdgeProperty; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + + + +@Enabled +@MigrationPriority(-100) +@MigrationDangerRating(10) +public class ContainmentDeleteOtherVPropertyMigration extends Migrator { + + private boolean success = true; + + public ContainmentDeleteOtherVPropertyMigration(TransactionalGraphEngine engine) { + super(engine); + } + + //just for testing using test edge rule files + public ContainmentDeleteOtherVPropertyMigration(TransactionalGraphEngine engine, String edgeRulesFile) { + super(engine); + } + + @Override + public void run() { + try { + engine.asAdmin().getTraversalSource().E().sideEffect(t -> { + Edge e = t.get(); + logger.info("out vertex: " + e.outVertex().property("aai-node-type").value() + + " in vertex: " + e.inVertex().property("aai-node-type").value() + + " label : " + e.label()); + if (e.property(EdgeProperty.CONTAINS.toString()).isPresent() && + e.property(EdgeProperty.DELETE_OTHER_V.toString()).isPresent()) { + //in case of orphans + if (!("constrained-element-set".equals(e.inVertex().property("aai-node-type").value()) + && "model-element".equals(e.outVertex().property("aai-node-type").value()))) { + //skip the weird horrible problem child edge + String containment = (String) e.property(EdgeProperty.CONTAINS.toString()).value(); + if (AAIDirection.OUT.toString().equalsIgnoreCase(containment) || + AAIDirection.IN.toString().equalsIgnoreCase(containment) || + AAIDirection.BOTH.toString().equalsIgnoreCase(containment)) { + logger.info("updating delete-other-v property"); + e.property(EdgeProperty.DELETE_OTHER_V.toString(), containment); + } + } + } + }).iterate(); + } catch (Exception e) { + logger.info("error encountered " + e.getClass() + " " + e.getMessage() + " " + ExceptionUtils.getFullStackTrace(e)); + logger.error("error encountered " + e.getClass() + " " + e.getMessage() + " " + ExceptionUtils.getFullStackTrace(e)); + success = false; + } + + } + + @Override + public Status getStatus() { + if (success) { + return Status.SUCCESS; + } else { + return Status.FAILURE; + } + } + + @Override + public Optional<String[]> getAffectedNodeTypes() { + return Optional.empty(); + } + + @Override + public String getMigrationName() { + return "migrate-containment-delete-other-v"; + } + +} diff --git a/aai-resources/src/main/java/org/onap/aai/migration/v12/EdgeReportForToscaMigration.java b/aai-resources/src/main/java/org/onap/aai/migration/v12/EdgeReportForToscaMigration.java new file mode 100644 index 0000000..859e52f --- /dev/null +++ b/aai-resources/src/main/java/org/onap/aai/migration/v12/EdgeReportForToscaMigration.java @@ -0,0 +1,142 @@ +package org.onap.aai.migration.v12; +/*- + * ============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========================================================= + */ + + +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.structure.Edge; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.onap.aai.migration.*; +import org.onap.aai.serialization.db.EdgeRules; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import java.util.*; + +@Enabled +@MigrationPriority(0) +@MigrationDangerRating(0) +public class EdgeReportForToscaMigration extends Migrator { + + private boolean success = true; + EdgeRules ers = EdgeRules.getInstance(); + + public EdgeReportForToscaMigration(TransactionalGraphEngine graphEngine){ + super(graphEngine); + } + + @Override + public Status getStatus() { + if (success) { + return Status.SUCCESS; + } else { + return Status.FAILURE; + } + } + + @Override + public void run() { + Vertex out = null; + Vertex in = null; + String label = ""; + String outURI = ""; + String inURI = ""; + String parentCousinIndicator = "NONE"; + String oldEdgeString = null; + List<String> edgeMissingParentProperty = new ArrayList<>(); + StringBuilder sb = new StringBuilder(); + Set<String> noURI = new HashSet<>(); + sb.append("----------EDGES----------\n"); + + GraphTraversalSource g = engine.asAdmin().getTraversalSource(); + + try { + Set<Edge> edges = g.E().toSet(); + for (Edge edge : edges) { + out = edge.outVertex(); + in = edge.inVertex(); + label = edge.label(); + outURI = this.getVertexURI(out); + inURI = this.getVertexURI(in); + parentCousinIndicator = "NONE"; + oldEdgeString = this.toStringForPrinting(edge, 1); + + if (!outURI.startsWith("/")) { + noURI.add(outURI); + } + if (!inURI.startsWith("/")) { + noURI.add(inURI); + } + + if (out == null || in == null) { + logger.error(edge.id() + " invalid because one vertex was null: out=" + edge.outVertex() + " in=" + edge.inVertex()); + } else { + + if (edge.property("contains-other-v").isPresent()) { + parentCousinIndicator = edge.property("contains-other-v").value().toString(); + } else if (edge.property("isParent").isPresent()) { + if ((Boolean)edge.property("isParent").value()) { + parentCousinIndicator = "OUT"; + } else if (edge.property("isParent-REV").isPresent() && (Boolean)edge.property("isParent-REV").value()) { + parentCousinIndicator = "IN"; + } + } else { + edgeMissingParentProperty.add(this.toStringForPrinting(edge, 1)); + } + + sb.append(outURI + "|" + label + "|" + inURI + "|" + parentCousinIndicator + "\n"); + } + } + } catch(Exception ex){ + logger.error("exception occurred during migration, failing: out=" + out + " in=" + in + "edge=" + oldEdgeString, ex); + success = false; + } + sb.append("--------EDGES END--------\n"); + + logger.info(sb.toString()); + edgeMissingParentProperty.forEach(s -> logger.warn("Edge Missing Parent Property: " + s)); + logger.info("Edge Missing Parent Property Count: " + edgeMissingParentProperty.size()); + logger.info("Vertex Missing URI Property Count: " + noURI.size()); + + } + + private String getVertexURI(Vertex v) { + if (v.property("aai-uri").isPresent()) { + return v.property("aai-uri").value().toString(); + } else { + return v.id().toString() + "(" + v.property("aai-node-type").value().toString() + ")"; + } + } + + @Override + public Optional<String[]> getAffectedNodeTypes() { + return Optional.empty(); + } + + @Override + public String getMigrationName() { + return "edge-report-for-tosca-migration"; + } + + @Override + public void commit() { + engine.rollback(); + } + +} diff --git a/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfiguration.java b/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfiguration.java new file mode 100644 index 0000000..5185db3 --- /dev/null +++ b/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfiguration.java @@ -0,0 +1,107 @@ +package org.onap.aai.migration.v12; + +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.onap.aai.db.props.AAIProperties; +import org.onap.aai.migration.*; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; +import org.onap.aai.util.AAIConstants; + +import java.io.*; +import java.util.Optional; + +@MigrationPriority(20) +@MigrationDangerRating(2) +@Enabled +public class MigrateDataFromASDCToConfiguration extends Migrator { + private final String PARENT_NODE_TYPE = "generic-vnf"; + private boolean success = true; + private String entitlementPoolUuid = ""; + private String VNT = ""; + + + public MigrateDataFromASDCToConfiguration(TransactionalGraphEngine engine) { + super(engine); + } + + + @Override + public void run() { + String csvFile = AAIConstants.AAI_HOME_ETC + "VNT-migration-data" + AAIConstants.AAI_FILESEP + "VNT-migration-input.csv"; + logger.info("Reading Csv file: " + csvFile); + BufferedReader br = null; + String line = ""; + String cvsSplitBy = "\t"; + try { + + br = new BufferedReader(new FileReader(new File(csvFile))); + while ((line = br.readLine()) != null) { + line = line.replaceAll("\"", ""); + String[] temp = line.split(cvsSplitBy); + if ("entitlement-pool-uuid".equals(temp[0]) || "vendor-allowed-max-bandwidth (VNT)".equals(temp[1])) { + continue; + } + entitlementPoolUuid = temp[0]; + VNT = temp[1]; + GraphTraversal<Vertex, Vertex> f = this.engine.asAdmin().getTraversalSource().V().has(AAIProperties.NODE_TYPE, "entitlement").has("group-uuid", entitlementPoolUuid) + .out("org.onap.relationships.inventory.BelongsTo").has(AAIProperties.NODE_TYPE, "generic-vnf") + .has("vnf-type", "vHNF").in("org.onap.relationships.inventory.ComposedOf").has(AAIProperties.NODE_TYPE, "service-instance").out("org.onap.relationships.inventory.Uses").has(AAIProperties.NODE_TYPE, "configuration"); + + modify(f); + } + + } catch (FileNotFoundException e) { + success = false; + logger.error("Found Exception" , e); + } catch (IOException e) { + success = false; + logger.error("Found Exception" , e); + } catch (Exception a) { + success= false; + logger.error("Found Exception" , a); + } finally { + try { + br.close(); + } catch (IOException e) { + success = false; + logger.error("Found Exception" , e); + } + } + + } + + public void modify(GraphTraversal<Vertex, Vertex> g) { + int count = 0; + while (g.hasNext()) { + Vertex v = g.next(); + logger.info("Found node type " + v.property("aai-node-type").value().toString() + " with configuration id: " + v.property("configuration-id").value().toString()); + v.property("vendor-allowed-max-bandwidth", VNT); + logger.info("VNT val after migration: " + v.property("vendor-allowed-max-bandwidth").value().toString()); + count++; + } + + logger.info("modified " + count + " configuration nodes related to Entitlement UUID: " +entitlementPoolUuid); + + } + + @Override + public Status getStatus() { + if (success) { + return Status.SUCCESS; + } else { + return Status.FAILURE; + } + } + + @Override + public Optional<String[]> getAffectedNodeTypes() { + return Optional.of(new String[]{PARENT_NODE_TYPE}); + } + + @Override + public String getMigrationName() { + return "MigrateDataFromASDCToConfiguration"; + } + + +} diff --git a/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfiguration.java b/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfiguration.java new file mode 100644 index 0000000..f36fb2d --- /dev/null +++ b/aai-resources/src/main/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfiguration.java @@ -0,0 +1,171 @@ +package org.onap.aai.migration.v12; + +import java.io.UnsupportedEncodingException; +import java.util.Iterator; +import java.util.Optional; +import java.util.UUID; + +import org.apache.tinkerpop.gremlin.process.traversal.P; +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal; +import org.apache.tinkerpop.gremlin.structure.Direction; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.onap.aai.db.props.AAIProperties; +import org.onap.aai.exceptions.AAIException; +import org.onap.aai.introspection.Introspector; +import org.onap.aai.introspection.exceptions.AAIUnknownObjectException; +import org.onap.aai.migration.Enabled; +import org.onap.aai.migration.MigrationDangerRating; +import org.onap.aai.migration.MigrationPriority; +import org.onap.aai.migration.Migrator; +import org.onap.aai.migration.Status; +import org.onap.aai.serialization.db.EdgeType; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +@Enabled +@MigrationPriority(10) +@MigrationDangerRating(10) +public class MigrateServiceInstanceToConfiguration extends Migrator { + + private boolean success = true; + private final String CONFIGURATION_NODE_TYPE = "configuration"; + private final String SERVICE_INSTANCE_NODE_TYPE = "service-instance"; + private Introspector configObj; + + public MigrateServiceInstanceToConfiguration(TransactionalGraphEngine engine) { + super(engine); + try { + this.configObj = this.loader.introspectorFromName(CONFIGURATION_NODE_TYPE); + } catch (AAIUnknownObjectException e) { + this.configObj = null; + } + } + + @Override + public void run() { + Vertex serviceInstance = null; + Vertex configuration = null; + String serviceInstanceId = "", tunnelBandwidth = ""; + String bandwidthTotal, configType, nodeType; + GraphTraversal<Vertex, Vertex> serviceInstanceItr; + Iterator<Vertex> configurationItr; + + try { + serviceInstanceItr = this.engine.asAdmin().getTraversalSource().V() + .has(AAIProperties.NODE_TYPE, P.within(getAffectedNodeTypes().get())) + .where(this.engine.getQueryBuilder() + .createEdgeTraversal(EdgeType.TREE, "service-instance", "service-subscription") + .getVerticesByProperty("service-type", "DHV") + .<GraphTraversal<?, ?>>getQuery()); + + if (serviceInstanceItr == null || !serviceInstanceItr.hasNext()) { + logger.info("No servince-instance nodes found with service-type of DHV"); + return; + } + + // iterate through all service instances of service-type DHV + while (serviceInstanceItr.hasNext()) { + serviceInstance = serviceInstanceItr.next(); + + if (serviceInstance != null && serviceInstance.property("bandwidth-total").isPresent()) { + serviceInstanceId = serviceInstance.value("service-instance-id"); + logger.info("Processing service instance with id=" + serviceInstanceId); + bandwidthTotal = serviceInstance.value("bandwidth-total"); + + if (bandwidthTotal != null && !bandwidthTotal.isEmpty()) { + + // check for existing edges to configuration nodes + configurationItr = serviceInstance.vertices(Direction.OUT, "has"); + + // create new configuration node if service-instance does not have existing ones + if (!configurationItr.hasNext()) { + logger.info(serviceInstanceId + " has no existing configuration nodes, creating new node"); + createConfigurationNode(serviceInstance, bandwidthTotal); + continue; + } + + // in case if configuration nodes exist, but none are DHV + boolean hasDHVConfig = false; + + // service-instance has existing configuration nodes + while (configurationItr.hasNext()) { + configuration = configurationItr.next(); + nodeType = configuration.value("aai-node-type").toString(); + + if (configuration != null && "configuration".equalsIgnoreCase(nodeType)) { + logger.info("Processing configuration node with id=" + configuration.property("configuration-id").value()); + configType = configuration.value("configuration-type"); + logger.info("Configuration type: " + configType); + + // if configuration-type is DHV, update tunnel-bandwidth to bandwidth-total value + if ("DHV".equalsIgnoreCase(configType)) { + if (configuration.property("tunnel-bandwidth").isPresent()) { + tunnelBandwidth = configuration.value("tunnel-bandwidth"); + } else { + tunnelBandwidth = ""; + } + + logger.info("Existing tunnel-bandwidth: " + tunnelBandwidth); + configuration.property("tunnel-bandwidth", bandwidthTotal); + touchVertexProperties(configuration, false); + logger.info("Updated tunnel-bandwidth: " + configuration.value("tunnel-bandwidth")); + hasDHVConfig = true; + } + } + } + + // create new configuration node if none of existing config nodes are of type DHV + if (!hasDHVConfig) { + logger.info(serviceInstanceId + " has existing configuration nodes, but none are DHV, create new node"); + createConfigurationNode(serviceInstance, bandwidthTotal); + } + } + } + } + } catch (AAIException | UnsupportedEncodingException e) { + logger.error("Caught exception while processing service instance with id=" + serviceInstanceId + " | " + e.toString()); + success = false; + } + } + + private void createConfigurationNode(Vertex serviceInstance, String bandwidthTotal) throws UnsupportedEncodingException, AAIException { + // create new vertex + Vertex configurationNode = serializer.createNewVertex(configObj); + + // configuration-id: UUID format + String configurationUUID = UUID.randomUUID().toString(); + configObj.setValue("configuration-id", configurationUUID); + + // configuration-type: DHV + configObj.setValue("configuration-type", "DHV"); + + // migrate the bandwidth-total property from the service-instance to the + // tunnel-bandwidth property of the related configuration object + configObj.setValue("tunnel-bandwidth", bandwidthTotal); + + // create edge between service instance and configuration: cousinEdge(out, in) + createCousinEdge(serviceInstance, configurationNode); + + // serialize edge & vertex, takes care of everything + serializer.serializeSingleVertex(configurationNode, configObj, "migrations"); + logger.info("Created configuration node with uuid=" + configurationUUID + ", tunnel-bandwidth=" + bandwidthTotal); + } + + @Override + public Status getStatus() { + if (success) { + return Status.SUCCESS; + } else { + return Status.FAILURE; + } + } + + @Override + public Optional<String[]> getAffectedNodeTypes() { + return Optional.of(new String[] {SERVICE_INSTANCE_NODE_TYPE}); + } + + @Override + public String getMigrationName() { + return "service-instance-to-configuration"; + } +} diff --git a/aai-resources/src/main/java/org/onap/aai/migration/v12/ToscaMigration.java b/aai-resources/src/main/java/org/onap/aai/migration/v12/ToscaMigration.java new file mode 100644 index 0000000..274f1b6 --- /dev/null +++ b/aai-resources/src/main/java/org/onap/aai/migration/v12/ToscaMigration.java @@ -0,0 +1,160 @@ +package org.onap.aai.migration.v12; +/*- + * ============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========================================================= + */ + + +import java.util.*; + +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.structure.Edge; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.onap.aai.db.props.AAIProperties; +import org.onap.aai.migration.Enabled; +import org.onap.aai.migration.MigrationDangerRating; +import org.onap.aai.migration.MigrationPriority; +import org.onap.aai.migration.Migrator; +import org.onap.aai.migration.Status; +import org.onap.aai.serialization.db.*; +import org.onap.aai.serialization.db.exceptions.EdgeMultiplicityException; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +@Enabled + +@MigrationPriority(0) +@MigrationDangerRating(1000) +public class ToscaMigration extends Migrator { + + private boolean success = true; + EdgeRules ers = EdgeRules.getInstance(); + + public ToscaMigration(TransactionalGraphEngine graphEngine){ + super(graphEngine); + } + + @Override + public Status getStatus() { + if (success) { + return Status.SUCCESS; + } else { + return Status.FAILURE; + } + } + + @Override + public void run() { + Vertex out = null; + Vertex in = null; + boolean isCousin = false; + String oldEdgeString = null; + Map<String,Integer> edgeMultiplicityExceptionCtr = new HashMap<>(); + List<String> edgeMissingParentProperty = new ArrayList<>(); + + GraphTraversalSource g = engine.asAdmin().getTraversalSource(); + + try { + Set<Edge> edges = g.E().toSet(); + for (Edge edge : edges) { + // skip if this edge was migrated in a previous run + if (edge.label().contains("org.") || edge.label().contains("tosca.")) { + continue; + } + out = edge.outVertex(); + in = edge.inVertex(); + isCousin = false; + + if (out == null || in == null) { + logger.error(edge.id() + " invalid because one vertex was null: out=" + edge.outVertex() + " in=" + edge.inVertex()); + } else { + + if (edge.property("contains-other-v").isPresent()) { + isCousin = "NONE".equals(edge.property("contains-other-v").value()); + } else if (edge.property("isParent").isPresent()) { + isCousin = !(Boolean)edge.property("isParent").value(); + } else { + edgeMissingParentProperty.add(this.toStringForPrinting(edge, 1)); + } + + String inVertexNodeType = in.value(AAIProperties.NODE_TYPE); + String outVertexNodeType = out.value(AAIProperties.NODE_TYPE); + String label = null; + + + Set<String> edgeLabels = ers.getEdgeRules(outVertexNodeType,inVertexNodeType).keySet(); + + if (edgeLabels.isEmpty()) { + logger.error(edge.id() + " did not migrate as no edge rule found for: out=" + outVertexNodeType + " in=" + inVertexNodeType); + continue; + } else if (edgeLabels.size() > 1) { + if (edgeLabels.contains("org.onap.relationships.inventory.Source")) { + if ("sourceLInterface".equals(edge.label())) { + label = "org.onap.relationships.inventory.Source"; + } else if ("targetLInterface".equals(edge.label())) { + label = "org.onap.relationships.inventory.Destination"; + } else { + label = "tosca.relationships.network.LinksTo"; + } + } + } + + try { + if (isCousin) { + ers.addEdgeIfPossible(g, in, out, label); + } else { + ers.addTreeEdge(g, out, in); + } + edge.remove(); + } catch (EdgeMultiplicityException edgeMultiplicityException) { + logger.warn("Edge Multiplicity Exception: " + + "\nInV:\n" + this.toStringForPrinting(in, 1) + + "Edge:\n" + this.toStringForPrinting(edge, 1) + + "OutV:\n" + this.toStringForPrinting(out, 1) + ); + + final String mapKey = "OUT:" + outVertexNodeType + " " + (isCousin ? EdgeType.COUSIN.toString():EdgeType.TREE.toString()) + " " + "IN:" + inVertexNodeType; + if (edgeMultiplicityExceptionCtr.containsKey(mapKey)) { + edgeMultiplicityExceptionCtr.put(mapKey, edgeMultiplicityExceptionCtr.get(mapKey)+1); + } else { + edgeMultiplicityExceptionCtr.put(mapKey, 1); + } + } + } + } + } catch(Exception ex){ + logger.error("exception occurred during migration, failing: out=" + out + " in=" + in + "edge=" + oldEdgeString, ex); + success = false; + } + + logger.info("Edge Missing Parent Property Count: " + edgeMissingParentProperty.size()); + logger.info("Edge Multiplicity Exception Count : " + edgeMultiplicityExceptionCtr.values().stream().mapToInt(Number::intValue).sum()); + logger.info("Edge Multiplicity Exception Breakdown : " + edgeMultiplicityExceptionCtr); + + } + + @Override + public Optional<String[]> getAffectedNodeTypes() { + return Optional.empty(); + } + + @Override + public String getMigrationName() { + return "migrate-all-edges"; + } + +} diff --git a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java index e03c7fd..51f919e 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java @@ -53,6 +53,7 @@ import org.onap.aai.introspection.ModelType; import org.onap.aai.introspection.Version; import org.onap.aai.introspection.exceptions.AAIUnmarshallingException; import org.onap.aai.logging.ErrorObjectNotFoundException; +import org.onap.aai.logging.LoggingContext; import org.onap.aai.parsers.query.QueryParser; import org.onap.aai.rest.bulk.BulkOperation; import org.onap.aai.rest.bulk.BulkOperationResponse; @@ -94,6 +95,7 @@ public abstract class BulkConsumer extends RESTAPI { private static final String BULK_PATCH_METHOD = "patch"; private static final String BULK_DELETE_METHOD = "delete"; private static final String BULK_PUT_METHOD = "put"; + private static final String TARGET_ENTITY = "aai-resources"; /** The introspector factory type. */ private ModelType introspectorFactoryType = ModelType.MOXY; @@ -122,18 +124,26 @@ public abstract class BulkConsumer extends RESTAPI { String realTime = headers.getRequestHeaders().getFirst("Real-Time"); String outputMediaType = getMediaType(headers.getAcceptableMediaTypes()); Version version = Version.valueOf(versionParam); - Response response = null; - - /* A Response will be generated for each object in each transaction. - * To keep track of what came from where to give organized feedback to the client, - * we keep responses from a given transaction together in one list (hence all being a list of lists) - * and BulkOperationResponse each response with its matching URI (which will be null if there wasn't one). - */ - List<List<BulkOperationResponse>> allResponses = new ArrayList<>(); + try { - DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime); - + DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime); + + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); + + + /* A Response will be generated for each object in each transaction. + * To keep track of what came from where to give organized feedback to the client, + * we keep responses from a given transaction together in one list (hence all being a list of lists) + * and BulkOperationResponse each response with its matching URI (which will be null if there wasn't one). + */ + List<List<BulkOperationResponse>> allResponses = new ArrayList<>(); + JsonArray transactions = getTransactions(content, headers); for (int i = 0; i < transactions.size(); i++){ @@ -150,7 +160,7 @@ public abstract class BulkConsumer extends RESTAPI { throw new AAIException("AAI_6111", "input payload does not follow bulk interface"); } - fillBulkOperationObjectFromTransaction(bulkOperations, transObj.getAsJsonObject(), loader, dbEngine, outputMediaType); + fillBulkOperationsObjectFromTransaction(bulkOperations, transObj.getAsJsonObject(), loader, dbEngine, outputMediaType); if (bulkOperations.isEmpty()) { //case where user sends a validly formatted transactions object but //which has no actual things in it for A&AI to do anything with @@ -183,7 +193,7 @@ public abstract class BulkConsumer extends RESTAPI { if (!bulkOperations.isEmpty()) { //failed somewhere in the middle of bulkOperation-filling BulkOperation lastBulkOperation = bulkOperations.get(bulkOperations.size()-1); //last one in there was the problem if (lastBulkOperation.getIntrospector() == null){ - //failed out before thisUri could be set but after bulkOperation started being filled + //failed out before thisUri could be set but after bulkOperations started being filled thisUri = lastBulkOperation.getUri(); method = lastBulkOperation.getHttpMethod(); } @@ -262,7 +272,7 @@ public abstract class BulkConsumer extends RESTAPI { /** * Fill object bulkOperations from transaction. * - * @param bulkOperations the bulk Operations + * @param bulkOperations the bulkOperations * @param transaction - JSON body containing the objects to be added * each object must have a URI and an object body * @param loader the loader @@ -274,9 +284,9 @@ public abstract class BulkConsumer extends RESTAPI { * @throws UnsupportedEncodingException Walks through the given transaction and unmarshals each object in it, then bundles each * with its URI. */ - private void fillBulkOperationObjectFromTransaction(List<BulkOperation> bulkOperations, + private void fillBulkOperationsObjectFromTransaction(List<BulkOperation> bulkOperations, JsonObject transaction, Loader loader, TransactionalGraphEngine dbEngine, String inputMediaType) - throws AAIException,UnsupportedEncodingException { + throws AAIException, JsonSyntaxException, UnsupportedEncodingException { if (transaction.has(BULK_PUT_METHOD) && this.functionAllowed(HttpMethod.PUT)) { @@ -416,7 +426,7 @@ public abstract class BulkConsumer extends RESTAPI { } } catch (AAIException e) { - // even if bulkOperations doesn't have a uri or body, this way we keep all information associated with this error together + // even if bulkOperation doesn't have a uri or body, this way we keep all information associated with this error together // even if both are null, that indicates how the input was messed up, so still useful to carry around like this bulkOperations.add(bulkOperation); throw e; //rethrow so the right response is generated on the level above diff --git a/aai-resources/src/main/java/org/onap/aai/rest/BulkProcessConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/BulkProcessConsumer.java index bffeac3..d82abd4 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/BulkProcessConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/BulkProcessConsumer.java @@ -25,7 +25,7 @@ import javax.ws.rs.Path; import org.onap.aai.restcore.HttpMethod; -@Path("{version: v[2789]|v1[012]}/bulkprocess") +@Path("{version: v[789]|v1[012]}/bulkprocess") public class BulkProcessConsumer extends BulkConsumer { @Override diff --git a/aai-resources/src/main/java/org/onap/aai/rest/ExampleConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/ExampleConsumer.java index e99d68e..497eeb9 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/ExampleConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/ExampleConsumer.java @@ -47,7 +47,7 @@ import org.onap.aai.restcore.RESTAPI; /** * The Class ExampleConsumer. */ -@Path("/{version: v[2789]|v1[012]}/examples") +@Path("/{version: v[789]|v1[012]}/examples") public class ExampleConsumer extends RESTAPI { diff --git a/aai-resources/src/main/java/org/onap/aai/rest/LegacyMoxyConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/LegacyMoxyConsumer.java index b4c3593..15d8296 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/LegacyMoxyConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/LegacyMoxyConsumer.java @@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; +import java.util.concurrent.Callable; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; @@ -55,6 +56,7 @@ import org.onap.aai.introspection.Introspector; import org.onap.aai.introspection.Loader; import org.onap.aai.introspection.ModelType; import org.onap.aai.introspection.Version; +import org.onap.aai.logging.LoggingContext; import org.onap.aai.parsers.query.QueryParser; import org.onap.aai.rest.db.DBRequest; import org.onap.aai.rest.db.HttpEntry; @@ -64,6 +66,7 @@ import org.onap.aai.restcore.HttpMethod; import org.onap.aai.restcore.RESTAPI; import org.onap.aai.serialization.engines.QueryStyle; import org.onap.aai.serialization.engines.TransactionalGraphEngine; +import org.onap.aai.util.AAIConstants; import org.onap.aai.workarounds.RemoveDME2QueryParams; import com.att.eelf.configuration.EELFLogger; @@ -74,14 +77,14 @@ import com.google.common.base.Joiner; /** * The Class LegacyMoxyConsumer. */ -@Path("{version: v[2789]|v1[012]}") +@Path("{version: v[789]|v1[012]}") public class LegacyMoxyConsumer extends RESTAPI { private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(LegacyMoxyConsumer.class.getName()); protected static String authPolicyFunctionName = "REST"; private ModelType introspectorFactoryType = ModelType.MOXY; private QueryStyle queryStyle = QueryStyle.TRAVERSAL; - + private final static String TARGET_ENTITY = "aai-resources"; /** * Update. * @@ -98,12 +101,17 @@ public class LegacyMoxyConsumer extends RESTAPI { @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public Response update (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { - + String serviceName = "PUT " + uri.toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.serviceName(serviceName); + LoggingContext.targetServiceName(serviceName); MediaType mediaType = headers.getMediaType(); - return this.handleWrites(mediaType, HttpMethod.PUT, content, versionParam, uri, headers, info); } - + /** * Update relationship. * @@ -120,7 +128,7 @@ public class LegacyMoxyConsumer extends RESTAPI { @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public Response updateRelationship (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { - + String sourceOfTruth = headers.getRequestHeaders().getFirst("X-FromAppId"); String transId = headers.getRequestHeaders().getFirst("X-TransactionId"); String realTime = headers.getRequestHeaders().getFirst("Real-Time"); @@ -130,6 +138,17 @@ public class LegacyMoxyConsumer extends RESTAPI { TransactionalGraphEngine dbEngine = null; boolean success = true; + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); + try { validateRequest(info); Version version = Version.valueOf(versionParam); @@ -138,19 +157,19 @@ public class LegacyMoxyConsumer extends RESTAPI { HttpEntry httpEntry = new HttpEntry(version, introspectorFactoryType, queryStyle, type); loader = httpEntry.getLoader(); dbEngine = httpEntry.getDbEngine(); - + URI uriObject = UriBuilder.fromPath(uri).build(); this.validateURI(uriObject); QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject); - + Introspector wrappedEntity = loader.unmarshal("relationship", content, org.onap.aai.restcore.MediaType.getEnum(this.getInputMediaType(inputMediaType))); - + DBRequest request = new DBRequest.Builder(HttpMethod.PUT_EDGE, uriObject, uriQuery, wrappedEntity, headers, info, transId).build(); List<DBRequest> requests = new ArrayList<>(); requests.add(request); Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(requests, sourceOfTruth); - + response = responsesTuple.getValue1().get(0).getValue1(); success = responsesTuple.getValue0(); @@ -166,13 +185,12 @@ public class LegacyMoxyConsumer extends RESTAPI { if (success) { dbEngine.commit(); } else { - LOGGER.warn("Rolling back Titan transaction"); dbEngine.rollback(); } } } - + return response; } @@ -192,11 +210,17 @@ public class LegacyMoxyConsumer extends RESTAPI { @Consumes({ "application/merge-patch+json" }) @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public Response patch (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { - + MediaType mediaType = MediaType.APPLICATION_JSON_TYPE; - + String serviceName = "PATCH " + uri.toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.serviceName(serviceName); + LoggingContext.targetServiceName(serviceName); return this.handleWrites(mediaType, HttpMethod.MERGE_PATCH, content, versionParam, uri, headers, info); - + } /** @@ -217,8 +241,19 @@ public class LegacyMoxyConsumer extends RESTAPI { @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public Response getLegacy (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @DefaultValue("all") @QueryParam("depth") String depthParam, @DefaultValue("false") @QueryParam("cleanup") String cleanUp, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { - - return this.getLegacy(content, versionParam, uri, depthParam, cleanUp, headers, info, req, new HashSet<String>()); + return runner(AAIConstants.AAI_CRUD_TIMEOUT_ENABLED, + AAIConstants.AAI_CRUD_TIMEOUT_APP, + AAIConstants.AAI_CRUD_TIMEOUT_LIMIT, + headers, + info, + HttpMethod.GET, + new Callable<Response>() { + @Override + public Response call() { + return getLegacy(content, versionParam, uri, depthParam, cleanUp, headers, info, req, new HashSet<String>()); + } + } + ); } /** @@ -243,6 +278,17 @@ public class LegacyMoxyConsumer extends RESTAPI { TransactionalGraphEngine dbEngine = null; Loader loader = null; + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); + try { validateRequest(info); Version version = Version.valueOf(versionParam); @@ -289,7 +335,7 @@ public class LegacyMoxyConsumer extends RESTAPI { response = consumerExceptionResponseGenerator(headers, info, HttpMethod.GET, e); } catch (Exception e ) { AAIException ex = new AAIException("AAI_4000", e); - + response = consumerExceptionResponseGenerator(headers, info, HttpMethod.GET, ex); } finally { if (dbEngine != null) { @@ -300,7 +346,7 @@ public class LegacyMoxyConsumer extends RESTAPI { } } } - + return response; } /** @@ -318,17 +364,27 @@ public class LegacyMoxyConsumer extends RESTAPI { @Path("/{uri: .+}") @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) public Response delete (@PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @QueryParam("resource-version")String resourceVersion, @Context HttpServletRequest req) { - - + + String outputMediaType = getMediaType(headers.getAcceptableMediaTypes()); String sourceOfTruth = headers.getRequestHeaders().getFirst("X-FromAppId"); String transId = headers.getRequestHeaders().getFirst("X-TransactionId"); String realTime = headers.getRequestHeaders().getFirst("Real-Time"); + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); TransactionalGraphEngine dbEngine = null; Response response = Response.status(404) .type(outputMediaType).build(); - + boolean success = true; try { @@ -337,7 +393,7 @@ public class LegacyMoxyConsumer extends RESTAPI { Version version = Version.valueOf(versionParam); DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime); HttpEntry httpEntry = new HttpEntry(version, introspectorFactoryType, queryStyle, type); - + dbEngine = httpEntry.getDbEngine(); Loader loader = httpEntry.getLoader(); @@ -351,7 +407,7 @@ public class LegacyMoxyConsumer extends RESTAPI { List<DBRequest> requests = new ArrayList<>(); requests.add(request); Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(requests, sourceOfTruth); - + response = responsesTuple.getValue1().get(0).getValue1(); success = responsesTuple.getValue0(); @@ -367,15 +423,14 @@ public class LegacyMoxyConsumer extends RESTAPI { if (success) { dbEngine.commit(); } else { - LOGGER.warn("Rolling back Titan transaction"); dbEngine.rollback(); } } } - + return response; } - + /** * This whole method does nothing because the body is being dropped while fielding the request. * @@ -391,8 +446,8 @@ public class LegacyMoxyConsumer extends RESTAPI { @Path("/{uri: .+}/relationship-list/relationship") @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) - public Response deleteRelationship (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { - + public Response deleteRelationship (String content, @PathParam("version")String versionParam, @PathParam("uri") @Encoded String uri, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { + MediaType inputMediaType = headers.getMediaType(); String outputMediaType = getMediaType(headers.getAcceptableMediaTypes()); @@ -400,11 +455,22 @@ public class LegacyMoxyConsumer extends RESTAPI { String transId = headers.getRequestHeaders().getFirst("X-TransactionId"); String realTime = headers.getRequestHeaders().getFirst("Real-Time"); + String serviceName = req.getMethod() + " " + req.getRequestURI().toString(); + String queryStr = req.getQueryString(); + if ( queryStr != null ) { + serviceName = serviceName + "?" + queryStr; + } + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.serviceName(serviceName); + LoggingContext.targetEntity(TARGET_ENTITY); + LoggingContext.targetServiceName(serviceName); + Loader loader = null; TransactionalGraphEngine dbEngine = null; Response response = Response.status(404) .type(outputMediaType).build(); - + boolean success = true; try { @@ -414,7 +480,7 @@ public class LegacyMoxyConsumer extends RESTAPI { HttpEntry httpEntry = new HttpEntry(version, introspectorFactoryType, queryStyle, type); loader = httpEntry.getLoader(); dbEngine = httpEntry.getDbEngine(); - + if (content.equals("")) { throw new AAIException("AAI_3102", "You must supply a relationship"); } @@ -422,14 +488,14 @@ public class LegacyMoxyConsumer extends RESTAPI { this.validateURI(uriObject); QueryParser uriQuery = dbEngine.getQueryBuilder().createQueryFromURI(uriObject); - + Introspector wrappedEntity = loader.unmarshal("relationship", content, org.onap.aai.restcore.MediaType.getEnum(this.getInputMediaType(inputMediaType))); DBRequest request = new DBRequest.Builder(HttpMethod.DELETE_EDGE, uriObject, uriQuery, wrappedEntity, headers, info, transId).build(); List<DBRequest> requests = new ArrayList<>(); requests.add(request); Pair<Boolean, List<Pair<URI, Response>>> responsesTuple = httpEntry.process(requests, sourceOfTruth); - + response = responsesTuple.getValue1().get(0).getValue1(); success = responsesTuple.getValue0(); } catch (AAIException e) { @@ -444,22 +510,17 @@ public class LegacyMoxyConsumer extends RESTAPI { if (success) { dbEngine.commit(); } else { - LOGGER.warn("Rolling back Titan transaction"); dbEngine.rollback(); } } } - + return response; } /** * Validate request. * - * @param uri the uri - * @param headers the headers - * @param req the req - * @param action the action * @param info the info * @throws AAIException the AAI exception * @throws UnsupportedEncodingException the unsupported encoding exception @@ -499,7 +560,6 @@ public class LegacyMoxyConsumer extends RESTAPI { /** * Handle writes. * - * @param aaiAction the aai action * @param mediaType the media type * @param method the method * @param content the content @@ -507,11 +567,10 @@ public class LegacyMoxyConsumer extends RESTAPI { * @param uri the uri * @param headers the headers * @param info the info - * @param req the req * @return the response */ private Response handleWrites(MediaType mediaType, HttpMethod method, String content, String versionParam, String uri, HttpHeaders headers, UriInfo info) { - + Response response = null; TransactionalGraphEngine dbEngine = null; Loader loader = null; @@ -521,6 +580,11 @@ public class LegacyMoxyConsumer extends RESTAPI { String realTime = headers.getRequestHeaders().getFirst("Real-Time"); Boolean success = true; + //LoggingContext service name and target service name set in calling method + LoggingContext.requestId(transId); + LoggingContext.partnerName(sourceOfTruth); + LoggingContext.targetEntity(TARGET_ENTITY); + try { validateRequest(info); @@ -572,7 +636,6 @@ public class LegacyMoxyConsumer extends RESTAPI { if (success) { dbEngine.commit(); } else { - LOGGER.warn("Rolling back Titan transaction"); dbEngine.rollback(); } } diff --git a/aai-resources/src/main/java/org/onap/aai/rest/URLFromVertexIdConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/URLFromVertexIdConsumer.java index f9a48d9..66677c2 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/URLFromVertexIdConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/URLFromVertexIdConsumer.java @@ -8,7 +8,7 @@ * 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, @@ -19,6 +19,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ + package org.onap.aai.rest; import java.net.URI; @@ -55,7 +56,7 @@ import org.onap.aai.workarounds.LegacyURITransformer; /** * The Class URLFromVertexIdConsumer. */ -@Path("{version: v[2789]|v1[012]}/generateurl") +@Path("{version: v[789]|v1[012]}/generateurl") public class URLFromVertexIdConsumer extends RESTAPI { private ModelType introspectorFactoryType = ModelType.MOXY; private QueryStyle queryStyle = QueryStyle.TRAVERSAL; @@ -73,6 +74,7 @@ public class URLFromVertexIdConsumer extends RESTAPI { * @param req the req * @return the response */ + @GET @Path(ID_ENDPOINT) @Produces({ MediaType.TEXT_PLAIN }) public Response generateUrlFromVertexId(String content, @PathParam("version")String versionParam, @PathParam("vertexid")long vertexid, @Context HttpHeaders headers, @Context UriInfo info, @Context HttpServletRequest req) { @@ -103,6 +105,11 @@ public class URLFromVertexIdConsumer extends RESTAPI { result.insert(0, AAIConfig.get("aai.server.url.base")); LegacyURITransformer urlTransformer = LegacyURITransformer.getInstance(); URI output = new URI(result.toString()); + /*if (version.compareTo(Version.v2) == 0) { + output = urlTransformer.getLegacyURI(output); + result = new StringBuilder(); + result.append(output.toString()); + }*/ response = Response.ok().entity(result.toString()).status(Status.OK).type(MediaType.TEXT_PLAIN).build(); } catch (AAIException e) { diff --git a/aai-resources/src/main/java/org/onap/aai/rest/VertexIdConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/VertexIdConsumer.java index 453297e..af6022c 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/VertexIdConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/VertexIdConsumer.java @@ -64,7 +64,7 @@ import org.onap.aai.serialization.engines.TransactionalGraphEngine; /** * The Class VertexIdConsumer. */ -@Path("{version: v[2789]|v1[012]}/resources") +@Path("{version: v[789]|v1[012]}/resources") public class VertexIdConsumer extends RESTAPI { private ModelType introspectorFactoryType = ModelType.MOXY; diff --git a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java index dd1dcda..979f340 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java @@ -55,6 +55,7 @@ import org.onap.aai.introspection.ModelType; import org.onap.aai.introspection.Version; import org.onap.aai.introspection.exceptions.AAIUnknownObjectException; import org.onap.aai.logging.ErrorLogHelper; +import org.onap.aai.logging.LogFormatTools; import org.onap.aai.rest.db.HttpEntry; import org.onap.aai.rest.exceptions.AAIInvalidXMLNamespace; import org.onap.aai.rest.util.ValidateEncoding; @@ -182,7 +183,7 @@ public class ModelVersionTransformer extends RESTAPI { modelVerObj.setValue("model-version", oldModelVersion); - if (obj.hasProperty(MODEL_ELEMENTS)) { + if (obj.hasProperty(MODEL_ELEMENTS)) { Introspector oldModelElements = obj.getWrappedValue(MODEL_ELEMENTS); if (oldModelElements != null) { Introspector newModelElements = modelVerObj.newIntrospectorInstanceOfProperty(MODEL_ELEMENTS); @@ -271,7 +272,7 @@ public class ModelVersionTransformer extends RESTAPI { Introspector newRelationship = newModelElements.getLoader().introspectorFromName(RELATIONSHIP); newRelationshipListList.add(newRelationship.getUnderlyingObject()); - List<Introspector> oldRelationshipData = oldRelationship.getWrappedListValue(RELATIONSHIP); + List<Introspector> oldRelationshipData = oldRelationship.getWrappedListValue("relationship-data"); List<Object> newRelationshipData = (List<Object>)newRelationship.getValue("relationship-data"); newRelationship.setValue("related-to", "model-ver"); @@ -331,10 +332,10 @@ public class ModelVersionTransformer extends RESTAPI { } - private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws AAIException { + private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws NoEdgeRuleFoundException, AAIException { TransactionalGraphEngine dbEngine = null; - Map<String, String> modelVerModelMap = new HashMap<>() ; + Map<String, String> modelVerModelMap = new HashMap<String,String>() ; try { Version version = AAIProperties.LATEST; @@ -353,8 +354,8 @@ public class ModelVersionTransformer extends RESTAPI { } } catch (NoSuchElementException e) { throw new NoSuchElementException(); - } catch (Exception e1) { - LOGGER.error("Exception while getting current models from graph"+e1); + } catch (Exception e1) { + LOGGER.error("Exception while getting current models from graph"+ LogFormatTools.getStackTop(e1)); } return modelVerModelMap; diff --git a/aai-resources/src/main/java/org/onap/aai/util/AAIAppServletContextListener.java b/aai-resources/src/main/java/org/onap/aai/util/AAIAppServletContextListener.java index 58dc29b..e3e2d97 100644 --- a/aai-resources/src/main/java/org/onap/aai/util/AAIAppServletContextListener.java +++ b/aai-resources/src/main/java/org/onap/aai/util/AAIAppServletContextListener.java @@ -22,31 +22,37 @@ package org.onap.aai.util; import java.io.IOException; +import java.util.UUID; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; +import org.apache.activemq.broker.BrokerService; import org.onap.aai.dbmap.AAIGraph; import org.onap.aai.exceptions.AAIException; import org.onap.aai.introspection.ModelInjestor; import org.onap.aai.logging.ErrorLogHelper; +import org.onap.aai.logging.LogFormatTools; +import org.onap.aai.logging.LoggingContext; +import org.onap.aai.logging.LoggingContext.StatusCode; import org.onap.aai.migration.MigrationControllerInternal; import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; public class AAIAppServletContextListener implements ServletContextListener { + private static final String ACTIVEMQ_TCP_URL = "tcp://localhost:61447"; + private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(AAIAppServletContextListener.class.getName()); + private BrokerService broker = new BrokerService(); + /** * Destroys Context - * + * * @param arg0 the ServletContextEvent */ - public void contextDestroyed(ServletContextEvent arg0) { - LOGGER.info("AAIGraph shutting down"); - AAIGraph.getInstance().graphShutdown(); - LOGGER.info("AAIGraph shutdown"); + public void contextDestroyed(ServletContextEvent arg0) { } /** @@ -56,8 +62,18 @@ public class AAIAppServletContextListener implements ServletContextListener { */ public void contextInitialized(ServletContextEvent arg0) { System.setProperty("org.onap.aai.serverStarted", "false"); - LOGGER.info("***AAI Server initialization started..."); + System.setProperty("aai.service.name", "resources"); + + LoggingContext.save(); + LoggingContext.component("init"); + LoggingContext.partnerName("NA"); + LoggingContext.targetEntity("aai-resources"); + LoggingContext.requestId(UUID.randomUUID().toString()); + LoggingContext.serviceName("aai-resources"); + LoggingContext.targetServiceName("contextInitialized"); + LoggingContext.statusCode(StatusCode.COMPLETE); + LOGGER.info("AAI Server initialization started..."); try { LOGGER.info("Loading aaiconfig.properties"); AAIConfig.init(); @@ -70,12 +86,36 @@ public class AAIAppServletContextListener implements ServletContextListener { AAIGraph.getInstance(); ModelInjestor.getInstance(); + // Jsm internal broker for aai events + broker = new BrokerService(); + broker.addConnector(ACTIVEMQ_TCP_URL); + broker.setPersistent(false); + broker.setUseJmx(false); + broker.setSchedulerSupport(false); + broker.start(); + LOGGER.info("A&AI Server initialization succcessful."); + System.setProperty("activemq.tcp.url", ACTIVEMQ_TCP_URL); System.setProperty("org.onap.aai.serverStarted", "true"); if ("true".equals(AAIConfig.get("aai.run.migrations", "false"))) { MigrationControllerInternal migrations = new MigrationControllerInternal(); migrations.run(new String[]{"--commit"}); } + + Runtime.getRuntime().addShutdownHook(new Thread() { + public void run() { + LOGGER.info("AAIGraph shutting down"); + AAIGraph.getInstance().graphShutdown(); + LOGGER.info("AAIGraph shutdown"); + try { + broker.stop(); + } catch (Exception e) { + LOGGER.error("Issue closing broker "+ LogFormatTools.getStackTop(e)); + } + System.out.println("Shutdown hook triggered."); + } + }); + } catch (AAIException e) { ErrorLogHelper.logException(e); throw new RuntimeException("AAIException caught while initializing A&AI server", e); @@ -83,12 +123,12 @@ public class AAIAppServletContextListener implements ServletContextListener { ErrorLogHelper.logError("AAI_4000", e.getMessage()); throw new RuntimeException("IOException caught while initializing A&AI server", e); } catch (Exception e) { - LOGGER.error("Unknown failure while initializing A&AI Server", e); + LOGGER.error("Unknown failure while initializing A&AI Server " + LogFormatTools.getStackTop(e)); throw new RuntimeException("Unknown failure while initializing A&AI server", e); } LOGGER.info("Resources MicroService Started"); - LOGGER.error("Resources MicroService Started"); LOGGER.debug("Resources MicroService Started"); + LoggingContext.restore(); } } diff --git a/aai-resources/src/main/resources/edgeLabelMigration.csv b/aai-resources/src/main/resources/edgeLabelMigration.csv new file mode 100644 index 0000000..53639e5 --- /dev/null +++ b/aai-resources/src/main/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-resources/src/main/scripts/createDBSchema.sh b/aai-resources/src/main/scripts/createDBSchema.sh index 4751072..56f0fcc 100644 --- a/aai-resources/src/main/scripts/createDBSchema.sh +++ b/aai-resources/src/main/scripts/createDBSchema.sh @@ -47,8 +47,7 @@ do CLASSPATH=$CLASSPATH:$JAR done -$JAVA_HOME/bin/java -classpath $CLASSPATH -Dhttps.protocols=TLSv1.1,TLSv1.2 -DAJSC_HOME=$PROJECT_HOME -Daai.home=$PROJECT_HOME \ - org.onap.aai.dbgen.GenTester $1 +$JAVA_HOME/bin/java -classpath $CLASSPATH -Dhttps.protocols=TLSv1.1,TLSv1.2 -DBUNDLECONFIG_DIR=bundleconfig -DAJSC_HOME=$PROJECT_HOME -Daai.home=$PROJECT_HOME -Dlogback.configurationFile=$PROJECT_HOME/bundleconfig/etc/appprops/createDBSchema-logback.xml org.onap.aai.dbgen.GenTester $1 echo `date` " Done $0" exit 0 diff --git a/aai-resources/src/main/scripts/dynamicPayloadArchive.sh b/aai-resources/src/main/scripts/dynamicPayloadArchive.sh new file mode 100644 index 0000000..f17f679 --- /dev/null +++ b/aai-resources/src/main/scripts/dynamicPayloadArchive.sh @@ -0,0 +1,63 @@ +#!/bin/ksh + +### +# ============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========================================================= +### + +# +# The script is called to tar and gzip the files under /opt/app/aai-resources/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation which are the payload files created by the dynamicPayloadGenerator.sh tool. +# +# + +. /etc/profile.d/aai.sh +PROJECT_HOME=/opt/app/aai-resources + +PROGNAME=$(basename $0) + +TS=$(date "+%Y_%m_%d_%H_%M_%S") + +CHECK_USER="aaiadmin" +userid=$( id | cut -f2 -d"(" | cut -f1 -d")" ) +if [ "${userid}" != $CHECK_USER ]; then + echo "You must be $CHECK_USER to run $0. The id used $userid." + exit 1 +fi +DIRECTORY=${PROJECT_HOME}/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation +if [ ! -d ${DIRECTORY} ] +then + echo " ${DIRECTORY} doesn't exist" + exit 1 +fi + +tar c ${DIRECTORY}/* -f /var/tmp/dynamicPayloadArchive_${TS}.tar +if [ $? -ne 0 ] +then + echo " Unable to tar ${DIRECTORY}" + exit 1 +fi + +cd /var/tmp +gzip /var/tmp/dynamicPayloadArchive_${TS}.tar +if [ $? -ne 0 ] +then + echo " Unable to gzip /var/tmp/dynamicPayloadArchive_${TS}.tar" + exit 1 +fi +echo "Completed successfully: /var/tmp/dynamicPayloadArchive_${TS}.tar.gz" +exit 0 diff --git a/aai-resources/src/main/scripts/dynamicPayloadGenerator.sh b/aai-resources/src/main/scripts/dynamicPayloadGenerator.sh new file mode 100644 index 0000000..c386bed --- /dev/null +++ b/aai-resources/src/main/scripts/dynamicPayloadGenerator.sh @@ -0,0 +1,101 @@ +#!/bin/ksh + +### +# ============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========================================================= +### + +# +# dynamicPayloadGenerator.sh -- This tool is used for Tenant-Isolation project +# It is used to load a snapshot into memory and generate payloads for any input nodes +# +# +# Parameters: +# +# -d (required) name of the fully qualified Datasnapshot file that you need to load +# -s (optional) true or false to enable or disable schema, By default it is true for production, +# you can change to false if the snapshot has duplicates +# -c (optional) config file to use for loading snapshot into memory. +# -o (required) output file to store the data files +# -f (optional) PAYLOAD or DMAAP-MR +# -n (optional) input file for the script +# +# +# For example (there are many valid ways to use it): +# +# dynamicPayloadGenerator.sh -d '/opt/app/snapshots/snaphot.graphSON' -o '/opt/app/aai-resources/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/' +# +# or +# dynamicPayloadGenerator.sh -d '/opt/app/snapshots/snaphot.graphSON' -s false -c '/opt/app/aai-resources/bundleconfig/etc/appprops/dynamic.properties' +# -o '/opt/app/aai-resources/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/' -f PAYLOAD -n '/opt/app/aai-resources/bundleconfig/etc/scriptdata/nodes.json' +# + + +echo +echo `date` " Starting $0" + +display_usage() { + cat <<EOF + Usage: $0 [options] + + 1. Usage: dynamicPayloadGenerator -d <graphsonPath> -o <output-path> + 2. This script has 2 arguments that are required. + a. -d (required) Name of the fully qualified Datasnapshot file that you need to load + b. -o (required) output file to store the data files + 3. Optional Parameters: + a. -s (optional) true or false to enable or disable schema, By default it is true for production, + b. -c (optional) config file to use for loading snapshot into memory. + c. -f (optional) PAYLOAD or DMAAP-MR + d. -n (optional) input file for the script + 4. For example (there are many valid ways to use it): + dynamicPayloadGenerator.sh -d '/opt/app/snapshots/snaphot.graphSON' -o '/opt/app/aai-resources/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/' + + dynamicPayloadGenerator.sh -d '/opt/app/snapshots/snaphot.graphSON' -s false -c '/opt/app/aai-resources/bundleconfig/etc/appprops/dynamic.properties' + -o '/opt/app/aai-resources/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/' -f PAYLOAD -n '/opt/app/aai-resources/bundleconfig/etc/scriptdata/nodes.json' + +EOF +} +if [ $# -eq 0 ]; then + display_usage + exit 1 +fi + + + +. /etc/profile.d/aai.sh +PROJECT_HOME=/opt/app/aai-resources + +for JAR in `ls $PROJECT_HOME/extJars/*.jar` +do + CLASSPATH=$CLASSPATH:$JAR +done + +for JAR in `ls $PROJECT_HOME/lib/*.jar` +do + CLASSPATH=$CLASSPATH:$JAR +done + + +$JAVA_HOME/bin/java -classpath $CLASSPATH -Dhttps.protocols=TLSv1.1,TLSv1.2 -DBUNDLECONFIG_DIR=bundleconfig -DAJSC_HOME=$PROJECT_HOME \ + -Daai.home=$PROJECT_HOME -Dlogback.configurationFile=$PROJECT_HOME/bundleconfig/etc/appprops/dynamicPayloadGenerator-logback.xml -Xmx9000m -Xms9000m \ + org.onap.aai.dbgen.DynamicPayloadGenerator "$@" + + +echo `date` " Done $0" + +exit 0 diff --git a/aai-resources/src/main/scripts/forceDeleteTool.sh b/aai-resources/src/main/scripts/forceDeleteTool.sh index ac84585..9c199bc 100644 --- a/aai-resources/src/main/scripts/forceDeleteTool.sh +++ b/aai-resources/src/main/scripts/forceDeleteTool.sh @@ -80,6 +80,7 @@ if [ "${userid}" != "aaiadmin" ]; then fi . /etc/profile.d/aai.sh +PROJECT_HOME=/opt/app/aai-resources for JAR in `ls $PROJECT_HOME/extJars/*.jar` do diff --git a/aai-resources/src/main/scripts/install/addManualData.sh b/aai-resources/src/main/scripts/install/addManualData.sh new file mode 100644 index 0000000..930b9ba --- /dev/null +++ b/aai-resources/src/main/scripts/install/addManualData.sh @@ -0,0 +1,131 @@ +#!/bin/ksh + +### +# ============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========================================================= +### + +# this script now requires a release parameter. +# the tool finds and sorts *.txt files within the +# bundleconfig/etc/scriptdate/addmanualdata/$release directory containing +# one resource to be added to the graph. The directory contains a second +# file with the same name, but the extension is .json. This json file +# is passed to the PutTool as the payload. The parameters passed to the +# PutTool will have 412 failures ignored. After calling the PutTool, the +# GetTool is called to include the object put into the graph. +# this script is run at every installation, logging the manual data applied. + +# Returns 0 if the specified string contains the specified substring, +# otherwise returns 1. +contains() { + string="$1" + substring="$2" + if test "${string#*$substring}" != "$string" + then + return 0 # $substring is in $string + else + return 1 # $substring is not in $string + fi +} + +. /etc/profile.d/aai.sh +PROJECT_HOME=/opt/app/aai-resources + +PROGNAME=$(basename $0) +OUTFILE=$PROJECT_HOME/logs/misc/${PROGNAME}.log.$(date +\%Y-\%m-\%d) +#OUTFILE=/c/temp/${PROGNAME}.log.$(date +\%Y-\%m-\%d) + +TS=$(date "+%Y-%m-%d %H:%M:%S") + +CHECK_USER="aaiadmin" +userid=$( id | cut -f2 -d"(" | cut -f1 -d")" ) +if [ "${userid}" != $CHECK_USER ]; then + echo "You must be $CHECK_USER to run $0. The id used $userid." + exit 1 +fi + + +if [ "$#" -ne 1 ]; then + echo "Release or tenant_isolation parameter is required, e.g. 1610, 1702, tenant_isolation, etc" + echo "usage: $0 release" + exit 1 +fi + +error_exit () { + echo "${PROGNAME}: failed for ${1:-"Unknown error"} on cmd $2 in $3" 1>&2 + echo "${PROGNAME}: failed for ${1:-"Unknown error"} on cmd $2 in $3" >> $OUTFILE +# exit ${2:-"1"} +} + +rel="/"$1"/" +k=0 + +if [ "$1" = "tenant_isolation" ] +then + CR_TEXT_PATH=`find $PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/cloud-region -name "*.txt" -print | sort -f` + AZ_TEXT_PATH=`find $PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/availability-zone -name "*.txt" -print | sort -f` + COMPLEX_TEXT_PATH=`find $PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/complex -name "*.txt" -print | sort -f` + ZONE_TEXT_PATH=`find $PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/zone -name "*.txt" -print | sort -f` + PSERVER_TEXT_PATH=`find $PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/tenant_isolation/pserver -name "*.txt" -print | sort -f` + TEXT_PATH="${CR_TEXT_PATH} ${AZ_TEXT_PATH} ${COMPLEX_TEXT_PATH} ${ZONE_TEXT_PATH} ${PSERVER_TEXT_PATH}" + COMMAND=${TEXT_PATH} +else + TEXT_PATH=$PROJECT_HOME/bundleconfig/etc/scriptdata/addmanualdata/*/*.txt + COMMAND=`ls ${TEXT_PATH} | sort -f` +fi + +ls ${TEXT_PATH} >/dev/null 2>&1 +if [ $? -ne 0 ] +then +echo "No manual data to add for $1"; +exit 0; +fi + +for filepath in ${COMMAND} +do +contains $filepath $rel +if [ $? -eq 0 ] +then +jsonfile=${filepath%???}json +j=0 +while IFS=\n read -r i +do +echo "##### Begin putTool for $i ##### from file $filepath" | tee -a $OUTFILE +resource=`echo $i | tr -d '\r'` +$PROJECT_HOME/scripts/putTool.sh $resource $jsonfile 1 0 na 1 >> $OUTFILE 2>&1 || error_exit "$resource" $j $filepath +echo "##### End putTool for $resource #####" | tee -a $OUTFILE +echo "Begin getTool for $resource" | tee -a $OUTFILE +$PROJECT_HOME/scripts/getTool.sh $resource >> $OUTFILE 2>&1 || error_exit "$i" $j $filepath +echo "End getTool for $resource" | tee -a $OUTFILE + +j=$(expr "$j" + 1) +k=$(expr "$k" + 1) +done < $filepath + +fi + +done +if [ $k -eq 0 ] +then +echo "No manual data to add for release $1"; +exit 0; +fi + +echo "See output and error file: $OUTFILE" + +exit 0 diff --git a/aai-resources/src/main/scripts/putTool.sh b/aai-resources/src/main/scripts/putTool.sh index dfa9b37..b5ad862 100644 --- a/aai-resources/src/main/scripts/putTool.sh +++ b/aai-resources/src/main/scripts/putTool.sh @@ -46,9 +46,10 @@ display_usage() { cat <<EOF Usage: $0 [options] - 1. Usage: putTool.sh <resource-path> <json payload file> + 1. Usage: putTool.sh <resource-path> <json payload file> <optional -display> 2. This script requires two arguments, a resource path and a file path to a json file containing the payload. 3. Example: resource-path and payload for a particular customer is: business/customers/customer/JohnDoe customerpayload.json + 4. Adding the optional "-display" argument will display all data returned from the request. EOF } if [ $# -eq 0 ]; then @@ -87,6 +88,13 @@ prop_file=$PROJECT_HOME/bundleconfig/etc/appprops/aaiconfig.properties log_dir=$PROJECT_HOME/logs/misc today=$(date +\%Y-\%m-\%d) +RETURNRESPONSE=false +if [ ${#} -ne 2 ]; then + if [ "$3" = "-display" ]; then + RETURNRESPONSE=true + fi +fi + MISSING_PROP=false RESTURL=`grep ^aai.server.url= $prop_file |cut -d'=' -f2 |tr -d "\015"` if [ -z $RESTURL ]; then @@ -117,10 +125,14 @@ if [ $MISSING_PROP = false ]; then else AUTHSTRING="-u $CURLUSER:$CURLPASSWORD" fi - result=`curl --request PUT -sL -w "%{http_code}" -o /dev/null -k $AUTHSTRING -H "X-FromAppId: $XFROMAPPID" -H "X-TransactionId: $XTRANSID" -H "Accept: application/json" -T $JSONFILE $RESTURL$RESOURCE` - #echo "result is $result." - RC=0; - if [ $? -eq 0 ]; then + if [ $RETURNRESPONSE = true ]; then + curl --request PUT -sL -k $AUTHSTRING -H "X-FromAppId: $XFROMAPPID" -H "X-TransactionId: $XTRANSID" -H "Accept: application/json" -T $JSONFILE $RESTURL$RESOURCE | python -mjson.tool + RC=$? + else + result=`curl --request PUT -sL -w "%{http_code}" -o /dev/null -k $AUTHSTRING -H "X-FromAppId: $XFROMAPPID" -H "X-TransactionId: $XTRANSID" -H "Accept: application/json" -T $JSONFILE $RESTURL$RESOURCE` + #echo "result is $result." + RC=0; + if [ $? -eq 0 ]; then case $result in +([0-9])?) if [[ "$result" -ge 200 && $result -lt 300 ]] @@ -148,10 +160,11 @@ if [ $MISSING_PROP = false ]; then ;; esac - else + else echo "FAILED to send request to $RESTURL" RC=-1 - fi + fi + fi else echo "usage: $0 resource file [expected-failure-codes]" RC=-1 diff --git a/aai-resources/src/main/scripts/run_Migrations.sh b/aai-resources/src/main/scripts/run_Migrations.sh new file mode 100644 index 0000000..7f0ea08 --- /dev/null +++ b/aai-resources/src/main/scripts/run_Migrations.sh @@ -0,0 +1,76 @@ +#!/bin/ksh + +### +# ============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========================================================= +### + +echo +echo $(date) " Starting $0" + +userid=$( id | cut -f2 -d"(" | cut -f1 -d")" ) +if [ "${userid}" != "aaiadmin" ]; then + echo "You must be aaiadmin to run $0. The id used $userid." + exit 1 +fi + +if [ -f "/etc/profile.d/aai.sh" ]; then + source /etc/profile.d/aai.sh +else + echo "File not found: /etc/profile.d/aai.sh"; + exit +fi + +JAVA=$JAVA_HOME/bin/java +PROJECT_HOME=/opt/app/aai-resources + +ARGS="-c ${PROJECT_HOME}/bundleconfig/etc/appprops/titan-realtime.properties $@" + +for JAR in $(ls $PROJECT_HOME/extJars/*.jar) +do + CLASSPATH=$CLASSPATH:$JAR +done + +UUID=$(uuidgen) + +unzip -o $PROJECT_HOME/lib/ajsc-runner-5.0.0-RC16.0.5.jar -d /tmp/ajsc-war-$UUID/ > /dev/null +unzip -o /tmp/ajsc-war-$UUID/ajsc-war-5.0.0-RC16.0.5.war -d /tmp/ajsc-war-$UUID/ > /dev/null + +for JAR in $(ls /tmp/ajsc-war-$UUID/WEB-INF/lib/*.jar) +do + if [[ ! "$JAR" =~ .*logback-classic-.*.jar ]]; + then + CLASSPATH=$CLASSPATH:$JAR + fi +done + +for JAR in $(ls /opt/app/swm/dme2/lib/*.jar) +do + CLASSPATH=$CLASSPATH:$JAR +done + +for JAR in $(ls $PROJECT_HOME/lib/*.jar) +do + CLASSPATH=$CLASSPATH:$JAR +done + +CLASSPATH=$CLASSPATH:${PROJECT_HOME}"/bundleconfig/etc/tmp-config/" + +$JAVA -Dhttps.protocols=TLSv1.1,TLSv1.2 -DAJSC_HOME=$PROJECT_HOME -Daai.home=$PROJECT_HOME -DBUNDLECONFIG_DIR="bundleconfig" -Dlogback.configurationFile=$PROJECT_HOME/bundleconfig/etc/appprops/migration-logback.xml -cp $CLASSPATH org.onap.aai.migration.MigrationController $ARGS + +rm -r /tmp/ajsc-war-$UUID/ diff --git a/aai-resources/src/main/scripts/updateTool.sh b/aai-resources/src/main/scripts/updateTool.sh index f4e2941..05377d6 100644 --- a/aai-resources/src/main/scripts/updateTool.sh +++ b/aai-resources/src/main/scripts/updateTool.sh @@ -47,20 +47,15 @@ contains() { display_usage() { cat <<EOF -Usage: $0 [options] +Usage 1: updateTool.sh <node type> <update node URI> <property name>:<property value> +[,<property name>:<property value]* | where update node uri is the URI path for that node +for ex1: ./updateTool.sh pserver cloud-infrastructure/pservers/pserver/XXX prov-status:NEWSTATUS +ex2:./updateTool.sh pserver cloud-infrastructure/pservers/pserver/XXX 'prov-status:NEWSTATUS with space' +ex3:./updateTool.sh pserver cloud-infrastructure/pservers/pserver/XXX 'prov-status:NEWSTATUS,attribute2:value' -1. This script needs a resource argument (resource-path), and either a JSON filepath, or directly the property you need to update -2. Usage 1 (use a Json file): updateTool.sh <node type> <resource> <filepath> <optional arg to ignore HTTP failure codes> -3. Usage 1 example: ./updateTool.sh customer business/customers/customer/customer-id-1 /tmp/updateTest.json +Usage 2. using .json file for update: ./updateTool.sh <node type> <update node URI> /tmp/updatepayload.json +Ex: ./updateTool.sh pserver cloud-infrastructure/pservers/pserver/XXX /tmp/testpayload.json -4. Usage 2 (update a property directly): updateTool.sh <node type> <resource> '<key name>:<key value>,<property>:<property val>' <optional arg to ignore HTTP failure codes> -5. Usage 2 example: ./updateTool.sh complex cloud-infrastructure/complexes/complex/complex-id 'physical-location-id:complex-id, city:New York' -6. You could try without the <key name>:<key value> (only the property and its new value), but on some servers this did not work: -7. ./updateTool.sh complex cloud-infrastructure/complexes/complex/complex-id 'city:New York' - -8. Usage 3 (update an attribute on an object that is embedded a level or two levels. Use the full path) -9. ./updateTool.sh <node type> <embedded resource with full paths> <key name: key value> -10. ./updateTool.sh p-interface network/pnfs/pnf/pnf-name-1/p-interfaces/p-interface/int-1 'interface-type:int-typei' EOF } @@ -131,11 +126,10 @@ fi #or #'physical-location-id:complex-id, city:New York' thirdarg=$3 -isjson = true +isjson = false if [[ "$thirdarg" == *json || "$thirdarg" == *JSON ]]; then - echo "Usage 1(JSON) because the 2nd arg ends with json"; + isjson = true else - echo "Usage 2(Comand Arg) because the 2nd arg does not end with json"; #For Usage 2, format input into JSON string format JSONSTRING="{" INPUT=$3 diff --git a/aai-resources/src/test/java/org/onap/aai/AAISetup.java b/aai-resources/src/test/java/org/onap/aai/AAISetup.java index 65048eb..05864fd 100644 --- a/aai-resources/src/test/java/org/onap/aai/AAISetup.java +++ b/aai-resources/src/test/java/org/onap/aai/AAISetup.java @@ -21,26 +21,23 @@ */ package org.onap.aai; -import org.apache.commons.io.IOUtils; -import org.junit.BeforeClass; -import org.onap.aai.dbmap.AAIGraph; -import org.onap.aai.introspection.ModelInjestor; -import org.onap.aai.serialization.queryformats.QueryFormatTestHelper; -import org.onap.aai.util.AAIConstants; +import static org.junit.Assert.assertNotNull; import java.io.IOException; import java.io.InputStream; -import static org.junit.Assert.assertNotNull; +import org.apache.commons.io.IOUtils; +import org.junit.BeforeClass; +import org.onap.aai.serialization.queryformats.QueryFormatTestHelper; +import org.onap.aai.util.AAIConstants; public abstract class AAISetup { @BeforeClass public static void setupBundleconfig() throws Exception { System.setProperty("AJSC_HOME", "."); - System.setProperty("BUNDLECONFIG_DIR", "src/test/resources/bundleconfig-local"); - QueryFormatTestHelper.setFinalStatic(AAIConstants.class.getField("AAI_HOME_ETC_OXM"), - "src/test/resources/bundleconfig-local/etc/oxm/"); + System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local"); + QueryFormatTestHelper.setFinalStatic(AAIConstants.class.getField("AAI_HOME_ETC_OXM"), "bundleconfig-local/etc/oxm/"); } public String getPayload(String filename) throws IOException { diff --git a/aai-resources/src/test/java/org/onap/aai/interceptors/PostAaiAjscInterceptorTest.java b/aai-resources/src/test/java/org/onap/aai/interceptors/PostAaiAjscInterceptorTest.java index 2db19a4..a1e0259 100644 --- a/aai-resources/src/test/java/org/onap/aai/interceptors/PostAaiAjscInterceptorTest.java +++ b/aai-resources/src/test/java/org/onap/aai/interceptors/PostAaiAjscInterceptorTest.java @@ -24,15 +24,15 @@ package org.onap.aai.interceptors; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; -import org.onap.aai.AAISetup; import org.onap.aai.logging.LoggingContext; import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; -public class PostAaiAjscInterceptorTest extends AAISetup { +public class PostAaiAjscInterceptorTest { private PostAaiAjscInterceptor postAaiAjscInterceptor; @@ -51,11 +51,12 @@ public class PostAaiAjscInterceptorTest extends AAISetup { public void testAllowOrRejectIfSuccess() throws Exception { HttpServletRequest request = Mockito.mock(HttpServletRequest.class); - - LoggingContext.put(LoggingContext.LoggingField.RESPONSE_CODE.toString(), "SUCCESS"); + HttpServletResponse resp = Mockito.mock(HttpServletResponse.class); + resp.setStatus(HttpServletResponse.SC_OK); + LoggingContext.put(LoggingContext.LoggingField.RESPONSE_CODE.toString(), "0"); Mockito.when(request.getRequestURL()).thenReturn(new StringBuffer("/fadsjoifj")); - boolean success = postAaiAjscInterceptor.allowOrReject(request, null, null); + boolean success = postAaiAjscInterceptor.allowOrReject(request, resp, null); assertTrue("Expecting the post interceptor to return success regardless", success); } @@ -64,12 +65,13 @@ public class PostAaiAjscInterceptorTest extends AAISetup { public void testAllowOrRejectIfFailure() throws Exception { HttpServletRequest request = Mockito.mock(HttpServletRequest.class); - - LoggingContext.put(LoggingContext.LoggingField.RESPONSE_CODE.toString(), "ERR."); + HttpServletResponse resp = Mockito.mock(HttpServletResponse.class); + resp.setStatus(HttpServletResponse.SC_BAD_REQUEST); + LoggingContext.put(LoggingContext.LoggingField.RESPONSE_CODE.toString(), "400"); Mockito.when(request.getRequestURL()).thenReturn(new StringBuffer("/fadsjoifj")); - boolean success = postAaiAjscInterceptor.allowOrReject(request, null, null); + boolean success = postAaiAjscInterceptor.allowOrReject(request, resp, null); assertTrue("Expecting the post interceptor to return success regardless", success); } -}
\ No newline at end of file +} diff --git a/aai-resources/src/test/java/org/onap/aai/interceptors/PreAaiAjscInterceptorTest.java b/aai-resources/src/test/java/org/onap/aai/interceptors/PreAaiAjscInterceptorTest.java index b66e65c..35651c3 100644 --- a/aai-resources/src/test/java/org/onap/aai/interceptors/PreAaiAjscInterceptorTest.java +++ b/aai-resources/src/test/java/org/onap/aai/interceptors/PreAaiAjscInterceptorTest.java @@ -24,7 +24,6 @@ package org.onap.aai.interceptors; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; -import org.onap.aai.AAISetup; import javax.servlet.http.HttpServletRequest; @@ -32,7 +31,7 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.anyString; -public class PreAaiAjscInterceptorTest extends AAISetup { +public class PreAaiAjscInterceptorTest { private PreAaiAjscInterceptor preAaiAjscInterceptor; diff --git a/aai-resources/src/test/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigrationTest.java b/aai-resources/src/test/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigrationTest.java new file mode 100644 index 0000000..148dee3 --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/migration/v12/ContainmentDeleteOtherVPropertyMigrationTest.java @@ -0,0 +1,113 @@ +/*- + * ============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.migration.v12; + +import com.thinkaurelius.titan.core.TitanFactory; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.schema.TitanManagement; +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.structure.Edge; +import org.apache.tinkerpop.gremlin.structure.Graph; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.onap.aai.AAISetup; +import org.onap.aai.dbmap.DBConnectionType; +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 org.onap.aai.serialization.db.AAIDirection; +import org.onap.aai.serialization.db.EdgeProperty; +import org.onap.aai.serialization.engines.QueryStyle; +import org.onap.aai.serialization.engines.TitanDBEngine; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import static org.junit.Assert.assertEquals; +import static org.mockito.Mockito.spy; +import static org.mockito.Mockito.when; + +public class ContainmentDeleteOtherVPropertyMigrationTest extends AAISetup { + + private final static Version version = Version.v12; + private final static ModelType introspectorFactoryType = ModelType.MOXY; + private final static QueryStyle queryStyle = QueryStyle.TRAVERSAL; + private final static DBConnectionType type = DBConnectionType.REALTIME; + private Loader loader; + private TransactionalGraphEngine dbEngine; + private TitanGraph graph; + private ContainmentDeleteOtherVPropertyMigration migration; + private GraphTraversalSource g; + private Graph tx; + + @Before + public void setUp() throws Exception { + graph = TitanFactory.build().set("storage.backend","inmemory").open(); + TitanManagement titanManagement = graph.openManagement(); + tx = graph.newTransaction(); + g = tx.traversal(); + loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); + dbEngine = new TitanDBEngine( + queryStyle, + type, + loader); + Vertex v = g.addV().property("aai-node-type", "generic-vnf") + .property("vnf-id", "delcontains-test-vnf") + .next(); + Vertex v2 = g.addV().property("aai-node-type", "l-interface") + .property("interface-name", "delcontains-test-lint") + .next(); + Edge e = v.addEdge("hasLInterface", v2, EdgeProperty.CONTAINS.toString(), AAIDirection.OUT.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + + Vertex v3 = g.addV().property("aai-node-type", "allotted-resource").next(); + + Edge e2 = v2.addEdge("uses", v3, EdgeProperty.CONTAINS.toString(), AAIDirection.NONE.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + TransactionalGraphEngine spy = spy(dbEngine); + TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); + GraphTraversalSource traversal = g; + when(spy.asAdmin()).thenReturn(adminSpy); + when(adminSpy.getTraversalSource()).thenReturn(traversal); + Mockito.doReturn(titanManagement).when(adminSpy).getManagementSystem(); + migration = new ContainmentDeleteOtherVPropertyMigration(spy, "/edgeMigrationTestRules.json"); + migration.run(); + } + + @After + public void cleanUp() { + tx.tx().rollback(); + graph.close(); + } + + @Test + public void run() { + assertEquals("del other now OUT", true, + g.E().hasLabel("hasLInterface").has(EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.OUT.toString()).hasNext()); + assertEquals("contains val still same", true, + g.E().hasLabel("hasLInterface").has(EdgeProperty.CONTAINS.toString(), AAIDirection.OUT.toString()).hasNext()); + assertEquals("non-containment unchanged", true, + g.E().hasLabel("uses").has(EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()).hasNext()); + } + +} diff --git a/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfigurationTest.java b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfigurationTest.java new file mode 100644 index 0000000..241cc4d --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateDataFromASDCToConfigurationTest.java @@ -0,0 +1,173 @@ +/*- + * ============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.migration.v12; + +import com.thinkaurelius.titan.core.TitanFactory; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.TitanTransaction; +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.onap.aai.AAISetup; +import org.onap.aai.dbmap.DBConnectionType; +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 org.onap.aai.serialization.db.EdgeRules; +import org.onap.aai.serialization.engines.QueryStyle; +import org.onap.aai.serialization.engines.TitanDBEngine; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.mockito.Mockito.spy; +import static org.mockito.Mockito.when; + +public class MigrateDataFromASDCToConfigurationTest extends AAISetup { + + private final static Version version = Version.v12; + private final static ModelType introspectorFactoryType = ModelType.MOXY; + private final static QueryStyle queryStyle = QueryStyle.TRAVERSAL; + private final static DBConnectionType type = DBConnectionType.REALTIME; + private Loader loader; + private TransactionalGraphEngine dbEngine; + private TitanGraph graph; + private MigrateDataFromASDCToConfiguration migration; + private EdgeRules rules; + private GraphTraversalSource g; + private TitanTransaction tx; + Vertex configuration; + Vertex configuration2; + Vertex configuration3; + Vertex configuration4; + + private boolean success = true; + private String entitlementPoolUuid = ""; + private final String PARENT_NODE_TYPE = "generic-vnf"; + private String VNT = ""; + + @Before + public void setUp() throws Exception { + graph = TitanFactory.build().set("storage.backend","inmemory").open(); + tx = graph.newTransaction(); + g = tx.traversal(); + loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); + dbEngine = new TitanDBEngine( + queryStyle, + type, + loader); + rules = EdgeRules.getInstance(); + Vertex genericvnf1 = g.addV().property("aai-node-type", "generic-vnf") + .property("vnf-id", "vnfId1") + .property("vnf-type","vHNF") + .next(); + + Vertex genericvnf2 = g.addV().property("aai-node-type", "generic-vnf") + .property("vnf-id", "vnfId2") + .property("vnf-type","vHNF") + .next(); + + Vertex entitlement1 = g.addV().property("aai-node-type", "entitlement") + .property("group-uuid", "some-uuid") + .next(); + + Vertex serviceInstance1 = g.addV().property("aai-node-type", "service-instance") + .property("service-instance-id", "servinstanceTestId1") + .next(); + + configuration = g.addV().property("aai-node-type", "configuration") + .property("configuration-id", "configurationIdGraph") + .property("vendor-allowed-max-bandwidth", "20") + .next(); + configuration3 = g.addV().property("aai-node-type", "configuration") + .property("configuration-id", "configurationIdGraph3") + .property("vendor-allowed-max-bandwidth", "15") + .next(); + configuration2 = g.addV().property("aai-node-type", "configuration") + .property("configuration-id", "configurationIdGraph2") + .property("vendor-allowed-max-bandwidth", "25") + .next(); + configuration4 = g.addV().property("aai-node-type", "configuration") + .property("configuration-id", "configurationIdGraph4") + .property("vendor-allowed-max-bandwidth", "50") + .next(); + + rules.addTreeEdge(g, genericvnf1, entitlement1); + rules.addEdge(g, genericvnf1, serviceInstance1); + rules.addEdge(g, serviceInstance1, configuration); + rules.addEdge(g, serviceInstance1, configuration3); + + + rules.addEdge(g, genericvnf2, configuration2); + + + TransactionalGraphEngine spy = spy(dbEngine); + TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); + GraphTraversalSource traversal = g; + when(spy.asAdmin()).thenReturn(adminSpy); + when(adminSpy.getTraversalSource()).thenReturn(traversal); + migration = new MigrateDataFromASDCToConfiguration(spy); + migration.run(); + } + + + @After + public void cleanUp() { + tx.rollback(); + graph.close(); + } + + + /*** + * checks if the VNt value was updated and if theres a second configuration object it is also to be modified + */ + + @Test + public void confirmVNtValueChanged() { + + assertEquals("1000",configuration.property("vendor-allowed-max-bandwidth").value()); + assertEquals("1000",configuration3.property("vendor-allowed-max-bandwidth").value()); + + } + + /*** + * checks to see if the entitlement object is missing the configuration objects should not be modified at all + */ + @Test + public void missingEntitlementObject() { + assertEquals("25",configuration2.property("vendor-allowed-max-bandwidth").value()); + } + /*** + * checks to see if there's a configuration object not connected to anything it should not be modified at all + */ + + @Test + public void confirmConfiguration4notchanged() { + assertEquals("50",configuration4.property("vendor-allowed-max-bandwidth").value()); + } + + + + +} diff --git a/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTest.java b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTest.java new file mode 100644 index 0000000..6e153ea --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTest.java @@ -0,0 +1,391 @@ +package org.onap.aai.migration.v12; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.mockito.Mockito.spy; +import static org.mockito.Mockito.when; + +import java.util.Optional; + +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.ReadOnlyStrategy; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; +import org.onap.aai.AAISetup; +import org.onap.aai.dbmap.DBConnectionType; +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 org.onap.aai.serialization.db.EdgeRules; +import org.onap.aai.serialization.engines.QueryStyle; +import org.onap.aai.serialization.engines.TitanDBEngine; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import com.thinkaurelius.titan.core.TitanFactory; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.TitanTransaction; + +public class MigrateServiceInstanceToConfigurationTest extends AAISetup { + + private final static Version version = Version.v12; + private final static ModelType introspectorFactoryType = ModelType.MOXY; + private final static QueryStyle queryStyle = QueryStyle.TRAVERSAL; + private final static DBConnectionType type = DBConnectionType.REALTIME; + + private static Loader loader; + private static TransactionalGraphEngine dbEngine; + private static TitanGraph graph; + private static MigrateServiceInstanceToConfiguration migration; + private static TitanTransaction tx; + private static GraphTraversalSource g; + private static EdgeRules rules; + + @BeforeClass + public static void setUp() throws Exception { + graph = TitanFactory.build().set("storage.backend","inmemory").open(); + tx = graph.newTransaction(); + g = tx.traversal(); + loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); + dbEngine = new TitanDBEngine( + queryStyle, + type, + loader); + rules = EdgeRules.getInstance(); + + Vertex customer1 = g.addV() + .property("aai-node-type", "customer") + .property("global-customer-id", "customer-id-1") + .property("subscriber-type", "CUST") + .next(); + + Vertex customer2 = g.addV() + .property("aai-node-type", "customer") + .property("global-customer-id", "customer-id-2") + .property("subscriber-type", "CUST") + .next(); + + Vertex customer3 = g.addV() + .property("aai-node-type", "customer") + .property("global-customer-id", "customer-id-3") + .property("subscriber-type", "CUST") + .next(); + + Vertex customer4 = g.addV() + .property("aai-node-type", "customer") + .property("global-customer-id", "customer-id-4") + .property("subscriber-type", "CUST") + .next(); + + Vertex servSub1 = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "DHV") + .next(); + + Vertex servSub2 = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "OTHER") + .next(); + + Vertex servSub3 = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "DHV") + .next(); + + Vertex servSub4 = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "DHV") + .next(); + + Vertex servSub5 = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "DHV") + .next(); + + Vertex servInstance1 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "service-inst-1") + .property("operational-status", "activated") + .property("bandwidth-total", "5") + .next(); + + Vertex servInstance2 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "service-inst-2") + .property("operational-status", "activated") + .property("bandwidth-total", "8") + .next(); + + Vertex servInstance3 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "service-inst-3") + .property("operational-status", "activated") + .property("bandwidth-total", "10") + .next(); + + Vertex servInstance4 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "service-inst-4") + .property("operational-status", "activated") + .property("bandwidth-total", "15") + .next(); + + Vertex config1 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "configuration-1") + .property("configuration-type", "DHV") + .property("tunnel-bandwidth", "7") + .next(); + + Vertex config2 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "configuration-2") + .property("configuration-type", "OTHER") + .property("tunnel-bandwidth", "3") + .next(); + + Vertex config3 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "configuration-3") + .property("configuration-type", "OTHER") + .property("tunnel-bandwidth", "2") + .next(); + + Vertex config4 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "configuration-4") + .property("configuration-type", "OTHER") + .property("tunnel-bandwidth", "4") + .next(); + + // graph 1 + rules.addTreeEdge(g, customer1, servSub1); + rules.addTreeEdge(g, customer1, servSub2); + rules.addTreeEdge(g, servSub1, servInstance1); + rules.addTreeEdge(g, servSub2, servInstance2); + + // graph 2 + rules.addTreeEdge(g, customer2, servSub3); + + // graph 3 + rules.addTreeEdge(g, customer3, servSub4); + rules.addTreeEdge(g, servSub4, servInstance3); + rules.addEdge(g, servInstance3, config1); + rules.addEdge(g, servInstance3, config2); + + // graph 4 + rules.addTreeEdge(g, customer4, servSub5); + rules.addTreeEdge(g, servSub5, servInstance4); + rules.addEdge(g, servInstance4, config3); + rules.addEdge(g, servInstance4, config4); + + TransactionalGraphEngine spy = spy(dbEngine); + TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); + + GraphTraversalSource traversal = g; + GraphTraversalSource readOnly = tx.traversal(GraphTraversalSource.build().with(ReadOnlyStrategy.instance())); + when (spy.tx()).thenReturn(tx); + when(spy.asAdmin()).thenReturn(adminSpy); + when(adminSpy.getTraversalSource()).thenReturn(traversal); + when(adminSpy.getReadOnlyTraversalSource()).thenReturn(readOnly); + + migration = new MigrateServiceInstanceToConfiguration(spy); + migration.run(); + } + + @AfterClass + public static void cleanUp() { + tx.tx().rollback(); + graph.close(); + } + + @Test + public void testRun_createConfigNode() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-id-1") + .hasNext()); + + assertEquals("service subscription node, service-type=DHV", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=5", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-1").has("bandwidth-total", "5") + .hasNext()); + + // check if configuration node gets created + assertEquals("configuration node exists", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-1") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .hasNext()); + + // check configuration type + assertEquals("configuration node, configuration-type=DHV", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-1") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("configuration-type", "DHV") + .hasNext()); + + // check configuration tunnel-bandwidth + assertEquals("configuration node, tunnel-bandwidth=5", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-1") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "5") + .hasNext()); + } + + @Test + public void testRun_configNodeNotCreated() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-id-1") + .hasNext()); + + assertEquals("service subscription node, service-type=OTHER", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "OTHER") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=8", true, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "OTHER") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-2").has("bandwidth-total", "8") + .hasNext()); + + // configuration node should not be created + assertEquals("configuration node does not exist", false, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "OTHER") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-2") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .hasNext()); + + // edge between service instance and configuration should not be created + assertEquals("configuration node does not exist", false, + g.V().has("global-customer-id", "customer-id-1") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "OTHER") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-2") + .out("org.onap.relationships.inventory.Uses").hasNext()); + } + + @Test + public void testRun_noServiceInstance() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-id-2") + .hasNext()); + + assertEquals("service subscription node, service-type=DHV", true, + g.V().has("global-customer-id", "customer-id-2") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .hasNext()); + + // no service instance nodes + assertEquals("no service instance nodes", false, + g.V().has("global-customer-id", "customer-id-2") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("aai-node-type", "service-instance") + .hasNext()); + } + + @Test + public void testRun_existingConfig() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-id-3") + .hasNext()); + + assertEquals("service subscription node, service-type=DHV", true, + g.V().has("global-customer-id", "customer-id-3") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=10", true, + g.V().has("global-customer-id", "customer-id-3") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-3").has("bandwidth-total", "10") + .hasNext()); + + assertEquals("configuration node with type DHV, tunnel-bandwidth changed to 10", true, + g.V().has("global-customer-id", "customer-id-3") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-3") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "10") + .hasNext()); + + assertEquals("configuration node with type OTHER, tunnel-bandwidth remains same", true, + g.V().has("global-customer-id", "customer-id-3") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-3") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "3") + .hasNext()); + } + + @Test + public void testRun_existingConfigNotDHV() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-id-4") + .hasNext()); + + assertEquals("service subscription node, service-type=DHV", true, + g.V().has("global-customer-id", "customer-id-4") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=15", true, + g.V().has("global-customer-id", "customer-id-4") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-4").has("bandwidth-total", "15") + .hasNext()); + + assertEquals("first configuration node with type OTHER, tunnel-bandwidth remains same", true, + g.V().has("global-customer-id", "customer-id-4") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-4") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "2") + .hasNext()); + + assertEquals("second configuration node with type OTHER, tunnel-bandwidth remains same", true, + g.V().has("global-customer-id", "customer-id-4") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-4") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "4") + .hasNext()); + + assertEquals("new configuration node created with type DHV, tunnel-bandwidth=15", true, + g.V().has("global-customer-id", "customer-id-4") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "service-inst-4") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration").has("tunnel-bandwidth", "15") + .hasNext()); + } + + @Test + public void testGetAffectedNodeTypes() { + Optional<String[]> types = migration.getAffectedNodeTypes(); + Optional<String[]> expected = Optional.of(new String[]{"service-instance"}); + + assertNotNull(types); + assertArrayEquals(expected.get(), types.get()); + } + + @Test + public void testGetMigrationName() { + String migrationName = migration.getMigrationName(); + + assertNotNull(migrationName); + assertEquals("service-instance-to-configuration", migrationName); + } +} diff --git a/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTestPreMigrationMock.java b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTestPreMigrationMock.java new file mode 100644 index 0000000..c147813 --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/migration/v12/MigrateServiceInstanceToConfigurationTestPreMigrationMock.java @@ -0,0 +1,285 @@ +package org.onap.aai.migration.v12; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.mockito.Mockito.spy; +import static org.mockito.Mockito.when; + +import java.util.Optional; + +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.ReadOnlyStrategy; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; +import org.onap.aai.AAISetup; +import org.onap.aai.dbmap.DBConnectionType; +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 org.onap.aai.serialization.db.EdgeRules; +import org.onap.aai.serialization.engines.QueryStyle; +import org.onap.aai.serialization.engines.TitanDBEngine; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import com.thinkaurelius.titan.core.TitanFactory; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.TitanTransaction; + +public class MigrateServiceInstanceToConfigurationTestPreMigrationMock extends AAISetup { + + private final static Version version = Version.v12; + private final static ModelType introspectorFactoryType = ModelType.MOXY; + private final static QueryStyle queryStyle = QueryStyle.TRAVERSAL; + private final static DBConnectionType type = DBConnectionType.REALTIME; + + private static Loader loader; + private static TransactionalGraphEngine dbEngine; + private static TitanGraph graph; + private static MigrateServiceInstanceToConfiguration migration; + private static TitanTransaction tx; + private static GraphTraversalSource g; + private static EdgeRules rules; + + @BeforeClass + public static void setUp() throws Exception { + graph = TitanFactory.build().set("storage.backend","inmemory").open(); + tx = graph.newTransaction(); + g = tx.traversal(); + loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); + dbEngine = new TitanDBEngine( + queryStyle, + type, + loader); + rules = EdgeRules.getInstance(); + + Vertex customer = g.addV() + .property("aai-node-type", "customer") + .property("global-customer-id", "customer-9972-BandwidthMigration") + .property("subscriber-type", "CUST") + .next(); + + Vertex servSubSDNEI = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "SDN-ETHERNET-INTERNET") + .next(); + + Vertex servInstance22 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "servInstance-9972-22-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "bandwidth-total-22-BandwidthMigration") + .next(); + + Vertex servInstance11 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "servInstance-9972-11-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "bandwidth-total-11-BandwidthMigration") + .next(); + + Vertex servSubDHV = g.addV() + .property("aai-node-type", "service-subscription") + .property("service-type", "DHV") + .next(); + + Vertex servInstance4 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "servInstance-9972-4-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "bandwidth-total-4-BandwidthMigration") + .next(); + + Vertex servInstance1 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "ServInstance-9972-1-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "2380") + .next(); + + Vertex servInstance3 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "servInstance-9972-3-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "bandwidth-total-3-BandwidthMigration") + .next(); + + Vertex servInstance2 = g.addV() + .property("aai-node-type", "service-instance") + .property("service-instance-id", "servInstance-9972-2-BandwidthMigration") + .property("operational-status", "activated") + .property("bandwidth-total", "bandwidth-total-2-BandwidthMigration") + .next(); + + Vertex config1 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "9972-config-LB1113") + .property("configuration-type", "DHV") + .property("tunnel-bandwidth", "12") + .next(); + + Vertex config2 = g.addV() + .property("aai-node-type", "configuration") + .property("configuration-id", "9972-1config-LB1113") + .property("configuration-type", "configuration-type1-9972") + .next(); + + Vertex allottedResource = g.addV() + .property("aai-node-type", "allotted-resource") + .property("id", "allResource-9972-BandwidthMigration") + .next(); + + rules.addTreeEdge(g, customer, servSubSDNEI); + rules.addTreeEdge(g, customer, servSubDHV); + rules.addTreeEdge(g, servSubSDNEI, servInstance22); + rules.addTreeEdge(g, servSubSDNEI, servInstance11); + rules.addTreeEdge(g, servSubDHV, servInstance4); + rules.addTreeEdge(g, servSubDHV, servInstance1); + rules.addTreeEdge(g, servSubDHV, servInstance3); + rules.addTreeEdge(g, servSubDHV, servInstance2); + rules.addEdge(g, servInstance1, allottedResource); + rules.addEdge(g, servInstance1, config1); + rules.addEdge(g, servInstance2, config2); + + TransactionalGraphEngine spy = spy(dbEngine); + TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); + + GraphTraversalSource traversal = g; + GraphTraversalSource readOnly = tx.traversal(GraphTraversalSource.build().with(ReadOnlyStrategy.instance())); + when (spy.tx()).thenReturn(tx); + when(spy.asAdmin()).thenReturn(adminSpy); + when(adminSpy.getTraversalSource()).thenReturn(traversal); + when(adminSpy.getReadOnlyTraversalSource()).thenReturn(readOnly); + + migration = new MigrateServiceInstanceToConfiguration(spy); + migration.run(); + } + + @AfterClass + public static void cleanUp() { + tx.tx().rollback(); + graph.close(); + } + + @Test + public void testRun() throws Exception { + // check if graph nodes exist + assertEquals("customer node exists", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .hasNext()); + + assertEquals("service subscription node, service-type=SDN-ETHERNET-INTERNET", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "SDN-ETHERNET-INTERNET") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=bandwidth-total-22-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "SDN-ETHERNET-INTERNET") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-22-BandwidthMigration") + .has("bandwidth-total", "bandwidth-total-22-BandwidthMigration") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=bandwidth-total-11-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "SDN-ETHERNET-INTERNET") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-11-BandwidthMigration") + .has("bandwidth-total", "bandwidth-total-11-BandwidthMigration") + .hasNext()); + + assertEquals("service subscription node, service-type=DHV", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=servInstance-9972-4-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-4-BandwidthMigration") + .has("bandwidth-total", "bandwidth-total-4-BandwidthMigration") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=ServInstance-9972-1-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "ServInstance-9972-1-BandwidthMigration") + .has("bandwidth-total", "2380") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=servInstance-9972-3-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-3-BandwidthMigration") + .has("bandwidth-total", "bandwidth-total-3-BandwidthMigration") + .hasNext()); + + assertEquals("service instance node, bandwidth-total=servInstance-9972-2-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-2-BandwidthMigration") + .has("bandwidth-total", "bandwidth-total-2-BandwidthMigration") + .hasNext()); + + assertEquals("configuration node with type=configuration-type1-9972, tunnel-bandwidth does not exist", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-2-BandwidthMigration") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .has("configuration-type", "configuration-type1-9972") + .hasNext()); + + // check if configuration node gets created for 2, 3, 4 + assertEquals("configuration node created with type=DHV, tunnel-bandwidth=servInstance-9972-4-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-4-BandwidthMigration") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .has("configuration-type", "DHV").has("tunnel-bandwidth", "bandwidth-total-4-BandwidthMigration") + .hasNext()); + + assertEquals("configuration node created with type=DHV, tunnel-bandwidth=servInstance-9972-3-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-3-BandwidthMigration") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .has("configuration-type", "DHV").has("tunnel-bandwidth", "bandwidth-total-3-BandwidthMigration") + .hasNext()); + + assertEquals("configuration node created with type=DHV, tunnel-bandwidth=servInstance-9972-2-BandwidthMigration", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "servInstance-9972-2-BandwidthMigration") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .has("configuration-type", "DHV").has("tunnel-bandwidth", "bandwidth-total-2-BandwidthMigration") + .hasNext()); + + // configuration modified for ServInstance-9972-1-BandwidthMigration + assertEquals("configuration node modified for ServInstance-9972-1-BandwidthMigration, tunnel-bandwidth=2380", true, + g.V().has("global-customer-id", "customer-9972-BandwidthMigration") + .in("org.onap.relationships.inventory.BelongsTo").has("service-type", "DHV") + .in("org.onap.relationships.inventory.BelongsTo").has("service-instance-id", "ServInstance-9972-1-BandwidthMigration") + .out("org.onap.relationships.inventory.Uses").has("aai-node-type", "configuration") + .has("configuration-type", "DHV").has("tunnel-bandwidth", "2380") + .hasNext()); + } + + @Test + public void testGetAffectedNodeTypes() { + Optional<String[]> types = migration.getAffectedNodeTypes(); + Optional<String[]> expected = Optional.of(new String[]{"service-instance"}); + + assertNotNull(types); + assertArrayEquals(expected.get(), types.get()); + } + + @Test + public void testGetMigrationName() { + String migrationName = migration.getMigrationName(); + + assertNotNull(migrationName); + assertEquals("service-instance-to-configuration", migrationName); + } +} diff --git a/aai-resources/src/test/java/org/onap/aai/migration/v12/ToscaMigrationTest.java b/aai-resources/src/test/java/org/onap/aai/migration/v12/ToscaMigrationTest.java new file mode 100644 index 0000000..29af30c --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/migration/v12/ToscaMigrationTest.java @@ -0,0 +1,182 @@ +/*- + * ============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.migration.v12; + +import com.thinkaurelius.titan.core.TitanFactory; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.schema.TitanManagement; +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource; +import org.apache.tinkerpop.gremlin.structure.Graph; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.mockito.Mockito; +import org.onap.aai.AAISetup; +import org.onap.aai.db.props.AAIProperties; +import org.onap.aai.dbmap.DBConnectionType; +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 org.onap.aai.serialization.db.AAIDirection; +import org.onap.aai.serialization.db.EdgeProperty; +import org.onap.aai.serialization.engines.QueryStyle; +import org.onap.aai.serialization.engines.TitanDBEngine; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.mockito.Mockito.spy; +import static org.mockito.Mockito.when; + +public class ToscaMigrationTest extends AAISetup { + + private final static Version version = Version.v12; + private final static ModelType introspectorFactoryType = ModelType.MOXY; + private final static QueryStyle queryStyle = QueryStyle.TRAVERSAL; + private final static DBConnectionType type = DBConnectionType.REALTIME; + private Loader loader; + private TransactionalGraphEngine dbEngine; + private TitanGraph graph; + private ToscaMigration migration; + private GraphTraversalSource g; + private Graph tx; + + @Before + public void setUp() throws Exception { + graph = TitanFactory.build().set("storage.backend","inmemory").open(); + TitanManagement titanManagement = graph.openManagement(); + tx = graph.newTransaction(); + g = tx.traversal(); + loader = LoaderFactory.createLoaderForVersion(introspectorFactoryType, version); + dbEngine = new TitanDBEngine( + queryStyle, + type, + loader); + + Vertex gvnf = g.addV().property(AAIProperties.NODE_TYPE, "generic-vnf") + .property("vnf-id", "toscaMigration-test-vnf") + .next(); + + Vertex lInterface = g.addV().property(AAIProperties.NODE_TYPE, "l-interface") + .property("interface-name", "toscaMigration-test-lint") + .next(); + + Vertex logicalLink = g.addV().property(AAIProperties.NODE_TYPE, "logical-link") + .property("link-name", "toscaMigration-logical-link") + .next(); + + + + gvnf.addEdge("hasLInterface", lInterface, EdgeProperty.CONTAINS.toString(), AAIDirection.OUT.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + + lInterface.addEdge("usesLogicalLink", logicalLink, EdgeProperty.CONTAINS.toString(), AAIDirection.NONE.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + lInterface.addEdge("sourceLInterface", logicalLink, EdgeProperty.CONTAINS.toString(), AAIDirection.NONE.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + + Vertex pserver = g.addV("aai-node-type","pserver","hostname","a-name").next(); + Vertex vnfc = g.addV("aai-node-type","vnfc","vnfc-name","a-name").next(); + pserver.addEdge("blah", vnfc, EdgeProperty.CONTAINS.toString(), AAIDirection.NONE.toString(), + EdgeProperty.DELETE_OTHER_V.toString(), AAIDirection.NONE.toString()); + + TransactionalGraphEngine spy = spy(dbEngine); + TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); + GraphTraversalSource traversal = g; + when(spy.asAdmin()).thenReturn(adminSpy); + when(adminSpy.getTraversalSource()).thenReturn(traversal); + Mockito.doReturn(titanManagement).when(adminSpy).getManagementSystem(); + migration = new ToscaMigration(spy); + migration.run(); + + + } + + @After + public void cleanUp() { + tx.tx().rollback(); + graph.close(); + } + + @Test + public void verifyVnfHasOnlyNewEdgeTest() { + + // We want to check that this edge has the expected new label and reversed direction from + // what it was created with. NOTE - if the csv file changes what the new label is supposed + // to be, then this test will need to be updated. + + assertEquals("edge direction and label were migrated", true, + g.V().has(AAIProperties.NODE_TYPE, "generic-vnf").has("vnf-id", "toscaMigration-test-vnf").inE() + .hasLabel("org.onap.relationships.inventory.BelongsTo").hasNext()); + + + assertEquals("if we look for old edge, it should be gone", false, + g.V().has(AAIProperties.NODE_TYPE, "generic-vnf").has("vnf-id", "toscaMigration-test-vnf").outE() + .hasLabel("hasLInterface").hasNext()); + } + + @Test + public void verifyGraphHasNoOldEdgeLabelsTest() { + assertEquals("Graph should have none of the old edge label" + , Long.valueOf(0) + , g.E().hasLabel("hasLInterface","usesLogicalLink").count().next()); + assertEquals("Graph should have none of the old edge label" + , Long.valueOf(2) + , g.E().hasLabel("org.onap.relationships.inventory.BelongsTo","tosca.relationships.network.LinksTo") + .count().next()); + } + + @Test + public void verifyGenericVnfHas1EdgeTest() { + assertEquals("Generic vnf should have 1 edge" + , Long.valueOf(1) + , g.V().has(AAIProperties.NODE_TYPE, "generic-vnf") + .both() + .count().next()); + + } + + @Test + public void verifyLogicalLinkHas2EdgesTest() { + assertEquals("Logical Link should have 2 edges" + , Long.valueOf(2) + , g.V().has(AAIProperties.NODE_TYPE, "logical-link") + .both() + .count().next()); + + assertTrue("Logical Link has source edge" + , g.V().has(AAIProperties.NODE_TYPE, "logical-link").bothE("org.onap.relationships.inventory.Source").hasNext()); + + assertTrue("Logical Link has default edge" + , g.V().has(AAIProperties.NODE_TYPE, "logical-link").bothE("tosca.relationships.network.LinksTo").hasNext()); + + } + + @Test + public void checkThatEdgeWithNoRulesDoesNotGetMigratedTest() { + assertTrue("Edge with no rule did not get migrated ", g.E().hasLabel("blah").hasNext()); + } + +} + +
\ No newline at end of file diff --git a/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessConsumerTest.java b/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessConsumerTest.java index 5a5c4c0..747f319 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessConsumerTest.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessConsumerTest.java @@ -37,6 +37,7 @@ import org.skyscreamer.jsonassert.JSONAssert; import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
+import org.springframework.mock.web.MockHttpServletRequest;
public class BulkProcessConsumerTest extends BulkProcessorTestAbstraction {
@@ -114,7 +115,7 @@ public class BulkProcessConsumerTest extends BulkProcessorTestAbstraction { complexToPserverRelationshipUri,
httpHeaders,
uriInfo,
- null
+ new MockHttpServletRequest("DELETE", "http://www.test.com")
);
assertNotNull("Response from the legacy moxy consumer returned null", response);
@@ -159,7 +160,7 @@ public class BulkProcessConsumerTest extends BulkProcessorTestAbstraction { "false",
httpHeaders,
uriInfo,
- null
+ new MockHttpServletRequest("GET", "http://www.test.com")
);
assertNotNull("Response from the legacy moxy consumer returned null", response);
@@ -172,7 +173,7 @@ public class BulkProcessConsumerTest extends BulkProcessorTestAbstraction { uri,
httpHeaders,
uriInfo,
- null
+ new MockHttpServletRequest("PUT", "http://www.test.com")
);
assertNotNull("Response from the legacy moxy consumer returned null", response);
@@ -192,7 +193,7 @@ public class BulkProcessConsumerTest extends BulkProcessorTestAbstraction { "false",
httpHeaders,
uriInfo,
- null
+ new MockHttpServletRequest("GET", "http://www.test.com")
);
assertNotNull("Response from the legacy moxy consumer returned null", response);
diff --git a/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessorTestAbstraction.java b/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessorTestAbstraction.java index f5d0670..cfb2625 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessorTestAbstraction.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/BulkProcessorTestAbstraction.java @@ -23,7 +23,7 @@ package org.onap.aai.rest; import static org.mockito.Matchers.anyObject; import static org.mockito.Mockito.when; - +import org.springframework.mock.web.MockHttpServletRequest; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; @@ -124,12 +124,14 @@ public abstract class BulkProcessorTestAbstraction extends AAISetup { } protected Response executeRequest(String payload) { + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", "http://www.test.com"); + return bulkConsumer.bulkProcessor( payload.replaceAll("<UUID>", UUID.randomUUID().toString()), Version.getLatest().toString(), httpHeaders, uriInfo, - null + mockReq ); } diff --git a/aai-resources/src/test/java/org/onap/aai/rest/LegacyMoxyConsumerTest.java b/aai-resources/src/test/java/org/onap/aai/rest/LegacyMoxyConsumerTest.java index 54e2271..8c14697 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/LegacyMoxyConsumerTest.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/LegacyMoxyConsumerTest.java @@ -35,7 +35,11 @@ import org.onap.aai.dbmap.AAIGraph; import org.onap.aai.exceptions.AAIException; import org.onap.aai.introspection.ModelInjestor; import org.onap.aai.introspection.Version; + +import org.onap.aai.util.AAIConfig; +import org.onap.aai.util.AAIConstants; import org.skyscreamer.jsonassert.JSONAssert; +import org.springframework.mock.web.MockHttpServletRequest; import javax.ws.rs.core.*; import java.io.IOException; @@ -133,6 +137,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); Response response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -141,18 +146,19 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -172,7 +178,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); code = response.getStatus(); @@ -191,13 +197,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { queryParameters.add("resource-version", resourceVersion); + mockReq = new MockHttpServletRequest("DELETE", uri); response = legacyMoxyConsumer.delete( Version.getLatest().toString(), uri, httpHeaders, uriInfo, "", - null + mockReq ); code = response.getStatus(); @@ -215,7 +222,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); @@ -239,14 +246,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { String cloudToPserverRelationshipData = getRelationshipPayload("pserver-complex-relationship"); String cloudToPserverRelationshipUri = String.format( "cloud-infrastructure/pservers/pserver/%s/relationship-list/relationship", hostname); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", cloudToPserverRelationshipUri); Response response = legacyMoxyConsumer.updateRelationship( cloudToPserverRelationshipData, Version.getLatest().toString(), cloudToPserverRelationshipUri, httpHeaders, uriInfo, - null + mockReq ); assertNotNull("Response from the legacy moxy consumer returned null", response); @@ -260,14 +267,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { logger.info("Response Code: " + code + "\tEntity: " + response.getEntity()); // TODO - Need to actually verify the relationship between pserver and cloud-region - + mockReq = new MockHttpServletRequest("DELETE", cloudToPserverRelationshipUri); response = legacyMoxyConsumer.deleteRelationship( cloudToPserverRelationshipData, Version.getLatest().toString(), cloudToPserverRelationshipUri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); @@ -300,14 +307,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); Response response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -323,14 +330,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenThrow(new IllegalArgumentException()); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); Response response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -344,14 +351,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { uri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); assertNotNull("Response from the legacy moxy consumer returned null", response); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); System.out.println("Response Code: " + code + "\tEntity: " + response.getEntity()); - + mockReq = new MockHttpServletRequest("GET", uri); response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -360,19 +367,19 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReq ); assertNotNull("Response from the legacy moxy consumer returned null", response); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); - + mockReq = new MockHttpServletRequest("DELETE", uri); response = legacyMoxyConsumer.delete( Version.getLatest().toString(), uri, httpHeaders, uriInfo, "", - null + mockReq ); code = response.getStatus(); @@ -384,7 +391,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { uri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); @@ -398,14 +405,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); Response response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -418,13 +425,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { uri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); System.out.println("Response Code: " + code + "\tEntity: " + response.getEntity()); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); + mockReq = new MockHttpServletRequest("GET", uri); response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -433,12 +441,13 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReq ); assertNotNull("Response from the legacy moxy consumer returned null", response); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); + mockReq = new MockHttpServletRequest("DELETE", uri); queryParameters.add("resource-version", "3434394839483"); response = legacyMoxyConsumer.delete( Version.getLatest().toString(), @@ -446,7 +455,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { httpHeaders, uriInfo, "", - null + mockReq ); code = response.getStatus(); @@ -459,7 +468,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { uri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); assertEquals(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(), code); @@ -479,6 +488,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); + MockHttpServletRequest mockReq = new MockHttpServletRequest("GET", uri); Response response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -487,18 +497,18 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReq ); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); - + mockReq = new MockHttpServletRequest("PUT", uri); response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -515,13 +525,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { outputMediaTypes.remove(APPLICATION_JSON); outputMediaTypes.add(MediaType.valueOf("application/merge-patch+json")); + mockReq = new MockHttpServletRequest("PATCH", uri); response = legacyMoxyConsumer.patch( patchData, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); code = response.getStatus(); @@ -536,6 +547,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); Response response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -544,20 +556,21 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertNotNull("Response from the legacy moxy consumer returned null", response); assertEquals("Expected to not have the data already in memory", Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); assertNotNull("Response from the legacy moxy consumer returned null", response); @@ -577,7 +590,7 @@ public class LegacyMoxyConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertNotNull("Response from the legacy moxy consumer returned null", response); @@ -601,13 +614,14 @@ public class LegacyMoxyConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); + MockHttpServletRequest mockReq = new MockHttpServletRequest("DELETE", uri); Response response = legacyMoxyConsumer.deleteRelationship( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -635,4 +649,90 @@ public class LegacyMoxyConsumerTest extends AAISetup { public String getUri(){ return getUri("pserver-hostname-test"); } + + @Test + public void legacyMoxyCheckTimeoutEnabled() throws Exception{ + boolean isTimeoutEnabled = legacyMoxyConsumer.isTimeoutEnabled("JUNITTESTAPP1", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_ENABLED), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(true, isTimeoutEnabled); + } + + @Test + public void legacyMoxyCheckTimeoutEnabledOverride() throws Exception{ + boolean isTimeoutEnabled = legacyMoxyConsumer.isTimeoutEnabled("JUNITTESTAPP2", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_ENABLED), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(false, isTimeoutEnabled); + } + + @Test + public void legacyMoxyCheckTimeoutEnabledDefaultLimit() throws Exception{ + boolean isTimeoutEnabled = legacyMoxyConsumer.isTimeoutEnabled("JUNITTESTAPP3", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_ENABLED), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(true, isTimeoutEnabled); + int timeout = legacyMoxyConsumer.getTimeoutLimit("JUNITTESTAPP3", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(100000, timeout); + } + + @Test + public void legacyMoxyGetTimeout() throws Exception{ + int timeout = legacyMoxyConsumer.getTimeoutLimit("JUNITTESTAPP1", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(1, timeout); + } + + @Test + public void legacyMoxyGetTimeoutOverride() throws Exception{ + int timeout = legacyMoxyConsumer.getTimeoutLimit("JUNITTESTAPP2", AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_APP), AAIConfig.get(AAIConstants.AAI_CRUD_TIMEOUT_LIMIT)); + assertEquals(-1, timeout); + } + @Test + public void testTimeoutGetCall() throws Exception{ + String uri = getUri(); + + if(uri.length() != 0 && uri.charAt(0) == '/'){ + uri = uri.substring(1); + } + + when(uriInfo.getPath()).thenReturn(uri); + when(uriInfo.getPath(false)).thenReturn(uri); + headersMultiMap.putSingle("X-FromAppId", "JUNITTESTAPP1"); + when(httpHeaders.getRequestHeaders()).thenReturn(headersMultiMap); + + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); + Response response = legacyMoxyConsumer.getLegacy( + "", + Version.getLatest().toString(), + uri, + "all", + "false", + httpHeaders, + uriInfo, + mockReqGet + ); + + assertEquals(Response.Status.BAD_REQUEST.getStatusCode(), response.getStatus()); + } + @Test + public void testBypassTimeoutGetCall() throws Exception{ + String uri = getUri(); + + if(uri.length() != 0 && uri.charAt(0) == '/'){ + uri = uri.substring(1); + } + + when(uriInfo.getPath()).thenReturn(uri); + when(uriInfo.getPath(false)).thenReturn(uri); + headersMultiMap.putSingle("X-FromAppId", "JUNITTESTAPP2"); + when(httpHeaders.getRequestHeaders()).thenReturn(headersMultiMap); + + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); + Response response = legacyMoxyConsumer.getLegacy( + "", + Version.getLatest().toString(), + uri, + "all", + "false", + httpHeaders, + uriInfo, + mockReqGet + ); + + assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); + } } diff --git a/aai-resources/src/test/java/org/onap/aai/rest/URLFromVertexIdConsumerTest.java b/aai-resources/src/test/java/org/onap/aai/rest/URLFromVertexIdConsumerTest.java index c2a6c4a..982cedf 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/URLFromVertexIdConsumerTest.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/URLFromVertexIdConsumerTest.java @@ -41,6 +41,7 @@ import java.util.*; import static org.junit.Assert.*; import static org.mockito.Matchers.anyObject; import static org.mockito.Mockito.when; +import org.springframework.mock.web.MockHttpServletRequest; public class URLFromVertexIdConsumerTest extends AAISetup { @@ -125,6 +126,7 @@ public class URLFromVertexIdConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); Response response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -133,18 +135,18 @@ public class URLFromVertexIdConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -160,14 +162,13 @@ public class URLFromVertexIdConsumerTest extends AAISetup { assertTrue("Response doesn't contain the key vertexId", responseHeaders.containsKey("vertex-id")); String vertexId = responseHeaders.get("vertex-id").get(0).toString(); - response = urlFromVertexIdConsumer.generateUrlFromVertexId( "", Version.getLatest().toString(), Long.valueOf(vertexId).longValue(), httpHeaders, uriInfo, - null + mockReqGet ); assertNotNull(response); @@ -183,14 +184,14 @@ public class URLFromVertexIdConsumerTest extends AAISetup { when(uriInfo.getPath(false)).thenReturn(uri); String vertexId = "384584"; - + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); Response response = urlFromVertexIdConsumer.generateUrlFromVertexId( "", Version.getLatest().toString(), Long.valueOf(vertexId).longValue(), httpHeaders, uriInfo, - null + mockReqGet ); assertNotNull("Check if the response is not null", response); diff --git a/aai-resources/src/test/java/org/onap/aai/rest/VertexIdConsumerTest.java b/aai-resources/src/test/java/org/onap/aai/rest/VertexIdConsumerTest.java index fa80805..fb639ce 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/VertexIdConsumerTest.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/VertexIdConsumerTest.java @@ -41,6 +41,7 @@ import java.util.*; import static org.junit.Assert.*; import static org.mockito.Matchers.anyObject; import static org.mockito.Mockito.when; +import org.springframework.mock.web.MockHttpServletRequest; public class VertexIdConsumerTest extends AAISetup { @@ -124,7 +125,8 @@ public class VertexIdConsumerTest extends AAISetup { when(uriInfo.getPath()).thenReturn(uri); when(uriInfo.getPath(false)).thenReturn(uri); - + + MockHttpServletRequest mockReqGet = new MockHttpServletRequest("GET", uri); Response response = legacyMoxyConsumer.getLegacy( "", Version.getLatest().toString(), @@ -133,18 +135,19 @@ public class VertexIdConsumerTest extends AAISetup { "false", httpHeaders, uriInfo, - null + mockReqGet ); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), response.getStatus()); - + MockHttpServletRequest mockReq = new MockHttpServletRequest("PUT", uri); + response = legacyMoxyConsumer.update( payload, Version.getLatest().toString(), uri, httpHeaders, uriInfo, - null + mockReq ); int code = response.getStatus(); @@ -168,7 +171,7 @@ public class VertexIdConsumerTest extends AAISetup { "10000", httpHeaders, uriInfo, - null + mockReqGet ); assertNotNull(response); diff --git a/aai-resources/src/test/java/org/onap/aai/rest/retired/RetiredConsumerTest.java b/aai-resources/src/test/java/org/onap/aai/rest/retired/RetiredConsumerTest.java index 50964a3..66846b6 100644 --- a/aai-resources/src/test/java/org/onap/aai/rest/retired/RetiredConsumerTest.java +++ b/aai-resources/src/test/java/org/onap/aai/rest/retired/RetiredConsumerTest.java @@ -26,7 +26,6 @@ import com.att.eelf.configuration.EELFManager; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; -import org.onap.aai.AAISetup; import org.onap.aai.introspection.Version; import javax.ws.rs.core.*; @@ -37,7 +36,7 @@ import static org.junit.Assert.assertNotNull; import static org.mockito.Matchers.anyObject; import static org.mockito.Mockito.when; -public abstract class RetiredConsumerTest extends AAISetup { +public abstract class RetiredConsumerTest { protected static final MediaType APPLICATION_JSON = MediaType.valueOf("application/json"); diff --git a/aai-resources/src/test/java/org/onap/aai/serialization/db/DBSerializerMaxRetryTest.java b/aai-resources/src/test/java/org/onap/aai/serialization/db/DBSerializerMaxRetryTest.java new file mode 100644 index 0000000..b64c261 --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/serialization/db/DBSerializerMaxRetryTest.java @@ -0,0 +1,83 @@ +/*- + * ============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.serialization.db; + + +import com.att.eelf.configuration.EELFLogger; +import com.thinkaurelius.titan.core.TitanException; +import com.thinkaurelius.titan.core.TitanGraph; +import com.thinkaurelius.titan.core.TitanTransaction; +import org.junit.Ignore; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; +import org.junit.runner.RunWith; +import org.onap.aai.db.props.AAIProperties; +import org.onap.aai.exceptions.AAIException; +import org.onap.aai.introspection.LoaderFactory; +import org.onap.aai.parsers.query.QueryParser; +import org.onap.aai.rest.db.HttpEntry; +import org.onap.aai.serialization.engines.TransactionalGraphEngine; +import org.onap.aai.serialization.engines.query.QueryEngine; +import org.powermock.api.mockito.PowerMockito; +import org.powermock.core.classloader.annotations.PrepareForTest; +import org.powermock.modules.junit4.PowerMockRunner; +@Ignore +@RunWith(PowerMockRunner.class) +@PrepareForTest({QueryParser.class, TransactionalGraphEngine.class, TitanGraph.class, TitanTransaction.class, LoaderFactory.class, DBSerializer.class}) +public class DBSerializerMaxRetryTest { + + @Rule + public ExpectedException thrown = ExpectedException.none(); + + /** + * Test. + * + * @throws Exception the exception + */ + @Test + public void test() throws Exception { + + HttpEntry mockEntry = PowerMockito.mock(HttpEntry.class); + QueryParser mockQuery = PowerMockito.mock(QueryParser.class); + PowerMockito.when(mockQuery.isDependent()).thenReturn(true); + TransactionalGraphEngine mockEngine = PowerMockito.mock(TransactionalGraphEngine.class); + TitanGraph mockGraph = PowerMockito.mock(TitanGraph.class); + //PowerMockito.when(mockEngine.getGraph()).thenReturn(mockGraph); + TitanTransaction mockGraphTrans = PowerMockito.mock(TitanTransaction.class); + PowerMockito.when(mockGraph.newTransaction()).thenReturn(mockGraphTrans); + QueryEngine mockQueryEngine = PowerMockito.mock(QueryEngine.class); + PowerMockito.when(mockEngine.getQueryEngine()).thenReturn(mockQueryEngine); + PowerMockito.when(mockQuery.getQueryBuilder().getParentQuery().toList()).thenThrow(new TitanException("mock error")); + EELFLogger mockLogger = PowerMockito.mock(EELFLogger.class); + + PowerMockito.whenNew(EELFLogger.class).withAnyArguments().thenReturn(mockLogger); + + PowerMockito.mockStatic(LoaderFactory.class); + + DBSerializer dbs = new DBSerializer(AAIProperties.LATEST, mockEngine, null, null); + + thrown.expect(AAIException.class); + thrown.expectMessage("AAI_6134"); + dbs.serializeToDb(null, null, mockQuery, null, null); + } + +} diff --git a/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatSpec.java b/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatSpec.java new file mode 100644 index 0000000..c4072c8 --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatSpec.java @@ -0,0 +1,60 @@ +/*- + * ============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.serialization.queryformats; + +import com.bazaarvoice.jolt.JsonUtils; +import com.google.gson.Gson; +import com.google.gson.JsonObject; +import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__; +import org.apache.tinkerpop.gremlin.structure.Graph; +import org.onap.aai.transforms.JoltTestUtil; + +import java.io.IOException; +import java.util.List; + +public class ResourceFormatSpec { + + + private final Graph graph; + public ResourceFormatSpec() throws IOException { + + this.graph = QueryFormatTestHelper.loadGraphson("resource.graphson"); + } + + + public void verifyFormat(Formatter formatter, String fileName) throws IOException { + List<Object> vertices = graph.traversal().V().not(__.has("aai-node-type", "cloud-region")).map(x -> (Object)x.get()).toList(); + + JsonObject obj = formatter.output(vertices); + String jsonStr = new Gson().toJson(obj); + Object actual = JsonUtils.jsonToObject(jsonStr); + + Object expected = JsonUtils.filepathToObject(QueryFormatTestHelper.testResources + fileName); + + JoltTestUtil.runArrayOrderObliviousDiffy("Failed case ", expected, actual); + } + + public void mockToJson(String result) { + + + + } +} diff --git a/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatTest.java b/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatTest.java new file mode 100644 index 0000000..ea067e2 --- /dev/null +++ b/aai-resources/src/test/java/org/onap/aai/serialization/queryformats/ResourceFormatTest.java @@ -0,0 +1,78 @@ +/*- + * ============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.serialization.queryformats; + +import com.google.gson.JsonObject; +import org.apache.tinkerpop.gremlin.structure.Vertex; +import org.junit.Before; +import org.junit.Ignore; +import org.junit.Test; +import org.mockito.Mock; +import org.mockito.MockitoAnnotations; +import org.onap.aai.introspection.Loader; +import org.onap.aai.serialization.db.DBSerializer; +import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException; +import org.onap.aai.serialization.queryformats.utils.UrlBuilder; + +import java.io.IOException; + +import static org.mockito.Matchers.isA; +import static org.mockito.Mockito.doReturn; +import static org.mockito.Mockito.spy; + +@Ignore +public class ResourceFormatTest { + + @Mock + private UrlBuilder urlBuilder; + @Mock + private DBSerializer serializer; + @Mock + private Loader loader; + + private ResourceFormatSpec spec; + + @Before + public void setup() throws Exception { + spec = new ResourceFormatSpec(); + MockitoAnnotations.initMocks(this); + } + + @Test + public void resourceAndUrl() throws Exception { + QueryFormatTestHelper.mockPathed(urlBuilder); + Resource resource = new Resource.Builder(loader, serializer, urlBuilder).includeUrl().build(); + Resource spy = spy(resource); + doReturn(new JsonObject()).when(spy).vertexToJsonObject(isA(Vertex.class)); + Formatter formatter = new Formatter(spy); + spec.verifyFormat(formatter, "resource_and_url-format.json"); + } + + @Test + public void resource() throws IOException, AAIFormatVertexException { + QueryFormatTestHelper.mockPathed(urlBuilder); + Resource resource = new Resource.Builder(loader, serializer, urlBuilder).build(); + Resource spy = spy(resource); + doReturn(new JsonObject()).when(spy).vertexToJsonObject(isA(Vertex.class)); + Formatter formatter = new Formatter(spy); + spec.verifyFormat(formatter, "resource-format.json"); + } +} diff --git a/aai-resources/src/test/java/org/onap/aai/util/JettyObfuscationConversionCommandLineUtilTest.java b/aai-resources/src/test/java/org/onap/aai/util/JettyObfuscationConversionCommandLineUtilTest.java index 90e16c3..94b63e1 100644 --- a/aai-resources/src/test/java/org/onap/aai/util/JettyObfuscationConversionCommandLineUtilTest.java +++ b/aai-resources/src/test/java/org/onap/aai/util/JettyObfuscationConversionCommandLineUtilTest.java @@ -21,6 +21,7 @@ */ package org.onap.aai.util; +import org.junit.Ignore; import org.junit.Test; import java.io.ByteArrayOutputStream; @@ -30,7 +31,7 @@ import java.util.regex.Pattern; import static org.junit.Assert.assertTrue; - +@Ignore public class JettyObfuscationConversionCommandLineUtilTest { private final ByteArrayOutputStream testOut = new ByteArrayOutputStream(); @@ -40,7 +41,7 @@ public class JettyObfuscationConversionCommandLineUtilTest { @Test public void test() { //setup, this will catch main's print statements for evaluation - System.setOut(new PrintStream(testOut)); +// System.setOut(new PrintStream(testOut)); /* ------ TEST OBFUSCATION ----*/ JettyObfuscationConversionCommandLineUtil.main(new String[]{"-e", "hello world"}); @@ -66,7 +67,7 @@ public class JettyObfuscationConversionCommandLineUtilTest { assertTrue(deobfMatch.find()); //clean up, resets to stdout - System.setOut(null); +// System.setOut(null); } } diff --git a/aai-resources/src/test/resources/bundleconfig-local/etc/appprops/error.properties b/aai-resources/src/test/resources/bundleconfig-local/etc/appprops/error.properties index 10f1177..63df92b 100644 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/appprops/error.properties +++ b/aai-resources/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 @@ -149,6 +144,8 @@ 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 +AAI_7406=5:4:ERROR:7406:400:7406:Request Timed Out #--- aaiauth: 9101-9199 AAI_9101=5:0:WARN:9101:403:3300:User is not authorized to perform function diff --git a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml b/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml deleted file mode 100644 index a51dd90..0000000 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v10.xml +++ /dev/null @@ -1,5482 +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="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&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&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&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&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&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&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&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="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> - </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-key" /> - <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="searchable" value="group-id,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&AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&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="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="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&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&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&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="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&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&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="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-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.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" /> - </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="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&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&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&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-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="dbAlias" value="nfc-function" /> - </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&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&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&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 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="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&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&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-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&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&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 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&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="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> - - <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="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" /> - </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-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml b/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml deleted file mode 100644 index 2d22b73..0000000 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v11.xml +++ /dev/null @@ -1,6071 +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.v11" xml-mapping-metadata-complete="true"> - <xml-schema element-form-default="QUALIFIED"> - <xml-ns namespace-uri="http://org.onap.aai.inventory/v11" /> - </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.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="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" /> - <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v11.AaiInternal" /> - <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v11.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.v11.EdgeTagQueryResult" /> - <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v11.EdgeTagQueryRequest" /> - <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v11.SearchResults" /> - <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.InventoryItemData" /> - <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v11.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.v11.StartNodeFilter" /> - <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v11.IncludeNodeFilter" /> - <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v11.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.v11.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&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.v11.OamNetworks" /> - <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v11.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.v11.DvsSwitches" /> - <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v11.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.v11.Update" /> - <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.Complexes" /> - <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v11.CloudRegions" /> - <xml-element java-attribute="networkProfiles" name="network-profiles" type="inventory.aai.onap.org.v11.NetworkProfiles" /> - <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.v11.Pservers" /> - <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.v11.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.v11.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 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="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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.v11.VolumeGroups" /> - <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v11.Tenants" /> - <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v11.Flavors" /> - <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v11.GroupAssignments" /> - <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v11.Snapshots" /> - <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v11.Images" /> - <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v11.DvsSwitches" /> - <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 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&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&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.v11.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.v11.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.v11.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&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&AI." /> - </xml-properties> - </xml-element> - <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v11.RelationshipData" /> - <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v11.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&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.v11.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.v11.CtagPools" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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="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." /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v11.Vservers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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,tenant-context" /> - <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.v11.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.v11.Volumes" /> - <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" /> - </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.v11.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&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="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" /> - <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="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.v11.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.v11.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.v11.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,vnfc" /> - </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.v11.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="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> - </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="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" /> - <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="description" value="Definition of vlan" /> - <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> - </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.v11.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,vnfc" /> - </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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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="searchable" value="group-id,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.v11.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.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="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.v11.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.v11.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.v11.RelationshipList" /> - </java-attributes> - <xml-properties> - <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&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.v11.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.v11.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.v11.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="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" /> - </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.v11.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="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> - <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.v11.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.v11.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.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-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" /> - <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="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="project" name="project" type="inventory.aai.onap.org.v11.Project" /> - </java-attributes> - </java-type> - - <java-type name="Project"> - <xml-root-element name="project" /> - <java-attributes> - <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." /> - </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 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> - </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.v11.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&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&AI version of the widget." /> - </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="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.v11.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.v11.ServiceSubscriptions" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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="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." /> - </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.v11.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&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.v11.ServiceInstances"> - </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="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.v11.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="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="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&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&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.v11.RelationshipList" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v11.Metadata" /> - <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v11.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,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" /> - <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.v11.VnfImages" /> - <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v11.Services" /> - <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v11.ServiceCapabilities" /> - <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v11.Models" /> - <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.LogicalLinks" /> - <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v11.SitePairSets" /> - <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v11.VpnBindings" /> - <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v11.VplsPes" /> - <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v11.MulticastConfigurations" /> - <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v11.Vces" /> - <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v11.Vnfcs" /> - <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v11.L3Networks" /> - <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v11.NetworkPolicies" /> - <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v11.GenericVnfs" /> - <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v11.LagLinks" /> - <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v11.Newvces" /> - <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v11.Pnfs" /> - <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v11.PhysicalLinks" /> - <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v11.IpsecConfigurations" /> - <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="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="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" /> - </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-properties> - </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.v11.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 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" /> - </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="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&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&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.v11.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.v11.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.v11.RoutingInstances" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.SitePairs" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.RelationshipList" /> - </java-attributes> - <xml-properties> - <xml-property name="indexedProps" 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.v11.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.v11.ClassesOfService" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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&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="vpnRegion" name="vpn-region" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="region of customer vpn" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="customerVpnId" name="customer-vpn-id" type="java.lang.String"> - <xml-properties> - <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"> - <xml-properties> - <xml-property name="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.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" /> - </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.v11.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.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" /> - </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.v11.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.v11.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.v11.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.v11.PortGroups" /> - <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v11.Licenses" /> - <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v11.Entitlements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.CvlanTags" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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="nfcNamingCode" name="nfc-naming-code" required="true" type="java.lang.String"> - <xml-properties> - <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="nfcFunction" name="nfc-function" required="true" type="java.lang.String"> - <xml-properties> - <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"> - <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="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,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" /> - </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.v11.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&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&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&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.v11.Subnets" /> - <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v11.CtagAssignments" /> - <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v11.SegmentationAssignments" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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="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> - <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.v11.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 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="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&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&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-property name="suggestibleOnSearch" value="true"/> - </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="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" /> - <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v11.VfModules" /> - <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v11.Licenses" /> - <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v11.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.v11.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&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&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.v11.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.v11.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.v11.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.v11.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.v11.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v11.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.v11.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.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" /> - </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.v11.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&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="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." /> - </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="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.v11.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.v11.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.v11.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.v11.RelationshipList" /> - <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v11.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.v11.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.v11.ReservedPropNames" /> - <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v11.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="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> - - <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.v11.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.v11.ModelVers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.ModelElements" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v11.Metadata" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.ElementChoiceSets" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.ModelElements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.NamedQueryElements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.NamedQueryElements" /> - <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v11.RelatedLookups" /> - <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v11.PropertyConstraints" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.QueryParameters" /> - <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v11.InstanceFilters" /> - <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v11.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.v11.NamedQuery" /> - <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v11.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.v11.ModelVers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.ExtraProperties" /> - <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.InstanceGroup" /> - </java-attributes> - </java-type> - - <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." /> - </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.v11.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="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" /> - </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.v11.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.v11.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.v11.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.v11.TunnelXconnects" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.v11.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.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="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="description" value="Identifier for the sriov-pf" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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="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="host-route id" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="routePrefix" name="route-prefix" required="true" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="subnet prefix" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="nextHop" name="next-hop" required="true" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="Could be ip-address, hostname, or service-instance" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="nextHopType" name="next-hop-type" type="java.lang.String"> - <xml-properties> - <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="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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="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="IP address" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vipIpv4PrefixLength" name="vip-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.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="IP address" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vipIpv6PrefixLength" name="vip-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.v11.RelationshipList" /> - </java-attributes> - <xml-properties> - <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> -</xml-bindings> diff --git a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml b/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml deleted file mode 100644 index a728b53..0000000 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v12.xml +++ /dev/null @@ -1,6074 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - ============LICENSE_START======================================================= - org.openecomp.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========================================================= - --> - -<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v12" xml-mapping-metadata-complete="true"> - <xml-schema element-form-default="QUALIFIED"> - <xml-ns namespace-uri="http://org.onap.aai.inventory/v12" /> - </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.v12.Search" /> - <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.v12.Actions" /> - <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.v12.CloudInfrastructure" /> - <xml-element java-attribute="licenseManagement" name="license-management" type="inventory.aai.onap.org.v12.LicenseManagement" /> - <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v12.Business" /> - <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.v12.ServiceDesignAndCreation" /> - <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.v12.Network" /> - <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.v12.AaiInternal" /> - <xml-element java-attribute="nodes" name="nodes" type="inventory.aai.onap.org.v12.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.v12.EdgeTagQueryResult" /> - <xml-element java-attribute="edgeTagQueryRequest" name="edge-tag-query-request" type="inventory.aai.onap.org.v12.EdgeTagQueryRequest" /> - <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.v12.SearchResults" /> - <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.InventoryItemData" /> - <xml-element container-type="java.util.ArrayList" java-attribute="taggedInventoryItemList" name="tagged-inventory-item-list" type="inventory.aai.onap.org.v12.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.v12.StartNodeFilter" /> - <xml-element container-type="java.util.ArrayList" java-attribute="includeNodeFilter" name="include-node-filter" type="inventory.aai.onap.org.v12.IncludeNodeFilter" /> - <xml-element container-type="java.util.ArrayList" java-attribute="secondaryFilter" name="secondary-filter" type="inventory.aai.onap.org.v12.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.v12.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&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.v12.OamNetworks" /> - <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.v12.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.v12.DvsSwitches" /> - <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.v12.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.v12.Update" /> - <xml-element java-attribute="notify" name="notify" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.Complexes" /> - <xml-element java-attribute="cloudRegions" name="cloud-regions" type="inventory.aai.onap.org.v12.CloudRegions" /> - <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" /> - </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.v12.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 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="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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.v12.VolumeGroups" /> - <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.v12.Tenants" /> - <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.v12.Flavors" /> - <xml-element java-attribute="groupAssignments" name="group-assignments" type="inventory.aai.onap.org.v12.GroupAssignments" /> - <xml-element java-attribute="snapshots" name="snapshots" type="inventory.aai.onap.org.v12.Snapshots" /> - <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.v12.Images" /> - <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.v12.DvsSwitches" /> - <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.v12.OamNetworks" /> - <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.v12.AvailabilityZones" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="vipIpv4AddressList" name="vip-ipv4-address-list" type="inventory.aai.onap.org.v12.VipIpv4AddressList" /> - <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&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&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.v12.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.v12.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.v12.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&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&AI." /> - </xml-properties> - </xml-element> - <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.v12.RelationshipData" /> - <xml-element container-type="java.util.ArrayList" java-attribute="relatedToProperty" name="related-to-property" type="inventory.aai.onap.org.v12.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&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.v12.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.v12.CtagPools" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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="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." /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.v12.Vservers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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,tenant-context" /> - <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.v12.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.v12.Volumes" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.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.v12.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&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="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.v12.Vlans" /> - <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v12.SriovVfs" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.LInterfaces" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v12.L3InterfaceIpv4AddressList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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,vnfc" /> - </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.v12.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="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> - </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="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.v12.RelationshipList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v12.L3InterfaceIpv4AddressList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v12.L3InterfaceIpv6AddressList" /> - </java-attributes> - <xml-properties> - <xml-property name="description" value="Definition of vlan" /> - <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> - </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.v12.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,vnfc" /> - </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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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="searchable" value="group-id,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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.RelationshipList" /> - </java-attributes> - <xml-properties> - <xml-property name="description" value="Digital virtual switch metadata, used by SDN-C to configure VCEs. A&AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&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.v12.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.v12.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.v12.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="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.v12.RelationshipList" /> - <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v12.PInterfaces" /> - <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v12.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.v12.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="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.v12.RelationshipList" /> - <xml-element java-attribute="sriovPfs" name="sriov-pfs" type="inventory.aai.onap.org.v12.SriovPfs" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.Connectors" /> - <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v12.Customers" /> - <xml-element java-attribute="linesOfBusiness" name="lines-of-business" type="inventory.aai.onap.org.v12.LinesOfBusiness" /> - <xml-element java-attribute="owningEntities" name="owning-entities" type="inventory.aai.onap.org.v12.OwningEntities" /> - <xml-element java-attribute="platforms" name="platforms" type="inventory.aai.onap.org.v12.Platforms" /> - <xml-element java-attribute="projects" name="projects" type="inventory.aai.onap.org.v12.Projects" /> - </java-attributes> - </java-type> - - <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="project" name="project" type="inventory.aai.onap.org.v12.Project" /> - </java-attributes> - </java-type> - - <java-type name="Project"> - <xml-root-element name="project" /> - <java-attributes> - <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." /> - </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="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> - </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.v12.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&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&AI version of the widget." /> - </xml-properties> - </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" /> - </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.v12.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.v12.ServiceSubscriptions" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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="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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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." /> - </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.v12.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&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.v12.ServiceInstances"> - </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="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.v12.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="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="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&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&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.v12.RelationshipList" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v12.Metadata" /> - <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v12.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,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" /> - <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.v12.VnfImages" /> - <xml-element java-attribute="services" name="services" type="inventory.aai.onap.org.v12.Services" /> - <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.v12.ServiceCapabilities" /> - <xml-element java-attribute="models" name="models" type="inventory.aai.onap.org.v12.Models" /> - <xml-element java-attribute="namedQueries" name="named-queries" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.LogicalLinks" /> - <xml-element java-attribute="sitePairSets" name="site-pair-sets" type="inventory.aai.onap.org.v12.SitePairSets" /> - <xml-element java-attribute="vpnBindings" name="vpn-bindings" type="inventory.aai.onap.org.v12.VpnBindings" /> - <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.v12.VplsPes" /> - <xml-element java-attribute="multicastConfigurations" name="multicast-configurations" type="inventory.aai.onap.org.v12.MulticastConfigurations" /> - <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.v12.Vces" /> - <xml-element java-attribute="vnfcs" name="vnfcs" type="inventory.aai.onap.org.v12.Vnfcs" /> - <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.v12.L3Networks" /> - <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v12.NetworkPolicies" /> - <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.v12.GenericVnfs" /> - <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.v12.LagLinks" /> - <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.v12.Newvces" /> - <xml-element java-attribute="pnfs" name="pnfs" type="inventory.aai.onap.org.v12.Pnfs" /> - <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.v12.PhysicalLinks" /> - <xml-element java-attribute="ipsecConfigurations" name="ipsec-configurations" type="inventory.aai.onap.org.v12.IpsecConfigurations" /> - <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="configurations" name="configurations" type="inventory.aai.onap.org.v12.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.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-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="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="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.v12.RelationshipList" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v12.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-properties> - </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.v12.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 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" /> - </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="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&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&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.v12.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.v12.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.v12.RoutingInstances" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.SitePairs" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.RelationshipList" /> - </java-attributes> - <xml-properties> - <xml-property name="indexedProps" 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.v12.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.v12.ClassesOfService" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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&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="vpnRegion" name="vpn-region" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="region of customer vpn" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="customerVpnId" name="customer-vpn-id" type="java.lang.String"> - <xml-properties> - <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"> - <xml-properties> - <xml-property name="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.v12.RouteTargets" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v12.PInterfaces" /> - <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.PortGroups" /> - <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v12.Licenses" /> - <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v12.Entitlements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.CvlanTags" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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="nfcNamingCode" name="nfc-naming-code" required="true" type="java.lang.String"> - <xml-properties> - <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="nfcFunction" name="nfc-function" required="true" type="java.lang.String"> - <xml-properties> - <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"> - <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="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.v12.RelationshipList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.v12.L3InterfaceIpv4AddressList" /> - <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.v12.L3InterfaceIpv6AddressList" /> - </java-attributes> - <xml-properties> - <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" /> - </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.v12.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&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&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&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.v12.Subnets" /> - <xml-element java-attribute="ctagAssignments" name="ctag-assignments" type="inventory.aai.onap.org.v12.CtagAssignments" /> - <xml-element java-attribute="segmentationAssignments" name="segmentation-assignments" type="inventory.aai.onap.org.v12.SegmentationAssignments" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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="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.v12.HostRoutes" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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 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="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&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&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-property name="suggestibleOnSearch" value="true"/> - </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="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.v12.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.LInterfaces" /> - <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v12.LagInterfaces" /> - <xml-element java-attribute="vfModules" name="vf-modules" type="inventory.aai.onap.org.v12.VfModules" /> - <xml-element java-attribute="licenses" name="licenses" type="inventory.aai.onap.org.v12.Licenses" /> - <xml-element java-attribute="entitlements" name="entitlements" type="inventory.aai.onap.org.v12.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.v12.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&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&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.v12.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.v12.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.v12.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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v12.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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.v12.PInterfaces" /> - <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.v12.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.v12.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&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="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." /> - </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="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.v12.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.v12.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.v12.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.v12.RelationshipList" /> - <xml-element java-attribute="vigServers" name="vig-servers" type="inventory.aai.onap.org.v12.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.v12.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.v12.ReservedPropNames" /> - <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.v12.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="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> - - <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.v12.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.v12.ModelVers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.ModelElements" /> - <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v12.Metadata" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.ElementChoiceSets" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.ModelElements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.NamedQueryElements" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.NamedQueryElements" /> - <xml-element java-attribute="relatedLookups" name="related-lookups" type="inventory.aai.onap.org.v12.RelatedLookups" /> - <xml-element java-attribute="propertyConstraints" name="property-constraints" type="inventory.aai.onap.org.v12.PropertyConstraints" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.QueryParameters" /> - <xml-element java-attribute="instanceFilters" name="instance-filters" type="inventory.aai.onap.org.v12.InstanceFilters" /> - <xml-element java-attribute="secondaryFilts" name="secondary-filts" type="inventory.aai.onap.org.v12.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.v12.NamedQuery" /> - <xml-element java-attribute="model" name="model" type="inventory.aai.onap.org.v12.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.v12.ModelVers" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.ExtraProperties" /> - <xml-element java-attribute="inventoryResponseItems" name="inventory-response-items" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.InstanceGroup" /> - </java-attributes> - </java-type> - - <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." /> - </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.v12.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="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" /> - </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.v12.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.v12.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.v12.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.v12.TunnelXconnects" /> - <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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.v12.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="description" value="Identifier for the sriov-pf" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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="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.v12.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="host-route id" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="routePrefix" name="route-prefix" required="true" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="subnet prefix" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="nextHop" name="next-hop" required="true" type="java.lang.String"> - <xml-properties> - <xml-property name="description" value="Could be ip-address, hostname, or service-instance" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="nextHopType" name="next-hop-type" type="java.lang.String"> - <xml-properties> - <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="resourceVersion" name="resource-version" type="java.lang.String"> - <xml-properties> - <xml-property name="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="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="IP address" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vipIpv4PrefixLength" name="vip-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.v12.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="IP address" /> - </xml-properties> - </xml-element> - <xml-element java-attribute="vipIpv6PrefixLength" name="vip-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.v12.RelationshipList" /> - </java-attributes> - <xml-properties> - <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> -</xml-bindings> diff --git a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml b/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml deleted file mode 100644 index 0449201..0000000 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v8.xml +++ /dev/null @@ -1,4694 +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="licenseManagement" name="license-management" type="inventory.aai.onap.org.v8.LicenseManagement" /> - <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="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&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, 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" /> - </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. In AT&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&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.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." /> - </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 A&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&AI." /> - </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 A&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.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&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="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> - </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-key" /> - <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&AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&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="LicenseManagement"> - <xml-root-element name="license-management" /> - <java-attributes> - <xml-element java-attribute="licenseKeyResources" name="license-key-resources" type="inventory.aai.onap.org.v8.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.v8.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.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-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&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&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&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&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&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="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-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,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.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 (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="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&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&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, 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.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&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&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&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&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 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" /> - </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&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&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&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&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 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 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. 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" /> - <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&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="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.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="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> - - <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-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml b/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml deleted file mode 100644 index f982b8b..0000000 --- a/aai-resources/src/test/resources/bundleconfig-local/etc/oxm/aai_oxm_v9.xml +++ /dev/null @@ -1,5372 +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="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&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-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&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&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&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&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&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&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="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> - </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-key" /> - <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&AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&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> - - <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&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&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&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="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&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&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-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.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" /> - </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="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&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&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&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> - - - - <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" /> - <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-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="dbAlias" value="nfc-function" /> - </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.v9.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.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&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&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&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="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&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&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&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&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&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="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> - - <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="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="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> - - <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> - - - <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> - - <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> - - <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-resources/src/test/resources/bundleconfig-local/etc/scriptdata/dependencies/vRouterServiceInstanceFile.txt b/aai-resources/src/test/resources/bundleconfig-local/etc/scriptdata/dependencies/vRouterServiceInstanceFile.txt new file mode 100644 index 0000000..a5be791 --- /dev/null +++ b/aai-resources/src/test/resources/bundleconfig-local/etc/scriptdata/dependencies/vRouterServiceInstanceFile.txt @@ -0,0 +1,6 @@ +vnf-id,service-instance-id,global-customer-id +vnf-id1,sample-service-instance-id,customer-id1 +vnf-id2,sample-service-instance-id-1,customer-id1 +vnf-id3,sample-service-instance-id-2,customer-id2 +vnf-id5,sample-service-instance-id-3,customer-id3 +vnf-id6,sample-service-instance-id-4,customer-id4 diff --git a/aai-resources/src/test/resources/edgeLabelMigration.csv b/aai-resources/src/test/resources/edgeLabelMigration.csv new file mode 100644 index 0000000..53639e5 --- /dev/null +++ b/aai-resources/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-resources/src/test/resources/edgeMigrationTestRules.json b/aai-resources/src/test/resources/edgeMigrationTestRules.json new file mode 100644 index 0000000..a18b8a9 --- /dev/null +++ b/aai-resources/src/test/resources/edgeMigrationTestRules.json @@ -0,0 +1,12 @@ +{"rules": +[{ + "from": "generic-vnf", + "to": "l-interface", + "label": "hasLInterface", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "${direction}", + "delete-other-v": "${direction}", + "SVC-INFRA": "${direction}", + "prevent-delete": "NONE" +}]}
\ No newline at end of file |