aboutsummaryrefslogtreecommitdiffstats
path: root/vnfapi
diff options
context:
space:
mode:
Diffstat (limited to 'vnfapi')
-rw-r--r--vnfapi/.gitignore34
-rw-r--r--vnfapi/.sonar/checkstyle.xml1
-rw-r--r--vnfapi/.sonar/pmd.xml67
-rw-r--r--vnfapi/README.txt35
-rw-r--r--vnfapi/features/features-vnfapi/pom.xml29
-rw-r--r--vnfapi/features/pom.xml23
-rw-r--r--vnfapi/features/sdnc-vnfapi/pom.xml45
-rwxr-xr-xvnfapi/installer/pom.xml142
-rw-r--r--vnfapi/installer/src/assembly/assemble_installer_zip.xml56
-rw-r--r--vnfapi/installer/src/assembly/assemble_mvnrepo_zip.xml47
-rw-r--r--vnfapi/installer/src/main/resources/scripts/install-feature.sh39
-rw-r--r--vnfapi/model/pom.xml27
-rwxr-xr-xvnfapi/model/scripts/python/yang2props.py57
-rw-r--r--vnfapi/model/src/main/resources/vnf-api.20150720.json35918
-rwxr-xr-xvnfapi/model/src/main/yang/VNF-API.yang932
-rwxr-xr-xvnfapi/model/src/main/yang/vnfsubmodule.yang357
-rw-r--r--vnfapi/pom.xml25
-rw-r--r--vnfapi/provider/pom.xml95
-rw-r--r--vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClient.java270
-rw-r--r--vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfApiProvider.java2327
-rw-r--r--vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfSdnUtil.java295
-rw-r--r--vnfapi/provider/src/main/resources/OSGI-INF/blueprint/vnfapi-blueprint.xml34
-rw-r--r--vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml34
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClientTest.java437
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VfModuleTopologyOperationTest.java388
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfApiProviderTest.java70
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfInstanceTopologyOperationTest.java368
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfSdnUtilTest.java41
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfTopologyOperationRPCTest.java174
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfapiProviderTestBase.java1416
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/DataBrokerUtil.java94
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/MDSALUtil.java113
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/PropBuilder.java62
-rw-r--r--vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/VNFSDNSvcLogicServiceClientMockUtil.java130
-rw-r--r--vnfapi/provider/src/test/resources/proplist.properties22
-rw-r--r--vnfapi/provider/src/test/resources/simplelogger.properties23
36 files changed, 0 insertions, 44227 deletions
diff --git a/vnfapi/.gitignore b/vnfapi/.gitignore
deleted file mode 100644
index b73caf31..00000000
--- a/vnfapi/.gitignore
+++ /dev/null
@@ -1,34 +0,0 @@
-#####standard .git ignore entries#####
-
-## IDE Specific Files ##
-org.eclipse.core.resources.prefs
-.classpath
-.project
-.settings
-.idea
-.externalToolBuilders
-maven-eclipse.xml
-workspace
-
-## Compilation Files ##
-*.class
-**/target
-target
-target-ide
-MANIFEST.MF
-
-## Misc Ignores (OS specific etc) ##
-bin/
-dist
-*~
-*.ipr
-*.iml
-*.iws
-classes
-out/
-.DS_STORE
-.metadata
-
-## Folders which contain auto generated source code ##
-yang-gen-config
-yang-gen-sal
diff --git a/vnfapi/.sonar/checkstyle.xml b/vnfapi/.sonar/checkstyle.xml
deleted file mode 100644
index 3fa23153..00000000
--- a/vnfapi/.sonar/checkstyle.xml
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"><!-- Generated by Sonar --><module name="Checker"><module name="SuppressionCommentFilter"/><module name="TreeWalker"><module name="FileContentsHolder"/> <module name="ClassFanOutComplexity"><property name="severity" value="warning"/></module><module name="NestedForDepth"><property name="severity" value="warning"/><property name="max" value="1"/></module><module name="ClassDataAbstractionCoupling"><property name="severity" value="warning"/></module></module></module> \ No newline at end of file
diff --git a/vnfapi/.sonar/pmd.xml b/vnfapi/.sonar/pmd.xml
deleted file mode 100644
index 80343b3b..00000000
--- a/vnfapi/.sonar/pmd.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ruleset>
- <rule ref="rulesets/java/naming.xml/BooleanGetMethodName">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/j2ee.xml/StaticEJBFieldShouldBeFinal">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/coupling.xml/CouplingBetweenObjects">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/codesize.xml/TooManyMethods">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/naming.xml/AvoidFieldNameMatchingTypeName">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/basic.xml/DoubleCheckedLocking">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/naming.xml/AvoidFieldNameMatchingMethodName">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/coupling.xml/ExcessiveImports">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode">
- <priority>2</priority>
- </rule>
- <rule ref="rulesets/java/naming.xml/ShortMethodName">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/basic.xml/BooleanInstantiation">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/codesize.xml/TooManyFields">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/controversial.xml/AvoidUsingNativeCode">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/optimizations.xml/UseStringBufferForStringAppends">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/coupling.xml/LooseCoupling">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/design.xml/NonThreadSafeSingleton">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/j2ee.xml/DoNotUseThreads">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/sunsecure.xml/ArrayIsStoredDirectly">
- <priority>5</priority>
- </rule>
- <rule ref="rulesets/java/sunsecure.xml/MethodReturnsInternalArray">
- <priority>2</priority>
- </rule>
- <rule ref="rulesets/java/design.xml/AssignmentToNonFinalStatic">
- <priority>3</priority>
- </rule>
- <rule ref="rulesets/java/strictexception.xml/AvoidCatchingGenericException">
- <priority>3</priority>
- </rule>
-</ruleset>
-
diff --git a/vnfapi/README.txt b/vnfapi/README.txt
deleted file mode 100644
index f9f4a2ab..00000000
--- a/vnfapi/README.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-======================
-Introduction
-======================
-You have generated an MD-SAL module using the Brocade Archetype.
-
-* You should be able to successfully run 'mvn clean install' on this project.
-* This will produce a .zip file under the karaf.extension directory which you can deploy using
-Brocade's extension deployment mechanism.
-
-======================
-Next Steps:
-======================
-* run a 'mvn clean install' if you haven't already. This will generate some code from the yang models.
-* Modify the model yang file under the model project.
-* Follow the comments in the generated provider class to wire your new provider into the generated
-code.
-* Modify the generated provider model to respond to and handle the yang model. Depending on what
-you added to your model you may need to inherit additional interfaces or make other changes to
-the provider model.
-
-======================
-Generated Bundles:
-======================
-* model
- - Provides the yang model for your application. This is your primary northbound interface.
-* provider
- - Provides a template implementation for a provider to respond to your yang model.
-* features
- - Defines a karaf feature. If you add dependencies on third-party bundles then you will need to
- modify the features.xml to list out the dependencies.
-* karaf.extension
- - Bundles all of the jars and third party dependencies (minus ODL dependencies) into a single
- .zip file with the necessary configuration files to work correctly with the Brocade extension
- mechanism.
-
diff --git a/vnfapi/features/features-vnfapi/pom.xml b/vnfapi/features/features-vnfapi/pom.xml
deleted file mode 100644
index 25d6ce2b..00000000
--- a/vnfapi/features/features-vnfapi/pom.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>feature-repo-parent</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>features-vnfapi</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>sdnc-vnfapi</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/vnfapi/features/pom.xml b/vnfapi/features/pom.xml
deleted file mode 100644
index 32711ece..00000000
--- a/vnfapi/features/pom.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-features</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <modules>
- <module>sdnc-vnfapi</module>
- <module>features-vnfapi</module>
- </modules>
-</project>
diff --git a/vnfapi/features/sdnc-vnfapi/pom.xml b/vnfapi/features/sdnc-vnfapi/pom.xml
deleted file mode 100644
index fbee76ac..00000000
--- a/vnfapi/features/sdnc-vnfapi/pom.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>sdnc-vnfapi</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>odl-mdsal-broker</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.sli.core</groupId>
- <artifactId>ccsdk-sli</artifactId>
- <version>${ccsdk.sli.core.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vnfapi-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vnfapi-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- </dependencies>
-</project>
diff --git a/vnfapi/installer/pom.xml b/vnfapi/installer/pom.xml
deleted file mode 100755
index 14e13809..00000000
--- a/vnfapi/installer/pom.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-installer</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <properties>
- <application.name>sdnc-vnfapi</application.name>
- <features.boot>${application.name}</features.boot>
- <features.repositories>mvn:org.onap.sdnc.northbound/${application.name}/${project.version}/xml/features</features.repositories>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>vnfapi-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>maven-repo-zip</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <attach>true</attach>
- <finalName>stage/${application.name}-${project.version}</finalName>
- <descriptors>
- <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- <execution>
- <id>installer-zip</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <attach>true</attach>
- <finalName>${application.name}-${project.version}-installer</finalName>
- <descriptors>
- <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <transitive>false</transitive>
- <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- <useRepositoryLayout>true</useRepositoryLayout>
- <addParentPoms>false</addParentPoms>
- <copyPom>false</copyPom>
- <includeGroupIds>org.onap.sdnc.northbound</includeGroupIds>
- <scope>provided</scope>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>copy-version</id>
- <goals>
- <goal>copy-resources</goal>
- </goals><!-- here the phase you need -->
- <phase>validate</phase>
- <configuration>
- <outputDirectory>${basedir}/target/stage</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources/scripts</directory>
- <includes>
- <include>install-feature.sh</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
-
- </executions>
- </plugin>
-
- </plugins>
- </build>
-</project>
diff --git a/vnfapi/installer/src/assembly/assemble_installer_zip.xml b/vnfapi/installer/src/assembly/assemble_installer_zip.xml
deleted file mode 100644
index 13156fda..00000000
--- a/vnfapi/installer/src/assembly/assemble_installer_zip.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<!--
- ============LICENSE_START=======================================================
- openECOMP : SDN-C
- ================================================================================
- 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=========================================================
- -->
-
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>installer_zip</id>
- <formats>
- <format>zip</format>
- </formats>
-
- <!-- we want "system" and related files right at the root level
- as this file is suppose to be unzip on top of a karaf
- distro. -->
- <includeBaseDirectory>false</includeBaseDirectory>
-
- <fileSets>
- <fileSet>
- <directory>target/stage/</directory>
- <outputDirectory>${application.name}</outputDirectory>
- <fileMode>755</fileMode>
- <includes>
- <include>*.sh</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>target/stage/</directory>
- <outputDirectory>${application.name}</outputDirectory>
- <fileMode>644</fileMode>
- <excludes>
- <exclude>*.sh</exclude>
- </excludes>
- </fileSet>
- </fileSets>
-
-
-</assembly>
diff --git a/vnfapi/installer/src/assembly/assemble_mvnrepo_zip.xml b/vnfapi/installer/src/assembly/assemble_mvnrepo_zip.xml
deleted file mode 100644
index 05f52597..00000000
--- a/vnfapi/installer/src/assembly/assemble_mvnrepo_zip.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<!--
- ============LICENSE_START=======================================================
- openECOMP : SDN-C
- ================================================================================
- 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=========================================================
- -->
-
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>repo</id>
- <formats>
- <format>zip</format>
- </formats>
-
- <!-- we want "system" and related files right at the root level
- as this file is suppose to be unzip on top of a karaf
- distro. -->
- <includeBaseDirectory>false</includeBaseDirectory>
-
- <fileSets>
- <fileSet>
- <directory>target/assembly/</directory>
- <outputDirectory>.</outputDirectory>
- <excludes>
- </excludes>
- </fileSet>
- </fileSets>
-
-
-
-</assembly>
diff --git a/vnfapi/installer/src/main/resources/scripts/install-feature.sh b/vnfapi/installer/src/main/resources/scripts/install-feature.sh
deleted file mode 100644
index d5f620f1..00000000
--- a/vnfapi/installer/src/main/resources/scripts/install-feature.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# 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=========================================================
-###
-
-ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
-ODL_KARAF_CLIENT=${ODL_KARAF_CLIENT:-${ODL_HOME}/bin/client}
-INSTALLERDIR=$(dirname $0)
-
-REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
-
-if [ -f ${REPOZIP} ]
-then
- unzip -d ${ODL_HOME} ${REPOZIP}
-else
- echo "ERROR : repo zip ($REPOZIP) not found"
- exit 1
-fi
-
-${ODL_KARAF_CLIENT} feature:repo-add ${features.repositories}
-${ODL_KARAF_CLIENT} feature:install ${features.boot}
diff --git a/vnfapi/model/pom.xml b/vnfapi/model/pom.xml
deleted file mode 100644
index 8f2ed064..00000000
--- a/vnfapi/model/pom.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-model</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991</artifactId>
- </dependency>
-
-
- </dependencies>
-</project>
diff --git a/vnfapi/model/scripts/python/yang2props.py b/vnfapi/model/scripts/python/yang2props.py
deleted file mode 100755
index 3cd56e40..00000000
--- a/vnfapi/model/scripts/python/yang2props.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/python
-
-import re
-import sys
-
-
-# Convert word from foo-bar to FooBar
-# words begining with a digit will be converted to _digit
-def to_enum(s):
- if s[0].isdigit():
- s = "_" + s
- else:
- s = s[0].upper() + s[1:]
- return re.sub(r'(?!^)-([a-zA-Z])', lambda m: m.group(1).upper(), s)
-
-leaf = ""
-val = ""
-li = []
-
-if len(sys.argv) < 3:
- print('yang2props.py <input yang> <output properties>')
- sys.exit(2)
-
-with open(sys.argv[1], "r") as ins:
- for line in ins:
- # if we see a leaf save the name for later
- if "leaf " in line:
- match = re.search(r'leaf (\S+)', line)
- if match:
- leaf = match.group(1)
-
- # if we see enum convert the value to enum format and see if it changed
- # if the value is different write a property entry
- if "enum " in line:
- match = re.search(r'enum "(\S+)";', line)
- if match:
- val = match.group(1)
- enum = to_enum(val)
-
- # see if converting to enum changed the string
- if val != enum:
- property = "yang."+leaf+"."+enum+"="+val
- if property not in li:
- li.append( property)
-
-
-# Open output file
-fo = open(sys.argv[2], "w")
-fo.write("# yang conversion properties \n")
-fo.write("# used to convert Enum back to the original yang value \n")
-fo.write("\n".join(li))
-fo.write("\n")
-
-# Close opend file
-fo.close()
-
-
diff --git a/vnfapi/model/src/main/resources/vnf-api.20150720.json b/vnfapi/model/src/main/resources/vnf-api.20150720.json
deleted file mode 100644
index 5319ed34..00000000
--- a/vnfapi/model/src/main/resources/vnf-api.20150720.json
+++ /dev/null
@@ -1,35918 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "1.0.0"
- },
- "basePath": "/restconf",
- "paths": {
- "/config": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)preload-vnfs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnfs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnfs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnfs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)preload-vnf-instances",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnf-instances-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instances",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnf-instances-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)preload-vf-modules",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vf-modules-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-modules",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vf-modules-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)VNF-API_modulePOST"
- }
- }
- },
- "description": "Defines API interface for VNF Orchestration",
- "operationId": "POST-VNF-API_module"
- }
- },
- "/config/VNF-API:preload-vf-modules": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-preload-vf-modules"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vf-modules"
- }
- }
- },
- "operationId": "GET-preload-vf-modules"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vf-module-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vf-modulesPOST"
- }
- }
- },
- "operationId": "POST-preload-vf-modules"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)preload-vf-modules",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vf-modules-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vf-modules-TOP"
- }
- }
- },
- "operationId": "PUT-preload-vf-modules"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-preload-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-preload-list"
- }
- }
- },
- "operationId": "GET-vf-module-preload-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vf-module-preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-preload-listPOST"
- }
- }
- },
- "operationId": "POST-vf-module-preload-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-preload-list"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-preload-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-preload-data"
- }
- }
- },
- "operationId": "GET-vf-module-preload-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-preload-dataPOST"
- }
- }
- },
- "operationId": "POST-vf-module-preload-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-preload-data"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-topology-information"
- }
- }
- },
- "operationId": "GET-vf-module-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vf-module-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-topology-information"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vf-module-identifiers": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-identifiers"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-identifiers"
- }
- }
- },
- "operationId": "GET-vf-module-identifiers"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-identifiers"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:preload-vf-modules/vf-module-preload-list/{vf-module-name}/{vf-module-model-id}/vf-module-preload-data/vf-module-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vf-module-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vf-module-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:preload-vnf-instances": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-preload-vnf-instances"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vnf-instances"
- }
- }
- },
- "operationId": "GET-preload-vnf-instances"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vnf-instance-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vnf-instancesPOST"
- }
- }
- },
- "operationId": "POST-preload-vnf-instances"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)preload-vnf-instances",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnf-instances-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnf-instances-TOP"
- }
- }
- },
- "operationId": "PUT-preload-vnf-instances"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-preload-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-preload-list"
- }
- }
- },
- "operationId": "GET-vnf-instance-preload-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-preload-listPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-preload-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-preload-list"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-preload-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-preload-data"
- }
- }
- },
- "operationId": "GET-vnf-instance-preload-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-preload-dataPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-preload-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-preload-data"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-topology-information"
- }
- }
- },
- "operationId": "GET-vnf-instance-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-topology-information"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/service-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-information"
- }
- }
- },
- "operationId": "GET-service-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- }
- },
- "operationId": "PUT-service-information"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-instance-identifiers": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-identifiers"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-identifiers"
- }
- }
- },
- "operationId": "GET-vnf-instance-identifiers"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-identifiers"
- }
- },
- "/config/VNF-API:preload-vnf-instances/vnf-instance-preload-list/{vnf-instance-name}/{vnf-model-id}/vnf-instance-preload-data/vnf-instance-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vnf-instance-name, aka generic-vnf-name",
- "in": "path",
- "name": "vnf-instance-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vnf-model-id, aka generic-vnf-type",
- "in": "path",
- "name": "vnf-model-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:preload-vnfs": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-preload-vnfs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vnfs"
- }
- }
- },
- "operationId": "GET-preload-vnfs"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vnf-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-vnfsPOST"
- }
- }
- },
- "operationId": "POST-preload-vnfs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)preload-vnfs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnfs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)preload-vnfs-TOP"
- }
- }
- },
- "operationId": "PUT-preload-vnfs"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-preload-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-preload-list"
- }
- }
- },
- "operationId": "GET-vnf-preload-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-preload-listPOST"
- }
- }
- },
- "operationId": "POST-vnf-preload-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-preload-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-preload-list"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-preload-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-data"
- }
- }
- },
- "operationId": "GET-preload-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)preload-dataPOST"
- }
- }
- },
- "operationId": "POST-preload-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)preload-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data-TOP"
- }
- }
- },
- "operationId": "PUT-preload-data"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-topology-information"
- }
- }
- },
- "operationId": "GET-network-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-policy",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vpn-bindings",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)provider-network-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)route-table-reference",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-network-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-network-topology-information"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/network-policy/{network-policy-fqdn}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "network-policy-fqdn",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-policy"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "network-policy-fqdn",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-policy"
- }
- }
- },
- "operationId": "GET-network-policy"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "network-policy-fqdn",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-policy",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy-TOP"
- }
- }
- },
- "operationId": "PUT-network-policy"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/network-topology-identifier": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-topology-identifier"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-topology-identifier"
- }
- }
- },
- "operationId": "GET-network-topology-identifier"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier-TOP"
- }
- }
- },
- "operationId": "PUT-network-topology-identifier"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/provider-network-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-provider-network-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)provider-network-information"
- }
- }
- },
- "operationId": "GET-provider-network-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)provider-network-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information-TOP"
- }
- }
- },
- "operationId": "PUT-provider-network-information"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/route-table-reference/{route-table-reference-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-table-reference-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-route-table-reference"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-table-reference-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)route-table-reference"
- }
- }
- },
- "operationId": "GET-route-table-reference"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-table-reference-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)route-table-reference",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference-TOP"
- }
- }
- },
- "operationId": "PUT-route-table-reference"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/subnets/{start-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)subnets"
- }
- }
- },
- "operationId": "GET-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)host-routes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)subnetsPOST"
- }
- }
- },
- "operationId": "POST-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets-TOP"
- }
- }
- },
- "operationId": "PUT-subnets"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/subnets/{start-address}/host-routes/{route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-host-routes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)host-routes"
- }
- }
- },
- "operationId": "GET-host-routes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "start-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)host-routes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes-TOP"
- }
- }
- },
- "operationId": "PUT-host-routes"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/network-topology-information/vpn-bindings/{vpn-binding-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vpn-binding-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vpn-bindings"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vpn-binding-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vpn-bindings"
- }
- }
- },
- "operationId": "GET-vpn-bindings"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vpn-binding-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vpn-bindings",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings-TOP"
- }
- }
- },
- "operationId": "PUT-vpn-bindings"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-information"
- }
- }
- },
- "operationId": "GET-vnf-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-topology-information"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:preload-vnfs/vnf-preload-list/{vnf-name}/{vnf-type}/preload-data/vnf-topology-information/vnf-topology-identifier": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-topology-identifier"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-identifier"
- }
- }
- },
- "operationId": "GET-vnf-topology-identifier"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-name",
- "in": "path",
- "name": "vnf-name",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-type",
- "in": "path",
- "name": "vnf-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-topology-identifier"
- }
- },
- "/config/VNF-API:vf-modules": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-modules"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-modules"
- }
- }
- },
- "operationId": "GET-vf-modules"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vf-module-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-modulesPOST"
- }
- }
- },
- "operationId": "POST-vf-modules"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)vf-modules",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vf-modules-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vf-modules-TOP"
- }
- }
- },
- "operationId": "PUT-vf-modules"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-list"
- }
- }
- },
- "operationId": "GET-vf-module-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-listPOST"
- }
- }
- },
- "operationId": "POST-vf-module-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-list"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/service-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-status"
- }
- }
- },
- "operationId": "GET-service-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status-TOP"
- }
- }
- },
- "operationId": "PUT-service-status"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-service-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-service-data"
- }
- }
- },
- "operationId": "GET-vf-module-service-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-service-dataPOST"
- }
- }
- },
- "operationId": "POST-vf-module-service-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-service-data"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)request-information"
- }
- }
- },
- "operationId": "GET-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information-TOP"
- }
- }
- },
- "operationId": "PUT-request-information"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/sdnc-request-header": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sdnc-request-header"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sdnc-request-header"
- }
- }
- },
- "operationId": "GET-sdnc-request-header"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header-TOP"
- }
- }
- },
- "operationId": "PUT-sdnc-request-header"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/service-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-information"
- }
- }
- },
- "operationId": "GET-service-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information-TOP"
- }
- }
- },
- "operationId": "PUT-service-information"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-request-information"
- }
- }
- },
- "operationId": "GET-vf-module-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-request-information"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-topology-information"
- }
- }
- },
- "operationId": "GET-vf-module-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vf-module-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vf-module-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-topology-information"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vf-module-identifiers": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-identifiers"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-identifiers"
- }
- }
- },
- "operationId": "GET-vf-module-identifiers"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-identifiers"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:vf-modules/vf-module-list/{vf-module-id}/vf-module-service-data/vf-module-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:vnf-instances": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instances"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instances"
- }
- }
- },
- "operationId": "GET-vnf-instances"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vnf-instance-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instancesPOST"
- }
- }
- },
- "operationId": "POST-vnf-instances"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)vnf-instances",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnf-instances-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnf-instances-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instances"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-list"
- }
- }
- },
- "operationId": "GET-vnf-instance-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-listPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-list"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/service-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-status"
- }
- }
- },
- "operationId": "GET-service-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status-TOP"
- }
- }
- },
- "operationId": "PUT-service-status"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-service-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-service-data"
- }
- }
- },
- "operationId": "GET-vnf-instance-service-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vf-module-relationship-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-service-dataPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-service-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-service-data"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)request-information"
- }
- }
- },
- "operationId": "GET-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information-TOP"
- }
- }
- },
- "operationId": "PUT-request-information"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/sdnc-request-header": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sdnc-request-header"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sdnc-request-header"
- }
- }
- },
- "operationId": "GET-sdnc-request-header"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header-TOP"
- }
- }
- },
- "operationId": "PUT-sdnc-request-header"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/service-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-information"
- }
- }
- },
- "operationId": "GET-service-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information-TOP"
- }
- }
- },
- "operationId": "PUT-service-information"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vf-module-relationship-list/{vf-module-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vf-module-relationship-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vf-module-relationship-list"
- }
- }
- },
- "operationId": "GET-vf-module-relationship-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vf-module-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vf-module-relationship-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list-TOP"
- }
- }
- },
- "operationId": "PUT-vf-module-relationship-list"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-request-information"
- }
- }
- },
- "operationId": "GET-vnf-instance-request-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-request-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-request-information"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-request-information/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "List of vnf networks to override preload",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "List of vnf networks to override preload",
- "operationId": "GET-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks-TOP"
- }
- }
- },
- "description": "List of vnf networks to override preload",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-topology-information"
- }
- }
- },
- "operationId": "GET-vnf-instance-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-instance-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-instance-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-topology-information"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/service-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-information"
- }
- }
- },
- "operationId": "GET-service-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information-TOP"
- }
- }
- },
- "operationId": "PUT-service-information"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-instance-identifiers": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-instance-identifiers"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-instance-identifiers"
- }
- }
- },
- "operationId": "GET-vnf-instance-identifiers"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-instance-identifiers",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-instance-identifiers"
- }
- },
- "/config/VNF-API:vnf-instances/vnf-instance-list/{vnf-instance-id}/vnf-instance-service-data/vnf-instance-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "generic-vnf-id",
- "in": "path",
- "name": "vnf-instance-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:vnfs": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfs"
- }
- }
- },
- "operationId": "GET-vnfs"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "**(config)vnf-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfsPOST"
- }
- }
- },
- "operationId": "POST-vnfs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "(config)vnfs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnfs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API(config)vnfs-TOP"
- }
- }
- },
- "operationId": "PUT-vnfs"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-list"
- }
- }
- },
- "operationId": "GET-vnf-list"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-listPOST"
- }
- }
- },
- "operationId": "POST-vnf-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-list"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-data"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-data"
- }
- }
- },
- "operationId": "GET-service-data"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-dataPOST"
- }
- }
- },
- "operationId": "POST-service-data"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-data",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data-TOP"
- }
- }
- },
- "operationId": "PUT-service-data"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/oper-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-oper-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)oper-status"
- }
- }
- },
- "operationId": "GET-oper-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)oper-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status-TOP"
- }
- }
- },
- "operationId": "PUT-oper-status"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)request-information"
- }
- }
- },
- "operationId": "GET-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information-TOP"
- }
- }
- },
- "operationId": "PUT-request-information"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/sdnc-request-header": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sdnc-request-header"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sdnc-request-header"
- }
- }
- },
- "operationId": "GET-sdnc-request-header"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sdnc-request-header",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header-TOP"
- }
- }
- },
- "operationId": "PUT-sdnc-request-header"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/service-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-information"
- }
- }
- },
- "operationId": "GET-service-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information-TOP"
- }
- }
- },
- "operationId": "PUT-service-information"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-request-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-request-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-request-information"
- }
- }
- },
- "operationId": "GET-vnf-request-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-request-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-request-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-request-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-request-information"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-request-information/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-topology-information"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-information"
- }
- }
- },
- "operationId": "GET-vnf-topology-information"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-informationPOST"
- }
- }
- },
- "operationId": "POST-vnf-topology-information"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-topology-information",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-topology-information"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-assignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignments"
- }
- }
- },
- "operationId": "GET-vnf-assignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-assignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnf-assignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-assignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-assignments"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/availability-zones/{availability-zone}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-availability-zones"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)availability-zones"
- }
- }
- },
- "operationId": "GET-availability-zones"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "Openstack availability zone name or UUID",
- "in": "path",
- "name": "availability-zone",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)availability-zones",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP"
- }
- }
- },
- "operationId": "PUT-availability-zones"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vnf-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vnf-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vnf-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vnf-networks"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-networks/{network-role}/sriov-vlan-filter-list/{sriov-vlan-filter}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-sriov-vlan-filter-list"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)sriov-vlan-filter-list"
- }
- }
- },
- "operationId": "GET-sriov-vlan-filter-list"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "A Network Role to which a VNF must connect",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "sriov-vlan-filter",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)sriov-vlan-filter-list",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP"
- }
- }
- },
- "operationId": "PUT-sriov-vlan-filter-list"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-vms"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vms"
- }
- }
- },
- "operationId": "GET-vnf-vms"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-vmsPOST"
- }
- }
- },
- "operationId": "POST-vnf-vms"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-vms",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-vms"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vm-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-names"
- }
- }
- },
- "operationId": "GET-vm-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-namesPOST"
- }
- }
- },
- "operationId": "POST-vm-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP"
- }
- }
- },
- "operationId": "PUT-vm-names"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-names"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-names"
- }
- }
- },
- "operationId": "GET-vnfc-names"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-namesPOST"
- }
- }
- },
- "operationId": "POST-vnfc-names"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-names",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-names"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networks"
- }
- }
- },
- "operationId": "GET-vnfc-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-networksPOST"
- }
- }
- },
- "operationId": "POST-vnfc-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-networks"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnets"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnets"
- }
- }
- },
- "operationId": "GET-vnfc-subnets"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnetsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-subnets"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnets",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnets"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-ipassignments"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignments"
- }
- }
- },
- "operationId": "GET-vnfc-ipassignments"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-ipassignmentsPOST"
- }
- }
- },
- "operationId": "POST-vnfc-ipassignments"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-ipassignments",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-ipassignments"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-names/{vm-name}/vnfc-names/{vnfc-name}/vnfc-networks/{vnfc-network-role}/vnfc-subnets/{vnfc-subnet-role}/vnfc-ipassignments/{vnfc-address-family}/vnfc-subnet-ips/{vnfc-client-key}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnfc-subnet-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnfc-subnet-ips"
- }
- }
- },
- "operationId": "GET-vnfc-subnet-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-subnet-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "Subnet Version tells if this is IpV4 or IpV6",
- "in": "path",
- "name": "vnfc-address-family",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vnfc-client-key",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnfc-subnet-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP"
- }
- }
- },
- "operationId": "PUT-vnfc-subnet-ips"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "description": "Network List",
- "operationId": "DELETE-vm-networks"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networks"
- }
- }
- },
- "description": "Network List",
- "operationId": "GET-vm-networks"
- },
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "**(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- },
- {
- "in": "body",
- "name": "**(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vm-networksPOST"
- }
- }
- },
- "description": "Network List",
- "operationId": "POST-vm-networks"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vm-networks",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP"
- }
- }
- },
- "description": "Network List",
- "operationId": "PUT-vm-networks"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/interface-route-prefixes/{interface-route-prefix}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-interface-route-prefixes"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)interface-route-prefixes"
- }
- }
- },
- "operationId": "GET-interface-route-prefixes"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes",
- "in": "path",
- "name": "interface-route-prefix",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)interface-route-prefixes",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP"
- }
- }
- },
- "operationId": "PUT-interface-route-prefixes"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips-v6/{ip-address-ipv6}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips-v6"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips-v6"
- }
- }
- },
- "operationId": "GET-network-ips-v6"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv6 addresses on a network",
- "in": "path",
- "name": "ip-address-ipv6",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips-v6",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips-v6"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-ips/{ip-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-ips"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-ips"
- }
- }
- },
- "operationId": "GET-network-ips"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of assigned ipv4 addresses on a network",
- "in": "path",
- "name": "ip-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-ips",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP"
- }
- }
- },
- "operationId": "PUT-network-ips"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-assignments/vnf-vms/{vm-type}/vm-networks/{network-role}/network-macs/{mac-address}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-network-macs"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)network-macs"
- }
- }
- },
- "operationId": "GET-network-macs"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "path",
- "name": "vm-type",
- "required": true,
- "type": "string"
- },
- {
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF",
- "in": "path",
- "name": "network-role",
- "required": true,
- "type": "string"
- },
- {
- "description": "List of network assignments for this VM (one per network)",
- "in": "path",
- "name": "mac-address",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)network-macs",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP"
- }
- }
- },
- "operationId": "PUT-network-macs"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-parameters/{vnf-parameter-name}": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-parameters"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-parameters"
- }
- }
- },
- "operationId": "GET-vnf-parameters"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "description": "The name of an arbitrary instance-specific vnf-parameters",
- "in": "path",
- "name": "vnf-parameter-name",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-parameters",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-parameters"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-data/vnf-topology-information/vnf-topology-identifier": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-vnf-topology-identifier"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)vnf-topology-identifier"
- }
- }
- },
- "operationId": "GET-vnf-topology-identifier"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)vnf-topology-identifier",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier-TOP"
- }
- }
- },
- "operationId": "PUT-vnf-topology-identifier"
- }
- },
- "/config/VNF-API:vnfs/vnf-list/{vnf-id}/service-status": {
- "delete": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified"
- }
- },
- "operationId": "DELETE-service-status"
- },
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(config)service-status"
- }
- }
- },
- "operationId": "GET-service-status"
- },
- "put": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "description": "vf-module-id",
- "in": "path",
- "name": "vnf-id",
- "required": true,
- "type": "string"
- },
- {
- "in": "body",
- "name": "(config)service-status",
- "required": false,
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status-TOP"
- }
- }
- },
- "operationId": "PUT-service-status"
- }
- },
- "/operational/VNF-API:preload-vf-modules": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)preload-vf-modules"
- }
- }
- },
- "operationId": "GET-preload-vf-modules"
- }
- },
- "/operational/VNF-API:preload-vnf-instances": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)preload-vnf-instances"
- }
- }
- },
- "operationId": "GET-preload-vnf-instances"
- }
- },
- "/operational/VNF-API:preload-vnfs": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)preload-vnfs"
- }
- }
- },
- "operationId": "GET-preload-vnfs"
- }
- },
- "/operational/VNF-API:vf-modules": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)vf-modules"
- }
- }
- },
- "operationId": "GET-vf-modules"
- }
- },
- "/operational/VNF-API:vnf-instances": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)vnf-instances"
- }
- }
- },
- "operationId": "GET-vnf-instances"
- }
- },
- "/operational/VNF-API:vnfs": {
- "get": {
- "produces": [
- "application/json",
- "application/xml"
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(operational)vnfs"
- }
- }
- },
- "operationId": "GET-vnfs"
- }
- },
- "/operations/VNF-API:network-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(network-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(network-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "network-topology-operation"
- }
- },
- "/operations/VNF-API:preload-network-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(preload-network-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(preload-network-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "preload-network-topology-operation"
- }
- },
- "/operations/VNF-API:preload-vf-module-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(preload-vf-module-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(preload-vf-module-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "preload-vf-module-topology-operation"
- }
- },
- "/operations/VNF-API:preload-vnf-instance-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(preload-vnf-instance-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(preload-vnf-instance-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "preload-vnf-instance-topology-operation"
- }
- },
- "/operations/VNF-API:preload-vnf-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(preload-vnf-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(preload-vnf-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "preload-vnf-topology-operation"
- }
- },
- "/operations/VNF-API:vf-module-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(vf-module-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(vf-module-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "vf-module-topology-operation"
- }
- },
- "/operations/VNF-API:vnf-instance-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(vnf-instance-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(vnf-instance-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "vnf-instance-topology-operation"
- }
- },
- "/operations/VNF-API:vnf-topology-operation": {
- "post": {
- "consumes": [
- "application/json",
- "application/xml"
- ],
- "produces": [
- "application/json",
- "application/xml"
- ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "schema": {
- "$ref": "#/definitions/(vnf-topology-operation)input-TOP"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "No response was specified",
- "schema": {
- "$ref": "#/definitions/(vnf-topology-operation)output-TOP"
- }
- }
- },
- "operationId": "vnf-topology-operation"
- }
- }
- },
- "definitions": {
- "(config)VNF-API_modulePOST": {
- "properties": {
- "preload-vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vf-modules"
- },
- "type": "object"
- },
- "preload-vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vnf-instances"
- },
- "type": "object"
- },
- "preload-vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vnfs"
- },
- "type": "object"
- },
- "vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-modules"
- },
- "type": "object"
- },
- "vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instances"
- },
- "type": "object"
- },
- "vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnfs"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)availability-zonesPOST": {
- "properties": {
- "availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "(config)host-routesPOST": {
- "properties": {
- "next-hop": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Could be ip-address or hostname or service-instance"
- },
- "route-prefix": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)interface-route-prefixesPOST": {
- "properties": {
- "interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "(config)network-informationPOST": {
- "properties": {
- "network-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)network-ips-v6POST": {
- "properties": {
- "ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "(config)network-ipsPOST": {
- "properties": {
- "ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "(config)network-macsPOST": {
- "properties": {
- "mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "(config)network-policyPOST": {
- "properties": {
- "network-policy-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-policy-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)network-request-informationPOST": {
- "properties": {
- "aic-clli": {
- "$ref": "#/definitions/Optional.empty"
- },
- "aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "network-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "tenant": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)network-topology-identifierPOST": {
- "properties": {
- "network-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-technology": {
- "$ref": "#/definitions/Optional.empty"
- },
- "network-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)network-topology-informationPOST": {
- "properties": {
- "network-policy": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-policy"
- },
- "type": "array"
- },
- "network-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-topology-identifier"
- },
- "type": "object"
- },
- "provider-network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)provider-network-information"
- },
- "type": "object"
- },
- "route-table-reference": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)route-table-reference"
- },
- "type": "array"
- },
- "subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)subnets"
- },
- "type": "array"
- },
- "vpn-bindings": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)vpn-bindings"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)oper-statusPOST": {
- "properties": {
- "create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)preload-dataPOST": {
- "properties": {
- "network-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information"
- },
- "type": "object"
- },
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status"
- },
- "type": "object"
- },
- "vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)preload-vf-modulesPOST": {
- "properties": {
- "vf-module-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)preload-vnf-instancesPOST": {
- "properties": {
- "vnf-instance-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)preload-vnfsPOST": {
- "properties": {
- "vnf-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)provider-network-informationPOST": {
- "properties": {
- "is-external-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "is-provider-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "is-shared-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "physical-network-name": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)request-informationPOST": {
- "properties": {
- "notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "order-number": {
- "$ref": "#/definitions/Optional.empty"
- },
- "order-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "request-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "request-sub-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "source": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)route-table-referencePOST": {
- "properties": {
- "route-table-reference-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "route-table-reference-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)sdnc-request-headerPOST": {
- "properties": {
- "svc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "svc-notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)service-dataPOST": {
- "properties": {
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status"
- },
- "type": "object"
- },
- "request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information"
- },
- "type": "object"
- },
- "sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information"
- },
- "type": "object"
- },
- "vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "vnf-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information"
- },
- "type": "object"
- },
- "vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)service-informationPOST": {
- "properties": {
- "service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "(config)service-statusPOST": {
- "properties": {
- "final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "request-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "response-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "rpc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "rpc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnfsdn-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnfsdn-subaction": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)sriov-vlan-filter-listPOST": {
- "properties": {
- "sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)subnetsPOST": {
- "properties": {
- "addr-from-start": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Default is N"
- },
- "cidr-mask": {
- "$ref": "#/definitions/Optional.empty"
- },
- "dhcp-enabled": {
- "$ref": "#/definitions/Optional.empty"
- },
- "dhcp-end-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "dhcp-start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "gateway-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "host-routes": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information/subnets(config)host-routes"
- },
- "type": "array"
- },
- "ip-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "subnet-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vf-module-identifiersPOST": {
- "properties": {
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- }
- },
- "type": "object"
- },
- "(config)vf-module-informationPOST": {
- "properties": {
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "type": "object"
- },
- "(config)vf-module-listPOST": {
- "properties": {
- "service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status"
- },
- "type": "object"
- },
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "vf-module-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data"
- },
- "type": "object"
- }
- },
- "required": [
- "vf-module-id"
- ],
- "type": "object"
- },
- "(config)vf-module-preload-dataPOST": {
- "properties": {
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status"
- },
- "type": "object"
- },
- "vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vf-module-preload-listPOST": {
- "properties": {
- "vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "vf-module-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vf-module-relationship-listPOST": {
- "properties": {
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "type": "object"
- },
- "(config)vf-module-request-informationPOST": {
- "properties": {
- "aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vf-module-service-dataPOST": {
- "properties": {
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status"
- },
- "type": "object"
- },
- "request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information"
- },
- "type": "object"
- },
- "sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information"
- },
- "type": "object"
- },
- "vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "vf-module-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information"
- },
- "type": "object"
- },
- "vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vf-module-topology-informationPOST": {
- "properties": {
- "vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- },
- "vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vf-modulesPOST": {
- "properties": {
- "vf-module-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vm-namesPOST": {
- "properties": {
- "vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vm-networksPOST": {
- "properties": {
- "floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "(config)vnf-assignmentsPOST": {
- "properties": {
- "availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "vnf-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnf-informationPOST": {
- "properties": {
- "vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "vnf-service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-identifiersPOST": {
- "properties": {
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-informationPOST": {
- "properties": {
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-id"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-listPOST": {
- "properties": {
- "service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status"
- },
- "type": "object"
- },
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic-vnf-id"
- },
- "vnf-instance-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data"
- },
- "type": "object"
- }
- },
- "required": [
- "vnf-instance-id"
- ],
- "type": "object"
- },
- "(config)vnf-instance-preload-dataPOST": {
- "properties": {
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status"
- },
- "type": "object"
- },
- "vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-preload-listPOST": {
- "properties": {
- "vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-name, aka generic-vnf-name"
- },
- "vnf-instance-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data"
- },
- "type": "object"
- },
- "vnf-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-model-id, aka generic-vnf-type"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-request-informationPOST": {
- "properties": {
- "aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-service-dataPOST": {
- "properties": {
- "oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status"
- },
- "type": "object"
- },
- "request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information"
- },
- "type": "object"
- },
- "sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information"
- },
- "type": "object"
- },
- "vf-module-relationship-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list"
- },
- "type": "array"
- },
- "vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-id"
- },
- "vnf-instance-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information"
- },
- "type": "object"
- },
- "vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vnf-instance-topology-informationPOST": {
- "properties": {
- "service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- },
- "vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- },
- "vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnf-instancesPOST": {
- "properties": {
- "vnf-instance-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnf-listPOST": {
- "properties": {
- "service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data"
- },
- "type": "object"
- },
- "service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status"
- },
- "type": "object"
- },
- "vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "required": [
- "vnf-id"
- ],
- "type": "object"
- },
- "(config)vnf-networksPOST": {
- "properties": {
- "contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnf-parametersPOST": {
- "properties": {
- "vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "(config)vnf-preload-listPOST": {
- "properties": {
- "preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data"
- },
- "type": "object"
- },
- "vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "(config)vnf-request-informationPOST": {
- "properties": {
- "aic-clli": {
- "$ref": "#/definitions/Optional.empty"
- },
- "aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf-id"
- },
- "generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf name"
- },
- "generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf type"
- },
- "model-customization-uuid": {
- "$ref": "#/definitions/Optional.empty",
- "description": "customized resource, i.e. vf-module, for use within a given service"
- },
- "tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "use-preload": {
- "$ref": "#/definitions/Optional.empty",
- "description": "orchestrate vf-module with full preload data or TOSCA lookup plus EIPAM automation"
- },
- "vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "vnf-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-request-information(config)vnf-networks"
- },
- "type": "array"
- },
- "vnf-request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "(config)vnf-topology-identifierPOST": {
- "properties": {
- "generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "service-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "(config)vnf-topology-informationPOST": {
- "properties": {
- "vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- },
- "vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(config)vnf-vmsPOST": {
- "properties": {
- "vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "vm-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnfc-ipassignmentsPOST": {
- "properties": {
- "vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnfc-namesPOST": {
- "properties": {
- "vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnfc-networksPOST": {
- "properties": {
- "vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vnfc-subnet-ipsPOST": {
- "properties": {
- "ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnfc-subnetsPOST": {
- "properties": {
- "vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(config)vnfsPOST": {
- "properties": {
- "vnf-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "(config)vpn-bindingsPOST": {
- "properties": {
- "global-route-target": {
- "$ref": "#/definitions/Optional.empty"
- },
- "vpn-binding-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(network-topology-operation)input": {
- "properties": {
- "VNF-API:network-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-request-information"
- },
- "type": "object"
- },
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(network-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(network-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(network-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-information"
- },
- "type": "object"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(network-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(network-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-network-topology-operation)input": {
- "properties": {
- "VNF-API:network-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-topology-information"
- },
- "type": "object"
- },
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-network-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(preload-network-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-network-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(preload-network-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(preload-network-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vf-module-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vf-module-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(preload-vf-module-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vf-module-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(preload-vf-module-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(preload-vf-module-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-instance-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-instance-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(preload-vnf-instance-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-instance-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(preload-vnf-instance-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(preload-vnf-instance-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(preload-vnf-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(preload-vnf-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "(preload-vnf-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(preload-vnf-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vf-module-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vf-module-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vf-module-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(vf-module-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vf-module-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vf-module-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vf-module-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(vf-module-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-instance-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-instance-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(vnf-instance-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-instance-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-instance-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(vnf-instance-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-topology-operation)input": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-topology-operation)input-TOP": {
- "properties": {
- "VNF-API:input": {
- "items": {
- "$ref": "#/definitions/(vnf-topology-operation)input"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-topology-operation)output": {
- "properties": {
- "VNF-API:ack-final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "(vnf-topology-operation)output-TOP": {
- "properties": {
- "VNF-API:output": {
- "items": {
- "$ref": "#/definitions/(vnf-topology-operation)output"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-information": {
- "properties": {
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-information-TOP": {
- "properties": {
- "VNF-API:network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-request-information": {
- "properties": {
- "VNF-API:aic-clli": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-request-information-TOP": {
- "properties": {
- "VNF-API:network-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-topology-information": {
- "properties": {
- "VNF-API:network-policy": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-policy"
- },
- "type": "array"
- },
- "VNF-API:network-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-topology-identifier"
- },
- "type": "object"
- },
- "VNF-API:provider-network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)provider-network-information"
- },
- "type": "object"
- },
- "VNF-API:route-table-reference": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)route-table-reference"
- },
- "type": "array"
- },
- "VNF-API:subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)subnets"
- },
- "type": "array"
- },
- "VNF-API:vpn-bindings": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)vpn-bindings"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)network-topology-information-TOP": {
- "properties": {
- "VNF-API:network-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)network-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vf-modules": {
- "properties": {
- "VNF-API:vf-module-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vf-modules-TOP": {
- "properties": {
- "VNF-API:preload-vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vf-modules"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vnf-instances": {
- "properties": {
- "VNF-API:vnf-instance-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vnf-instances-TOP": {
- "properties": {
- "VNF-API:preload-vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vnf-instances"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vnfs": {
- "properties": {
- "VNF-API:vnf-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)preload-vnfs-TOP": {
- "properties": {
- "VNF-API:preload-vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)preload-vnfs"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)request-information": {
- "properties": {
- "VNF-API:notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-number": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-sub-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:source": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)request-information-TOP": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)sdnc-request-header": {
- "properties": {
- "VNF-API:svc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)sdnc-request-header-TOP": {
- "properties": {
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)sdnc-request-header"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-information": {
- "properties": {
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-information-TOP": {
- "properties": {
- "VNF-API:vf-module-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-request-information": {
- "properties": {
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-request-information-TOP": {
- "properties": {
- "VNF-API:vf-module-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-topology-information": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-module-topology-information-TOP": {
- "properties": {
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-modules": {
- "properties": {
- "VNF-API:vf-module-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vf-modules-TOP": {
- "properties": {
- "VNF-API:vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vf-modules"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-information": {
- "properties": {
- "VNF-API:vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vnf-service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-information-TOP": {
- "properties": {
- "VNF-API:vnf-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-information": {
- "properties": {
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-id"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-request-information": {
- "properties": {
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-networks": {
- "description": "List of vnf networks to override preload",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-request-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-topology-information": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instance-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instances": {
- "properties": {
- "VNF-API:vnf-instance-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-instances-TOP": {
- "properties": {
- "VNF-API:vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-instances"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-request-information": {
- "properties": {
- "VNF-API:aic-clli": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf-id"
- },
- "VNF-API:generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf name"
- },
- "VNF-API:generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf type"
- },
- "VNF-API:model-customization-uuid": {
- "$ref": "#/definitions/Optional.empty",
- "description": "customized resource, i.e. vf-module, for use within a given service"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:use-preload": {
- "$ref": "#/definitions/Optional.empty",
- "description": "orchestrate vf-module with full preload data or TOSCA lookup plus EIPAM automation"
- },
- "VNF-API:vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-request-information(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-request-information-TOP": {
- "properties": {
- "VNF-API:vnf-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-topology-information": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- },
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnf-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnfs": {
- "properties": {
- "VNF-API:vnf-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API(config)vnfs-TOP": {
- "properties": {
- "VNF-API:vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(config)vnfs"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)preload-vf-modules": {
- "type": "object"
- },
- "VNF-API(operational)preload-vf-modules-TOP": {
- "properties": {
- "VNF-API:preload-vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)preload-vf-modules"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)preload-vnf-instances": {
- "type": "object"
- },
- "VNF-API(operational)preload-vnf-instances-TOP": {
- "properties": {
- "VNF-API:preload-vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)preload-vnf-instances"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)preload-vnfs": {
- "type": "object"
- },
- "VNF-API(operational)preload-vnfs-TOP": {
- "properties": {
- "VNF-API:preload-vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)preload-vnfs"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)vf-modules": {
- "type": "object"
- },
- "VNF-API(operational)vf-modules-TOP": {
- "properties": {
- "VNF-API:vf-modules": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)vf-modules"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)vnf-instances": {
- "type": "object"
- },
- "VNF-API(operational)vnf-instances-TOP": {
- "properties": {
- "VNF-API:vnf-instances": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)vnf-instances"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API(operational)vnfs": {
- "type": "object"
- },
- "VNF-API(operational)vnfs-TOP": {
- "properties": {
- "VNF-API:vnfs": {
- "items": {
- "$ref": "#/definitions/VNF-API(operational)vnfs"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)network-policy": {
- "properties": {
- "VNF-API:network-policy-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-policy-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)network-policy-TOP": {
- "properties": {
- "VNF-API:network-policy": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-policy"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)network-topology-identifier": {
- "properties": {
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-technology": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)network-topology-identifier-TOP": {
- "properties": {
- "VNF-API:network-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)network-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)provider-network-information": {
- "properties": {
- "VNF-API:is-external-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:is-provider-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:is-shared-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:physical-network-name": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)provider-network-information-TOP": {
- "properties": {
- "VNF-API:provider-network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)provider-network-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)route-table-reference": {
- "properties": {
- "VNF-API:route-table-reference-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:route-table-reference-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)route-table-reference-TOP": {
- "properties": {
- "VNF-API:route-table-reference": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)route-table-reference"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)subnets": {
- "properties": {
- "VNF-API:addr-from-start": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Default is N"
- },
- "VNF-API:cidr-mask": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-enabled": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-end-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:gateway-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:host-routes": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information/subnets(config)host-routes"
- },
- "type": "array"
- },
- "VNF-API:ip-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)subnets-TOP": {
- "properties": {
- "VNF-API:subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)vpn-bindings": {
- "properties": {
- "VNF-API:global-route-target": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vpn-binding-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information(config)vpn-bindings-TOP": {
- "properties": {
- "VNF-API:vpn-bindings": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information(config)vpn-bindings"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information/subnets(config)host-routes": {
- "properties": {
- "VNF-API:next-hop": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Could be ip-address or hostname or service-instance"
- },
- "VNF-API:route-prefix": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/network-topology-information/subnets(config)host-routes-TOP": {
- "properties": {
- "VNF-API:host-routes": {
- "items": {
- "$ref": "#/definitions/VNF-API/network-topology-information/subnets(config)host-routes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules(config)vf-module-preload-list": {
- "properties": {
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vf-module-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules(config)vf-module-preload-list-TOP": {
- "properties": {
- "VNF-API:vf-module-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules(config)vf-module-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data-TOP": {
- "properties": {
- "VNF-API:vf-module-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list(config)vf-module-preload-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information-TOP": {
- "properties": {
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers": {
- "properties": {
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers-TOP": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vf-modules/vf-module-preload-list/vf-module-preload-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances(config)vnf-instance-preload-list": {
- "properties": {
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-name, aka generic-vnf-name"
- },
- "VNF-API:vnf-instance-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data"
- },
- "type": "object"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-model-id, aka generic-vnf-type"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances(config)vnf-instance-preload-list-TOP": {
- "properties": {
- "VNF-API:vnf-instance-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances(config)vnf-instance-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data-TOP": {
- "properties": {
- "VNF-API:vnf-instance-preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list(config)vnf-instance-preload-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers": {
- "properties": {
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP": {
- "properties": {
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnf-instances/vnf-instance-preload-list/vnf-instance-preload-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs(config)vnf-preload-list": {
- "properties": {
- "VNF-API:preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data"
- },
- "type": "object"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs(config)vnf-preload-list-TOP": {
- "properties": {
- "VNF-API:vnf-preload-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs(config)vnf-preload-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list(config)preload-data": {
- "properties": {
- "VNF-API:network-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information"
- },
- "type": "object"
- },
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list(config)preload-data-TOP": {
- "properties": {
- "VNF-API:preload-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list(config)preload-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information": {
- "properties": {
- "VNF-API:network-policy": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy"
- },
- "type": "array"
- },
- "VNF-API:network-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier"
- },
- "type": "object"
- },
- "VNF-API:provider-network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information"
- },
- "type": "object"
- },
- "VNF-API:route-table-reference": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference"
- },
- "type": "array"
- },
- "VNF-API:subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets"
- },
- "type": "array"
- },
- "VNF-API:vpn-bindings": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information-TOP": {
- "properties": {
- "VNF-API:network-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)network-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- },
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy": {
- "properties": {
- "VNF-API:network-policy-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-policy-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy-TOP": {
- "properties": {
- "VNF-API:network-policy": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-policy"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier": {
- "properties": {
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-technology": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:network-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier-TOP": {
- "properties": {
- "VNF-API:network-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)network-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information": {
- "properties": {
- "VNF-API:is-external-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:is-provider-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:is-shared-network": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:physical-network-name": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information-TOP": {
- "properties": {
- "VNF-API:provider-network-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)provider-network-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference": {
- "properties": {
- "VNF-API:route-table-reference-fqdn": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:route-table-reference-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference-TOP": {
- "properties": {
- "VNF-API:route-table-reference": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)route-table-reference"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets": {
- "properties": {
- "VNF-API:addr-from-start": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Default is N"
- },
- "VNF-API:cidr-mask": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-enabled": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-end-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:dhcp-start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:gateway-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:host-routes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes"
- },
- "type": "array"
- },
- "VNF-API:ip-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:start-address": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets-TOP": {
- "properties": {
- "VNF-API:subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings": {
- "properties": {
- "VNF-API:global-route-target": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vpn-binding-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings-TOP": {
- "properties": {
- "VNF-API:vpn-bindings": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information(config)vpn-bindings"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes": {
- "properties": {
- "VNF-API:next-hop": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Could be ip-address or hostname or service-instance"
- },
- "VNF-API:route-prefix": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes-TOP": {
- "properties": {
- "VNF-API:host-routes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/network-topology-information/subnets(config)host-routes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier": {
- "properties": {
- "VNF-API:generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier-TOP": {
- "properties": {
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/preload-vnfs/vnf-preload-list/preload-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vf-module-identifiers": {
- "properties": {
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vf-module-identifiers-TOP": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules(config)vf-module-list": {
- "properties": {
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status"
- },
- "type": "object"
- },
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vf-module-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data"
- },
- "type": "object"
- }
- },
- "required": [
- "VNF-API:vf-module-id"
- ],
- "type": "object"
- },
- "VNF-API/vf-modules(config)vf-module-list-TOP": {
- "properties": {
- "VNF-API:vf-module-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules(config)vf-module-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list(config)service-status": {
- "properties": {
- "VNF-API:final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-subaction": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list(config)service-status-TOP": {
- "properties": {
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)service-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list(config)vf-module-service-data": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vf-module-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information"
- },
- "type": "object"
- },
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list(config)vf-module-service-data-TOP": {
- "properties": {
- "VNF-API:vf-module-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list(config)vf-module-service-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information": {
- "properties": {
- "VNF-API:notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-number": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-sub-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:source": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information-TOP": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header": {
- "properties": {
- "VNF-API:svc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header-TOP": {
- "properties": {
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)sdnc-request-header"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information": {
- "properties": {
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information-TOP": {
- "properties": {
- "VNF-API:vf-module-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information-TOP": {
- "properties": {
- "VNF-API:vf-module-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data(config)vf-module-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers": {
- "properties": {
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module id"
- },
- "VNF-API:vf-module-model-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- },
- "VNF-API:vf-module-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers-TOP": {
- "properties": {
- "VNF-API:vf-module-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vf-module-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vf-modules/vf-module-list/vf-module-service-data/vf-module-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-request-information(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-request-information(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "List of vnf networks to override preload",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-instance-identifiers": {
- "properties": {
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP": {
- "properties": {
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances(config)vnf-instance-list": {
- "properties": {
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic-vnf-id"
- },
- "VNF-API:vnf-instance-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data"
- },
- "type": "object"
- }
- },
- "required": [
- "VNF-API:vnf-instance-id"
- ],
- "type": "object"
- },
- "VNF-API/vnf-instances(config)vnf-instance-list-TOP": {
- "properties": {
- "VNF-API:vnf-instance-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances(config)vnf-instance-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list(config)service-status": {
- "properties": {
- "VNF-API:final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-subaction": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list(config)service-status-TOP": {
- "properties": {
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)service-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vf-module-relationship-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list"
- },
- "type": "array"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vnf-instance-id"
- },
- "VNF-API:vnf-instance-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data-TOP": {
- "properties": {
- "VNF-API:vnf-instance-service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list(config)vnf-instance-service-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information": {
- "properties": {
- "VNF-API:notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-number": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-sub-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:source": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information-TOP": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header": {
- "properties": {
- "VNF-API:svc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header-TOP": {
- "properties": {
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)sdnc-request-header"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list": {
- "properties": {
- "VNF-API:vf-module-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list-TOP": {
- "properties": {
- "VNF-API:vf-module-relationship-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vf-module-relationship-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information": {
- "properties": {
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-networks": {
- "description": "List of vnf networks to override preload",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-instance-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data(config)vnf-instance-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "List of vnf networks to override preload",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers": {
- "properties": {
- "VNF-API:vnf-instance-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-instance-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-model-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers-TOP": {
- "properties": {
- "VNF-API:vnf-instance-identifiers": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-instance-identifiers"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-instances/vnf-instance-list/vnf-instance-service-data/vnf-instance-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-request-information(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-request-information(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-topology-identifier": {
- "properties": {
- "VNF-API:generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information(config)vnf-topology-identifier-TOP": {
- "properties": {
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs(config)vnf-list": {
- "properties": {
- "VNF-API:service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data"
- },
- "type": "object"
- },
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status"
- },
- "type": "object"
- },
- "VNF-API:vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- }
- },
- "required": [
- "VNF-API:vnf-id"
- ],
- "type": "object"
- },
- "VNF-API/vnfs(config)vnf-list-TOP": {
- "properties": {
- "VNF-API:vnf-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs(config)vnf-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list(config)service-data": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status"
- },
- "type": "object"
- },
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information"
- },
- "type": "object"
- },
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header"
- },
- "type": "object"
- },
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vnf-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information"
- },
- "type": "object"
- },
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list(config)service-data-TOP": {
- "properties": {
- "VNF-API:service-data": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-data"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list(config)service-status": {
- "properties": {
- "VNF-API:final-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-code": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-message": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:response-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:rpc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfsdn-subaction": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list(config)service-status-TOP": {
- "properties": {
- "VNF-API:service-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list(config)service-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)oper-status": {
- "properties": {
- "VNF-API:create-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-order-status": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:last-svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:maintenance-indicator": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:modify-timestamp": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-status": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)oper-status-TOP": {
- "properties": {
- "VNF-API:oper-status": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)oper-status"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)request-information": {
- "properties": {
- "VNF-API:notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-number": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:order-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:request-sub-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:source": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)request-information-TOP": {
- "properties": {
- "VNF-API:request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header": {
- "properties": {
- "VNF-API:svc-action": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-notification-url": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:svc-request-id": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header-TOP": {
- "properties": {
- "VNF-API:sdnc-request-header": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)sdnc-request-header"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)service-information": {
- "properties": {
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-instance-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A service instance that a VNF or a l3-network is associated with"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI subscription-service-type"
- },
- "VNF-API:subscriber-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "AnAI global-customer-id"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)service-information-TOP": {
- "properties": {
- "VNF-API:service-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)service-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information": {
- "properties": {
- "VNF-API:aic-clli": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:aic-cloud-region": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The AIC cloud region which maps to contrail versions"
- },
- "VNF-API:generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf-id"
- },
- "VNF-API:generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf name"
- },
- "VNF-API:generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "generic vnf type"
- },
- "VNF-API:model-customization-uuid": {
- "$ref": "#/definitions/Optional.empty",
- "description": "customized resource, i.e. vf-module, for use within a given service"
- },
- "VNF-API:tenant": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:use-preload": {
- "$ref": "#/definitions/Optional.empty",
- "description": "orchestrate vf-module with full preload data or TOSCA lookup plus EIPAM automation"
- },
- "VNF-API:vnf-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-id"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-request-version": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information-TOP": {
- "properties": {
- "VNF-API:vnf-request-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-request-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- },
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- },
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information-TOP": {
- "properties": {
- "VNF-API:vnf-topology-information": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data(config)vnf-topology-information"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-request-information(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- },
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- },
- "VNF-API:vnf-status": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Orchestration Status from AAI - to be set by SDNC"
- },
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments-TOP": {
- "properties": {
- "VNF-API:vnf-assignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-assignments"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters": {
- "properties": {
- "VNF-API:vnf-parameter-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The name of an arbitrary instance-specific vnf-parameters"
- },
- "VNF-API:vnf-parameter-value": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The value of an arbitrary instance-specific vnf-parameters "
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters-TOP": {
- "properties": {
- "VNF-API:vnf-parameters": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-parameters"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier": {
- "properties": {
- "VNF-API:generic-vnf-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:generic-vnf-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-id": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:service-type": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnf-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-name"
- },
- "VNF-API:vnf-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "vf-module-type"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier-TOP": {
- "properties": {
- "VNF-API:vnf-topology-identifier": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information(config)vnf-topology-identifier"
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones": {
- "properties": {
- "VNF-API:availability-zone": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Openstack availability zone name or UUID"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones-TOP": {
- "properties": {
- "VNF-API:availability-zones": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)availability-zones"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks": {
- "properties": {
- "VNF-API:contrail-network-fqdn": {
- "$ref": "#/definitions/Optional.empty",
- "description": "contrail network policy object"
- },
- "VNF-API:ipv4-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-key-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance."
- },
- "VNF-API:ipv6-subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:ipv6-subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv6 subnet-name that corresponds to the ipv6 subnet-id"
- },
- "VNF-API:network-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "A Network Role to which a VNF must connect"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:neutron-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Unique Neutron UUID of an instance of the network role "
- },
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- },
- "VNF-API:subnet-id": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment"
- },
- "VNF-API:subnet-name": {
- "$ref": "#/definitions/Optional.empty",
- "description": "ipv4 subnet-name that corresponds to the ipv4 subnet-id"
- },
- "VNF-API:subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks-TOP": {
- "properties": {
- "VNF-API:vnf-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms": {
- "properties": {
- "VNF-API:vm-count": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- },
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- },
- "VNF-API:vm-type": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms-TOP": {
- "properties": {
- "VNF-API:vnf-vms": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments(config)vnf-vms"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list": {
- "properties": {
- "VNF-API:sriov-vlan-filter": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list-TOP": {
- "properties": {
- "VNF-API:sriov-vlan-filter-list": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-networks(config)sriov-vlan-filter-list"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names": {
- "properties": {
- "VNF-API:vm-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names-TOP": {
- "properties": {
- "VNF-API:vm-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks": {
- "properties": {
- "VNF-API:floating-ip": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv4 for VMs of a given type on this network"
- },
- "VNF-API:floating-ip-v6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Floating ipv6 for VMs of a given type on this network"
- },
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- },
- "VNF-API:ip-count": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vm for this network role"
- },
- "VNF-API:ip-count-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ipv6 addresses to be assigned per vm for this network role"
- },
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- },
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- },
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- },
- "VNF-API:network-role": {
- "$ref": "#/definitions/Optional.empty",
- "description": "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF"
- },
- "VNF-API:network-role-tag": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The network-role that maps to the HEAT parameter {network-role}_net_id"
- },
- "VNF-API:use-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VM"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks-TOP": {
- "properties": {
- "VNF-API:vm-networks": {
- "description": "Network List",
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms(config)vm-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names": {
- "properties": {
- "VNF-API:vnfc-name": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names-TOP": {
- "properties": {
- "VNF-API:vnfc-names": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names(config)vnfc-names"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks": {
- "properties": {
- "VNF-API:vnfc-network-role": {
- "$ref": "#/definitions/Optional.empty"
- },
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks-TOP": {
- "properties": {
- "VNF-API:vnfc-networks": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names(config)vnfc-networks"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- },
- "VNF-API:vnfc-subnet-role": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets-TOP": {
- "properties": {
- "VNF-API:vnfc-subnets": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks(config)vnfc-subnets"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments": {
- "properties": {
- "VNF-API:vnfc-address-family": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Subnet Version tells if this is IpV4 or IpV6"
- },
- "VNF-API:vnfc-subnet-dhcp": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned "
- },
- "VNF-API:vnfc-subnet-ipcount": {
- "$ref": "#/definitions/Optional.empty",
- "description": "The number of ip addresses to be assigned per vnfc for this subnet role"
- },
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments-TOP": {
- "properties": {
- "VNF-API:vnfc-ipassignments": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets(config)vnfc-ipassignments"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips": {
- "properties": {
- "VNF-API:ip-type": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. "
- },
- "VNF-API:vnfc-address-ipv4": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. "
- },
- "VNF-API:vnfc-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion."
- },
- "VNF-API:vnfc-client-key": {
- "$ref": "#/definitions/Optional.empty"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips-TOP": {
- "properties": {
- "VNF-API:vnfc-subnet-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-names/vnfc-names/vnfc-networks/vnfc-subnets/vnfc-ipassignments(config)vnfc-subnet-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes": {
- "properties": {
- "VNF-API:interface-route-prefix": {
- "$ref": "#/definitions/Optional.empty",
- "description": "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes"
- },
- "VNF-API:interface-route-prefix-cidr": {
- "$ref": "#/definitions/Optional.empty",
- "description": "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes-TOP": {
- "properties": {
- "VNF-API:interface-route-prefixes": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)interface-route-prefixes"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips": {
- "properties": {
- "VNF-API:ip-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv4 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-TOP": {
- "properties": {
- "VNF-API:network-ips": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6": {
- "properties": {
- "VNF-API:ip-address-ipv6": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of assigned ipv6 addresses on a network"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6-TOP": {
- "properties": {
- "VNF-API:network-ips-v6": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-ips-v6"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs": {
- "properties": {
- "VNF-API:mac-address": {
- "$ref": "#/definitions/Optional.empty",
- "description": "List of network assignments for this VM (one per network)"
- }
- },
- "type": "object"
- },
- "VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs-TOP": {
- "properties": {
- "VNF-API:network-macs": {
- "items": {
- "$ref": "#/definitions/VNF-API/vnfs/vnf-list/service-data/vnf-topology-information/vnf-assignments/vnf-vms/vm-networks(config)network-macs"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "unique_empty_identifier": {}
- }
-}
diff --git a/vnfapi/model/src/main/yang/VNF-API.yang b/vnfapi/model/src/main/yang/VNF-API.yang
deleted file mode 100755
index 5a6a472c..00000000
--- a/vnfapi/model/src/main/yang/VNF-API.yang
+++ /dev/null
@@ -1,932 +0,0 @@
-module VNF-API {
-
- yang-version 1;
-
- namespace "org:onap:sdnctl:vnf";
-
- prefix vnfapi;
-
- import ietf-inet-types { prefix "ietf"; revision-date "2013-07-15"; }
-
- include "vnfsubmodule";
-
- organization "ONAP";
-
- contact
- "Network Controller <onap-sdnc@lists.onap.org>";
-
- description
- "Defines API interface for VNF Orchestration";
-
- revision "2015-07-20" {
- description
- "Initial draft";
- }
- // Last updated on 8-17-2016
- grouping sdnc-request-header {
- container sdnc-request-header {
- leaf svc-request-id {
- type string;
- }
- leaf svc-action {
- type enumeration {
- enum "reserve";
- enum "assign";
- enum "activate"; // equal to commit
- enum "delete"; // equal to commit
- enum "changeassign";
- enum "changedelete";
- enum "rollback";
- }
- }
- leaf svc-notification-url {
- type string;
- }
- }
- }
-
- grouping request-information {
- container request-information {
- leaf request-id {
- type string;
- }
- leaf request-action {
- type enumeration {
- enum "PreloadNetworkRequest";
- enum "DeletePreloadNetworkRequest";
- enum "NetworkActivateRequest";
- enum "DisconnectNetworkRequest";
- enum "PreloadVNFRequest";
- enum "DeletePreloadVNFRequest";
- enum "VNFActivateRequest";
- enum "ChangeVNFActivateRequest";
- enum "DisconnectVNFRequest";
- enum "PreloadVnfInstanceRequest";
- enum "DeletePreloadVnfInstanceRequest";
- enum "VnfInstanceActivateRequest";
- enum "ChangeVnfInstanceActivateRequest";
- enum "DisconnectVnfInstanceRequest";
- enum "PreloadVfModuleRequest";
- enum "DeletePreloadVfModuleRequest";
- enum "VfModuleActivateRequest";
- enum "ChangeVfModuleActivateRequest";
- enum "DisconnectVfModuleRequest";
- }
- }
- leaf request-sub-action {
- type enumeration {
- enum "SUPP";
- enum "CANCEL";
- enum "RetainResource";
- }
- }
- leaf source {
- type string;
- }
- leaf notification-url {
- type string;
- }
- leaf order-number {
- type string;
- }
- leaf order-version {
- type string;
- }
- }
- }
-
- grouping service-information {
- container service-information {
- leaf service-type {
- type string;
- description "AnAI subscription-service-type";
- }
- leaf service-id {
- type string;
- }
- leaf service-instance-id {
- type string;
- description "A service instance that a VNF or a l3-network is associated with";
- }
- leaf subscriber-name {
- type string;
- description "AnAI global-customer-id";
- }
- }
- }
-
-
- grouping vnf-request-information {
- container vnf-request-information {
- leaf vnf-request-version {
- type string;
- }
- leaf model-customization-uuid {
- type string;
- description "customized resource, i.e. vf-module, for use within a given service";
- }
- leaf use-preload {
- type enumeration {
- enum "Y";
- enum "N";
- }
- description "orchestrate vf-module with full preload data or TOSCA lookup plus EIPAM automation";
- }
- leaf vnf-id {
- type string;
- description "vf-module-id";
- }
- leaf vnf-type {
- type string;
- description "vf-module-type";
- }
- leaf vnf-name {
- type string;
- description "vf-module-name";
- }
- leaf generic-vnf-id {
- type string;
- description "generic vnf-id";
- }
- leaf generic-vnf-type {
- type string;
- description "generic vnf type";
- }
- leaf generic-vnf-name {
- type string;
- description "generic vnf name";
- }
- leaf tenant {
- type string;
- }
- leaf aic-clli {
- type string;
- }
- leaf aic-cloud-region {
- type string;
- description "The AIC cloud region which maps to contrail versions";
- }
- list vnf-networks {
- key network-role;
- uses vnf-network;
- description "Network List";
- }
- }
- }
-
- grouping network-request-information {
- container network-request-information {
- leaf network-id {
- type string;
- }
- leaf network-type {
- type string;
- }
- leaf network-name {
- type string;
- }
- leaf tenant {
- type string;
- }
- leaf aic-clli {
- type string;
- }
- leaf aic-cloud-region {
- type string;
- description "The AIC cloud region which maps to contrail versions";
- }
- }
- }
-
- /***********************************************************/
- /* PRELOAD DATA */
- /***********************************************************/
-
- container preload-vnfs {
- uses preload-model-information;
- }
- grouping preload-model-information {
- list vnf-preload-list {
- key "vnf-name vnf-type";
- leaf vnf-name {
- type string;
- description "vf-module-name";
- }
- leaf vnf-type {
- type string;
- description "vf-module-type";
- }
- uses preload-data;
- }
- }
-
- // For preload networks it will have network-topology-information
- // For preload vnfs, it will have vnf-topology-information
- grouping preload-data {
- container preload-data {
- uses vnf-topology-information;
- uses network-topology-information;
- uses oper-status;
- }
- }
-
-
- grouping vnf-topology-information {
- container vnf-topology-information {
- uses vnf-topology-identifier;
- uses vnf-assignments;
- uses vnf-parameters;
- }
- }
-
- grouping vnf-topology-identifier {
- container vnf-topology-identifier {
- leaf service-type {
- type string;
- }
- leaf service-id {
- type string;
- }
- leaf vnf-name {
- type string;
- description "vf-module-name";
- }
- leaf vnf-type {
- type string;
- description "vf-module-type";
- }
- leaf generic-vnf-name {
- type string;
- }
- leaf generic-vnf-type {
- type string;
- }
- leaf generic-vnf-id {
- type string;
- }
- }
- }
-
- grouping vnf-assignments {
- container vnf-assignments {
- leaf vnf-status {
- type string;
- description "Orchestration Status from AAI - to be set by SDNC";
- }
- list availability-zones {
- key "availability-zone";
- ordered-by user;
- leaf availability-zone {
- type string;
- description "Openstack availability zone name or UUID";
- }
- }
- list vnf-networks {
- key network-role;
- uses vnf-network;
- uses sriov-vlan-filter-list;
- description "Network List";
- }
- uses vm-topology;
- }
- }
-
- grouping vm-topology {
- list vnf-vms {
- key vm-type;
- leaf vm-type {
- type string;
- }
- leaf vm-count {
- type uint8;
- }
- list vm-names {
- ordered-by user;
- key "vm-name";
- leaf vm-name {
- type string;
- }
- list vnfc-names {
- ordered-by user;
- key "vnfc-name";
- leaf vnfc-name {
- type string;
- }
- list vnfc-networks {
- key vnfc-network-role;
- uses vnfc-network;
- }
- }
- }
- list vm-networks {
- key network-role;
- uses vm-network;
- description "Network List";
- }
- }
- }
-
- grouping vnfc-network {
- leaf vnfc-network-role {
- type string;
- }
- list vnfc-subnets {
- key "vnfc-subnet-role";
- leaf vnfc-subnet-role {
- type string;
- }
- list vnfc-ipassignments {
- key "vnfc-address-family";
- leaf vnfc-address-family {
- description "Subnet Version tells if this is IpV4 or IpV6";
- type enumeration {
- enum "ipv4";
- enum "ipv6";
- }
- }
- leaf vnfc-subnet-dhcp {
- description "Indicator to use DHCP on this network for this VNFC. Unless dhcp=N, we wouldnt have any address, since they would not be sdnc assigned ";
- type enumeration {
- enum "Y";
- enum "N";
- }
- }
- leaf vnfc-subnet-ipcount {
- description "The number of ip addresses to be assigned per vnfc for this subnet role";
- type uint8;
- }
- list vnfc-subnet-ips {
- key "vnfc-client-key";
- leaf vnfc-client-key {
- type string;
- }
- leaf ip-type {
- description "Capture what type of IP this is, if is virtual IP (AKA, floating IP) or Fixed IP. ";
- type enumeration {
- enum "FIXED";
- enum "VIP";
- }
- }
- leaf vnfc-address-ipv4 {
- description "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion. ";
- type ietf:ip-address;
- }
- leaf vnfc-address-ipv6 {
- description "Either IpV4 IP addresses or IpV6 IP addresses should be present, but not both within one VnfcVersion.";
- type ietf:ipv6-address;
- }
- }
- }
- }
- }
-
- grouping vnf-network {
- leaf network-role {
- type string;
- description "A Network Role to which a VNF must connect";
- }
- leaf network-role-tag {
- type string;
- description "The network-role that maps to the HEAT parameter {network-role}_net_id";
- }
- leaf network-name {
- type string;
- description "Unique Neutron UUID of an instance of the network role ";
- }
- leaf neutron-id {
- type string;
- description "Unique Neutron UUID of an instance of the network role ";
- }
- leaf network-id {
- type string;
- description "Unique Neutron UUID of an instance of the network role ";
- }
- leaf subnet-id {
- type string;
- description "ipv4 subnet UUID to be passed into the HEAT template for DHCP assignment";
- }
- leaf contrail-network-fqdn {
- type string;
- description "contrail network policy object";
- }
- leaf ipv6-subnet-id {
- type string;
- description "ipv6 subnet UUID to be passed into the HEAT template for DHCP assignment";
- }
- leaf ipv6-subnet-name {
- type string;
- description "ipv6 subnet-name that corresponds to the ipv6 subnet-id";
- }
- leaf subnet-name {
- type string;
- description "ipv4 subnet-name that corresponds to the ipv4 subnet-id";
- }
- leaf ipv4-key-subnet-id {
- description "Unique SDN-C generated UUID of the ipv4 subnet.Key into A&AI instance.";
- type string;
- }
- leaf ipv6-key-subnet-id {
- description "Unique SDN-C generated UUID of the ipv6 subnet.Key into A&AI instance.";
- type string;
- }
- leaf subnet-role {
- type string;
- }
- }
-
- grouping sriov-vlan-filter-list {
- list sriov-vlan-filter-list {
- key "sriov-vlan-filter";
- leaf sriov-vlan-filter {
- type string;
- }
- }
- }
-
- grouping vm-network {
- leaf network-role {
- type string;
- description "network (identified by role) that this VM connects to. Should also be included in the vnf-networks for the containing VNF";
- }
- leaf network-role-tag {
- type string;
- description "The network-role that maps to the HEAT parameter {network-role}_net_id";
- }
- leaf use-dhcp {
- type enumeration {
- enum "Y";
- enum "N";
- }
- description "Indicator to use DHCP on this network for this VM";
- }
- leaf ip-count {
- type uint8;
- description "The number of ip addresses to be assigned per vm for this network role";
- }
- leaf ip-count-ipv6 {
- type uint8;
- description "The number of ipv6 addresses to be assigned per vm for this network role";
- }
- list network-ips {
- ordered-by user;
- key ip-address;
- leaf ip-address {
- type ietf:ip-address;
- description "List of assigned ipv4 addresses on a network";
- }
- }
- list network-ips-v6 {
- ordered-by user;
- key ip-address-ipv6;
- leaf ip-address-ipv6 {
- type ietf:ipv6-address;
- description "List of assigned ipv6 addresses on a network";
- }
- }
- list network-macs {
- ordered-by user;
- key mac-address;
- leaf mac-address {
- type string;
- description "List of network assignments for this VM (one per network)";
- }
- }
- leaf floating-ip {
- type ietf:ip-address;
- description "Floating ipv4 for VMs of a given type on this network";
- }
- leaf floating-ip-v6 {
- type ietf:ipv6-address;
- description "Floating ipv6 for VMs of a given type on this network";
- }
- list interface-route-prefixes {
- ordered-by user;
- key interface-route-prefix;
- leaf interface-route-prefix {
- type ietf:ip-address;
- description "OBSOLETE, route prefixes (CIDRs) to be provided to MSO in vnf-topology as a list of static routes";
- }
- leaf interface-route-prefix-cidr {
- type string;
- description "route prefixes (CIDRs) in ip/cidr format to be provided to MSO in vnf-topology as a list of static routes";
- }
- }
- }
-
- grouping vnf-parameters {
- list vnf-parameters {
- key vnf-parameter-name;
- leaf vnf-parameter-name {
- type string;
- description "The name of an arbitrary instance-specific vnf-parameters";
- }
- leaf vnf-parameter-value {
- type string;
- description "The value of an arbitrary instance-specific vnf-parameters ";
- }
- }
- }
-
- grouping network-topology-information {
- container network-topology-information {
- uses network-topology-identifier;
- uses subnets;
- uses vpn-bindings;
- uses network-policy;
- uses route-table-reference;
- uses provider-network-information;
- }
- }
-
- grouping network-topology-identifier {
- container network-topology-identifier {
- leaf service-type {
- type string;
- }
- leaf network-name {
- type string;
- }
- leaf network-role {
- type string;
- }
- leaf network-type {
- type string;
- }
- leaf network-technology{
- type string;
- }
- }
- }
- grouping subnets {
- list subnets {
- key start-address;
- leaf start-address{
- type ietf:ip-address;
- }
- leaf gateway-address{
- type ietf:ip-address;
- }
- leaf cidr-mask{
- type string;
- }
- leaf ip-version {
- type string;
- }
- leaf dhcp-enabled {
- type enumeration {
- enum "Y";
- enum "N";
- }
- }
- leaf dhcp-start-address {
- type string;
- }
- leaf dhcp-end-address {
- type string;
- }
- leaf subnet-name {
- type string;
- }
- leaf addr-from-start {
- description "Default is N";
- type enumeration {
- enum "Y";
- enum "N";
- }
- }
- leaf subnet-role {
- type string;
- }
- uses host-routes;
- }
- }
-
- grouping vpn-bindings {
- list vpn-bindings {
- key vpn-binding-id;
- leaf vpn-binding-id {
- type string;
- }
- leaf global-route-target {
- type string;
- }
- }
- }
-
- grouping network-policy {
- list network-policy {
- key network-policy-fqdn;
- leaf network-policy-fqdn {
- type string;
- }
- leaf network-policy-id {
- type string;
- }
- }
- }
-
- grouping route-table-reference {
- list route-table-reference {
- key "route-table-reference-id";
- leaf route-table-reference-id {
- type string;
- }
- leaf route-table-reference-fqdn {
- type string;
- }
- }
- }
-
- grouping provider-network-information {
- container provider-network-information {
- leaf physical-network-name {
- type string;
- }
- leaf is-provider-network {
- type boolean;
- }
- leaf is-shared-network {
- type boolean;
- }
- leaf is-external-network {
- type boolean;
- }
- }
- }
-
- grouping host-routes {
- list host-routes {
- key "route-prefix";
- leaf route-prefix {
- type string;
- }
- leaf next-hop {
- description "Could be ip-address or hostname or service-instance";
- type string;
- }
- }
- }
-
- /***********************************************************/
- /* SERVICE_DATA */
- /***********************************************************/
- container vnfs {
- uses vnf-model-infrastructure;
- }
- grouping vnf-model-infrastructure {
- list vnf-list {
- key vnf-id;
- leaf vnf-id {
- type string;
- mandatory true;
- description "vf-module-id";
- }
- uses service-data;
- uses service-status;
- }
- }
- grouping service-data {
- container service-data {
- uses vnf-configuration-information;
- uses oper-status;
- }
- }
- grouping service-status {
- container service-status {
- leaf response-code {
- type string;
- }
- leaf response-message {
- type string;
- }
- leaf final-indicator {
- type string;
- }
- leaf request-status {
- type enumeration {
- enum "synccomplete";
- enum "asynccomplete";
- enum "notifycomplete";
- }
- }
- leaf vnfsdn-action {
- type enumeration {
- enum "PreloadNetworkRequest";
- enum "DeletePreloadNetworkRequest";
- enum "NetworkActivateRequest";
- enum "DisconnectNetworkRequest";
- enum "PreloadVNFRequest";
- enum "DeletePreloadVNFRequest";
- enum "VNFActivateRequest";
- enum "ChangeVNFActivateRequest";
- enum "DisconnectVNFRequest";
- enum "PreloadVnfInstanceRequest";
- enum "DeletePreloadVnfInstanceRequest";
- enum "VnfInstanceActivateRequest";
- enum "ChangeVnfInstanceActivateRequest";
- enum "DisconnectVnfInstanceRequest";
- enum "PreloadVfModuleRequest";
- enum "DeletePreloadVfModuleRequest";
- enum "VfModuleActivateRequest";
- enum "ChangeVfModuleActivateRequest";
- enum "DisconnectVfModuleRequest";
- }
- }
- leaf vnfsdn-subaction {
- type enumeration {
- enum "SUPP";
- enum "CANCEL";
- enum "RetainResource";
- }
- }
- leaf rpc-name {
- type enumeration {
- enum "vnf-topology-operation";
- enum "preload-vnf-topology-operation";
- enum "vnf-instance-topology-operation";
- enum "preload-vnf-instance-topology-operation";
- enum "vf-module-topology-operation";
- enum "preload-vf-module-topology-operation";
- }
- }
- leaf rpc-action {
- type enumeration {
- enum "reserve";
- enum "assign";
- enum "activate"; // equal to commit
- enum "delete"; // equal to commit
- enum "changeassign";
- enum "changedelete";
- enum "rollback";
- }
- }
- leaf response-timestamp {
- type string;
- }
- }
- }
- grouping vnf-configuration-information {
- uses sdnc-request-header;
- uses request-information;
- uses service-information;
- uses vnf-request-information;
- uses vnf-topology;
- }
- grouping vnf-topology-response-body {
- leaf svc-request-id {
- type string;
- }
- leaf response-code {
- type string;
- }
- leaf response-message {
- type string;
- }
- leaf ack-final-indicator {
- type string;
- }
- }
-
- grouping vnf-information {
- container vnf-information {
- leaf vnf-service-type {
- type string;
- }
- leaf vnf-id {
- type string;
- description "vf-module-id";
- }
- }
- }
-
- grouping network-information {
- container network-information {
- leaf network-service-type {
- type string;
- }
- leaf network-id {
- type string;
- }
- }
- }
-
-
- // Carried over from l3sdn and potentially not needed
- grouping oper-status {
- container oper-status {
- leaf order-status {
- type enumeration {
- enum "Active";
- enum "PendingAssignment";
- enum "PendingCreate";
- enum "PendingUpdate";
- enum "PendingDelete";
- enum "Deleted";
-
- }
- }
- leaf last-action {
- type enumeration {
- enum "VNFActivateRequest";
- enum "ChangeVNFActivateRequest";
- enum "VnfInstanceActivateRequest";
- enum "ChangeVnfInstanceActivateRequest";
- enum "VfModuleActivateRequest";
- enum "ChangeVfModuleActivateRequest";
- enum "DisconnectVNFRequest";
- enum "DisconnectVnfInstanceRequest";
- enum "DisconnectVfModuleRequest";
- enum "PreloadVNFRequest";
- enum "DeletePreloadVNFRequest";
- enum "PreloadVnfInstanceRequest";
- enum "DeletePreloadVnfInstanceRequest";
- enum "PreloadVfModuleRequest";
- enum "DeletePreloadVfModuleRequest";
- }
- }
- leaf last-svc-request-id {
- type string;
- }
- leaf last-order-status {
- type enumeration {
- enum "Active";
- enum "PendingAssignment";
- enum "PendingCreate";
- enum "PendingUpdate";
- enum "PendingDelete";
- enum "Deleted";
- }
- }
- leaf create-timestamp {
- type string;
- }
- leaf modify-timestamp {
- type string;
- }
- leaf maintenance-indicator {
- type enumeration {
- enum "Y";
- enum "N";
- }
- }
- }
- }
- grouping vnf-topology {
- leaf vnf-id {
- type string;
- description "vf-module-id";
- }
- uses vnf-topology-information;
- }
-
-
- rpc vnf-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses service-information;
- uses vnf-request-information;
- }
- output {
- uses vnf-topology-response-body;
- uses vnf-information;
- uses service-information;
- }
- }
-
- rpc network-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses service-information;
- uses network-request-information;
- }
- output {
- uses vnf-topology-response-body;
- uses network-information;
- uses service-information;
- }
- }
-
- rpc preload-vnf-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses vnf-topology-information;
- }
- output {
- uses vnf-topology-response-body;
- }
- }
-
- rpc preload-network-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses network-topology-information;
- }
- output {
- uses vnf-topology-response-body;
- }
- }
-}
diff --git a/vnfapi/model/src/main/yang/vnfsubmodule.yang b/vnfapi/model/src/main/yang/vnfsubmodule.yang
deleted file mode 100755
index 7899d52f..00000000
--- a/vnfapi/model/src/main/yang/vnfsubmodule.yang
+++ /dev/null
@@ -1,357 +0,0 @@
-submodule vnfsubmodule {
-
- belongs-to VNF-API { prefix "vnfapi"; }
-
- // Last updated on 8-17-2016
- /********************************************/
- /* vnf-instance */
- /********************************************/
- grouping vnf-instance-request-information {
- container vnf-instance-request-information {
- leaf request-version {
- type string;
- }
- uses vnf-instance-topology-identifier;
- uses region-identifier;
- list vnf-networks {
- key network-role;
- uses vnfapi:vnf-network;
- description "List of vnf networks to override preload";
- }
- }
- }
-
- grouping region-identifier {
- leaf tenant {
- type string;
- }
- leaf aic-cloud-region {
- type string;
- description "The AIC cloud region which maps to contrail versions";
- }
- }
-
-
- /***********************************************************/
- /* PRELOAD DATA - vnf-instance */
- /***********************************************************/
-
- container preload-vnf-instances {
- uses preload-vnf-instance-model-information;
- }
- grouping preload-vnf-instance-model-information {
- list vnf-instance-preload-list {
- key "vnf-instance-name vnf-model-id";
- leaf vnf-instance-name {
- type string;
- description "vnf-instance-name, aka generic-vnf-name";
- }
- leaf vnf-model-id {
- type string;
- description "vnf-model-id, aka generic-vnf-type";
- }
- uses vnf-instance-preload-data;
- }
- }
-
- grouping vnf-instance-preload-data {
- container vnf-instance-preload-data {
- uses vnf-instance-topology-information;
- uses vnfapi:oper-status;
- }
- }
-
- grouping vnf-instance-topology-information {
- container vnf-instance-topology-information {
- uses vnf-instance-identifiers;
- uses vnfapi:service-information;
- uses vnfapi:vnf-assignments;
- uses vnfapi:vnf-parameters;
- }
- }
-
- // This is used by MSO request for assign,rollback,activate,delete, etc
- grouping vnf-instance-topology-identifier {
- leaf vnf-instance-name {
- type string;
- }
- leaf vnf-model-id {
- type string;
- }
- leaf vnf-instance-id {
- type string;
- }
- }
-
- // container used in preload identifiers
- grouping vnf-instance-identifiers {
- container vnf-instance-identifiers {
- uses vnf-instance-topology-identifier;
- }
- }
-
- /***********************************************************/
- /* SERVICE_DATA - vnf-instance */
- /***********************************************************/
- container vnf-instances {
- uses vnf-instance-model-infrastructure;
- }
- grouping vnf-instance-model-infrastructure {
- list vnf-instance-list {
- key vnf-instance-id;
- leaf vnf-instance-id {
- type string;
- mandatory true;
- description "generic-vnf-id";
- }
- uses vnf-instance-service-data;
- uses vnfapi:service-status;
- }
- }
-
- grouping vnf-instance-service-data {
- container vnf-instance-service-data {
- uses vnf-instance-configuration-information;
- uses vf-module-relationship-list;
- uses vnfapi:oper-status;
- }
- }
-
- grouping vnf-instance-configuration-information {
- uses vnfapi:sdnc-request-header;
- uses vnfapi:request-information;
- uses vnfapi:service-information;
- uses vnf-instance-request-information;
- uses vnf-instance-topology;
- }
-
- grouping vf-module-relationship-list {
- list vf-module-relationship-list {
- key "vf-module-id";
- leaf vf-module-id {
- type string;
- description "vf-module-id";
- }
- }
- }
-
- grouping vnf-instance-topology-response-body {
- leaf svc-request-id {
- type string;
- }
- leaf response-code {
- type string;
- }
- leaf response-message {
- type string;
- }
- leaf ack-final-indicator {
- type string;
- }
- }
-
- grouping vnf-instance-information {
- container vnf-instance-information {
- leaf vnf-instance-id {
- type string;
- description "vnf-instance-id";
- }
- }
- }
-
- grouping vnf-instance-topology {
- leaf vnf-instance-id {
- type string;
- description "vnf-instance-id";
- }
- uses vnf-instance-topology-information;
- }
-
-
- rpc vnf-instance-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses service-information;
- uses vnf-instance-request-information;
- }
- output {
- uses vnf-instance-topology-response-body;
- uses vnf-instance-information;
- uses service-information;
- }
- }
-
- rpc preload-vnf-instance-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses vnf-instance-topology-information;
- }
- output {
- uses vnf-instance-topology-response-body;
- }
- }
-
- /********************************************/
- /* vf-module */
- /********************************************/
- grouping vf-module-request-information {
- container vf-module-request-information {
- uses vnf-instance-topology-identifier;
- uses region-identifier;
- uses vf-module-topology-identifier;
- }
- }
-
- grouping vf-module-identifiers {
- container vf-module-identifiers {
- uses vf-module-topology-identifier;
- }
- }
-
- grouping vf-module-topology-identifier {
- leaf vf-module-id {
- type string;
- description "vf-module id";
- }
- leaf vf-module-name {
- type string;
- description "vf-module-name";
- }
- leaf vf-module-model-id {
- type string;
- description "vf-module-type";
- }
- }
-
- /***********************************************************/
- /* PRELOAD DATA - vfmodule */
- /***********************************************************/
- container preload-vf-modules {
- uses preload-vf-module-model-information;
- }
-
- grouping preload-vf-module-model-information {
- list vf-module-preload-list {
- key "vf-module-name vf-module-model-id";
- leaf vf-module-name {
- type string;
- description "vf-module-name";
- }
- leaf vf-module-model-id {
- type string;
- description "vf-module-type";
- }
- uses vf-module-preload-data;
- }
- }
-
- grouping vf-module-preload-data {
- container vf-module-preload-data {
- uses vf-module-topology-information;
- uses vnfapi:oper-status;
- }
- }
-
- grouping vf-module-topology-information {
- container vf-module-topology-information {
- uses vf-module-identifiers;
- uses vnfapi:vnf-assignments;
- uses vnfapi:vnf-parameters;
- }
- }
-
-
- /***********************************************************/
- /* SERVICE_DATA - vfmodule */
- /***********************************************************/
- container vf-modules {
- uses vf-module-model-infrastructure;
- }
- grouping vf-module-model-infrastructure {
- list vf-module-list {
- key vf-module-id;
- leaf vf-module-id {
- type string;
- mandatory true;
- description "vf-module-id";
- }
- uses vf-module-service-data;
- uses vnfapi:service-status;
- }
- }
-
- grouping vf-module-service-data {
- container vf-module-service-data {
- uses vf-module-configuration-information;
- uses vnfapi:oper-status;
- }
- }
-
- grouping vf-module-configuration-information {
- uses vnfapi:sdnc-request-header;
- uses vnfapi:request-information;
- uses vnfapi:service-information;
- uses vf-module-request-information;
- uses vf-module-topology;
- }
-
- grouping vf-module-topology-response-body {
- leaf svc-request-id {
- type string;
- }
- leaf response-code {
- type string;
- }
- leaf response-message {
- type string;
- }
- leaf ack-final-indicator {
- type string;
- }
- }
-
- grouping vf-module-information {
- container vf-module-information {
- leaf vf-module-id {
- type string;
- description "vf-module-id";
- }
- }
- }
-
- grouping vf-module-topology {
- leaf vf-module-id {
- type string;
- description "vf-module-id";
- }
- uses vf-module-topology-information;
- }
-
-
- rpc vf-module-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses service-information;
- uses vf-module-request-information;
- }
- output {
- uses vf-module-topology-response-body;
- uses vf-module-information;
- uses service-information;
- }
- }
-
- rpc preload-vf-module-topology-operation {
- input {
- uses sdnc-request-header;
- uses request-information;
- uses vf-module-topology-information;
- }
- output {
- uses vf-module-topology-response-body;
- }
- }
-}
diff --git a/vnfapi/pom.xml b/vnfapi/pom.xml
deleted file mode 100644
index 8c6dd442..00000000
--- a/vnfapi/pom.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>sdnc-northbound :: vnfapi</name>
-
- <modules>
- <module>model</module>
- <module>features</module>
- <module>provider</module>
- <module>installer</module>
- </modules>
-</project>
diff --git a/vnfapi/provider/pom.xml b/vnfapi/provider/pom.xml
deleted file mode 100644
index 4e07b297..00000000
--- a/vnfapi/provider/pom.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.1.1</version>
- <relativePath/>
- </parent>
-
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-provider</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>sdnc-northbound :: vnfapi :: ${project.artifactId}</name>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.onap.ccsdk.sli.core</groupId>
- <artifactId>sli-core-artifacts</artifactId>
- <version>${ccsdk.sli.core.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-common-util</artifactId>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.sli.core</groupId>
- <artifactId>sli-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.sli.core</groupId>
- <artifactId>sli-provider</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-test-model</artifactId>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-broker-impl</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-broker-impl</artifactId>
- <type>test-jar</type>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
-
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>1.10.19</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-</project>
diff --git a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClient.java b/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClient.java
deleted file mode 100644
index 275948ab..00000000
--- a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClient.java
+++ /dev/null
@@ -1,270 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import org.onap.ccsdk.sli.core.sli.SvcLogicException;
-import org.onap.ccsdk.sli.core.sli.provider.SvcLogicService;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.util.Properties;
-
-public class VNFSDNSvcLogicServiceClient {
- static final String FAILURE_RESULT = "failure";
- static final String SVC_LOGIC_STATUS_KEY = "SvcLogic.status";
- private static final String TO_SLI_MSG = "Parameters passed to SLI";
- private static final String FROM_SLI_MSG = "Parameters returned by SLI";
-
- private final Logger logger = LoggerFactory.getLogger(VNFSDNSvcLogicServiceClient.class);
-
- private final SvcLogicService svcLogic;
-
- public VNFSDNSvcLogicServiceClient(final SvcLogicService svcLogicService) {
- this.svcLogic = svcLogicService;
- }
-
- public boolean hasGraph(String module, String rpc, String version, String mode) throws SvcLogicException {
- return svcLogic.hasGraph(module, rpc, version, mode);
- }
-
- public Properties execute(String module, String rpc, String version, String mode, ServiceDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- public Properties execute(String module, String rpc, String version, String mode, PreloadDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- ServiceDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- PreloadDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
-
- //1610 vnf-instance
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VnfInstanceServiceDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- //1610 vnf-instance
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VnfInstanceServiceDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
- //1610 vf-module
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VfModuleServiceDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- //1610 vf-module
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VfModuleServiceDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
- //1610 vnf-instance-preload
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VnfInstancePreloadDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- //1610 vnf-instance-preload
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VnfInstancePreloadDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
- //1610 vf-module-preload
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VfModulePreloadDataBuilder serviceData)
- throws SvcLogicException {
- return execute(module, rpc, version, mode, serviceData, new Properties());
- }
-
- //1610 vf-module-preload
- public Properties execute(String module,
- String rpc,
- String version,
- String mode,
- VfModulePreloadDataBuilder serviceData,
- Properties properties)
- throws SvcLogicException {
-
- Properties props = VnfSdnUtil.toProperties(properties, serviceData);
- printDebugLog(props, TO_SLI_MSG);
-
- Properties respProps = svcLogic.execute(module, rpc, version, mode, props);
- printDebugLog(respProps, FROM_SLI_MSG);
-
- if (respProps == null
- || FAILURE_RESULT.equalsIgnoreCase(respProps.getProperty(SVC_LOGIC_STATUS_KEY))) {
- return respProps;
- }
-
- VnfSdnUtil.toBuilder(respProps, serviceData);
-
- return respProps;
- }
-
- private void printDebugLog(Properties properties, String msg) {
- if (!logger.isDebugEnabled()) {
- return;
- }
- if (properties == null) {
- logger.debug(msg, "properties is null");
- return;
- }
-
- logger.debug(msg);
- for (Object key : properties.keySet()) {
- String paramName = (String) key;
- logger.debug(paramName, " = ", properties.getProperty(paramName));
- }
- }
-
-}
diff --git a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfApiProvider.java b/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfApiProvider.java
deleted file mode 100644
index c14db885..00000000
--- a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfApiProvider.java
+++ /dev/null
@@ -1,2327 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import com.google.common.util.concurrent.CheckedFuture;
-import com.google.common.util.concurrent.FutureCallback;
-import com.google.common.util.concurrent.Futures;
-import com.google.common.util.concurrent.ListenableFuture;
-import com.google.common.base.Optional;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener;
-import org.opendaylight.controller.md.sal.binding.api.DataTreeModification;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.controller.md.sal.common.api.data.OptimisticLockFailedException;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModules;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModulesBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstances;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstancesBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfs;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfsBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VNFAPIService;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModules;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModulesBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstances;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstancesBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.Vnfs;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfsBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.information.NetworkInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeader;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeader.SvcAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus.RequestStatus;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus.RpcAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus.RpcName;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus.VnfsdnAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus.VnfsdnSubaction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatusBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.information.VfModuleInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.information.VnfInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.information.VnfInstanceInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListKey;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
-import org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException;
-import org.onap.ccsdk.sli.core.sli.SvcLogicException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.slf4j.MDC;
-
-
-import java.text.DateFormat;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.Properties;
-import java.util.TimeZone;
-import java.util.concurrent.ExecutionException;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.concurrent.Future;
-
-/**
- * Defines a base implementation for your provider. This class extends from a helper class which provides storage for
- * the most commonly used components of the MD-SAL. Additionally the base class provides some basic logging and
- * initialization / clean up methods.
- */
-
-public class VnfApiProvider implements AutoCloseable, VNFAPIService {
-
- protected DataBroker dataBroker;
- protected NotificationPublishService notificationService;
- protected RpcProviderRegistry rpcRegistry;
- protected BindingAwareBroker.RpcRegistration<VNFAPIService> rpcRegistration;
- private final Logger log = LoggerFactory.getLogger(VnfApiProvider.class);
- private final ExecutorService executor;
-
- private static final String PRELOAD_DATA = "] PreloadData: ";
- private static final String SENDING_SUCCESS_RPC = "Sending Success rpc result due to external error";
- public static final String REASON = "', Reason: '";
- public static final String ERROR_CODE = "] error code: '";
- public static final String INVALID_INPUT_INVALID_PRELOAD_TYPE = "invalid input, invalid preload-type";
- public static final String BECAUSE_OF_INVALID_PRELOAD_TYPE = " because of invalid preload-type";
- public static final String INVALID_INPUT_NULL_OR_EMPTY_SERVICE_INSTANCE_ID = "invalid input, null or empty service-instance-id";
- public static final String BECAUSE_OF_INVALID_INPUT_NULL_OR_EMPTY_SERVICE_INSTANCE_ID = " because of invalid input, null or empty service-instance-id";
- private static final String APP_NAME = "vnfapi";
- private static final String VNF_API = "VNF-API";
- private static final String OPERATIONAL_DATA = "operational-data";
- private static final String READ_MD_SAL_STR = "Read MD-SAL (";
- private static final String DATA_FOR_STR = ") data for [";
- private static final String SERVICE_DATA_STR = "] ServiceData: ";
- private static final String NO_DATA_FOUND_STR = "No data found in MD-SAL (";
- private static final String EXCEPTION_READING_MD_SAL_STR = "Caught Exception reading MD-SAL (";
- private static final String FOR_STR = ") for [";
- private static final String INVALID_INPUT_VF_MODULE_STR = "invalid input, null or empty vf-module-id";
- private static final String UPDATED_MD_SAL_STR = "Updated MD-SAL for ";
- private static final String RETURNED_SUCCESS_STR = "Returned SUCCESS for ";
- private static final String UPDATING_OPERATIONAL_TREE_STR = "Updating OPERATIONAL tree.";
- private static final String UPDATING_MD_SAL_STR = "Updating MD-SAL for ";
- private static final String CAUGHT_EXCEPTION_STR = "Caught Exception updating MD-SAL for ";
- private static final String RETURNED_FAILED_STR = "Returned FAILED for ";
- private static final String ADDING_INPUT_DATA_STR = "Adding INPUT data for ";
- private static final String ADDING_OPERATIONAL_DATA_STR = "Adding OPERATIONAL data for ";
- private static final String OPERATIONAL_DATA_STR = "] operational-data: ";
- private static final String ADDING_CONFIG_DATA_STR = "Adding CONFIG data for ";
- private static final String INPUT_STR = "] input: ";
- private static final String CALLED_STR = " called.";
- private static final String EXITING_STR = "exiting ";
- private static final String INVALID_INPUT_VNF_INSTANCE_STR = "invalid input, null or empty vnf-instance-id";
-
- private VNFSDNSvcLogicServiceClient svcLogicClient;
-
- public VnfApiProvider(DataBroker dataBroker2, NotificationPublishService notificationPublishService,
- RpcProviderRegistry rpcProviderRegistry, VNFSDNSvcLogicServiceClient client) {
- log.info("Creating provider for " + APP_NAME);
- executor = Executors.newFixedThreadPool(1);
- dataBroker = dataBroker2;
- notificationService = notificationPublishService;
- rpcRegistry = rpcProviderRegistry;
- svcLogicClient = client;
- initialize();
- }
-
- private void initialize() {
- log.info("Initializing provider for " + APP_NAME);
- // Create the top level containers
- createContainers();
- try {
- VnfSdnUtil.loadProperties();
- } catch (Exception e) {
- log.error("Caught Exception while trying to load properties file: ", e);
- }
-
- log.info("Initialization complete for " + APP_NAME);
- }
-
- private void createContainers() {
- final WriteTransaction t = dataBroker.newReadWriteTransaction();
-
- // Create the Vnfs container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(Vnfs.class), new VnfsBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(Vnfs.class), new VnfsBuilder().build());
-
- // Create the PreloadVnfs container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(PreloadVnfs.class),
- new PreloadVnfsBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(PreloadVnfs.class),
- new PreloadVnfsBuilder().build());
-
- // 1610 Create the PreloadVnfInstances container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(PreloadVnfInstances.class),
- new PreloadVnfInstancesBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(PreloadVnfInstances.class),
- new PreloadVnfInstancesBuilder().build());
-
- // 1610 Create the VnfInstances container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(VnfInstances.class),
- new VnfInstancesBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(VnfInstances.class),
- new VnfInstancesBuilder().build());
-
- // 1610 Create the PreloadVfModules container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(PreloadVfModules.class),
- new PreloadVfModulesBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(PreloadVfModules.class),
- new PreloadVfModulesBuilder().build());
-
- // 1610 Create the VfModules container
- t.merge(LogicalDatastoreType.CONFIGURATION, InstanceIdentifier.create(VfModules.class),
- new VfModulesBuilder().build());
- t.merge(LogicalDatastoreType.OPERATIONAL, InstanceIdentifier.create(VfModules.class),
- new VfModulesBuilder().build());
-
- try {
- CheckedFuture<Void, TransactionCommitFailedException> checkedFuture = t.submit();
- checkedFuture.get();
- log.info("Create Containers succeeded!: ");
-
- } catch (InterruptedException | ExecutionException e) {
- log.error("Create Containers Failed: " + e);
- }
- }
-
- @Override
- public void close() throws Exception {
- log.info("Closing provider for " + APP_NAME);
- executor.shutdown();
- rpcRegistration.close();
- log.info("Successfully closed provider for " + APP_NAME);
- }
-
-
- private static class Iso8601Util {
-
-
- private static TimeZone tz = TimeZone.getTimeZone("UTC");
- private static DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
-
- private Iso8601Util() {
- }
-
- static {
- df.setTimeZone(tz);
- }
-
- private static String now() {
- return df.format(new Date());
- }
- }
-
- private void setServiceStatus(ServiceStatusBuilder serviceStatusBuilder, String errorCode, String errorMessage,
- String ackFinal) {
- serviceStatusBuilder.setResponseCode(errorCode);
- serviceStatusBuilder.setResponseMessage(errorMessage);
- serviceStatusBuilder.setFinalIndicator(ackFinal);
- serviceStatusBuilder.setResponseTimestamp(Iso8601Util.now());
- }
-
- private void setServiceStatus(ServiceStatusBuilder serviceStatusBuilder, RequestInformation requestInformation) {
- if (requestInformation != null && requestInformation.getRequestAction() != null) {
- switch (requestInformation.getRequestAction()) {
- case VNFActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.VNFActivateRequest);
- break;
- case ChangeVNFActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.ChangeVNFActivateRequest);
- break;
- case DisconnectVNFRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.DisconnectVNFRequest);
- break;
- case PreloadVNFRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.PreloadVNFRequest);
- break;
- case DeletePreloadVNFRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.DeletePreloadVNFRequest);
- break;
- // 1610 vnf-instance Requests
- case VnfInstanceActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.VnfInstanceActivateRequest);
- break;
- case ChangeVnfInstanceActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.ChangeVnfInstanceActivateRequest);
- break;
- case DisconnectVnfInstanceRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.DisconnectVnfInstanceRequest);
- break;
- case PreloadVnfInstanceRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.PreloadVnfInstanceRequest);
- break;
- // 1610 vf-module Requests
- case VfModuleActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.VfModuleActivateRequest);
- break;
- case ChangeVfModuleActivateRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.ChangeVfModuleActivateRequest);
- break;
- case DisconnectVfModuleRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.DisconnectVfModuleRequest);
- break;
- case PreloadVfModuleRequest:
- serviceStatusBuilder.setVnfsdnAction(VnfsdnAction.PreloadVfModuleRequest);
- break;
- default:
- log.error("Unknown RequestAction: " + requestInformation.getRequestAction());
- break;
- }
- }
- if (requestInformation != null && requestInformation.getRequestSubAction() != null) {
- switch (requestInformation.getRequestSubAction()) {
- case SUPP:
- serviceStatusBuilder.setVnfsdnSubaction(VnfsdnSubaction.SUPP);
- break;
- case CANCEL:
- serviceStatusBuilder.setVnfsdnSubaction(VnfsdnSubaction.CANCEL);
- break;
- default:
- log.error("Unknown RequestSubAction: " + requestInformation.getRequestSubAction());
- break;
- }
- }
- }
-
- private void setServiceStatus(ServiceStatusBuilder serviceStatusBuilder, SdncRequestHeader requestHeader) {
- if (requestHeader != null && requestHeader.getSvcAction() != null) {
- switch (requestHeader.getSvcAction()) {
- case Reserve:
- serviceStatusBuilder.setRpcAction(RpcAction.Reserve);
- break;
- case Activate:
- serviceStatusBuilder.setRpcAction(RpcAction.Activate);
- break;
- case Assign:
- serviceStatusBuilder.setRpcAction(RpcAction.Assign);
- break;
- case Delete:
- serviceStatusBuilder.setRpcAction(RpcAction.Delete);
- break;
- case Changeassign:
- serviceStatusBuilder.setRpcAction(RpcAction.Changeassign);
- break;
- case Changedelete:
- serviceStatusBuilder.setRpcAction(RpcAction.Changedelete);
- break;
- case Rollback:
- serviceStatusBuilder.setRpcAction(RpcAction.Rollback);
- break;
- default:
- log.error("Unknown SvcAction: " + requestHeader.getSvcAction());
- break;
- }
- }
- }
-
- private void getServiceData(String siid, ServiceDataBuilder serviceDataBuilder) {
- // default to config
- getServiceData(siid, serviceDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
-
- private void getServiceData(String siid, ServiceDataBuilder serviceDataBuilder, LogicalDatastoreType type) {
- // See if any data exists yet for this siid, if so grab it.
- InstanceIdentifier<VnfList> serviceInstanceIdentifier = InstanceIdentifier
- .builder(Vnfs.class)
- .child(VnfList.class, new VnfListKey(siid))
- .build();
-
- Optional<VnfList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, serviceInstanceIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + siid + "] ", e);
- }
-
- if (data.isPresent()) {
- ServiceData serviceData = (ServiceData) data.get().getServiceData();
- if (serviceData != null) {
- log.info(READ_MD_SAL_STR + type + DATA_FOR_STR + siid + SERVICE_DATA_STR + serviceData);
- serviceDataBuilder.setSdncRequestHeader(serviceData.getSdncRequestHeader());
- serviceDataBuilder.setRequestInformation(serviceData.getRequestInformation());
- serviceDataBuilder.setServiceInformation(serviceData.getServiceInformation());
- serviceDataBuilder.setVnfRequestInformation(serviceData.getVnfRequestInformation());
- serviceDataBuilder.setVnfId(serviceData.getVnfId());
- serviceDataBuilder.setVnfTopologyInformation(serviceData.getVnfTopologyInformation());
- serviceDataBuilder.setOperStatus(serviceData.getOperStatus());
- } else {
- log.info("No service-data found in MD-SAL (" + type + FOR_STR + siid + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + siid + "] ");
- }
- }
-
- //1610 vnf-instance
- private void getVnfInstanceServiceData(String siid, VnfInstanceServiceDataBuilder vnfInstanceServiceDataBuilder) {
- // default to config
- getVnfInstanceServiceData(siid, vnfInstanceServiceDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
- //1610 vnf-instance
- private void getVnfInstanceServiceData(String siid, VnfInstanceServiceDataBuilder vnfInstanceServiceDataBuilder,
- LogicalDatastoreType type) {
- // See if any data exists yet for this siid, if so grab it.
- InstanceIdentifier<VnfInstanceList> vnfInstanceIdentifier = InstanceIdentifier
- .builder(VnfInstances.class)
- .child(VnfInstanceList.class, new VnfInstanceListKey(siid))
- .build();
-
- Optional<VnfInstanceList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, vnfInstanceIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + siid + "] ", e);
- }
-
- if (data.isPresent()) {
- VnfInstanceServiceData vnfInstanceServiceData = data.get().getVnfInstanceServiceData();
- if (vnfInstanceServiceData != null) {
- log.info(READ_MD_SAL_STR + type + DATA_FOR_STR + siid + "] VnfInstanceServiceData: "
- + vnfInstanceServiceData);
- vnfInstanceServiceDataBuilder.setSdncRequestHeader(vnfInstanceServiceData.getSdncRequestHeader());
- vnfInstanceServiceDataBuilder.setRequestInformation(vnfInstanceServiceData.getRequestInformation());
- vnfInstanceServiceDataBuilder.setServiceInformation(vnfInstanceServiceData.getServiceInformation());
- vnfInstanceServiceDataBuilder
- .setVnfInstanceRequestInformation(vnfInstanceServiceData.getVnfInstanceRequestInformation());
- vnfInstanceServiceDataBuilder.setVnfInstanceId(vnfInstanceServiceData.getVnfInstanceId());
- vnfInstanceServiceDataBuilder
- .setVnfInstanceTopologyInformation(vnfInstanceServiceData.getVnfInstanceTopologyInformation());
- vnfInstanceServiceDataBuilder.setOperStatus(vnfInstanceServiceData.getOperStatus());
- } else {
- log.info("No vnf-instance-service-data found in MD-SAL (" + type + FOR_STR + siid + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + siid + "] ");
- }
- }
-
- //1610 vf-module
- private void getVfModuleServiceData(String siid, VfModuleServiceDataBuilder vfModuleServiceDataBuilder) {
- // default to config
- getVfModuleServiceData(siid, vfModuleServiceDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
- //1610 vf-module
- private void getVfModuleServiceData(String siid, VfModuleServiceDataBuilder vfModuleServiceDataBuilder,
- LogicalDatastoreType type) {
- // See if any data exists yet for this siid, if so grab it.
- InstanceIdentifier<VfModuleList> vfModuleIdentifier = InstanceIdentifier
- .builder(VfModules.class)
- .child(VfModuleList.class, new VfModuleListKey(siid))
- .build();
-
- Optional<VfModuleList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, vfModuleIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + siid + "] ", e);
- }
-
- if (data.isPresent()) {
- VfModuleServiceData vfModuleServiceData = data.get().getVfModuleServiceData();
- if (vfModuleServiceData != null) {
- log.info(
- READ_MD_SAL_STR + type + DATA_FOR_STR + siid + "] VfModuleServiceData: " + vfModuleServiceData);
- vfModuleServiceDataBuilder.setSdncRequestHeader(vfModuleServiceData.getSdncRequestHeader());
- vfModuleServiceDataBuilder.setRequestInformation(vfModuleServiceData.getRequestInformation());
- vfModuleServiceDataBuilder.setServiceInformation(vfModuleServiceData.getServiceInformation());
- vfModuleServiceDataBuilder
- .setVfModuleRequestInformation(vfModuleServiceData.getVfModuleRequestInformation());
- vfModuleServiceDataBuilder.setVfModuleId(vfModuleServiceData.getVfModuleId());
- vfModuleServiceDataBuilder
- .setVfModuleTopologyInformation(vfModuleServiceData.getVfModuleTopologyInformation());
- vfModuleServiceDataBuilder.setOperStatus(vfModuleServiceData.getOperStatus());
- } else {
- log.info("No vf-module-service-data found in MD-SAL (" + type + FOR_STR + siid + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + siid + "] ");
- }
- }
-
-
- private void getPreloadData(String vnfName, String vnfType, PreloadDataBuilder preloadDataBuilder) {
- // default to config
- getPreloadData(vnfName, vnfType, preloadDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
- private void getPreloadData(String preloadName, String preloadType, PreloadDataBuilder preloadDataBuilder,
- LogicalDatastoreType type) {
- // See if any data exists yet for this name/type, if so grab it.
- InstanceIdentifier<VnfPreloadList> preloadInstanceIdentifier = InstanceIdentifier
- .builder(PreloadVnfs.class)
- .child(VnfPreloadList.class, new VnfPreloadListKey(preloadName, preloadType))
- .build();
-
- Optional<VnfPreloadList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, preloadInstanceIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + preloadName + "," + preloadType + "] ", e);
- }
-
- if (data.isPresent()) {
- PreloadData preloadData = (PreloadData) data.get().getPreloadData();
- if (preloadData != null) {
- log.info(READ_MD_SAL_STR + type + DATA_FOR_STR + preloadName + "," + preloadType + PRELOAD_DATA
- + preloadData);
- preloadDataBuilder.setVnfTopologyInformation(preloadData.getVnfTopologyInformation());
- preloadDataBuilder.setNetworkTopologyInformation(preloadData.getNetworkTopologyInformation());
- preloadDataBuilder.setOperStatus(preloadData.getOperStatus());
- } else {
- log.info(
- "No preload-data found in MD-SAL (" + type + FOR_STR + preloadName + "," + preloadType + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + preloadName + "," + preloadType + "] ");
- }
- }
-
- //1610 preload-vnf-instance
- private void getVnfInstancePreloadData(String vnfName, String vnfType,
- VnfInstancePreloadDataBuilder preloadDataBuilder) {
- // default to config
- getVnfInstancePreloadData(vnfName, vnfType, preloadDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
- //1610 preload-vnf-instance
- private void getVnfInstancePreloadData(String preloadName, String preloadType,
- VnfInstancePreloadDataBuilder preloadDataBuilder, LogicalDatastoreType type) {
- // See if any data exists yet for this name/type, if so grab it.
- InstanceIdentifier<VnfInstancePreloadList> preloadInstanceIdentifier = InstanceIdentifier
- .builder(PreloadVnfInstances.class)
- .child(VnfInstancePreloadList.class, new VnfInstancePreloadListKey(preloadName, preloadType))
- .build();
-
- Optional<VnfInstancePreloadList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, preloadInstanceIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + preloadName + "," + preloadType + "] ", e);
- }
-
- if (data.isPresent()) {
- VnfInstancePreloadData preloadData = (VnfInstancePreloadData) data.get().getVnfInstancePreloadData();
- if (preloadData != null) {
- log.info(READ_MD_SAL_STR + type + DATA_FOR_STR + preloadName + "," + preloadType
- + "] VnfInstancePreloadData: " + preloadData);
- preloadDataBuilder.setVnfInstanceTopologyInformation(preloadData.getVnfInstanceTopologyInformation());
- preloadDataBuilder.setOperStatus(preloadData.getOperStatus());
- } else {
- log.info("No vnf-instance-preload-data found in MD-SAL (" + type + FOR_STR + preloadName + ","
- + preloadType + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + preloadName + "," + preloadType + "] ");
- }
- }
-
- // 1610 preload-vf-module
- private void getVfModulePreloadData(String vnfName, String vnfType,
- VfModulePreloadDataBuilder preloadDataBuilder) {
- // default to config
- getVfModulePreloadData(vnfName, vnfType, preloadDataBuilder, LogicalDatastoreType.CONFIGURATION);
- }
-
- private void getVfModulePreloadData(String preloadName, String preloadType,
- VfModulePreloadDataBuilder preloadDataBuilder, LogicalDatastoreType type) {
- // See if any data exists yet for this name/type, if so grab it.
- InstanceIdentifier<VfModulePreloadList> preloadInstanceIdentifier = InstanceIdentifier
- .builder(PreloadVfModules.class)
- .child(VfModulePreloadList.class, new VfModulePreloadListKey(preloadName, preloadType))
- .build();
-
- Optional<VfModulePreloadList> data = Optional.absent();
- try (final ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction()) {
- data = readTx.read(type, preloadInstanceIdentifier).get();
- } catch (final InterruptedException | ExecutionException e) {
- log.error(EXCEPTION_READING_MD_SAL_STR + type + FOR_STR + preloadName + "," + preloadType + "] ", e);
- }
-
- if (data.isPresent()) {
- VfModulePreloadData preloadData = (VfModulePreloadData) data.get().getVfModulePreloadData();
- if (preloadData != null) {
- log.info(READ_MD_SAL_STR + type + DATA_FOR_STR + preloadName + "," + preloadType
- + "] VfModulePreloadData: " + preloadData);
- preloadDataBuilder.setVfModuleTopologyInformation(preloadData.getVfModuleTopologyInformation());
- preloadDataBuilder.setOperStatus(preloadData.getOperStatus());
- } else {
- log.info(
- "No preload-data found in MD-SAL (" + type + FOR_STR + preloadName + "," + preloadType + "] ");
- }
- } else {
- log.info(NO_DATA_FOUND_STR + type + FOR_STR + preloadName + "," + preloadType + "] ");
- }
- }
-
- private void deleteVnfList(final VnfList entry, LogicalDatastoreType storeType) {
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VnfList> path = InstanceIdentifier
- .builder(Vnfs.class)
- .child(VnfList.class, entry.key())
- .build();
-
- int optimisticLockTries = 2;
- boolean tryAgain = true;
- while (tryAgain) {
- tryAgain = false;
- try {
- WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
- tx.delete(storeType, path);
- tx.submit().checkedGet();
- log.debug("DataStore delete succeeded");
- } catch (OptimisticLockFailedException e) {
- if (--optimisticLockTries <= 0) {
- log.debug("Got OptimisticLockFailedException on last try - failing ");
- throw new IllegalStateException(e);
- }
- log.debug("Got OptimisticLockFailedException - trying again ");
- tryAgain = true;
-
- } catch (final TransactionCommitFailedException e) {
- Throwable eCause = e.getCause();
-
- if (eCause instanceof org.opendaylight.mdsal.common.api.TransactionCommitFailedException) {
- log.debug("Nested TransactionCommitFailed exception - getting next cause");
- eCause = eCause.getCause();
- } else {
- log.debug("Got TransactionCommitFailedException, caused by {}", eCause.getClass().getName());
- }
-
- if (eCause instanceof ModifiedNodeDoesNotExistException) {
- log.debug("Ignoring ModifiedNodeDoesNotExistException");
- break;
- }
-
- log.debug("Delete DataStore failed due to exception", eCause);
- throw new IllegalStateException(e);
- }
- }
- }
-
- private void saveVnfList(final VnfList entry, boolean merge, LogicalDatastoreType storeType) {
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VnfList> path = InstanceIdentifier
- .builder(Vnfs.class)
- .child(VnfList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- //1610 vnf-instance
- private void saveVnfInstanceList(final VnfInstanceList entry, boolean merge, LogicalDatastoreType storeType) {
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VnfInstanceList> path = InstanceIdentifier
- .builder(VnfInstances.class)
- .child(VnfInstanceList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- //1610 vf-module
- private void saveVfModuleList(final VfModuleList entry, boolean merge, LogicalDatastoreType storeType) {
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VfModuleList> path = InstanceIdentifier
- .builder(VfModules.class)
- .child(VfModuleList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- private void savePreloadList(final VnfPreloadList entry, boolean merge, LogicalDatastoreType storeType) {
-
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VnfPreloadList> path = InstanceIdentifier
- .builder(PreloadVnfs.class)
- .child(VnfPreloadList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- //1610 preload vnf-instance
- private void saveVnfInstancePreloadList(final VnfInstancePreloadList entry, boolean merge,
- LogicalDatastoreType storeType) {
-
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VnfInstancePreloadList> path = InstanceIdentifier
- .builder(PreloadVnfInstances.class)
- .child(VnfInstancePreloadList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- //1610 preload vf-module
- private void saveVfModulePreloadList(final VfModulePreloadList entry, boolean merge,
- LogicalDatastoreType storeType) {
-
- // Each entry will be identifiable by a unique key, we have to create that identifier
- InstanceIdentifier<VfModulePreloadList> path = InstanceIdentifier
- .builder(PreloadVfModules.class)
- .child(VfModulePreloadList.class, entry.key())
- .build();
-
- tryUpdateDataStore(entry, merge, storeType, path);
- }
-
- private <T extends DataObject> void tryUpdateDataStore(T entry, boolean merge, LogicalDatastoreType storeType,
- InstanceIdentifier<T> path) {
-
- int tries = 2;
- while (true) {
- try {
- WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
- if (merge) {
- tx.merge(storeType, path, entry);
- } else {
- tx.put(storeType, path, entry);
- }
- tx.submit().checkedGet();
- log.debug("Update DataStore succeeded");
- break;
- } catch (OptimisticLockFailedException e) {
- if (--tries <= 0) {
- log.debug("Got OptimisticLockFailedException on last try - failing ");
- throw new IllegalStateException(e);
- }
- log.debug("Got OptimisticLockFailedException - trying again ");
- } catch (final TransactionCommitFailedException e) {
- log.debug("Update DataStore failed");
- throw new IllegalStateException(e);
- }
- }
- }
-
- //Save the requestId into MDC
- private void setRequestIdAsMDC(String requestId) {
- MDC.put("RequestId", requestId);
- }
-
- //1610 vnf-instance-topology-operation
-
- private Boolean validateVnfInstanceTopologyOperationInput(VnfInstanceTopologyOperationInput input) {
- return input != null
- && input.getVnfInstanceRequestInformation() != null
- && input.getVnfInstanceRequestInformation().getVnfInstanceId() != null
- && input.getVnfInstanceRequestInformation().getVnfInstanceId().length() != 0;
- }
-
- private ListenableFuture<RpcResult<VnfInstanceTopologyOperationOutput>> buildVnfInstanceTopologyOperationOutputWithtError(
- String responseCode, String responseMessage, String ackFinalIndicator) {
- VnfInstanceTopologyOperationOutputBuilder responseBuilder = new VnfInstanceTopologyOperationOutputBuilder();
- responseBuilder.setResponseCode(responseCode);
- responseBuilder.setResponseMessage(responseMessage);
- responseBuilder.setAckFinalIndicator(ackFinalIndicator);
- return Futures.immediateFuture(RpcResultBuilder
- .<VnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build());
- }
-
- @Override
- public ListenableFuture<RpcResult<VnfInstanceTopologyOperationOutput>> vnfInstanceTopologyOperation(
- VnfInstanceTopologyOperationInput input) {
-
- final String svcOperation = "vnf-instance-topology-operation";
- VnfInstanceServiceData vnfInstanceServiceData;
- ServiceStatusBuilder serviceStatusBuilder = new ServiceStatusBuilder();
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- VnfInstanceTopologyOperationOutputBuilder responseBuilder = new VnfInstanceTopologyOperationOutputBuilder();
-
- if (!validateVnfInstanceTopologyOperationInput(input)) {
- log.debug(EXITING_STR + svcOperation + " because of " + INVALID_INPUT_VNF_INSTANCE_STR);
- return buildVnfInstanceTopologyOperationOutputWithtError("403",
- INVALID_INPUT_VNF_INSTANCE_STR,
- "Y");
- }
-
- // Grab the service instance ID from the input buffer
- String viid = input.getVnfInstanceRequestInformation().getVnfInstanceId();
- String preloadName = input.getVnfInstanceRequestInformation().getVnfInstanceName();
- String preloadType = input.getVnfInstanceRequestInformation().getVnfModelId();
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- // Get vnf-instance-preload-data
- VnfInstancePreloadDataBuilder vnfInstancePreloadDataBuilder = new VnfInstancePreloadDataBuilder();
- getVnfInstancePreloadData(preloadName, preloadType, vnfInstancePreloadDataBuilder);
-
- // Get service-data
- VnfInstanceServiceDataBuilder vnfInstanceServiceDataBuilder = new VnfInstanceServiceDataBuilder();
- getVnfInstanceServiceData(viid, vnfInstanceServiceDataBuilder);
-
- // Get operational-data
- VnfInstanceServiceDataBuilder operDataBuilder = new VnfInstanceServiceDataBuilder();
- getVnfInstanceServiceData(viid, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- // Set the serviceStatus based on input
- setServiceStatus(serviceStatusBuilder, input.getSdncRequestHeader());
- setServiceStatus(serviceStatusBuilder, input.getRequestInformation());
-
- //
- // setup a service-data object builder
- // ACTION vnf-topology-operationa
- // INPUT:
- // USES sdnc-request-header;
- // USES request-information;
- // USES service-information;
- // USES vnf-request-information
- // OUTPUT:
- // USES vnf-topology-response-body;
- // USES vnf-information
- // USES service-information
- //
- // container service-data
- // uses vnf-configuration-information;
- // uses oper-status;
-
- log.info(ADDING_INPUT_DATA_STR + svcOperation + " [" + viid + INPUT_STR + input);
- VnfInstanceTopologyOperationInputBuilder inputBuilder = new VnfInstanceTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
-
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + viid + OPERATIONAL_DATA_STR + operDataBuilder
- .build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- log.info(
- ADDING_CONFIG_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType + "] preload-data: "
- + vnfInstancePreloadDataBuilder.build());
- VnfSdnUtil.toProperties(parms, "vnf-instance-preload-data", vnfInstancePreloadDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient
- .execute(VNF_API, svcOperation, null, "sync", vnfInstanceServiceDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- setServiceStatus(serviceStatusBuilder, errorCode, errorMessage, ackFinal);
- serviceStatusBuilder.setRequestStatus(RequestStatus.Synccomplete);
- serviceStatusBuilder.setRpcName(RpcName.VnfInstanceTopologyOperation);
-
- if (errorCode != null && errorCode.length() != 0 && !(errorCode.equals("0") || errorCode.equals("200"))) {
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
- VnfInstanceListBuilder vnfInstanceListBuilder = new VnfInstanceListBuilder();
- vnfInstanceListBuilder.setVnfInstanceId(viid);
- vnfInstanceListBuilder.setServiceStatus(serviceStatusBuilder.build());
- try {
- saveVnfInstanceList(vnfInstanceListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + viid + "] \n", e);
- }
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + viid + "] " + responseBuilder.build());
- RpcResult<VnfInstanceTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- vnfInstanceServiceData = vnfInstanceServiceDataBuilder.build();
- log.info(UPDATING_MD_SAL_STR + svcOperation + " [" + viid + "] VnfInstanceServiceData: "
- + vnfInstanceServiceData);
- // svc-configuration-list
- VnfInstanceListBuilder vnfInstanceListBuilder = new VnfInstanceListBuilder();
- vnfInstanceListBuilder.setVnfInstanceServiceData(vnfInstanceServiceData);
- vnfInstanceListBuilder.setVnfInstanceId(vnfInstanceServiceData.getVnfInstanceId());
- vnfInstanceListBuilder.setServiceStatus(serviceStatusBuilder.build());
- saveVnfInstanceList(vnfInstanceListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- if (input.getSdncRequestHeader() != null && input.getSdncRequestHeader().getSvcAction() != null) {
- // Only update operational tree on Delete or Activate
- if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Delete) || input.getSdncRequestHeader()
- .getSvcAction().equals(SvcAction.Activate)) {
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- saveVnfInstanceList(vnfInstanceListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- }
- }
- VnfInstanceInformationBuilder vnfInstanceInformationBuilder = new VnfInstanceInformationBuilder();
- vnfInstanceInformationBuilder.setVnfInstanceId(viid);
- responseBuilder.setVnfInstanceInformation(vnfInstanceInformationBuilder.build());
- responseBuilder.setServiceInformation(vnfInstanceServiceData.getServiceInformation());
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + viid + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + viid + "] " + responseBuilder.build());
- RpcResult<VnfInstanceTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + viid + "] ");
- log.info(RETURNED_SUCCESS_STR + svcOperation + " [" + viid + "] " + responseBuilder.build());
-
- RpcResult<VnfInstanceTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return success
- return Futures.immediateFuture(rpcResult);
- }
-
- //1610 vf-module-topology-operation
- @Override
- public ListenableFuture<RpcResult<VfModuleTopologyOperationOutput>> vfModuleTopologyOperation(
- VfModuleTopologyOperationInput input) {
-
- final String svcOperation = "vf-module-topology-operation";
- VfModuleServiceData vfModuleServiceData;
- ServiceStatusBuilder serviceStatusBuilder = new ServiceStatusBuilder();
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- VfModuleTopologyOperationOutputBuilder responseBuilder = new VfModuleTopologyOperationOutputBuilder();
-
- // Validate vf-module-id from vf-module-request-information
- if (input == null || input.getVfModuleRequestInformation() == null
- || input.getVfModuleRequestInformation().getVfModuleId() == null) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty vf-module-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_VF_MODULE_STR);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<VfModuleTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the vf-module-request-information.vf-module-id from the input buffer
- String vfid = input.getVfModuleRequestInformation().getVfModuleId();
- String preloadName = input.getVfModuleRequestInformation().getVfModuleName();
- String preloadType = input.getVfModuleRequestInformation().getVfModuleModelId();
-
- // Make sure we have a valid siid
- if (vfid == null || vfid.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid vf-module-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_VF_MODULE_STR);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<VfModuleTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // 1610 add vf-module-id to vnf-instance-list.vf-module-relationship-list
- String viid = input.getVfModuleRequestInformation().getVnfInstanceId();
-
- if (viid == null || viid.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid vnf-instance-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_VNF_INSTANCE_STR);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<VfModuleTopologyOperationOutput> rpcResult = RpcResultBuilder
- .<VfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- // Get vf-module-preload-data
- VfModulePreloadDataBuilder vfModulePreloadDataBuilder = new VfModulePreloadDataBuilder();
- getVfModulePreloadData(preloadName, preloadType, vfModulePreloadDataBuilder);
-
- // Get vf-module-service-data
- VfModuleServiceDataBuilder vfModuleServiceDataBuilder = new VfModuleServiceDataBuilder();
- getVfModuleServiceData(vfid, vfModuleServiceDataBuilder);
-
- // Get vf-module operation-data
- VfModuleServiceDataBuilder operDataBuilder = new VfModuleServiceDataBuilder();
- getVfModuleServiceData(vfid, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- // 1610 Need to pull vnf-instance-list.vf-module-relationship-list from MD-SAL
- VnfInstanceServiceDataBuilder vnfInstanceServiceDataBuilder = new VnfInstanceServiceDataBuilder();
- getVnfInstanceServiceData(viid, vnfInstanceServiceDataBuilder);
-
- // vnf-instance operational-data
- VnfInstanceServiceDataBuilder vnfInstanceOperDataBuilder = new VnfInstanceServiceDataBuilder();
- getVnfInstanceServiceData(viid, vnfInstanceOperDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- // Set the serviceStatus based on input
- setServiceStatus(serviceStatusBuilder, input.getSdncRequestHeader());
- setServiceStatus(serviceStatusBuilder, input.getRequestInformation());
-
- //
- // setup a service-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // USES request-information;
- // USES service-information;
- // USES vnf-request-information
- // OUTPUT:
- // USES vnf-information
- // USES service-information
- //
- // container service-data
-
- log.info(ADDING_INPUT_DATA_STR + svcOperation + " [" + vfid + INPUT_STR + input);
- VfModuleTopologyOperationInputBuilder inputBuilder = new VfModuleTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
-
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + vfid + "] vf-module operational-data: "
- + operDataBuilder.build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- log.info(ADDING_CONFIG_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] vf-module-preload-data: " + vfModulePreloadDataBuilder.build());
- VnfSdnUtil.toProperties(parms, "vf-module-preload-data", vfModulePreloadDataBuilder);
-
- log.info("Adding vnf-instance CONFIG data for " + svcOperation + " [" + viid + "] vnf-instance-service-data: "
- + vnfInstanceServiceDataBuilder.build());
- VnfSdnUtil.toProperties(parms, "vnf-instance-service-data", vnfInstanceServiceDataBuilder);
-
- log.info("Adding vnf-instance OPERATIONAL data for " + svcOperation + " [" + viid
- + "] vnf-instance operational-data: " + vnfInstanceOperDataBuilder.build());
- VnfSdnUtil.toProperties(parms, "vnf-instance-operational-data", vnfInstanceOperDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
-
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient
- .execute(VNF_API, svcOperation, null, "sync", vfModuleServiceDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- setServiceStatus(serviceStatusBuilder, errorCode, errorMessage, ackFinal);
- serviceStatusBuilder.setRequestStatus(RequestStatus.Synccomplete);
- serviceStatusBuilder.setRpcName(RpcName.VfModuleTopologyOperation);
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
- VfModuleListBuilder vfModuleListBuilder = new VfModuleListBuilder();
- vfModuleListBuilder.setVfModuleId(vfid);
- vfModuleListBuilder.setServiceStatus(serviceStatusBuilder.build());
- try {
- saveVfModuleList(vfModuleListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + vfid + "] \n", e);
- }
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + vfid + "] " + responseBuilder.build());
- RpcResult<VfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VfModuleTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- // save vf-module-service-data in MD-SAL
- try {
- vfModuleServiceData = vfModuleServiceDataBuilder.build();
- log.info(
- UPDATING_MD_SAL_STR + svcOperation + " [" + vfid + "] VfModuleServiceData: " + vfModuleServiceData);
- // vf-module-list
- VfModuleListBuilder vfModuleListBuilder = new VfModuleListBuilder();
- vfModuleListBuilder.setVfModuleServiceData(vfModuleServiceData);
- vfModuleListBuilder.setVfModuleId(vfModuleServiceData.getVfModuleId());
- vfModuleListBuilder.setServiceStatus(serviceStatusBuilder.build());
- saveVfModuleList(vfModuleListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- if (input.getSdncRequestHeader() != null && input.getSdncRequestHeader().getSvcAction() != null) {
- // Only update operational tree on Delete or Activate
- if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Delete) || input.getSdncRequestHeader()
- .getSvcAction().equals(SvcAction.Activate)) {
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- saveVfModuleList(vfModuleListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- }
- }
- VfModuleInformationBuilder vfModuleInformationBuilder = new VfModuleInformationBuilder();
- vfModuleInformationBuilder.setVfModuleId(vfid);
- responseBuilder.setVfModuleInformation(vfModuleInformationBuilder.build());
- responseBuilder.setServiceInformation(vfModuleServiceData.getServiceInformation());
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + vfid + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + vfid + "] " + responseBuilder.build());
- RpcResult<VfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VfModuleTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info("Updated vf-module in MD-SAL for " + svcOperation + " [" + vfid + "] ");
- log.info(RETURNED_SUCCESS_STR + svcOperation + " [" + vfid + "] " + responseBuilder.build());
-
- RpcResult<VfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VfModuleTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return success
- return Futures.immediateFuture(rpcResult);
- }
-
- @Override
- public ListenableFuture<RpcResult<VnfTopologyOperationOutput>> vnfTopologyOperation(
- VnfTopologyOperationInput input) {
- final String svcOperation = "vnf-topology-operation";
- ServiceData serviceData;
- ServiceStatusBuilder serviceStatusBuilder = new ServiceStatusBuilder();
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- VnfTopologyOperationOutputBuilder responseBuilder = new VnfTopologyOperationOutputBuilder();
-
- if (input == null || input.getServiceInformation() == null
- || input.getServiceInformation().getServiceInstanceId() == null
- || input.getServiceInformation().getServiceInstanceId().length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty service-instance-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_NULL_OR_EMPTY_SERVICE_INSTANCE_ID);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<VnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VnfTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getVnfRequestInformation() == null || input.getVnfRequestInformation().getVnfId() == null
- || input.getVnfRequestInformation().getVnfId().length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty vf-module-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, null or empty vf-module-id");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<VnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VnfTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the service instance ID from the input buffer
- String siid = input.getVnfRequestInformation().getVnfId();
- String preloadName = input.getVnfRequestInformation().getVnfName();
- String preloadType = input.getVnfRequestInformation().getVnfType();
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- PreloadDataBuilder preloadDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, preloadDataBuilder);
-
- ServiceDataBuilder serviceDataBuilder = new ServiceDataBuilder();
- getServiceData(siid, serviceDataBuilder);
-
- ServiceDataBuilder operDataBuilder = new ServiceDataBuilder();
- getServiceData(siid, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- // Set the serviceStatus based on input
- setServiceStatus(serviceStatusBuilder, input.getSdncRequestHeader());
- setServiceStatus(serviceStatusBuilder, input.getRequestInformation());
-
- //
- // setup a service-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // USES request-information;
- // USES vnf-request-information
- // OUTPUT:
- // USES vnf-information
- // USES service-information
- //
- // container service-data
- // uses oper-status;
-
- log.info(ADDING_INPUT_DATA_STR + svcOperation + " [" + siid + INPUT_STR + input);
- VnfTopologyOperationInputBuilder inputBuilder = new VnfTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
-
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + siid + OPERATIONAL_DATA_STR + operDataBuilder
- .build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- log.info(
- "Adding CONFIG data for " + svcOperation + " [" + preloadName + "," + preloadType + "] preload-data: "
- + preloadDataBuilder.build());
- VnfSdnUtil.toProperties(parms, "preload-data", preloadDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient.execute(VNF_API, svcOperation, null, "sync", serviceDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + siid, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- setServiceStatus(serviceStatusBuilder, errorCode, errorMessage, ackFinal);
- serviceStatusBuilder.setRequestStatus(RequestStatus.Synccomplete);
- serviceStatusBuilder.setRpcName(RpcName.VnfTopologyOperation);
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
- VnfListBuilder vnfListBuilder = new VnfListBuilder();
- vnfListBuilder.setVnfId(siid);
- vnfListBuilder.setServiceStatus(serviceStatusBuilder.build());
- try {
- saveVnfList(vnfListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + siid + "] \n", e);
- }
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
- RpcResult<VnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VnfTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- serviceData = serviceDataBuilder.build();
- log.info(UPDATING_MD_SAL_STR + svcOperation + " [" + siid + "] ServiceData: " + serviceData);
- // svc-configuration-list
- VnfListBuilder vnfListBuilder = new VnfListBuilder();
- vnfListBuilder.setServiceData(serviceData);
- vnfListBuilder.setVnfId(serviceData.getVnfId());
- siid = serviceData.getVnfId();
- vnfListBuilder.setServiceStatus(serviceStatusBuilder.build());
- saveVnfList(vnfListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- if (input.getSdncRequestHeader() != null && input.getSdncRequestHeader().getSvcAction() != null) {
- // Only update operational tree on Delete or Activate
- if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Activate)) {
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- saveVnfList(vnfListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- } else if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Delete) || input
- .getSdncRequestHeader().getSvcAction().equals(SvcAction.Rollback)) {
- log.info("Delete OPERATIONAL tree.");
- deleteVnfList(vnfListBuilder.build(), LogicalDatastoreType.CONFIGURATION);
- deleteVnfList(vnfListBuilder.build(), LogicalDatastoreType.OPERATIONAL);
- }
- }
- VnfInformationBuilder vnfInformationBuilder = new VnfInformationBuilder();
- vnfInformationBuilder.setVnfId(siid);
- responseBuilder.setVnfInformation(vnfInformationBuilder.build());
- responseBuilder.setServiceInformation(serviceData.getServiceInformation());
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + siid + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
- RpcResult<VnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VnfTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + siid + "] ");
- log.info(RETURNED_SUCCESS_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
-
- RpcResult<VnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<VnfTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return success
- return Futures.immediateFuture(rpcResult);
- }
-
- @Override
- public ListenableFuture<RpcResult<NetworkTopologyOperationOutput>> networkTopologyOperation(
- NetworkTopologyOperationInput input) {
-
- final String svcOperation = "network-topology-operation";
- ServiceData serviceData;
- ServiceStatusBuilder serviceStatusBuilder = new ServiceStatusBuilder();
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- NetworkTopologyOperationOutputBuilder responseBuilder = new NetworkTopologyOperationOutputBuilder();
-
- if (input == null || input.getServiceInformation() == null
- || input.getServiceInformation().getServiceInstanceId() == null
- || input.getServiceInformation().getServiceInstanceId().length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty service-instance-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_NULL_OR_EMPTY_SERVICE_INSTANCE_ID);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<NetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<NetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getNetworkRequestInformation() == null
- || input.getNetworkRequestInformation().getNetworkName() == null) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty service-instance-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_NULL_OR_EMPTY_SERVICE_INSTANCE_ID);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<NetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<NetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the service instance ID from the input buffer
- String siid;
- if (input.getSdncRequestHeader().getSvcAction().equals(SvcAction.Assign)) {
- siid = input.getNetworkRequestInformation().getNetworkName();
- } else {
- siid = input.getNetworkRequestInformation().getNetworkId();
- }
- String preloadName = input.getNetworkRequestInformation().getNetworkName();
- String preloadType = input.getNetworkRequestInformation().getNetworkType();
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- PreloadDataBuilder preloadDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, preloadDataBuilder);
-
- log.info(ADDING_INPUT_DATA_STR + svcOperation + " [" + siid + INPUT_STR + input);
- NetworkTopologyOperationInputBuilder inputBuilder = new NetworkTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
- String networkId = "error";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient.execute(VNF_API, svcOperation, null, "sync", preloadDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- networkId = respProps.getProperty("networkId", "0");
- }
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
-
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
-
- RpcResult<NetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<NetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- NetworkInformationBuilder networkInformationBuilder = new NetworkInformationBuilder();
- networkInformationBuilder.setNetworkId(networkId);
- responseBuilder.setNetworkInformation(networkInformationBuilder.build());
- responseBuilder.setServiceInformation(input.getServiceInformation());
- } catch (IllegalStateException e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + siid + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
- RpcResult<NetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<NetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- // return error
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + siid + "] ");
- log.info(RETURNED_SUCCESS_STR + svcOperation + " [" + siid + "] " + responseBuilder.build());
-
- RpcResult<NetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<NetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build()).build();
- // return success
- return Futures.immediateFuture(rpcResult);
- }
-
- @Override
- public ListenableFuture<RpcResult<PreloadVnfTopologyOperationOutput>> preloadVnfTopologyOperation(
- PreloadVnfTopologyOperationInput input) {
-
- final String svcOperation = "preload-vnf-topology-operation";
- PreloadData preloadData;
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- PreloadVnfTopologyOperationOutputBuilder responseBuilder = new PreloadVnfTopologyOperationOutputBuilder();
-
- // Result from savePreloadData
-
- if (input == null || input.getVnfTopologyInformation() == null
- || input.getVnfTopologyInformation().getVnfTopologyIdentifier() == null
- || input.getVnfTopologyInformation().getVnfTopologyIdentifier().getVnfName() == null
- || input.getVnfTopologyInformation().getVnfTopologyIdentifier().getVnfType() == null) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or empty vnf-name or vnf-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, null or empty vnf-name or vnf-type");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the name and type from the input buffer
- String preloadName = input.getVnfTopologyInformation().getVnfTopologyIdentifier().getVnfName();
- String preloadType = input.getVnfTopologyInformation().getVnfTopologyIdentifier().getVnfType();
-
- // Make sure we have a preload_name and preload_type
- if (preloadName == null || preloadName.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-name");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_INVALID_PRELOAD_TYPE);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (preloadType == null || preloadType.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage(INVALID_INPUT_INVALID_PRELOAD_TYPE);
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- PreloadDataBuilder preloadDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, preloadDataBuilder);
- PreloadDataBuilder operDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- //
- // setup a preload-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // USES request-information;
- // uses vnf-topology-information;
- // OUTPUT:
- //
- // container preload-data
- log.info(
- ADDING_INPUT_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType + INPUT_STR + input);
- PreloadVnfTopologyOperationInputBuilder inputBuilder = new PreloadVnfTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType
- + OPERATIONAL_DATA_STR + operDataBuilder.build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient.execute(VNF_API, svcOperation, null, "sync", preloadDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
-
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
-
- VnfPreloadListBuilder preloadVnfListBuilder = new VnfPreloadListBuilder();
- preloadVnfListBuilder.setVnfName(preloadName);
- preloadVnfListBuilder.setVnfType(preloadType);
- preloadVnfListBuilder.setPreloadData(preloadDataBuilder.build());
- log.error(
- RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] error code: '"
- + errorCode + "', Reason: '" + errorMessage + "'");
- try {
- savePreloadList(preloadVnfListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(
- CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- }
- log.debug(SENDING_SUCCESS_RPC);
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- preloadData = preloadDataBuilder.build();
- log.info(
- UPDATING_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] preloadData: "
- + preloadData);
- // svc-configuration-list
- VnfPreloadListBuilder preloadVnfListBuilder = new VnfPreloadListBuilder();
- preloadVnfListBuilder.setVnfName(preloadName);
- preloadVnfListBuilder.setVnfType(preloadType);
- preloadVnfListBuilder.setPreloadData(preloadData);
-
- // SDNGC-989 set merge flag to false
- savePreloadList(preloadVnfListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- savePreloadList(preloadVnfListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] "
- + responseBuilder.build());
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(false).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] ");
- log.info(
- RETURNED_SUCCESS_STR + svcOperation + " [" + preloadName + "," + preloadType + "] " + responseBuilder
- .build());
-
- RpcResult<PreloadVnfTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- //1610 preload-vnf-instance-topology-operation
- @Override
- public ListenableFuture<RpcResult<PreloadVnfInstanceTopologyOperationOutput>> preloadVnfInstanceTopologyOperation(
- PreloadVnfInstanceTopologyOperationInput input) {
-
- final String svcOperation = "preload-vnf-instance-topology-operation";
- VnfInstancePreloadData vnfInstancePreloadData;
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- PreloadVnfInstanceTopologyOperationOutputBuilder responseBuilder =
- new PreloadVnfInstanceTopologyOperationOutputBuilder();
-
- if (input == null || input.getVnfInstanceTopologyInformation() == null
- || input.getVnfInstanceTopologyInformation().getVnfInstanceIdentifiers().getVnfInstanceName() == null
- || input.getVnfInstanceTopologyInformation().getVnfInstanceIdentifiers().getVnfModelId() == null) {
- log.debug(EXITING_STR + svcOperation
- + " because of invalid input, null or empty vnf-instance-name or vnf-model-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, null or empty vnf-instance-name or vnf-model-id");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the name and type from the input buffer
- String preloadName =
- input.getVnfInstanceTopologyInformation().getVnfInstanceIdentifiers().getVnfInstanceName();
- String preloadType = input.getVnfInstanceTopologyInformation().getVnfInstanceIdentifiers().getVnfModelId();
-
- // Make sure we have a preloadName and preloadType
- if (preloadName == null || preloadName.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-name");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, invalid preload-name");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (preloadType == null || preloadType.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, invalid preload-type");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- VnfInstancePreloadDataBuilder vnfInstancePreloadDataBuilder = new VnfInstancePreloadDataBuilder();
- getVnfInstancePreloadData(preloadName, preloadType, vnfInstancePreloadDataBuilder);
- VnfInstancePreloadDataBuilder operDataBuilder = new VnfInstancePreloadDataBuilder();
- getVnfInstancePreloadData(preloadName, preloadType, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- //
- // setup a preload-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // uses vnf-topology-information;
- // OUTPUT:
- // container preload-data
- log.info(
- ADDING_CONFIG_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType + INPUT_STR + input);
- PreloadVnfInstanceTopologyOperationInputBuilder inputBuilder =
- new PreloadVnfInstanceTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType
- + OPERATIONAL_DATA_STR + operDataBuilder.build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient
- .execute(VNF_API, svcOperation, null, "sync", vnfInstancePreloadDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
-
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
-
- VnfInstancePreloadListBuilder vnfInstancePreloadListBuilder = new VnfInstancePreloadListBuilder();
- vnfInstancePreloadListBuilder.setVnfInstanceName(preloadName);
- vnfInstancePreloadListBuilder.setVnfModelId(preloadType);
- vnfInstancePreloadListBuilder.setVnfInstancePreloadData(vnfInstancePreloadDataBuilder.build());
- log.error(
- RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] error code: '"
- + errorCode + "', Reason: '" + errorMessage + "'");
- try {
- saveVnfInstancePreloadList(vnfInstancePreloadListBuilder.build(), true,
- LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(
- CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- }
- log.debug(SENDING_SUCCESS_RPC);
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- vnfInstancePreloadData = vnfInstancePreloadDataBuilder.build();
- log.info(
- UPDATING_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] preloadData: "
- + vnfInstancePreloadData);
- // svc-configuration-list
- VnfInstancePreloadListBuilder vnfInstancePreloadListBuilder = new VnfInstancePreloadListBuilder();
- vnfInstancePreloadListBuilder.setVnfInstanceName(preloadName);
- vnfInstancePreloadListBuilder.setVnfModelId(preloadType);
- vnfInstancePreloadListBuilder.setVnfInstancePreloadData(vnfInstancePreloadData);
-
- // SDNGC-989 set merge flag to false
- saveVnfInstancePreloadList(vnfInstancePreloadListBuilder.build(), false,
- LogicalDatastoreType.CONFIGURATION);
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- saveVnfInstancePreloadList(vnfInstancePreloadListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] "
- + responseBuilder.build());
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(false)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] ");
- log.info(
- RETURNED_SUCCESS_STR + svcOperation + " [" + preloadName + "," + preloadType + "] " + responseBuilder
- .build());
-
- RpcResult<PreloadVnfInstanceTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVnfInstanceTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
-
- //1610 preload-vf-module-topology-operation
- @Override
- public ListenableFuture<RpcResult<PreloadVfModuleTopologyOperationOutput>> preloadVfModuleTopologyOperation(
- PreloadVfModuleTopologyOperationInput input) {
-
- final String svcOperation = "preload-vf-module-topology-operation";
- VfModulePreloadData vfModulePreloadData;
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- PreloadVfModuleTopologyOperationOutputBuilder responseBuilder =
- new PreloadVfModuleTopologyOperationOutputBuilder();
-
- // Result from savePreloadData
-
- if (input == null || input.getVfModuleTopologyInformation() == null
- || input.getVfModuleTopologyInformation().getVfModuleIdentifiers().getVfModuleName() == null
- || input.getVfModuleTopologyInformation().getVfModuleIdentifiers().getVfModuleModelId() == null) {
- log.debug(EXITING_STR + svcOperation
- + " because of invalid input, null or empty vf-module-name or vf-module-model-id");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, null or empty vf-module-name or vf-module-model-id");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the name and type from the input buffer
- String preloadName = input.getVfModuleTopologyInformation().getVfModuleIdentifiers().getVfModuleName();
- String preloadType = input.getVfModuleTopologyInformation().getVfModuleIdentifiers().getVfModuleModelId();
-
- // Make sure we have a preloadName and preloadType
- if (preloadName == null || preloadName.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-name");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, invalid preload-name");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
- if (preloadType == null || preloadType.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("invalid input, invalid preload-type");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- VfModulePreloadDataBuilder vfModulePreloadDataBuilder = new VfModulePreloadDataBuilder();
- getVfModulePreloadData(preloadName, preloadType, vfModulePreloadDataBuilder);
- VfModulePreloadDataBuilder operDataBuilder = new VfModulePreloadDataBuilder();
- getVfModulePreloadData(preloadName, preloadType, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- //
- // setup a preload-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // USES request-information;
- // uses vnf-topology-information;
- // OUTPUT:
- //
- // container preload-data
-
- log.info(
- ADDING_INPUT_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType + INPUT_STR + input);
- PreloadVfModuleTopologyOperationInputBuilder inputBuilder =
- new PreloadVfModuleTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType
- + OPERATIONAL_DATA_STR + operDataBuilder.build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient
- .execute(VNF_API, svcOperation, null, "sync", vfModulePreloadDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
-
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
-
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
-
- VfModulePreloadListBuilder vfModulePreloadListBuilder = new VfModulePreloadListBuilder();
- vfModulePreloadListBuilder.setVfModuleName(preloadName);
- vfModulePreloadListBuilder.setVfModuleModelId(preloadType);
- vfModulePreloadListBuilder.setVfModulePreloadData(vfModulePreloadDataBuilder.build());
- log.error(
- RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] error code: '"
- + errorCode + "', Reason: '" + errorMessage + "'");
- try {
- saveVfModulePreloadList(vfModulePreloadListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(
- CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- }
- log.debug(SENDING_SUCCESS_RPC);
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(true)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- vfModulePreloadData = vfModulePreloadDataBuilder.build();
- log.info(
- UPDATING_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] preloadData: "
- + vfModulePreloadData);
- // svc-configuration-list
- VfModulePreloadListBuilder vfModulePreloadListBuilder = new VfModulePreloadListBuilder();
- vfModulePreloadListBuilder.setVfModuleName(preloadName);
- vfModulePreloadListBuilder.setVfModuleModelId(preloadType);
- vfModulePreloadListBuilder.setVfModulePreloadData(vfModulePreloadData);
-
- // SDNGC-989 set merge flag to false
- saveVfModulePreloadList(vfModulePreloadListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- saveVfModulePreloadList(vfModulePreloadListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] "
- + responseBuilder.build());
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(false)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] ");
- log.info(
- RETURNED_SUCCESS_STR + svcOperation + " [" + preloadName + "," + preloadType + "] " + responseBuilder
- .build());
-
- RpcResult<PreloadVfModuleTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadVfModuleTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
-
- @Override
- public ListenableFuture<RpcResult<PreloadNetworkTopologyOperationOutput>> preloadNetworkTopologyOperation(
- PreloadNetworkTopologyOperationInput input) {
-
- final String svcOperation = "preload-network-topology-operation";
- PreloadData preloadData = null;
- Properties parms = new Properties();
-
- log.info(svcOperation + CALLED_STR);
- // create a new response object
- PreloadNetworkTopologyOperationOutputBuilder responseBuilder =
- new PreloadNetworkTopologyOperationOutputBuilder();
-
- // Result from savePreloadData
-
- if (input == null || input.getNetworkTopologyInformation() == null
- || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier() == null
- || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkName() == null
- || input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkType() == null) {
- log.debug(EXITING_STR + svcOperation + " because of invalid input, null or" +
- " empty network-name or network-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("input, null or empty network-name or network-type");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Grab the name and type from the input buffer
- String preloadName = input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkName();
- String preloadType = input.getNetworkTopologyInformation().getNetworkTopologyIdentifier().getNetworkType();
-
- // Make sure we have a preloadName and preloadType
- if (preloadName == null || preloadName.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-name");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("input, invalid preload-name");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (preloadType == null || preloadType.length() == 0) {
- log.debug(EXITING_STR + svcOperation + " because of invalid preload-type");
- responseBuilder.setResponseCode("403");
- responseBuilder.setResponseMessage("input, invalid preload-type");
- responseBuilder.setAckFinalIndicator("Y");
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- if (input.getSdncRequestHeader() != null) {
- responseBuilder.setSvcRequestId(input.getSdncRequestHeader().getSvcRequestId());
- setRequestIdAsMDC(input.getSdncRequestHeader().getSvcRequestId());
- }
-
- PreloadDataBuilder preloadDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, preloadDataBuilder);
-
- PreloadDataBuilder operDataBuilder = new PreloadDataBuilder();
- getPreloadData(preloadName, preloadType, operDataBuilder, LogicalDatastoreType.OPERATIONAL);
-
- //
- // setup a preload-data object builder
- // ACTION vnf-topology-operation
- // INPUT:
- // USES request-information;
- // uses vnf-topology-information;
- // OUTPUT:
- //
- // container preload-data
- log.info(
- ADDING_INPUT_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType + INPUT_STR + input);
- PreloadNetworkTopologyOperationInputBuilder inputBuilder =
- new PreloadNetworkTopologyOperationInputBuilder(input);
- VnfSdnUtil.toProperties(parms, inputBuilder.build());
- log.info(ADDING_OPERATIONAL_DATA_STR + svcOperation + " [" + preloadName + "," + preloadType
- + OPERATIONAL_DATA_STR + operDataBuilder.build());
- VnfSdnUtil.toProperties(parms, OPERATIONAL_DATA, operDataBuilder);
-
- // Call SLI sync method
- // Get SvcLogicService reference
- Properties respProps = null;
- String errorCode = "200";
- String errorMessage = null;
- String ackFinal = "Y";
-
- try {
- if (svcLogicClient.hasGraph(VNF_API, svcOperation, null, "sync")) {
- respProps = svcLogicClient.execute(VNF_API, svcOperation, null, "sync", preloadDataBuilder, parms);
- } else {
- errorMessage = "No service logic active for VNF-API: '" + svcOperation + "'";
- errorCode = "503";
- }
- } catch (SvcLogicException e) {
- log.error("Caught exception executing service logic for " + svcOperation, e);
- errorMessage = e.getMessage();
- errorCode = "500";
- } catch (Exception e) {
- errorCode = "500";
- errorMessage = e.getMessage();
- log.error("Caught exception looking for service logic", e);
- }
-
- if (respProps != null) {
- errorCode = respProps.getProperty("error-code");
- errorMessage = respProps.getProperty("error-message");
- ackFinal = respProps.getProperty("ack-final", "Y");
- }
-
- if (errorCode != null && errorCode.length() != 0 && !("0".equals(errorCode) || "200".equals(errorCode))) {
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setResponseMessage(errorMessage);
- responseBuilder.setAckFinalIndicator(ackFinal);
-
- VnfPreloadListBuilder preloadVnfListBuilder = new VnfPreloadListBuilder();
- preloadVnfListBuilder.setVnfName(preloadName);
- preloadVnfListBuilder.setVnfType(preloadType);
- preloadVnfListBuilder.setPreloadData(preloadDataBuilder.build());
- log.error(
- RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] error code: '"
- + errorCode + "', Reason: '" + errorMessage + "'");
- try {
- savePreloadList(preloadVnfListBuilder.build(), true, LogicalDatastoreType.CONFIGURATION);
- } catch (Exception e) {
- log.error(
- CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
-
- }
- log.debug(SENDING_SUCCESS_RPC);
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Got success from SLI
- try {
- preloadData = preloadDataBuilder.build();
- log.info(
- UPDATING_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] preloadData: "
- + preloadData);
- // svc-configuration-list
- VnfPreloadListBuilder preloadVnfListBuilder = new VnfPreloadListBuilder();
- preloadVnfListBuilder.setVnfName(preloadName);
- preloadVnfListBuilder.setVnfType(preloadType);
- preloadVnfListBuilder.setPreloadData(preloadData);
-
- // SDNGC-989 set merge flag to false
- savePreloadList(preloadVnfListBuilder.build(), false, LogicalDatastoreType.CONFIGURATION);
- log.info(UPDATING_OPERATIONAL_TREE_STR);
- savePreloadList(preloadVnfListBuilder.build(), false, LogicalDatastoreType.OPERATIONAL);
- } catch (Exception e) {
- log.error(CAUGHT_EXCEPTION_STR + svcOperation + " [" + preloadName + "," + preloadType
- + "] \n", e);
- responseBuilder.setResponseCode("500");
- responseBuilder.setResponseMessage(e.toString());
- responseBuilder.setAckFinalIndicator("Y");
- log.error(RETURNED_FAILED_STR + svcOperation + " [" + preloadName + "," + preloadType + "] "
- + responseBuilder.build());
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(false)
- .withResult(responseBuilder.build()).build();
- return Futures.immediateFuture(rpcResult);
- }
-
- // Update succeeded
- responseBuilder.setResponseCode(errorCode);
- responseBuilder.setAckFinalIndicator(ackFinal);
- if (errorMessage != null) {
- responseBuilder.setResponseMessage(errorMessage);
- }
- log.info(UPDATED_MD_SAL_STR + svcOperation + " [" + preloadName + "," + preloadType + "] ");
- log.info(
- RETURNED_SUCCESS_STR + svcOperation + " [" + preloadName + "," + preloadType + "] " + responseBuilder
- .build());
-
- RpcResult<PreloadNetworkTopologyOperationOutput> rpcResult =
- RpcResultBuilder.<PreloadNetworkTopologyOperationOutput>status(true).withResult(responseBuilder.build())
- .build();
- return Futures.immediateFuture(rpcResult);
- }
-
-
-}
diff --git a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfSdnUtil.java b/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfSdnUtil.java
deleted file mode 100644
index 64b13bd4..00000000
--- a/vnfapi/provider/src/main/java/org/onap/sdnc/vnfapi/VnfSdnUtil.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Properties;
-
-import org.onap.ccsdk.sli.core.sli.provider.MdsalHelper;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class VnfSdnUtil extends MdsalHelper {
- private static final Logger LOG = LoggerFactory.getLogger(VnfSdnUtil.class);
-
- private static File odlHomePath = null;
- private static Properties properties;
-
- public static void loadProperties() {
- if (odlHomePath == null) {
- odlHomePath = new File("/opt/opendaylight/current");
-
- if (!odlHomePath.isDirectory()) {
- odlHomePath = new File("/opt/bvc/controller");
- }
- }
-
- File propFile = new File(odlHomePath.getAbsolutePath() + "/configuration/vnfapi.properties");
- String propFileName = propFile.getAbsolutePath();
- properties = new Properties();
- if (propFile.isFile() && propFile.canRead()) {
- try (InputStream input = new FileInputStream(propFile)) {
- properties.load(input);
- LOG.info("Loaded properties from " + propFileName);
- setYangMappingProperties(properties);
- } catch (IOException e) {
- LOG.error("Failed to close properties file " + propFileName + "\n", e);
- } catch (Exception e) {
- LOG.error("Failed to load properties " + propFileName + "\n", e);
- }
- }
- }
-
- static {
- // Trick class loader into loading builders. Some of
- // these will be needed later by Reflection classes, but need
- // to explicitly "new" them here to get class loader to load them.
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.information.NetworkInformationBuilder
- u1 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.information.NetworkInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.policy.NetworkPolicyBuilder
- u2 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.policy.NetworkPolicyBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.request.information.NetworkRequestInformationBuilder
- u3 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.request.information.NetworkRequestInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.identifier.NetworkTopologyIdentifierBuilder
- u4 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.identifier.NetworkTopologyIdentifierBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.information.NetworkTopologyInformationBuilder
- u5 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.information.NetworkTopologyInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationInputBuilder
- u6 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationOutputBuilder
- u7 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.oper.status.OperStatusBuilder
- u8 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.oper.status.OperStatusBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder
- u9 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadListBuilder
- u10 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationInputBuilder
- u11 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationOutputBuilder
- u12 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadListBuilder
- u13 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModulesBuilder
- u14 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModulesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationInputBuilder
- u15 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationOutputBuilder
- u16 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadListBuilder
- u17 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstancesBuilder
- u18 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstancesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationInputBuilder
- u19 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationOutputBuilder
- u20 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfsBuilder
- u21 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationInputBuilder
- u22 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationOutputBuilder
- u23 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.provider.network.information.ProviderNetworkInformationBuilder
- u24 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.provider.network.information.ProviderNetworkInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformationBuilder
- u25 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.route.table.reference.RouteTableReferenceBuilder
- u26 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.route.table.reference.RouteTableReferenceBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeaderBuilder
- u27 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeaderBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder
- u28 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.information.ServiceInformationBuilder
- u29 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.information.ServiceInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatusBuilder
- u30 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatusBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sriov.vlan.filter.list.SriovVlanFilterListBuilder
- u31 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sriov.vlan.filter.list.SriovVlanFilterListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.subnets.SubnetsBuilder
- u32 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.subnets.SubnetsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.identifiers.VfModuleIdentifiersBuilder
- u33 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.identifiers.VfModuleIdentifiersBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.information.VfModuleInformationBuilder
- u34 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.information.VfModuleInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleListBuilder
- u35 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder
- u36 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.relationship.list.VfModuleRelationshipListBuilder
- u37 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.relationship.list.VfModuleRelationshipListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.request.information.VfModuleRequestInformationBuilder
- u38 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.request.information.VfModuleRequestInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModulesBuilder
- u39 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModulesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder
- u40 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.topology.information.VfModuleTopologyInformationBuilder
- u41 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.topology.information.VfModuleTopologyInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInputBuilder
- u42 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutputBuilder
- u43 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.InterfaceRoutePrefixesBuilder
- u44 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.InterfaceRoutePrefixesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkIpsBuilder
- u45 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkIpsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkIpsV6Builder
- u46 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkIpsV6Builder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkMacsBuilder
- u47 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.network.NetworkMacsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.VnfVmsBuilder
- u48 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.VnfVmsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.vnf.vms.VmNamesBuilder
- u49 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.vnf.vms.VmNamesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.vnf.vms.VmNetworksBuilder
- u50 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vm.topology.vnf.vms.VmNetworksBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.vnf.assignments.AvailabilityZonesBuilder
- u51 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.vnf.assignments.AvailabilityZonesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.VnfAssignmentsBuilder
- u52 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.VnfAssignmentsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.vnf.assignments.VnfNetworksBuilder
- u53 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.assignments.vnf.assignments.VnfNetworksBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.information.VnfInformationBuilder
- u54 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.information.VnfInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.identifiers.VnfInstanceIdentifiersBuilder
- u55 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.identifiers.VnfInstanceIdentifiersBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.information.VnfInstanceInformationBuilder
- u56 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.information.VnfInstanceInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceListBuilder
- u57 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder
- u58 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.VnfInstanceRequestInformationBuilder
- u59 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.VnfInstanceRequestInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.vnf.instance.request.information.VnfNetworksBuilder
- u60 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.vnf.instance.request.information.VnfNetworksBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstancesBuilder
- u61 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstancesBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder
- u62 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.topology.information.VnfInstanceTopologyInformationBuilder
- u63 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.topology.information.VnfInstanceTopologyInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInputBuilder
- u64 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutputBuilder
- u65 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListBuilder
- u66 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.parameters.VnfParametersBuilder
- u67 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.parameters.VnfParametersBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.VnfRequestInformationBuilder
- u68 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.VnfRequestInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.vnf.request.information.VnfNetworksBuilder
- u69 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.vnf.request.information.VnfNetworksBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfsBuilder
- u70 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfsBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.identifier.VnfTopologyIdentifierBuilder
- u71 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.identifier.VnfTopologyIdentifierBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.information.VnfTopologyInformationBuilder
- u72 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.information.VnfTopologyInformationBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInputBuilder
- u73 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutputBuilder
- u74 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutputBuilder();
- org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vpn.bindings.VpnBindingsBuilder
- u75 =
- new org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vpn.bindings.VpnBindingsBuilder();
- }
-}
diff --git a/vnfapi/provider/src/main/resources/OSGI-INF/blueprint/vnfapi-blueprint.xml b/vnfapi/provider/src/main/resources/OSGI-INF/blueprint/vnfapi-blueprint.xml
deleted file mode 100644
index 1afd1a65..00000000
--- a/vnfapi/provider/src/main/resources/OSGI-INF/blueprint/vnfapi-blueprint.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- odl:use-default-for-reference-types="true">
-
- <reference id="svcLogicService"
- interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService" />
-
- <bean id="client" class="org.onap.sdnc.vnfapi.VNFSDNSvcLogicServiceClient">
- <argument ref="svcLogicService" />
- </bean>
-
- <reference id="dataBroker"
- interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
- odl:type="default" />
-
- <reference id="notificationService"
- interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
- odl:type="default" />
-
- <reference id="rpcRegistry"
- interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
- odl:type="default" />
-
- <bean id="provider" class="org.onap.sdnc.vnfapi.VnfApiProvider">
- <argument ref="dataBroker" />
- <argument ref="notificationService" />
- <argument ref="rpcRegistry" />
- <argument ref="client" />
- </bean>
-
- <odl:rpc-implementation ref="provider"/>
-
-</blueprint> \ No newline at end of file
diff --git a/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml b/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml
deleted file mode 100644
index 1afd1a65..00000000
--- a/vnfapi/provider/src/main/resources/org/opendaylight/blueprint/vnfapi-blueprint.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- odl:use-default-for-reference-types="true">
-
- <reference id="svcLogicService"
- interface="org.onap.ccsdk.sli.core.sli.provider.SvcLogicService" />
-
- <bean id="client" class="org.onap.sdnc.vnfapi.VNFSDNSvcLogicServiceClient">
- <argument ref="svcLogicService" />
- </bean>
-
- <reference id="dataBroker"
- interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
- odl:type="default" />
-
- <reference id="notificationService"
- interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
- odl:type="default" />
-
- <reference id="rpcRegistry"
- interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
- odl:type="default" />
-
- <bean id="provider" class="org.onap.sdnc.vnfapi.VnfApiProvider">
- <argument ref="dataBroker" />
- <argument ref="notificationService" />
- <argument ref="rpcRegistry" />
- <argument ref="client" />
- </bean>
-
- <odl:rpc-implementation ref="provider"/>
-
-</blueprint> \ No newline at end of file
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClientTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClientTest.java
deleted file mode 100644
index 8a8dd446..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VNFSDNSvcLogicServiceClientTest.java
+++ /dev/null
@@ -1,437 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.mockito.Mockito;
-import org.mockito.internal.util.reflection.Whitebox;
-import org.onap.ccsdk.sli.core.sli.SvcLogicException;
-import org.onap.ccsdk.sli.core.sli.provider.SvcLogicService;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder;
-import org.slf4j.Logger;
-
-import java.util.Properties;
-
-import static org.mockito.Matchers.any;
-import static org.mockito.Mockito.*;
-
-public class VNFSDNSvcLogicServiceClientTest {
- private static final String MODE = "mode";
- private static final String MODULE = "module";
- private static final String RPC = "rpc";
- private static final String VERSION = "version";
-
- private Logger mockLog = mock(Logger.class);
- private SvcLogicService mockSvcLogic = mock(SvcLogicService.class);
-
- private VNFSDNSvcLogicServiceClient svcClient;
-
- @Before
- public void setUp() throws Exception {
- svcClient = spy(new VNFSDNSvcLogicServiceClient(mockSvcLogic));
-
- Whitebox.setInternalState(svcClient, "logger", mockLog);
- Whitebox.setInternalState(svcClient, "svcLogic", mockSvcLogic);
- }
-
- @Test
- public void testConstructorWithoutSvcLogicBundle() throws Exception {
- VNFSDNSvcLogicServiceClient client = new VNFSDNSvcLogicServiceClient(mockSvcLogic);
- Assert.assertEquals("Should have set mockSvcLogic",
- mockSvcLogic, Whitebox.getInternalState(client, "svcLogic"));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testHasGraphWithException() throws Exception {
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).hasGraph(MODULE, RPC, VERSION, MODE);
- svcClient.hasGraph(MODULE, RPC, VERSION, MODE);
- }
-
- @Test
- public void testHasGraph() throws Exception {
- Mockito.doReturn(true).when(mockSvcLogic).hasGraph(MODULE, RPC, VERSION, MODE);
- Assert.assertTrue("Should return true", svcClient.hasGraph(MODULE, RPC, VERSION, MODE));
- }
-
- // --------- Test cases for ServiceDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithServiceDataBuilderWithException() throws Exception {
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithServiceDataBuilder() throws Exception {
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(ServiceDataBuilder.class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithServiceDataBuilderWithException() throws Exception {
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithServiceDataBuilderWithExecutorReturnNull() throws Exception {
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithServiceDataBuilderWithExecutorReturnFailure() throws Exception {
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
- @Test
- public void testParamExecuteWithServiceDataBuilder() throws Exception {
- Mockito.doReturn(true).when(mockLog).isDebugEnabled();
- ServiceDataBuilder mockBuilder = mock(ServiceDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty("my", "testing");
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should still return resultProps", resultProps, properties);
- }
-
- // --------- Test cases for PreloadDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithPreloadDataBuilderWithException() throws Exception {
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithPreloadDataBuilder() throws Exception {
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(PreloadDataBuilder .class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithPreloadDataBuilderWithException() throws Exception {
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithPreloadDataBuilderWithExecutorReturnNull() throws Exception {
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithPreloadDataBuilderWithExecutorReturnFailure() throws Exception {
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
- @Test
- public void testParamExecuteWithPreloadDataBuilder() throws Exception {
- Mockito.doReturn(true).when(mockLog).isDebugEnabled();
- PreloadDataBuilder mockBuilder = mock(PreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty("my", "testing");
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should still return resultProps", resultProps, properties);
- }
-
-
- // --------- Test cases for VfModulePreloadDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithVfModulePreloadDataBuilderWithException() throws Exception {
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithVfModulePreloadDataBuilder() throws Exception {
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(VfModulePreloadDataBuilder .class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithVfModulePreloadDataBuilderWithException() throws Exception {
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithVfModulePreloadDataBuilderWithExecutorReturnNull() throws Exception {
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithVfModulePreloadDataBuilderWithExecutorReturnFailure() throws Exception {
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
- @Test
- public void testParamExecuteWithVfModulePreloadDataBuilder() throws Exception {
- Mockito.doReturn(true).when(mockLog).isDebugEnabled();
- VfModulePreloadDataBuilder mockBuilder = mock(VfModulePreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty("my", "testing");
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should still return resultProps", resultProps, properties);
- }
-
- // --------- Test cases for VfModuleServiceDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithVfModuleServiceDataBuilderWithException() throws Exception {
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithVfModuleServiceDataBuilder() throws Exception {
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(VfModuleServiceDataBuilder .class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithVfModuleServiceDataBuilderWithException() throws Exception {
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithVfModuleServiceDataBuilderWithExecutorReturnNull() throws Exception {
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithVfModuleServiceDataBuilderWithExecutorReturnFailure() throws Exception {
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
- @Test
- public void testParamExecuteWithVfModuleServiceDataBuilder() throws Exception {
- Mockito.doReturn(true).when(mockLog).isDebugEnabled();
- VfModuleServiceDataBuilder mockBuilder = mock(VfModuleServiceDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty("my", "testing");
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should still return resultProps", resultProps, properties);
- }
-
- // --------- Test cases for VnfInstancePreloadDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithVnfInstancePreloadDataBuilderWithException() throws Exception {
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithVnfInstancePreloadDataBuilder() throws Exception {
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(VnfInstancePreloadDataBuilder .class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithVnfInstancePreloadDataBuilderWithException() throws Exception {
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithVnfInstancePreloadDataBuilderWithExecutorReturnNull() throws Exception {
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithVnfInstancePreloadDataBuilderWithExecutorReturnFailure() throws Exception {
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
- @Test
- public void testParamExecuteWithVnfInstancePreloadDataBuilder() throws Exception {
- Mockito.doReturn(true).when(mockLog).isDebugEnabled();
- VnfInstancePreloadDataBuilder mockBuilder = mock(VnfInstancePreloadDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty("my", "testing");
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should still return resultProps", resultProps, properties);
- }
-
- // --------- Test cases for VnfInstanceServiceDataBuilder serviceData-----------------
- @Test (expected = SvcLogicException.class)
- public void testExecuteWithVnfInstanceServiceDataBuilderWithException() throws Exception {
- VnfInstanceServiceDataBuilder mockBuilder = mock(VnfInstanceServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- }
-
- @Test
- public void testExecuteWithVnfInstanceServiceDataBuilder() throws Exception {
- VnfInstanceServiceDataBuilder mockBuilder = mock(VnfInstanceServiceDataBuilder.class);
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder);
- Mockito.verify(svcClient, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class),
- any(VnfInstanceServiceDataBuilder .class), any(Properties.class));
- }
-
- @Test (expected = SvcLogicException.class)
- public void testParamExecuteWithVnfInstanceServiceDataBuilderWithException() throws Exception {
- VnfInstanceServiceDataBuilder mockBuilder = mock(VnfInstanceServiceDataBuilder.class);
- Mockito.doThrow(new SvcLogicException()).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
-
- svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- }
-
- @Test
- public void testParamExecuteWithVnfInstanceServiceDataBuilderWithExecutorReturnNull() throws Exception {
- VnfInstanceServiceDataBuilder mockBuilder = mock(VnfInstanceServiceDataBuilder.class);
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertTrue("Should return null", properties == null);
- Mockito.verify(mockSvcLogic, times(1)).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- }
-
- @Test
- public void testParamExecuteWithVnfInstanceServiceDataBuilderWithExecutorReturnFailure() throws Exception {
- VnfInstanceServiceDataBuilder mockBuilder = mock(VnfInstanceServiceDataBuilder.class);
- Properties resultProps = new Properties();
- resultProps.setProperty(VNFSDNSvcLogicServiceClient.SVC_LOGIC_STATUS_KEY,
- VNFSDNSvcLogicServiceClient.FAILURE_RESULT);
- Mockito.doReturn(resultProps).when(mockSvcLogic).execute(
- any(String.class), any(String.class), any(String.class), any(String.class), any(Properties.class));
- Properties properties = svcClient.execute(MODULE, RPC, VERSION, MODE, mockBuilder, new Properties());
- Assert.assertEquals("Should return resultProps", resultProps, properties);
- }
-
-} \ No newline at end of file
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VfModuleTopologyOperationTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VfModuleTopologyOperationTest.java
deleted file mode 100644
index beefb2ff..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VfModuleTopologyOperationTest.java
+++ /dev/null
@@ -1,388 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import com.google.common.util.concurrent.CheckedFuture;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.mockito.runners.MockitoJUnitRunner;
-import org.mockito.Mockito;
-import org.onap.ccsdk.sli.core.sli.SvcLogicException;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter;
-import org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec;
-import org.opendaylight.controller.md.sal.binding.test.AbstractDataBrokerTestCustomizer;
-import org.opendaylight.controller.md.sal.binding.test.ConcurrentDataBrokerTestCustomizer;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
-import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation.RequestAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.request.information.VfModuleRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.request.information.VfModuleRequestInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInputBuilder;
-
-import java.util.Properties;
-import java.util.concurrent.ExecutionException;
-
-class VfModuleExceptionThrowerConfigurator {
- private boolean shouldThrowExceptionDuringTransactionPut;
-
- public VfModuleExceptionThrowerConfigurator() {
- this.shouldThrowExceptionDuringTransactionPut = true;
- }
-
- public boolean shouldThrowExceptionDuringTransactionPut() {
- return shouldThrowExceptionDuringTransactionPut;
- }
-
- public void setShouldThrowExceptionDuringTransactionPut(boolean shouldThrowExceptionDuringTransactionPut) {
- this.shouldThrowExceptionDuringTransactionPut = shouldThrowExceptionDuringTransactionPut;
- }
-}
-
-class VfModuleDataBrokerErrorMsgConfigurator {
- static public String JAVA_LANG_RUNTIME_EXCEPTION = "java.lang.RuntimeException: ";
- static public String TRANSACTION_WRITE_ERROR = "transaction-write-error";
-}
-
-class VfModuleDataBrokerStab extends BindingDOMDataBrokerAdapter {
- VfModuleExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- public VfModuleDataBrokerStab(final DOMDataBroker domDataBroker,
- final BindingToNormalizedNodeCodec codec, VfModuleExceptionThrowerConfigurator exceptionThrowerConfigurator) {
- super(domDataBroker, codec);
- this.exceptionThrowerConfigurator = exceptionThrowerConfigurator;
-
- }
-
- @Override
- public WriteTransaction newWriteOnlyTransaction() {
- if (exceptionThrowerConfigurator.shouldThrowExceptionDuringTransactionPut()) {
- return newThrowingExceptionWriteOnlyTransaction();
- }
- return newNotThrowingExceptionWriteOnlyTransaction();
- }
-
- private WriteTransaction newThrowingExceptionWriteOnlyTransaction() {
- WriteTransaction mockWriteTransaction = Mockito.mock(WriteTransaction.class);
- Mockito.doThrow(new RuntimeException(VfModuleDataBrokerErrorMsgConfigurator.TRANSACTION_WRITE_ERROR))
- .when(mockWriteTransaction).put(Mockito.any(), Mockito.any(), Mockito.any());
- return mockWriteTransaction;
- }
-
- private WriteTransaction newNotThrowingExceptionWriteOnlyTransaction() {
- WriteTransaction mockWriteTransaction = Mockito.mock(WriteTransaction.class);
- CheckedFuture<Void, TransactionCommitFailedException> mockCheckedFuture =
- Mockito.mock(CheckedFuture.class);
- Mockito.doNothing().when(mockWriteTransaction).put(Mockito.any(), Mockito.any(), Mockito.any());
- Mockito.doReturn(mockCheckedFuture).when(mockWriteTransaction).submit();
- return mockWriteTransaction;
- }
-}
-
-class VfModuleProviderDataBrokerTestCustomizer extends ConcurrentDataBrokerTestCustomizer {
- VfModuleExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- public VfModuleProviderDataBrokerTestCustomizer(VfModuleExceptionThrowerConfigurator exceptionThrowerConfigurator) {
- super(false);
- this.exceptionThrowerConfigurator = exceptionThrowerConfigurator;
- }
-
- public DataBroker createDataBroker() {
- return new VfModuleDataBrokerStab(createDOMDataBroker(),
- super.getBindingToNormalized(), this.exceptionThrowerConfigurator);
- }
-}
-
-@RunWith(MockitoJUnitRunner.class)
-public class VfModuleTopologyOperationTest extends VnfApiProviderTest {
- protected static final Logger LOG = LoggerFactory.getLogger(VfModuleTopologyOperationTest.class);
-
- private static final String INVALID_VFMODULEID = "invalid input, null or empty vf-module-id";
- private static final String INVALID_VNFINSTANCEID = "invalid input, null or empty vnf-instance-id";
- private static final String NO_SERVICE_LOGIC = "No service logic active for VNF-API: \'vf-module-topology-operation\'";
- private static final String VF_MODULE_ID = "vfModule1";
- private static final String VNF_INSTANCE_ID = "vnfInstance1";
- private static final String PRELOAD_NAME = "preloadName";
- private static final String PRELOAD_TYPE = "preloadType";
- private static final String ERROR_CODE = "error-code";
-
- private static final String ERROR_MESSAGE = "error-message";
- private static final String ACK_FINAL = "ack-final";
- private static final String SVC_OPERATION = "vf-module-topology-operation";
-
- private VfModuleExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- @Override
- protected AbstractDataBrokerTestCustomizer createDataBrokerTestCustomizer() {
- this.exceptionThrowerConfigurator = new VfModuleExceptionThrowerConfigurator();
- return new VfModuleProviderDataBrokerTestCustomizer(this.exceptionThrowerConfigurator);
- }
-
- @Before
- public void setUp() throws Exception {
- super.setUp();
- svcClient.setScvOperation(SVC_OPERATION);
- }
-
- @Test
- public void vfModuleTopologyOperationInputIsNull() throws Exception {
- VfModuleTopologyOperationInput input = null;
- checkVfModuleTopologyOperation(input, "403", INVALID_VFMODULEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_VfModuleRequestInformationIsNull() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = new VfModuleTopologyOperationInputBuilder();
- builder.setVfModuleRequestInformation(null);
- VfModuleTopologyOperationInput input = builder.build();
- checkVfModuleTopologyOperation(input, "403", INVALID_VFMODULEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_getVfModuleRequestInformationVfModuleIdIsNull() throws Exception {
- RequestInformation reqInfo = createRequestInformation(RequestAction.PreloadVfModuleRequest);
- VfModuleRequestInformation vfModuleRequestInformation = createVfModuleRequestInformation(VNF_INSTANCE_ID, null);
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(vfModuleRequestInformation, reqInfo);
- VfModuleTopologyOperationInput input = builder.build();
- checkVfModuleTopologyOperation(input, "403", INVALID_VFMODULEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_VfModuleRequestInformationVfModuleIdIsZero() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID,""), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
- checkVfModuleTopologyOperation(input, "403", INVALID_VFMODULEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_getVfModuleRequestInformationVnfInstanceIdIsNull() throws Exception {
- RequestInformation reqInfo = createRequestInformation(RequestAction.PreloadVfModuleRequest);
- VfModuleRequestInformation vfModuleRequestInformation = createVfModuleRequestInformation(null, VF_MODULE_ID);
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(vfModuleRequestInformation, reqInfo);
- VfModuleTopologyOperationInput input = builder.build();
- checkVfModuleTopologyOperation(input, "403", INVALID_VNFINSTANCEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_VfModuleRequestInformationVnfInstanceIdIsZero() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation("",VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
- checkVfModuleTopologyOperation(input, "403", INVALID_VNFINSTANCEID);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_svcLogicClientHasGrapheReturnFalse() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
- setReturnForSvcLogicServiceClientHasGraph(false);
- checkVfModuleTopologyOperation(input, "503", NO_SERVICE_LOGIC);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_svcLogicClientExecuteThrowsSvcLogicException() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
- setReturnForSvcLogicServiceClientHasGraph(true);
- setMockVNFSDNSvcLogicServiceClientToThrowException(SvcLogicException.class);
- checkVfModuleTopologyOperation(input, "500", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_svcLogicClientExecuteThrowsException() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setMockVNFSDNSvcLogicServiceClientToThrowException(Exception.class);
- checkVfModuleTopologyOperation(input, "500", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_svcLogicClientExecuteReturnsNotNull() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- Properties properties = prop().set(ERROR_CODE, "500")
- .set(ERROR_MESSAGE, ERROR_MESSAGE)
- .set(ACK_FINAL, "Y")
- .build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(properties);
- checkVfModuleTopologyOperation(input, "500", ERROR_MESSAGE);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_svcLogicClientExecuteReturnsNull() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- String expectedErrorMsg = VfModuleDataBrokerErrorMsgConfigurator.JAVA_LANG_RUNTIME_EXCEPTION
- + VfModuleDataBrokerErrorMsgConfigurator.TRANSACTION_WRITE_ERROR;
- checkVfModuleTopologyOperation(input, "500", expectedErrorMsg);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_ActivateNoErrorDuringTransactionWriting() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.VfModuleActivateRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVfModuleTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_ChangeNoErrorDuringTransactionWriting() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.ChangeVfModuleActivateRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVfModuleTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_DisconnectNoErrorDuringTransactionWriting() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.DisconnectVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVfModuleTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_PreloadNoErrorDuringTransactionWriting() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.PreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVfModuleTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vfModuleTopologyOperationInput_DeletePreloadNoErrorDuringTransactionWriting() throws Exception {
- VfModuleTopologyOperationInputBuilder builder = createVfModuleTopologyOperationInputBuilder(createVfModuleRequestInformation(VNF_INSTANCE_ID, VF_MODULE_ID), createRequestInformation(RequestAction.DeletePreloadVfModuleRequest));
- VfModuleTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVfModuleTopologyOperation(input, "200", null);
- }
- private void checkVfModuleTopologyOperation(VfModuleTopologyOperationInput input,
- String expectedResponseCode, String expectedResponseMessage) throws ExecutionException, InterruptedException {
-
- VfModuleTopologyOperationOutput output = executeVfModuleTopologyOperation(input);
- checkVfModuleTopologyOperationOutput(output, expectedResponseCode, expectedResponseMessage);
- }
-
- private VfModuleTopologyOperationOutput executeVfModuleTopologyOperation(
- VfModuleTopologyOperationInput input) throws ExecutionException, InterruptedException {
- return vnfapiProvider
- .vfModuleTopologyOperation(input)
- .get()
- .getResult();
- }
-
- private void checkVfModuleTopologyOperationOutput(VfModuleTopologyOperationOutput result,
- String expectedResponseCode, String expectedResponseMessage) {
-
- String expectedAckFinalIndicator = "Y";
-
- Assert.assertEquals(expectedResponseCode , result.getResponseCode());
- Assert.assertEquals(expectedResponseMessage, result.getResponseMessage());
- Assert.assertEquals(expectedAckFinalIndicator, result.getAckFinalIndicator());
- }
-
- private void setReturnForSvcLogicServiceClientHasGraph(Boolean returnValue) throws Exception{
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .hasGraph(Mockito.any(),Mockito.any(), Mockito.any(),Mockito.any()))
- .thenReturn(returnValue);
- }
-
- private void setReturnForSvcLogicServiceClientExecute(Properties properties) throws Exception{
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .execute(Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(VfModuleServiceDataBuilder.class),
- Mockito.any()))
- .thenReturn(properties);
- }
-
- private void setMockVNFSDNSvcLogicServiceClientToThrowException(Class exceptionClass) throws Exception {
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .execute(Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(VfModuleServiceDataBuilder.class),
- Mockito.any()))
- .thenThrow(exceptionClass.asSubclass(Throwable.class));
- }
-
- private VfModuleTopologyOperationInputBuilder createVfModuleTopologyOperationInputBuilder(VfModuleRequestInformation vfModuleRequestInformation, RequestInformation reqInfo) {
- VfModuleTopologyOperationInputBuilder builder = new VfModuleTopologyOperationInputBuilder();
- builder.setVfModuleRequestInformation(vfModuleRequestInformation);
- builder.setRequestInformation(reqInfo);
- return builder;
- }
-
-
-
- private VfModuleRequestInformation createVfModuleRequestInformation(String vnfInstanceId, String vfModuleId) {
- return new VfModuleRequestInformationBuilder()
- .setVnfInstanceId(vnfInstanceId)
- .setVfModuleId(vfModuleId)
- .setVfModuleName(PRELOAD_NAME)
- .setVfModuleModelId(PRELOAD_TYPE)
- .build();
- }
-
- private RequestInformation createRequestInformation(RequestAction action) {
- return new RequestInformationBuilder()
- .setRequestAction(action)
- .build();
- }
-
-
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfApiProviderTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfApiProviderTest.java
deleted file mode 100644
index 458e6d41..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfApiProviderTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import org.junit.Before;
-import org.mockito.Mock;
-import org.onap.sdnc.vnfapi.util.DataBrokerUtil;
-import org.onap.sdnc.vnfapi.util.PropBuilder;
-import org.onap.sdnc.vnfapi.util.VNFSDNSvcLogicServiceClientMockUtil;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.test.AbstractConcurrentDataBrokerTest;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-
-public class VnfApiProviderTest extends AbstractConcurrentDataBrokerTest {
-
- protected VnfApiProvider vnfapiProvider;
- protected DataBroker dataBroker;
- protected @Mock NotificationPublishService mockNotificationPublishService;
- protected @Mock RpcProviderRegistry mockRpcProviderRegistry;
- protected @Mock VNFSDNSvcLogicServiceClient mockVNFSDNSvcLogicServiceClient;
- protected static final Logger LOG = LoggerFactory.getLogger(VnfApiProvider.class);
-
- protected DataBrokerUtil db;
- protected VNFSDNSvcLogicServiceClientMockUtil svcClient;
-
- @Before
- public void setUp() throws Exception {
- svcClient = new VNFSDNSvcLogicServiceClientMockUtil(mockVNFSDNSvcLogicServiceClient);
- dataBroker = getDataBroker();
- db = new DataBrokerUtil(dataBroker);
- try {
- vnfapiProvider = new VnfApiProvider(
- dataBroker,
- mockNotificationPublishService,
- mockRpcProviderRegistry,
- mockVNFSDNSvcLogicServiceClient
- );
- } catch (Exception e) {
- LOG.error("Caught exception on setUp", e);
- throw e;
- }
- }
-
- public static PropBuilder prop(){
- return (new PropBuilder());
- }
- } \ No newline at end of file
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfInstanceTopologyOperationTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfInstanceTopologyOperationTest.java
deleted file mode 100644
index 230a394e..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfInstanceTopologyOperationTest.java
+++ /dev/null
@@ -1,368 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import com.google.common.util.concurrent.CheckedFuture;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.mockito.runners.MockitoJUnitRunner;
-import org.mockito.Mockito;
-import org.onap.ccsdk.sli.core.sli.SvcLogicException;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter;
-import org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec;
-import org.opendaylight.controller.md.sal.binding.test.AbstractDataBrokerTestCustomizer;
-import org.opendaylight.controller.md.sal.binding.test.ConcurrentDataBrokerTestCustomizer;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
-import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation.RequestAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.VnfInstanceRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.VnfInstanceRequestInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder;
-
-import java.util.Properties;
-import java.util.concurrent.ExecutionException;
-
-class VnfInstanceExceptionThrowerConfigurator {
- private boolean shouldThrowExceptionDuringTransactionPut;
-
- public VnfInstanceExceptionThrowerConfigurator() {
- this.shouldThrowExceptionDuringTransactionPut = true;
- }
-
- public boolean shouldThrowExceptionDuringTransactionPut() {
- return shouldThrowExceptionDuringTransactionPut;
- }
-
- public void setShouldThrowExceptionDuringTransactionPut(boolean shouldThrowExceptionDuringTransactionPut) {
- this.shouldThrowExceptionDuringTransactionPut = shouldThrowExceptionDuringTransactionPut;
- }
-}
-
-class VnfInstanceDataBrokerErrorMsgConfigurator {
- static public String JAVA_LANG_RUNTIME_EXCEPTION = "java.lang.RuntimeException: ";
- static public String TRANSACTION_WRITE_ERROR = "transaction-write-error";
-}
-
-class VnfInstanceDataBrokerStab extends BindingDOMDataBrokerAdapter {
- VnfInstanceExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- public VnfInstanceDataBrokerStab(final DOMDataBroker domDataBroker,
- final BindingToNormalizedNodeCodec codec, VnfInstanceExceptionThrowerConfigurator exceptionThrowerConfigurator) {
- super(domDataBroker, codec);
- this.exceptionThrowerConfigurator = exceptionThrowerConfigurator;
-
- }
-
- @Override
- public WriteTransaction newWriteOnlyTransaction() {
- if (exceptionThrowerConfigurator.shouldThrowExceptionDuringTransactionPut()) {
- return newThrowingExceptionWriteOnlyTransaction();
- }
- return newNotThrowingExceptionWriteOnlyTransaction();
- }
-
- private WriteTransaction newThrowingExceptionWriteOnlyTransaction() {
- WriteTransaction mockWriteTransaction = Mockito.mock(WriteTransaction.class);
- Mockito.doThrow(new RuntimeException(VnfInstanceDataBrokerErrorMsgConfigurator.TRANSACTION_WRITE_ERROR))
- .when(mockWriteTransaction).put(Mockito.any(), Mockito.any(), Mockito.any());
- return mockWriteTransaction;
- }
-
- private WriteTransaction newNotThrowingExceptionWriteOnlyTransaction() {
- WriteTransaction mockWriteTransaction = Mockito.mock(WriteTransaction.class);
- CheckedFuture<Void, TransactionCommitFailedException> mockCheckedFuture =
- Mockito.mock(CheckedFuture.class);
- Mockito.doNothing().when(mockWriteTransaction).put(Mockito.any(), Mockito.any(), Mockito.any());
- Mockito.doReturn(mockCheckedFuture).when(mockWriteTransaction).submit();
- return mockWriteTransaction;
- }
-}
-
-class VnfInstanceProviderDataBrokerTestCustomizer extends ConcurrentDataBrokerTestCustomizer {
- VnfInstanceExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- public VnfInstanceProviderDataBrokerTestCustomizer(VnfInstanceExceptionThrowerConfigurator exceptionThrowerConfigurator) {
- super(false);
- this.exceptionThrowerConfigurator = exceptionThrowerConfigurator;
- }
-
- public DataBroker createDataBroker() {
- return new VnfInstanceDataBrokerStab(createDOMDataBroker(),
- super.getBindingToNormalized(), this.exceptionThrowerConfigurator);
- }
-}
-
-@RunWith(MockitoJUnitRunner.class)
-public class VnfInstanceTopologyOperationTest extends VnfApiProviderTest {
- protected static final Logger LOG = LoggerFactory.getLogger(VnfInstanceTopologyOperationTest.class);
-
- private static final String INVALID_INPUT = "invalid input, null or empty vnf-instance-id";
- private static final String NO_SERVICE_LOGIC = "No service logic active for VNF-API: \'vnf-instance-topology-operation\'";
- private static final String VIID = "viid";
- private static final String PRELOAD_NAME = "preloadName";
- private static final String PRELOAD_TYPE = "preloadType";
- private static final String ERROR_CODE = "error-code";
- private static final String ERROR_MESSAGE = "error-message";
- private static final String ACK_FINAL = "ack-final";
- private static final String SVC_OPERATION = "vnf-topology-operation";
-
- private VnfInstanceExceptionThrowerConfigurator exceptionThrowerConfigurator;
-
- @Override
- protected AbstractDataBrokerTestCustomizer createDataBrokerTestCustomizer() {
- this.exceptionThrowerConfigurator = new VnfInstanceExceptionThrowerConfigurator();
- return new VnfInstanceProviderDataBrokerTestCustomizer(this.exceptionThrowerConfigurator);
- }
-
- @Before
- public void setUp() throws Exception {
- super.setUp();
- svcClient.setScvOperation(SVC_OPERATION);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInputIsNull() throws Exception {
- VnfInstanceTopologyOperationInput input = null;
- checkVnfInstanceTopologyOperation(input, "403", INVALID_INPUT);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_VnfInstanceRequestInformationIsNull() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = new VnfInstanceTopologyOperationInputBuilder();
- builder.setVnfInstanceRequestInformation(null);
- VnfInstanceTopologyOperationInput input = builder.build();
- checkVnfInstanceTopologyOperation(input, "403", INVALID_INPUT);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_getVnfInstanceRequestInformationVnfInstanceIdIsNull() throws Exception {
- RequestInformation reqInfo = createRequestInformation(RequestAction.PreloadVnfInstanceRequest);
- VnfInstanceRequestInformation vnfInstanceRequestInformation = createVnfInstanceRequestInformation(null);
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(vnfInstanceRequestInformation, reqInfo);
- VnfInstanceTopologyOperationInput input = builder.build();
- checkVnfInstanceTopologyOperation(input, "403", INVALID_INPUT);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_VnfInstanceRequestInformationVnfInstanceIdIsZero() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(""), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
- checkVnfInstanceTopologyOperation(input, "403", INVALID_INPUT);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_svcLogicClientHasGrapheReturnFalse() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
- setReturnForSvcLogicServiceClientHasGraph(false);
- checkVnfInstanceTopologyOperation(input, "503", NO_SERVICE_LOGIC);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_svcLogicClientExecuteThrowsSvcLogicException() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
- setReturnForSvcLogicServiceClientHasGraph(true);
- setMockVNFSDNSvcLogicServiceClientToThrowException(SvcLogicException.class);
- checkVnfInstanceTopologyOperation(input, "500", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_svcLogicClientExecuteThrowsException() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setMockVNFSDNSvcLogicServiceClientToThrowException(Exception.class);
- checkVnfInstanceTopologyOperation(input, "500", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_svcLogicClientExecuteReturnsNotNull() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- Properties properties = prop().set(ERROR_CODE, "500")
- .set(ERROR_MESSAGE, ERROR_MESSAGE)
- .set(ACK_FINAL, "Y")
- .build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(properties);
- checkVnfInstanceTopologyOperation(input, "500", ERROR_MESSAGE);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_svcLogicClientExecuteReturnsNull() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- String expectedErrorMsg = VnfInstanceDataBrokerErrorMsgConfigurator.JAVA_LANG_RUNTIME_EXCEPTION
- + VnfInstanceDataBrokerErrorMsgConfigurator.TRANSACTION_WRITE_ERROR;
- checkVnfInstanceTopologyOperation(input, "500", expectedErrorMsg);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_ActivateNoErrorDuringTransactionWriting() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.VnfInstanceActivateRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVnfInstanceTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_ChangeNoErrorDuringTransactionWriting() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.ChangeVnfInstanceActivateRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVnfInstanceTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_DisconnectNoErrorDuringTransactionWriting() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.DisconnectVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVnfInstanceTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_PreloadNoErrorDuringTransactionWriting() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.PreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVnfInstanceTopologyOperation(input, "200", null);
- }
-
- @Test
- public void vnfInstanceTopologyOperationInput_DeletePreloadNoErrorDuringTransactionWriting() throws Exception {
- VnfInstanceTopologyOperationInputBuilder builder = createVnfInstanceTopologyOperationInputBuilder(createVnfInstanceRequestInformation(VIID), createRequestInformation(RequestAction.DeletePreloadVnfInstanceRequest));
- VnfInstanceTopologyOperationInput input = builder.build();
-
- setReturnForSvcLogicServiceClientHasGraph(true);
- setReturnForSvcLogicServiceClientExecute(null);
- exceptionThrowerConfigurator.setShouldThrowExceptionDuringTransactionPut(false);
- checkVnfInstanceTopologyOperation(input, "200", null);
- }
- private void checkVnfInstanceTopologyOperation(VnfInstanceTopologyOperationInput input,
- String expectedResponseCode, String expectedResponseMessage) throws ExecutionException, InterruptedException {
-
- VnfInstanceTopologyOperationOutput output = executeVnfInstanceTopologyOperation(input);
- checkVnfInstanceTopologyOperationOutput(output, expectedResponseCode, expectedResponseMessage);
- }
-
- private VnfInstanceTopologyOperationOutput executeVnfInstanceTopologyOperation(
- VnfInstanceTopologyOperationInput input) throws ExecutionException, InterruptedException {
- return vnfapiProvider
- .vnfInstanceTopologyOperation(input)
- .get()
- .getResult();
- }
-
- private void checkVnfInstanceTopologyOperationOutput(VnfInstanceTopologyOperationOutput result,
- String expectedResponseCode, String expectedResponseMessage) {
-
- String expectedAckFinalIndicator = "Y";
-
- Assert.assertEquals(expectedResponseCode , result.getResponseCode());
- Assert.assertEquals(expectedResponseMessage, result.getResponseMessage());
- Assert.assertEquals(expectedAckFinalIndicator, result.getAckFinalIndicator());
- }
-
- private void setReturnForSvcLogicServiceClientHasGraph(Boolean returnValue) throws Exception{
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .hasGraph(Mockito.any(),Mockito.any(), Mockito.any(),Mockito.any()))
- .thenReturn(returnValue);
- }
-
- private void setReturnForSvcLogicServiceClientExecute(Properties properties) throws Exception{
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .execute(Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(VnfInstanceServiceDataBuilder.class),
- Mockito.any()))
- .thenReturn(properties);
- }
-
- private void setMockVNFSDNSvcLogicServiceClientToThrowException(Class exceptionClass) throws Exception {
- Mockito.when(mockVNFSDNSvcLogicServiceClient
- .execute(Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(),
- Mockito.any(VnfInstanceServiceDataBuilder.class),
- Mockito.any()))
- .thenThrow(exceptionClass.asSubclass(Throwable.class));
- }
-
- private VnfInstanceTopologyOperationInputBuilder createVnfInstanceTopologyOperationInputBuilder(VnfInstanceRequestInformation vnfInstanceRequestInformation, RequestInformation reqInfo) {
- VnfInstanceTopologyOperationInputBuilder builder = new VnfInstanceTopologyOperationInputBuilder();
- builder.setVnfInstanceRequestInformation(vnfInstanceRequestInformation);
- builder.setRequestInformation(reqInfo);
- return builder;
- }
-
-
-
- private VnfInstanceRequestInformation createVnfInstanceRequestInformation(String vnfInstanceId) {
- return new VnfInstanceRequestInformationBuilder()
- .setVnfInstanceId(vnfInstanceId)
- .setVnfInstanceName(PRELOAD_NAME)
- .setVnfModelId(PRELOAD_TYPE)
- .build();
- }
-
- private RequestInformation createRequestInformation(RequestAction action) {
- return new RequestInformationBuilder()
- .setRequestAction(action)
- .build();
- }
-
-
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfSdnUtilTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfSdnUtilTest.java
deleted file mode 100644
index 3f486f62..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfSdnUtilTest.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.powermock.reflect.Whitebox;
-
-public class VnfSdnUtilTest {
-
- private VnfSdnUtil vnfSdnUtil;
-
- @Before public void setUp() throws Exception {
- vnfSdnUtil = new VnfSdnUtil();
- }
-
- @Test public void loadProperties() throws Exception {
- vnfSdnUtil.loadProperties();
- Object properties = Whitebox.getInternalState(VnfSdnUtil.class, "properties");
- Assert.assertNotNull(properties);
- }
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfTopologyOperationRPCTest.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfTopologyOperationRPCTest.java
deleted file mode 100644
index 422a6adb..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfTopologyOperationRPCTest.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.mockito.runners.MockitoJUnitRunner;
-import org.onap.sdnc.vnfapi.util.PropBuilder;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeader.SvcAction;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfList;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.build;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.exec;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.sdncRequestHeader;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.serviceData;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.serviceInformation;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.vnfInformation;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.vnfList;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.vnfRequestInformation;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.vnfTopologyOperationInput;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.vnfTopologyOperationOutput;
-
-
-/**
- * This class test the VnfTopologyOperation mdsal RPC.
- */
-@RunWith(MockitoJUnitRunner.class)
-public class VnfTopologyOperationRPCTest extends VnfApiProviderTest {
-
-
- final String SVC_OPERATION = "vnf-topology-operation";
-
-
- @Before
- public void setUp() throws Exception {
- super.setUp();
- svcClient.setScvOperation(SVC_OPERATION);
- }
-
-
- /**
- * Verify VnfTopologyOperation RPC executes Delete VNFList entry
- * {@link VnfTopologyOperationOutput} and persisted the expected {@link VnfList} in the {@link DataBroker}
- */
- @Test
- public void testVnfTopologyOperationRPC_Delete_VNFList_Entry_Success() throws Exception {
-
-
- //mock svcClient to perform a successful execution with the expected parameters
- svcClient.mockHasGraph(true);
- PropBuilder svcResultProp = svcClient.createExecuteOKResult();
- svcClient.mockExecute(svcResultProp);
-
- // create the VnfTopologyOperationInput from the template
- VnfTopologyOperationInput vnfTopologyOperationInput = createVTOI();
-
- //persist a vnfList entry in the dataBroker
- persistVnfListBroker(vnfTopologyOperationInput);
-
- //execute the mdsal exec
- VnfTopologyOperationOutput actualVnfTopologyOperationOutput = exec(
- vnfapiProvider::vnfTopologyOperation
- , vnfTopologyOperationInput
- , RpcResult::getResult
- );
-
-
- //verify the returned VnfTopologyOperationOutput
- VnfTopologyOperationOutput expectedVnfTopologyOperationOutput = createExpectedVTOO(svcResultProp,vnfTopologyOperationInput);
- Assert.assertEquals(expectedVnfTopologyOperationOutput,actualVnfTopologyOperationOutput);
-
-
- //verify the persisted VnfList
- VnfList actualVnfList = db.read(vnfTopologyOperationInput.getVnfRequestInformation().getVnfId(), LogicalDatastoreType.CONFIGURATION);
- VnfList expectedVnfList = null;
- Assert.assertEquals(expectedVnfList,actualVnfList);
-
- LOG.debug("done");
- }
-
-
- public VnfTopologyOperationInput createVTOI(){
- return build(vnfTopologyOperationInput()
- .setServiceInformation(
- build(serviceInformation()
- .setServiceId("serviceId: xyz")
- .setServiceInstanceId("serviceInstanceId: xyz")
- .setServiceType("serviceType: xyz")
- .setSubscriberName("subscriberName: xyz")
- )
- )
- .setVnfRequestInformation(
- build(vnfRequestInformation()
- .setVnfId("vnfId: xyz")
- .setVnfName("vnfName: xyz")//defect if missing
- .setVnfType("vnfType: xyz")//defect if missing
-
-
- )
- )
- .setSdncRequestHeader(
- build(sdncRequestHeader()
- .setSvcAction(SvcAction.Delete)
- )
- )
- );
-
- }
-
-
-
- private VnfList persistVnfListBroker(
- VnfTopologyOperationInput vnfTopologyOperationInput
- ) throws Exception{
- VnfList service = build(
- vnfList()
- .setVnfId(vnfTopologyOperationInput.getVnfRequestInformation().getVnfId())
- .setServiceData(
- build(serviceData()
- .setVnfId(vnfTopologyOperationInput.getVnfRequestInformation().getVnfId())
- )
- )
- );
- db.write(true,service, LogicalDatastoreType.CONFIGURATION);
- return service;
- }
-
-
-
-
-
- private VnfTopologyOperationOutput createExpectedVTOO(PropBuilder expectedSvcResultProp,VnfTopologyOperationInput expectedVnfTopologyOperationInput){
- return build(
- vnfTopologyOperationOutput()
- .setSvcRequestId(expectedVnfTopologyOperationInput.getSdncRequestHeader().getSvcRequestId())
- .setResponseCode(expectedSvcResultProp.get(svcClient.errorCode))
- .setAckFinalIndicator(expectedSvcResultProp.get(svcClient.ackFinal))
- .setResponseMessage(expectedSvcResultProp.get(svcClient.errorMessage))
- .setVnfInformation(build(vnfInformation()
- .setVnfId(expectedVnfTopologyOperationInput.getVnfRequestInformation().getVnfId())
- ))
- );
- }
-
-
-
-
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfapiProviderTestBase.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfapiProviderTestBase.java
deleted file mode 100644
index 92346047..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/VnfapiProviderTestBase.java
+++ /dev/null
@@ -1,1416 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi;
-
-import com.google.common.base.Optional;
-import com.google.common.util.concurrent.CheckedFuture;
-import org.junit.After;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-import org.mockito.Mock;
-import org.mockito.junit.MockitoJUnit;
-import org.mockito.junit.MockitoRule;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.DataObjectModification;
-import org.opendaylight.controller.md.sal.binding.api.DataTreeModification;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
-import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.NetworkTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadNetworkTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModuleTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVfModules;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstanceTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfInstances;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.PreloadVnfs;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VNFAPIService;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModuleTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VfModules;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstanceTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfInstances;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutput;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.Vnfs;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.request.information.NetworkRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.identifier.NetworkTopologyIdentifier;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.network.topology.information.NetworkTopologyInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.data.PreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.model.information.VnfPreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vf.module.model.information.VfModulePreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.preload.vnf.instance.model.information.VnfInstancePreloadList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.request.information.RequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeader;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.information.ServiceInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatus;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.status.ServiceStatusBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.identifiers.VfModuleIdentifiers;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.model.infrastructure.VfModuleList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.preload.data.VfModulePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.request.information.VfModuleRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.service.data.VfModuleServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vf.module.topology.information.VfModuleTopologyInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.identifiers.VnfInstanceIdentifiers;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.model.infrastructure.VnfInstanceList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.preload.data.VnfInstancePreloadDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.request.information.VnfInstanceRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceData;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.service.data.VnfInstanceServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.instance.topology.information.VnfInstanceTopologyInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListKey;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.VnfRequestInformation;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.identifier.VnfTopologyIdentifier;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.topology.information.VnfTopologyInformation;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-import org.powermock.reflect.Whitebox;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Future;
-
-import static org.mockito.Matchers.any;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.doReturn;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.spy;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-
-public class VnfapiProviderTestBase {
- @Rule public MockitoRule rule = MockitoJUnit.rule();
-
- @Mock private DataBroker dataBroker;
- @Mock private NotificationPublishService notificationPublishService;
- @Mock private RpcProviderRegistry rpcProviderRegistry;
- @Mock private VNFSDNSvcLogicServiceClient vnfsdnSvcLogicServiceClient;
- @Mock private ReadWriteTransaction readWriteTransactionInCreateContainer;
- @Mock private ReadWriteTransaction readWriteTransactionInDataChanged;
- @Mock private CheckedFuture<Void, TransactionCommitFailedException> checkedFuture;
-
- private VnfApiProvider vnfapiProvider;
- private String vfModuleName;
- private String vfModuleModelId;
- private String vnfInstanceId;
- private String vnfInstanceName;
- private String vnfModelId;
- private String svcRequestId;
- private String serviceInstanceId;
- private String vnfName;
- private String vnfType;
- private String vfModuleId;
-
- @Before public void setUp() throws Exception {
- doReturn(readWriteTransactionInCreateContainer).when(dataBroker).newReadWriteTransaction();
- doReturn(checkedFuture).when(readWriteTransactionInCreateContainer).submit();
- // mock readOnlyTransaction
- ReadOnlyTransaction readOnlyTransaction = mock(ReadOnlyTransaction.class);
- doReturn(readOnlyTransaction).when(dataBroker).newReadOnlyTransaction();
- doReturn(checkedFuture).when(readOnlyTransaction).read(any(), any());
- // mock writeTransaction
- WriteTransaction writeTransaction = mock(WriteTransaction.class);
- doReturn(writeTransaction).when(dataBroker).newWriteOnlyTransaction();
- doReturn(checkedFuture).when(writeTransaction).submit();
-
- vnfapiProvider = spy(new VnfApiProvider(dataBroker, notificationPublishService, rpcProviderRegistry,
- vnfsdnSvcLogicServiceClient));
- }
-
- @After public void tearDown() throws Exception {
-
- }
-
- @Test public void close() throws Exception {
- ExecutorService executor = Whitebox.getInternalState(vnfapiProvider, "executor");
- BindingAwareBroker.RpcRegistration<VNFAPIService> vnfapiServiceRpcRegistration =
- mock(BindingAwareBroker.RpcRegistration.class);
- vnfapiProvider.rpcRegistration = vnfapiServiceRpcRegistration;
-
- vnfapiProvider.close();
-
- Assert.assertTrue(executor.isShutdown());
- verify(vnfapiServiceRpcRegistration, times(1)).close();
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVnfInstanceRequestInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void vnfInstanceTopologyOperationErrorOne() throws Exception {
- VnfInstanceTopologyOperationInput vnfInstanceTopologyOperationInput =
- mock(VnfInstanceTopologyOperationInput.class);
- doReturn(null).when(vnfInstanceTopologyOperationInput).getVnfInstanceRequestInformation();
-
- Future<RpcResult<VnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfInstanceTopologyOperation(vnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vnf-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>viid == null</code>
- *
- * @throws Exception
- */
- @Test public void vnfInstanceTopologyOperationErrorTwo() throws Exception {
- vnfInstanceId = "";
- vnfInstanceName = "vnf-instance-name";
- vnfModelId = "vnf-model-id";
- VnfInstanceTopologyOperationInput vnfInstanceTopologyOperationInput =
- mock(VnfInstanceTopologyOperationInput.class);
- VnfInstanceRequestInformation vnfInstanceRequestInformation = mock(VnfInstanceRequestInformation.class);
- doReturn(vnfInstanceName).when(vnfInstanceRequestInformation).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceRequestInformation).getVnfModelId();
- doReturn(vnfInstanceId).when(vnfInstanceRequestInformation).getVnfInstanceId();
- doReturn(vnfInstanceRequestInformation).when(vnfInstanceTopologyOperationInput)
- .getVnfInstanceRequestInformation();
-
- Future<RpcResult<VnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfInstanceTopologyOperation(vnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vnf-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API",SVC_OPERATION,null,"sync" = false</code>
- *
- * @throws Exception
- */
- @Test public void vnfInstanceTopologyOperationErrorThree() throws Exception {
- vnfInstanceId = "vnf-instance-id";
- vnfInstanceName = "vnf-instance-name";
- vnfModelId = "vnf-model-id";
- svcRequestId = "svc-request-id";
-
- VnfInstanceTopologyOperationInput vnfInstanceTopologyOperationInput =
- mock(VnfInstanceTopologyOperationInput.class);
- VnfInstanceRequestInformation vnfInstanceRequestInformation = mock(VnfInstanceRequestInformation.class);
- doReturn(vnfInstanceId).when(vnfInstanceRequestInformation).getVnfInstanceId();
- doReturn(vnfInstanceName).when(vnfInstanceRequestInformation).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceRequestInformation).getVnfModelId();
- doReturn(vnfInstanceRequestInformation).when(vnfInstanceTopologyOperationInput)
- .getVnfInstanceRequestInformation();
-
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vnfInstanceTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
-
- Future<RpcResult<VnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfInstanceTopologyOperation(vnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void vnfInstanceTopologyOperationSuccess() throws Exception {
- vnfInstanceId = "vnf-instance-id";
- vnfInstanceName = "vnf-instance-name";
- vnfModelId = "vnf-model-id";
- svcRequestId = "svc-request-id";
-
- VnfInstanceTopologyOperationInput vnfInstanceTopologyOperationInput =
- mock(VnfInstanceTopologyOperationInput.class);
- VnfInstanceRequestInformation vnfInstanceRequestInformation = mock(VnfInstanceRequestInformation.class);
- doReturn(vnfInstanceId).when(vnfInstanceRequestInformation).getVnfInstanceId();
- doReturn(vnfInstanceName).when(vnfInstanceRequestInformation).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceRequestInformation).getVnfModelId();
- doReturn(vnfInstanceRequestInformation).when(vnfInstanceTopologyOperationInput)
- .getVnfInstanceRequestInformation();
-
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vnfInstanceTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(SdncRequestHeader.SvcAction.Activate).when(sdncRequestHeader).getSvcAction();
- ReadOnlyTransaction readOnlyTransaction = mock(ReadOnlyTransaction.class);
- doReturn(readOnlyTransaction).when(dataBroker).newReadOnlyTransaction();
- doReturn(checkedFuture).when(readOnlyTransaction).read(any(), any());
- WriteTransaction writeTransaction = mock(WriteTransaction.class);
- doReturn(writeTransaction).when(dataBroker).newWriteOnlyTransaction();
- doReturn(checkedFuture).when(writeTransaction).submit();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<VnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfInstanceTopologyOperation(vnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVfModuleTopologyInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void vfModuleTopologyOperationErrorOne() throws Exception {
- VfModuleTopologyOperationInput vfModuleTopologyOperationInput = mock(VfModuleTopologyOperationInput.class);
- doReturn(null).when(vfModuleTopologyOperationInput).getVfModuleRequestInformation();
- Future<RpcResult<VfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vfModuleTopologyOperation(vfModuleTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vf-module-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>vfid = ""</code>
- * And
- * <p>
- * <code>viid = ""</code>
- *
- * @throws Exception
- */
- @Test public void vfModuleTopologyOperationErrorTwo() throws Exception {
- // vifd = ""
- vfModuleName = "vfModuleName";
- vfModuleModelId = "vfModuleModelId";
- vfModuleId = "";
- vnfInstanceId = "";
- VfModuleTopologyOperationInput vfModuleTopologyOperationInput = mock(VfModuleTopologyOperationInput.class);
- VfModuleRequestInformation vfModuleRequestInformation = mock(VfModuleRequestInformation.class);
- doReturn(vfModuleRequestInformation).when(vfModuleTopologyOperationInput).getVfModuleRequestInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleId).when(vfModuleRequestInformation).getVfModuleId();
-
- Future<RpcResult<VfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vfModuleTopologyOperation(vfModuleTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vf-module-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
-
- // viid = ""
- vfModuleId = "vfModuleId";
- doReturn(vfModuleId).when(vfModuleRequestInformation).getVfModuleId();
- doReturn(vnfInstanceId).when(vfModuleRequestInformation).getVnfInstanceId();
- rpcResultFuture = vnfapiProvider.vfModuleTopologyOperation(vfModuleTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vnf-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") = false</code>
- *
- * @throws Exception
- */
- @Test public void vfModuleTopologyOperationErrorThree() throws Exception {
- // vifd = ""
- vfModuleName = "vfModuleName";
- vfModuleModelId = "vfModuleModelId";
- vfModuleId = "vfModuleId";
- vnfInstanceId = "vnfInstanceId";
- VfModuleTopologyOperationInput vfModuleTopologyOperationInput = mock(VfModuleTopologyOperationInput.class);
- VfModuleRequestInformation vfModuleRequestInformation = mock(VfModuleRequestInformation.class);
- doReturn(vfModuleRequestInformation).when(vfModuleTopologyOperationInput).getVfModuleRequestInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleId).when(vfModuleRequestInformation).getVfModuleId();
- doReturn(vnfInstanceId).when(vfModuleRequestInformation).getVnfInstanceId();
- // mock sdncRequestHeader
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vfModuleTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
-
- Future<RpcResult<VfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vfModuleTopologyOperation(vfModuleTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void vfModuleTopologyOperationSuccess() throws Exception {
- vfModuleName = "vfModuleName";
- vfModuleModelId = "vfModuleModelId";
- vfModuleId = "vfModuleId";
- vnfInstanceId = "vnfInstanceId";
- VfModuleTopologyOperationInput vfModuleTopologyOperationInput = mock(VfModuleTopologyOperationInput.class);
- VfModuleRequestInformation vfModuleRequestInformation = mock(VfModuleRequestInformation.class);
- doReturn(vfModuleRequestInformation).when(vfModuleTopologyOperationInput).getVfModuleRequestInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleId).when(vfModuleRequestInformation).getVfModuleId();
- doReturn(vnfInstanceId).when(vfModuleRequestInformation).getVnfInstanceId();
- // mock sdncRequestHeader
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vfModuleTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<VfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vfModuleTopologyOperation(vfModuleTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getServiceInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void vnfTopologyOperationErrorOne() throws Exception {
- VnfTopologyOperationInput vnfTopologyOperationInput = mock(VnfTopologyOperationInput.class);
- doReturn(null).when(vnfTopologyOperationInput).getServiceInformation();
-
- Future<RpcResult<VnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfTopologyOperation(vnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty service-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVnfRequestInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void vnfTopologyOperationErrorTwo() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- VnfTopologyOperationInput vnfTopologyOperationInput = mock(VnfTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInformation).when(vnfTopologyOperationInput).getServiceInformation();
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
-
- Future<RpcResult<VnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfTopologyOperation(vnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vf-module-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") == false</code>
- *
- * @throws Exception
- */
- @Test public void vnfTopologyOperationErrorThree() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- String vnfId = "vnfId";
- VnfTopologyOperationInput vnfTopologyOperationInput = mock(VnfTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInformation).when(vnfTopologyOperationInput).getServiceInformation();
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
-
- VnfRequestInformation vnfRequestInformation = mock(VnfRequestInformation.class);
- doReturn(vnfRequestInformation).when(vnfTopologyOperationInput).getVnfRequestInformation();
- doReturn(vnfId).when(vnfRequestInformation).getVnfId();
-
- Future<RpcResult<VnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfTopologyOperation(vnfTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void vnfTopologyOperationSuccess() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- String vnfId = "vnfId";
- VnfTopologyOperationInput vnfTopologyOperationInput = mock(VnfTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInformation).when(vnfTopologyOperationInput).getServiceInformation();
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
-
- VnfRequestInformation vnfRequestInformation = mock(VnfRequestInformation.class);
- doReturn(vnfRequestInformation).when(vnfTopologyOperationInput).getVnfRequestInformation();
- doReturn(vnfId).when(vnfRequestInformation).getVnfId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<VnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfTopologyOperation(vnfTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getServiceInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void networkTopologyOperationErrorOne() throws Exception {
- VnfTopologyOperationInput vnfTopologyOperationInput = mock(VnfTopologyOperationInput.class);
- doReturn(null).when(vnfTopologyOperationInput).getServiceInformation();
-
- Future<RpcResult<VnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.vnfTopologyOperation(vnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty service-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getNetworkRequestInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void networkTopologyOperationErrorTwo() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- NetworkTopologyOperationInput networkTopologyOperation = mock(NetworkTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
- doReturn(serviceInformation).when(networkTopologyOperation).getServiceInformation();
-
- Future<RpcResult<NetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.networkTopologyOperation(networkTopologyOperation);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty service-instance-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") == false</code>
- *
- * @throws Exception
- */
- @Test public void networkTopologyOperationErrorThree() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- NetworkTopologyOperationInput networkTopologyOperationInput = mock(NetworkTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
- doReturn(serviceInformation).when(networkTopologyOperationInput).getServiceInformation();
-
- NetworkRequestInformation networkRequestInformation = mock(NetworkRequestInformation.class);
- doReturn(networkRequestInformation).when(networkTopologyOperationInput).getNetworkRequestInformation();
- doReturn("NetworkName").when(networkRequestInformation).getNetworkName();
-
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(SdncRequestHeader.SvcAction.Assign).when(sdncRequestHeader).getSvcAction();
- doReturn(sdncRequestHeader).when(networkTopologyOperationInput).getSdncRequestHeader();
-
- Future<RpcResult<NetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.networkTopologyOperation(networkTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void networkTopologyOperationSuccess() throws Exception {
- serviceInstanceId = "serviceInstanceId";
- NetworkTopologyOperationInput networkTopologyOperationInput = mock(NetworkTopologyOperationInput.class);
- ServiceInformation serviceInformation = mock(ServiceInformation.class);
- doReturn(serviceInstanceId).when(serviceInformation).getServiceInstanceId();
- doReturn(serviceInformation).when(networkTopologyOperationInput).getServiceInformation();
- //mock networkRequestInformation
- NetworkRequestInformation networkRequestInformation = mock(NetworkRequestInformation.class);
- doReturn(networkRequestInformation).when(networkTopologyOperationInput).getNetworkRequestInformation();
- doReturn("NetworkName").when(networkRequestInformation).getNetworkName();
- //mock sdncRequestHeader
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(SdncRequestHeader.SvcAction.Assign).when(sdncRequestHeader).getSvcAction();
- doReturn(sdncRequestHeader).when(networkTopologyOperationInput).getSdncRequestHeader();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<NetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.networkTopologyOperation(networkTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVnfTopologyInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfTopologyOperationErrorOne() throws Exception {
- PreloadVnfTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVnfTopologyOperationInput.class);
- doReturn(null).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
-
- Future<RpcResult<PreloadVnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vnf-name or vnf-type",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>preload_name.length() == 0</code>
- * And
- * <code>preload_type.length() == 0</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfTopologyOperationErrorTwo() throws Exception {
- // preload_name.length() == 0
- vnfName = "";
- vnfType = "vfModuleModelId";
- PreloadVnfTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVnfTopologyOperationInput.class);
- doReturn(null).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
-
- VnfTopologyInformation vnfTopologyInformation = mock(VnfTopologyInformation.class);
- doReturn(vnfTopologyInformation).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
- VnfTopologyIdentifier vnfTopologyIdentifier = mock(VnfTopologyIdentifier.class);
- doReturn(vnfName).when(vnfTopologyIdentifier).getVnfName();
- doReturn(vnfType).when(vnfTopologyIdentifier).getVnfType();
- doReturn(vnfTopologyIdentifier).when(vnfTopologyInformation).getVnfTopologyIdentifier();
-
- Future<RpcResult<PreloadVnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-name",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
-
- // preload_type.length() == 0
- vnfName = "vnfName";
- vnfType = "";
- doReturn(vnfName).when(vnfTopologyIdentifier).getVnfName();
- doReturn(vnfType).when(vnfTopologyIdentifier).getVnfType();
-
- rpcResultFuture = vnfapiProvider.preloadVnfTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-type",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") = false</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfTopologyOperationErrorThree() throws Exception {
- // preload_name.length() == 0
- vnfName = "vnfName";
- vnfType = "vfModuleModelId";
- PreloadVnfTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVnfTopologyOperationInput.class);
- doReturn(null).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
-
- VnfTopologyInformation vnfTopologyInformation = mock(VnfTopologyInformation.class);
- doReturn(vnfTopologyInformation).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
- VnfTopologyIdentifier vnfTopologyIdentifier = mock(VnfTopologyIdentifier.class);
- doReturn(vnfName).when(vnfTopologyIdentifier).getVnfName();
- doReturn(vnfType).when(vnfTopologyIdentifier).getVnfType();
- doReturn(vnfTopologyIdentifier).when(vnfTopologyInformation).getVnfTopologyIdentifier();
-
- Future<RpcResult<PreloadVnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void preloadVnfTopologyOperationSuccess() throws Exception {
- // preload_name.length() == 0
- vnfName = "vnfName";
- vnfType = "vfModuleModelId";
- PreloadVnfTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVnfTopologyOperationInput.class);
- doReturn(null).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
-
- VnfTopologyInformation vnfTopologyInformation = mock(VnfTopologyInformation.class);
- doReturn(vnfTopologyInformation).when(preloadVnfTopologyOperationInput).getVnfTopologyInformation();
- VnfTopologyIdentifier vnfTopologyIdentifier = mock(VnfTopologyIdentifier.class);
- doReturn(vnfName).when(vnfTopologyIdentifier).getVnfName();
- doReturn(vnfType).when(vnfTopologyIdentifier).getVnfType();
- doReturn(vnfTopologyIdentifier).when(vnfTopologyInformation).getVnfTopologyIdentifier();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<PreloadVnfTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVnfInstanceTopologyInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfInstanceTopologyOperationErrorOne() throws Exception {
- PreloadVnfInstanceTopologyOperationInput preloadVnfInstanceTopologyOperationInput =
- mock(PreloadVnfInstanceTopologyOperationInput.class);
- doReturn(null).when(preloadVnfInstanceTopologyOperationInput).getVnfInstanceTopologyInformation();
- Future<RpcResult<PreloadVnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfInstanceTopologyOperation(preloadVnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vnf-instance-name or vnf-model-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>preload_name = ""</code>
- * And
- * <code>preload_type = ""</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfInstanceTopologyOperationErrorTwo() throws Exception {
- // preload_type = ""
- vnfInstanceName = "vnfInstanceName";
- vnfModelId = "";
- PreloadVnfInstanceTopologyOperationInput preloadVnfInstanceTopologyOperationInput =
- mock(PreloadVnfInstanceTopologyOperationInput.class);
- VnfInstanceTopologyInformation vnfInstanceTopologyInformation = mock(VnfInstanceTopologyInformation.class);
- doReturn(vnfInstanceTopologyInformation).when(preloadVnfInstanceTopologyOperationInput)
- .getVnfInstanceTopologyInformation();
- VnfInstanceIdentifiers vnfInstanceIdentifiers = mock(VnfInstanceIdentifiers.class);
- doReturn(vnfInstanceName).when(vnfInstanceIdentifiers).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceIdentifiers).getVnfModelId();
- doReturn(vnfInstanceIdentifiers).when(vnfInstanceTopologyInformation).getVnfInstanceIdentifiers();
-
- Future<RpcResult<PreloadVnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfInstanceTopologyOperation(preloadVnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-type",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
-
- //preload_name == ""
- vnfInstanceName = "";
- vnfModelId = "vnfModelId";
- doReturn(vnfInstanceName).when(vnfInstanceIdentifiers).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceIdentifiers).getVnfModelId();
-
- rpcResultFuture = vnfapiProvider.preloadVnfInstanceTopologyOperation(preloadVnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-name",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") = false</code>
- *
- * @throws Exception
- */
- @Test public void preloadVnfInstanceTopologyOperationErrorThree() throws Exception {
- // preload_type = ""
- vnfInstanceName = "vnfInstanceName";
- vnfModelId = "vnfModelId";
- PreloadVnfInstanceTopologyOperationInput preloadVnfInstanceTopologyOperationInput =
- mock(PreloadVnfInstanceTopologyOperationInput.class);
- VnfInstanceTopologyInformation vnfInstanceTopologyInformation = mock(VnfInstanceTopologyInformation.class);
- doReturn(vnfInstanceTopologyInformation).when(preloadVnfInstanceTopologyOperationInput)
- .getVnfInstanceTopologyInformation();
- VnfInstanceIdentifiers vnfInstanceIdentifiers = mock(VnfInstanceIdentifiers.class);
- doReturn(vnfInstanceName).when(vnfInstanceIdentifiers).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceIdentifiers).getVnfModelId();
- doReturn(vnfInstanceIdentifiers).when(vnfInstanceTopologyInformation).getVnfInstanceIdentifiers();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(preloadVnfInstanceTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
-
- Future<RpcResult<PreloadVnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfInstanceTopologyOperation(preloadVnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void preloadVnfInstanceTopologyOperationSuccess() throws Exception {
- // preload_type = ""
- vnfInstanceName = "vnfInstanceName";
- vnfModelId = "vnfModelId";
- PreloadVnfInstanceTopologyOperationInput preloadVnfInstanceTopologyOperationInput =
- mock(PreloadVnfInstanceTopologyOperationInput.class);
- VnfInstanceTopologyInformation vnfInstanceTopologyInformation = mock(VnfInstanceTopologyInformation.class);
- doReturn(vnfInstanceTopologyInformation).when(preloadVnfInstanceTopologyOperationInput)
- .getVnfInstanceTopologyInformation();
- VnfInstanceIdentifiers vnfInstanceIdentifiers = mock(VnfInstanceIdentifiers.class);
- doReturn(vnfInstanceName).when(vnfInstanceIdentifiers).getVnfInstanceName();
- doReturn(vnfModelId).when(vnfInstanceIdentifiers).getVnfModelId();
- doReturn(vnfInstanceIdentifiers).when(vnfInstanceTopologyInformation).getVnfInstanceIdentifiers();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(preloadVnfInstanceTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<PreloadVnfInstanceTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVnfInstanceTopologyOperation(preloadVnfInstanceTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getVfModuleTopologyInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void preloadVfModuleTopologyOperationErrorOne() throws Exception {
- PreloadVfModuleTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVfModuleTopologyOperationInput.class);
- doReturn(null).when(preloadVnfTopologyOperationInput).getVfModuleTopologyInformation();
-
- Future<RpcResult<PreloadVfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVfModuleTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, null or empty vf-module-name or vf-module-model-id",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>preload_name = ""</code>
- * And
- * <code>preload_type = ""</code>
- *
- * @throws Exception
- */
- @Test public void preloadVfModuleTopologyOperationErrorTwo() throws Exception {
- // preload_name = ""
- vfModuleName = "";
- vfModuleModelId = "vfModuleModelId";
- PreloadVfModuleTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVfModuleTopologyOperationInput.class);
- VfModuleTopologyInformation vfModuleTopologyInformation = mock(VfModuleTopologyInformation.class);
- doReturn(vfModuleTopologyInformation).when(preloadVnfTopologyOperationInput).getVfModuleTopologyInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleIdentifiers).when(vfModuleTopologyInformation).getVfModuleIdentifiers();
-
- Future<RpcResult<PreloadVfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVfModuleTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-name",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
-
- // preload_type = ""
- vfModuleName = "vfModuleName";
- vfModuleModelId = "";
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
-
- rpcResultFuture = vnfapiProvider.preloadVfModuleTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("invalid input, invalid preload-type",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API", SVC_OPERATION, null, "sync") = false</code>
- *
- * @throws Exception
- */
- @Test public void preloadVfModuleTopologyOperationErrorThree() throws Exception {
- // preload_name = ""
- vfModuleName = "vfModuleName";
- vfModuleModelId = "vfModuleModelId";
- PreloadVfModuleTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVfModuleTopologyOperationInput.class);
- VfModuleTopologyInformation vfModuleTopologyInformation = mock(VfModuleTopologyInformation.class);
- doReturn(vfModuleTopologyInformation).when(preloadVnfTopologyOperationInput).getVfModuleTopologyInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleIdentifiers).when(vfModuleTopologyInformation).getVfModuleIdentifiers();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(preloadVnfTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
-
- Future<RpcResult<PreloadVfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVfModuleTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void preloadVfModuleTopologyOperationSuccess() throws Exception {
- // preload_name = ""
- vfModuleName = "vfModuleName";
- vfModuleModelId = "vfModuleModelId";
- PreloadVfModuleTopologyOperationInput preloadVnfTopologyOperationInput =
- mock(PreloadVfModuleTopologyOperationInput.class);
- VfModuleTopologyInformation vfModuleTopologyInformation = mock(VfModuleTopologyInformation.class);
- doReturn(vfModuleTopologyInformation).when(preloadVnfTopologyOperationInput).getVfModuleTopologyInformation();
- VfModuleIdentifiers vfModuleIdentifiers = mock(VfModuleIdentifiers.class);
- doReturn(vfModuleName).when(vfModuleIdentifiers).getVfModuleName();
- doReturn(vfModuleModelId).when(vfModuleIdentifiers).getVfModuleModelId();
- doReturn(vfModuleIdentifiers).when(vfModuleTopologyInformation).getVfModuleIdentifiers();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(preloadVnfTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<PreloadVfModuleTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadVfModuleTopologyOperation(preloadVnfTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>input.getNetworkTopologyInformation() == null</code>
- *
- * @throws Exception
- */
- @Test public void preloadNetworkTopologyOperationErrorOne() throws Exception {
- PreloadNetworkTopologyOperationInput PreloadNetworkTopologyOperationInput =
- mock(PreloadNetworkTopologyOperationInput.class);
- doReturn(null).when(PreloadNetworkTopologyOperationInput).getNetworkTopologyInformation();
-
- Future<RpcResult<PreloadNetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("input, null or empty network-name or network-type",
- rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>preload_name == ""</code>
- * ANd
- * <code>preload_type == ""ss</code>
- *
- * @throws Exception
- */
- @Test public void preloadNetworkTopologyOperationErrorTwo() throws Exception {
- String networkName = "";
- String networkType = "NetworkType";
- PreloadNetworkTopologyOperationInput PreloadNetworkTopologyOperationInput =
- mock(PreloadNetworkTopologyOperationInput.class);
- NetworkTopologyInformation networkTopologyInformation = mock(NetworkTopologyInformation.class);
- doReturn(networkTopologyInformation).when(PreloadNetworkTopologyOperationInput).getNetworkTopologyInformation();
- NetworkTopologyIdentifier networkTopologyIdentifier = mock(NetworkTopologyIdentifier.class);
- doReturn(networkTopologyIdentifier).when(networkTopologyInformation).getNetworkTopologyIdentifier();
- doReturn(networkName).when(networkTopologyIdentifier).getNetworkName();
- doReturn(networkType).when(networkTopologyIdentifier).getNetworkType();
-
- Future<RpcResult<PreloadNetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("input, invalid preload-name", rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
-
- networkName = "NetworkName";
- networkType = "";
- doReturn(networkName).when(networkTopologyIdentifier).getNetworkName();
- doReturn(networkType).when(networkTopologyIdentifier).getNetworkType();
-
- rpcResultFuture = vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("403", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("input, invalid preload-type", rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Error case:
- * <p>
- * <code>svcLogicClient.hasGraph("VNF-API",SVC_OPERATION,null,"sync" = false</code>
- *
- * @throws Exception
- */
- @Test public void preloadNetworkTopologyOperationErrorThree() throws Exception {
- String networkName = "NetworkName";
- String networkType = "NetworkType";
- PreloadNetworkTopologyOperationInput PreloadNetworkTopologyOperationInput =
- mock(PreloadNetworkTopologyOperationInput.class);
- NetworkTopologyInformation networkTopologyInformation = mock(NetworkTopologyInformation.class);
- doReturn(networkTopologyInformation).when(PreloadNetworkTopologyOperationInput).getNetworkTopologyInformation();
- NetworkTopologyIdentifier networkTopologyIdentifier = mock(NetworkTopologyIdentifier.class);
- doReturn(networkTopologyIdentifier).when(networkTopologyInformation).getNetworkTopologyIdentifier();
- doReturn(networkName).when(networkTopologyIdentifier).getNetworkName();
- doReturn(networkType).when(networkTopologyIdentifier).getNetworkType();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(PreloadNetworkTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
-
- Future<RpcResult<PreloadNetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("503", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertTrue(
- rpcResultFuture.get().getResult().getResponseMessage().contains("No service logic active for VNF-API"));
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void preloadNetworkTopologyOperationErrorFour() throws Exception {
- String networkName = "NetworkName";
- String networkType = "NetworkType";
- PreloadNetworkTopologyOperationInput PreloadNetworkTopologyOperationInput =
- mock(PreloadNetworkTopologyOperationInput.class);
- NetworkTopologyInformation networkTopologyInformation = mock(NetworkTopologyInformation.class);
- doReturn(networkTopologyInformation).when(PreloadNetworkTopologyOperationInput).getNetworkTopologyInformation();
- NetworkTopologyIdentifier networkTopologyIdentifier = mock(NetworkTopologyIdentifier.class);
- doReturn(networkTopologyIdentifier).when(networkTopologyInformation).getNetworkTopologyIdentifier();
- doReturn(networkName).when(networkTopologyIdentifier).getNetworkName();
- doReturn(networkType).when(networkTopologyIdentifier).getNetworkType();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(PreloadNetworkTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
- doReturn(null).when(dataBroker).newWriteOnlyTransaction();
-
- Future<RpcResult<PreloadNetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("500", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals("java.lang.NullPointerException", rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- /**
- * Test Success case
- *
- * @throws Exception
- */
- @Test public void preloadNetworkTopologyOperationSuccess() throws Exception {
- String networkName = "NetworkName";
- String networkType = "NetworkType";
- PreloadNetworkTopologyOperationInput PreloadNetworkTopologyOperationInput =
- mock(PreloadNetworkTopologyOperationInput.class);
- NetworkTopologyInformation networkTopologyInformation = mock(NetworkTopologyInformation.class);
- doReturn(networkTopologyInformation).when(PreloadNetworkTopologyOperationInput).getNetworkTopologyInformation();
- NetworkTopologyIdentifier networkTopologyIdentifier = mock(NetworkTopologyIdentifier.class);
- doReturn(networkTopologyIdentifier).when(networkTopologyInformation).getNetworkTopologyIdentifier();
- doReturn(networkName).when(networkTopologyIdentifier).getNetworkName();
- doReturn(networkType).when(networkTopologyIdentifier).getNetworkType();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(PreloadNetworkTopologyOperationInput).getSdncRequestHeader();
- doReturn(svcRequestId).when(sdncRequestHeader).getSvcRequestId();
- doReturn(true).when(vnfsdnSvcLogicServiceClient).hasGraph(any(), any(), any(), any());
-
- Future<RpcResult<PreloadNetworkTopologyOperationOutput>> rpcResultFuture =
- vnfapiProvider.preloadNetworkTopologyOperation(PreloadNetworkTopologyOperationInput);
-
- Assert.assertEquals("200", rpcResultFuture.get().getResult().getResponseCode());
- Assert.assertEquals(null, rpcResultFuture.get().getResult().getResponseMessage());
- Assert.assertEquals("Y", rpcResultFuture.get().getResult().getAckFinalIndicator());
- }
-
- @Test public void getVfModuleServiceData() throws Exception {
- // Three parameters: siid, vfModuleServiceDataBuilder, LogicalDatastoreType
- String ssid = "ssid";
- VfModuleServiceDataBuilder vfModuleServiceDataBuilder = spy(new VfModuleServiceDataBuilder());
- Optional<VfModuleList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
- VfModuleList vfModuleList = mock(VfModuleList.class);
- doReturn(vfModuleList).when(optional).get();
- VfModuleServiceData vfModuleServiceData = mock(VfModuleServiceData.class);
- doReturn(vfModuleServiceData).when(vfModuleList).getVfModuleServiceData();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vfModuleServiceData).getSdncRequestHeader();
-
- Whitebox.invokeMethod(vnfapiProvider, "getVfModuleServiceData", ssid, vfModuleServiceDataBuilder,
- LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(sdncRequestHeader, vfModuleServiceDataBuilder.getSdncRequestHeader());
-
- //With Two parameters: siid, vfModuleServiceDataBuilder
- Whitebox.invokeMethod(vnfapiProvider, "getVfModuleServiceData", ssid, vfModuleServiceDataBuilder);
-
- Assert.assertEquals(sdncRequestHeader, vfModuleServiceDataBuilder.getSdncRequestHeader());
- }
-
- @Test public void getPreloadData() throws Exception {
- // Four parameters:
- // String preload_name, String preload_type, PreloadDataBuilder preloadDataBuilder, LogicalDatastoreType type
- PreloadDataBuilder preloadDataBuilder = spy(new PreloadDataBuilder());
- // mock optional
- Optional<VnfPreloadList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
-
- VnfPreloadList vnfPreloadList = mock(VnfPreloadList.class);
- doReturn(vnfPreloadList).when(optional).get();
- PreloadData preloadData = mock(PreloadData.class);
- doReturn(preloadData).when(vnfPreloadList).getPreloadData();
-
- VnfTopologyInformation vnfTopologyInformation = mock(VnfTopologyInformation.class);
- doReturn(vnfTopologyInformation).when(preloadData).getVnfTopologyInformation();
-
- Whitebox.invokeMethod(vnfapiProvider, "getPreloadData", "preloadName", "preloadType", preloadDataBuilder,
- LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(vnfTopologyInformation, preloadDataBuilder.getVnfTopologyInformation());
-
- // Three parameters:
- // String preload_name, String preload_type, PreloadDataBuilder preloadDataBuilder, LogicalDatastoreType type
- Whitebox.invokeMethod(vnfapiProvider, "getPreloadData", "preloadName", "preloadType", preloadDataBuilder);
-
- Assert.assertEquals(vnfTopologyInformation, preloadDataBuilder.getVnfTopologyInformation());
- }
-
- @Test public void getVnfInstancePreloadData() throws Exception {
- // Four parameters:
- // String preload_name, String preload_type, VnfInstancePreloadDataBuilder preloadDataBuilder,
- // LogicalDatastoreType type
- VnfInstancePreloadDataBuilder vnfInstancePreloadDataBuilder = spy(new VnfInstancePreloadDataBuilder());
- // mock optional
- Optional<VnfPreloadList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
- VnfInstancePreloadList vnfInstancePreloadList = mock(VnfInstancePreloadList.class);
- doReturn(vnfInstancePreloadList).when(optional).get();
- VnfInstancePreloadData vnfInstancePreloadData = mock(VnfInstancePreloadData.class);
- doReturn(vnfInstancePreloadData).when(vnfInstancePreloadList).getVnfInstancePreloadData();
- VnfInstanceTopologyInformation vnfInstanceTopologyInformation = mock(VnfInstanceTopologyInformation.class);
- doReturn(vnfInstanceTopologyInformation).when(vnfInstancePreloadData).getVnfInstanceTopologyInformation();
-
- Whitebox.invokeMethod(vnfapiProvider, "getVnfInstancePreloadData", "preloadName", "preloadType",
- vnfInstancePreloadDataBuilder, LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(vnfInstanceTopologyInformation,
- vnfInstancePreloadDataBuilder.getVnfInstanceTopologyInformation());
-
- // Three Parameters:
- // String preload_name, String preload_type, VnfInstancePreloadDataBuilder preloadDataBuilder
- Whitebox.invokeMethod(vnfapiProvider, "getVnfInstancePreloadData", "preloadName", "preloadType",
- vnfInstancePreloadDataBuilder);
-
- Assert.assertEquals(vnfInstanceTopologyInformation,
- vnfInstancePreloadDataBuilder.getVnfInstanceTopologyInformation());
- }
-
- @Test public void getVfModulePreloadData() throws Exception {
- // Four Parameters
- // String preload_name, String preload_type, VfModulePreloadDataBuilder preloadDataBuilder,
- // LogicalDatastoreType type
- VfModulePreloadDataBuilder vfModulePreloadDataBuilder = spy(new VfModulePreloadDataBuilder());
- // mock optional
- Optional<VfModulePreloadList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
- VfModulePreloadList vfModulePreloadList = mock(VfModulePreloadList.class);
- doReturn(vfModulePreloadList).when(optional).get();
- VfModulePreloadData vfModulePreloadData = mock(VfModulePreloadData.class);
- doReturn(vfModulePreloadData).when(vfModulePreloadList).getVfModulePreloadData();
- VfModuleTopologyInformation vfModuleTopologyInformation = mock(VfModuleTopologyInformation.class);
- doReturn(vfModuleTopologyInformation).when(vfModulePreloadData).getVfModuleTopologyInformation();
-
- Whitebox.invokeMethod(vnfapiProvider, "getVfModulePreloadData", "preloadName", "preloadType",
- vfModulePreloadDataBuilder, LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(vfModuleTopologyInformation, vfModulePreloadDataBuilder.getVfModuleTopologyInformation());
-
- // Three Parameters:
- // String vnf_name, String vnf_type, VfModulePreloadDataBuilder preloadDataBuilder
- Whitebox.invokeMethod(vnfapiProvider, "getVfModulePreloadData", "preloadName", "preloadType",
- vfModulePreloadDataBuilder);
-
- Assert.assertEquals(vfModuleTopologyInformation, vfModulePreloadDataBuilder.getVfModuleTopologyInformation());
- }
-
- /**
- * With ServiceStatusBuilder, RequestInformation
- */
- @Test public void setServiceStatusOne() throws Exception {
- // VNFActivateRequest
- RequestInformation requestInformation = mock(RequestInformation.class);
- ServiceStatusBuilder serviceStatusBuilder = spy(new ServiceStatusBuilder());
- doReturn(RequestInformation.RequestAction.VNFActivateRequest).when(requestInformation).getRequestAction();
- doReturn(RequestInformation.RequestSubAction.SUPP).when(requestInformation).getRequestSubAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.VNFActivateRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //ChangeVNFActivateRequest
- doReturn(RequestInformation.RequestAction.ChangeVNFActivateRequest).when(requestInformation).getRequestAction();
- doReturn(RequestInformation.RequestSubAction.CANCEL).when(requestInformation).getRequestSubAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert
- .assertEquals(ServiceStatus.VnfsdnAction.ChangeVNFActivateRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //DisconnectVNFRequest
- doReturn(RequestInformation.RequestAction.DisconnectVNFRequest).when(requestInformation).getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.DisconnectVNFRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //PreloadVNFRequest
- doReturn(RequestInformation.RequestAction.PreloadVNFRequest).when(requestInformation).getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.PreloadVNFRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //DeletePreloadVNFRequest
- doReturn(RequestInformation.RequestAction.DeletePreloadVNFRequest).when(requestInformation).getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.DeletePreloadVNFRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //VnfInstanceActivateRequest
- doReturn(RequestInformation.RequestAction.VnfInstanceActivateRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.VnfInstanceActivateRequest,
- serviceStatusBuilder.getVnfsdnAction());
-
- //ChangeVnfInstanceActivateRequest
- doReturn(RequestInformation.RequestAction.ChangeVnfInstanceActivateRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.ChangeVnfInstanceActivateRequest,
- serviceStatusBuilder.getVnfsdnAction());
-
- //DisconnectVnfInstanceRequest
- doReturn(RequestInformation.RequestAction.DisconnectVnfInstanceRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.DisconnectVnfInstanceRequest,
- serviceStatusBuilder.getVnfsdnAction());
-
- //PreloadVnfInstanceRequest
- doReturn(RequestInformation.RequestAction.PreloadVnfInstanceRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert
- .assertEquals(ServiceStatus.VnfsdnAction.PreloadVnfInstanceRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //VfModuleActivateRequest
- doReturn(RequestInformation.RequestAction.VfModuleActivateRequest).when(requestInformation).getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.VfModuleActivateRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //ChangeVfModuleActivateRequest
- doReturn(RequestInformation.RequestAction.ChangeVfModuleActivateRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.ChangeVfModuleActivateRequest,
- serviceStatusBuilder.getVnfsdnAction());
-
- //DisconnectVfModuleRequest
- doReturn(RequestInformation.RequestAction.DisconnectVfModuleRequest).when(requestInformation)
- .getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert
- .assertEquals(ServiceStatus.VnfsdnAction.DisconnectVfModuleRequest, serviceStatusBuilder.getVnfsdnAction());
-
- //PreloadVfModuleRequest
- doReturn(RequestInformation.RequestAction.PreloadVfModuleRequest).when(requestInformation).getRequestAction();
- Whitebox.invokeMethod(vnfapiProvider, "setServiceStatus", serviceStatusBuilder, requestInformation);
- Assert.assertEquals(ServiceStatus.VnfsdnAction.PreloadVfModuleRequest, serviceStatusBuilder.getVnfsdnAction());
- }
-
- @Test public void getServiceData() throws Exception {
- ServiceDataBuilder serviceDataBuilder = spy(new ServiceDataBuilder());
- // mock optional
- Optional<VnfList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
- VnfList vnfList = mock(VnfList.class);
- doReturn(vnfList).when(optional).get();
- ServiceData serviceData = mock(ServiceData.class);
- doReturn(serviceData).when(vnfList).getServiceData();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(serviceData).getSdncRequestHeader();
-
- Whitebox.invokeMethod(vnfapiProvider, "getServiceData", "siid", serviceDataBuilder,
- LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(sdncRequestHeader, serviceDataBuilder.getSdncRequestHeader());
- }
-
- @Test public void getVnfInstanceServiceData() throws Exception {
- VnfInstanceServiceDataBuilder vnfInstanceServiceDataBuilder = spy(new VnfInstanceServiceDataBuilder());
- // mock optional
- Optional<VnfList> optional = mock(Optional.class);
- doReturn(optional).when(checkedFuture).get();
- doReturn(true).when(optional).isPresent();
- VnfInstanceList vnfInstanceList = mock(VnfInstanceList.class);
- doReturn(vnfInstanceList).when(optional).get();
- VnfInstanceServiceData vnfInstanceServiceData = mock(VnfInstanceServiceData.class);
- doReturn(vnfInstanceServiceData).when(vnfInstanceList).getVnfInstanceServiceData();
- SdncRequestHeader sdncRequestHeader = mock(SdncRequestHeader.class);
- doReturn(sdncRequestHeader).when(vnfInstanceServiceData).getSdncRequestHeader();
-
- Whitebox.invokeMethod(vnfapiProvider, "getVnfInstanceServiceData", "siid", vnfInstanceServiceDataBuilder,
- LogicalDatastoreType.CONFIGURATION);
-
- Assert.assertEquals(sdncRequestHeader, vnfInstanceServiceDataBuilder.getSdncRequestHeader());
- }
-
- @Test public void DeleteVnfList() throws Exception {
- LogicalDatastoreType configuration = LogicalDatastoreType.CONFIGURATION;
- VnfList vnfList = mock(VnfList.class);
- VnfListKey vnfListKey = mock(VnfListKey.class);
- doReturn(vnfListKey).when(vnfList).key();
- InstanceIdentifier<VnfList> vnfListInstanceIdentifier = mock(InstanceIdentifier.class);
- dataBroker.newWriteOnlyTransaction().put(configuration, vnfListInstanceIdentifier, vnfList);
-
- Whitebox.invokeMethod(vnfapiProvider, "DeleteVnfList", vnfList, configuration);
-
- verify(dataBroker, times(2)).newWriteOnlyTransaction();
- }
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/DataBrokerUtil.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/DataBrokerUtil.java
deleted file mode 100644
index 352e9404..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/DataBrokerUtil.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi.util;
-
-import com.google.common.base.Optional;
-import com.google.common.util.concurrent.CheckedFuture;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction;
-import org.opendaylight.controller.md.sal.binding.api.WriteTransaction;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
-import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.Vnfs;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfList;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListKey;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-
-
-/**
- * This util class provides utility to read and write {@link VnfList} data objects from the {@link DataBroker}
- *
- */
-public class DataBrokerUtil {
-
-
- private final DataBroker dataBroker;
-
- public DataBrokerUtil(DataBroker dataBroker) {
- this.dataBroker = dataBroker;
- }
-
- /** @return VnfList - the VnfList object read from the DataBroker or null if none was found */
- public VnfList read(String VnfListKey, LogicalDatastoreType logicalDatastoreType) throws Exception {
- InstanceIdentifier VnfListInstanceIdentifier = InstanceIdentifier.<Vnfs>builder(Vnfs.class)
- .child(VnfList.class, new VnfListKey(VnfListKey)).build();
- ReadOnlyTransaction readTx = dataBroker.newReadOnlyTransaction();
- Optional<VnfList> data = (Optional<VnfList>) readTx.read(logicalDatastoreType, VnfListInstanceIdentifier).get();
- if(!data.isPresent()){
- return null;
- }
- return data.get();
- }
-
-
- /**
- * Write the {@link VnfList} object to the {@link DataBroker}
- * @param isReplace - false specifies the new data is to be merged into existing data, where as true cause the
- * existing data to be replaced.
- * @param VnfList - the {@link VnfList} data object to be presisted in the db.
- * @param logicalDatastoreType - The logicalDatastoreType
- */
- public void write(boolean isReplace,VnfList VnfList, LogicalDatastoreType logicalDatastoreType) throws Exception {
- // Each entry will be identifiable by a unique key, we have to create that
- // identifier
- InstanceIdentifier.InstanceIdentifierBuilder<VnfList> VnfListBuilder = InstanceIdentifier
- .<Vnfs>builder(Vnfs.class).child(VnfList.class, VnfList.key());
- InstanceIdentifier<VnfList> path = VnfListBuilder.build();
-
- WriteTransaction tx = dataBroker.newWriteOnlyTransaction();
- if (!isReplace) {
- tx.merge(logicalDatastoreType, path, VnfList);
- } else {
- tx.put(logicalDatastoreType, path, VnfList);
- }
- CheckedFuture<Void,TransactionCommitFailedException> cf = tx.submit();
- cf.checkedGet();
-
- }
-
-
-
-
-
-
-
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/MDSALUtil.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/MDSALUtil.java
deleted file mode 100644
index b28139c7..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/MDSALUtil.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi.util;
-
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationInputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.VnfTopologyOperationOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.sdnc.request.header.SdncRequestHeaderBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.information.ServiceInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.information.VnfInformationBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.model.infrastructure.VnfListBuilder;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.vnf.request.information.VnfRequestInformationBuilder;
-import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-
-import java.util.concurrent.Future;
-import java.util.function.Consumer;
-import java.util.function.Function;
-
-
-/**
- * This uill class provides utility to build yang objects using a recursive syntax that resembles the tree structure
- * when defining the same yang object in json format.
- *
- * For Example
- * <pre>
- * {@code
- * import static org.onap.sdnc.northbound.util.MDSALUtil.*;
- * VnfTopologyOperationInput input = build(vnfTopologyOperationInput()
- * .setServiceInformation(
- * build(serviceInformation()
- * .setServiceId("serviceId: xyz")
- * .setServiceInstanceId("serviceInstanceId: xyz")
- * .setServiceType("serviceType: xyz")
- * .setSubscriberName("subscriberName: xyz")
- * )
- * )
- * .setVnfRequestInformation(
- * build(vnfRequestInformation()
- * .setVnfId("vnfId: xyz")
- * .setVnfName("vnfName: xyz")//defect if missing
- * .setVnfType("vnfType: xyz")//defect if missing
- * )
- * )
- * .setSdncRequestHeader(
- * build(sdncRequestHeader()
- * .setSvcAction(SvcAction.Delete)
- * )
- * )
- * );
- * );
- * }
- * </pre>
- */
-public class MDSALUtil {
-
- public static VnfTopologyOperationInputBuilder vnfTopologyOperationInput(){return new VnfTopologyOperationInputBuilder();}
- public static VnfTopologyOperationOutputBuilder vnfTopologyOperationOutput(){return new VnfTopologyOperationOutputBuilder();}
-
- public static ServiceInformationBuilder serviceInformation(){return new ServiceInformationBuilder();}
- public static VnfRequestInformationBuilder vnfRequestInformation(){return new VnfRequestInformationBuilder();}
- public static VnfListBuilder vnfList(){return new VnfListBuilder();}
- public static ServiceDataBuilder serviceData() { return new ServiceDataBuilder();}
- public static SdncRequestHeaderBuilder sdncRequestHeader(){return new SdncRequestHeaderBuilder();}
- public static VnfInformationBuilder vnfInformation(){return new VnfInformationBuilder();}
-
-
- public static <P> P build(Builder<P> b) {
- return b == null? null :b.build();
- }
-
- public static <P,B extends Builder<P>> P build(Function<P,B> builderConstructor,P sourceDataObject){
- if(sourceDataObject == null){
- return null;
- }
- B bp = builderConstructor.apply(sourceDataObject);
- return bp.build();
- }
-
- public static <P,B extends Builder<P>> P build(Function<P,B> builderConstructor,P sourceDataObject,Consumer<B> builder){
- if(sourceDataObject == null){
- return null;
- }
- B bp = builderConstructor.apply(sourceDataObject);
- builder.accept(bp);
- return bp.build();
- }
-
- public static <I,O> O exec(Function<I,Future<RpcResult<O>>> rpc,I rpcParameter,Function<RpcResult<O>,O> rpcResult) throws Exception {
- Future<RpcResult<O>> future = rpc.apply(rpcParameter);
- return rpcResult.apply(future.get());
- }
-
-}
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/PropBuilder.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/PropBuilder.java
deleted file mode 100644
index 6ecc94c8..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/PropBuilder.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi.util;
-
-import org.opendaylight.yangtools.concepts.Builder;
-
-import java.util.Properties;
-
-/**
- * A Util class that adds method chaining to the {@link #set(String, String)} to reducing the syntax needed to populate
- * {@link Properties}
- */
-public class PropBuilder implements Builder<Properties> {
-
-
- final Properties prop;
-
- public PropBuilder(Properties prop) {
- this.prop = prop;
- }
-
- public PropBuilder() {
- this.prop = new Properties();
- }
-
- public Properties build(){
- return prop;
- }
-
- public PropBuilder set(String key, String value) {
- prop.setProperty(key, value);
- return this;
- }
-
- public String get(String key) {
- return prop.getProperty(key);
- }
-
-
- public static PropBuilder propBuilder(){
- return (new PropBuilder());
- }
-} \ No newline at end of file
diff --git a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/VNFSDNSvcLogicServiceClientMockUtil.java b/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/VNFSDNSvcLogicServiceClientMockUtil.java
deleted file mode 100644
index d4d94ca8..00000000
--- a/vnfapi/provider/src/test/java/org/onap/sdnc/vnfapi/util/VNFSDNSvcLogicServiceClientMockUtil.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * openECOMP : SDN-C
- * ================================================================================
- * 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.sdnc.vnfapi.util;
-
-import org.onap.sdnc.vnfapi.VNFSDNSvcLogicServiceClient;
-import org.opendaylight.yang.gen.v1.org.onap.sdnctl.vnf.rev150720.service.data.ServiceDataBuilder;
-
-import java.util.Properties;
-
-import static org.mockito.Mockito.eq;
-import static org.mockito.Mockito.isA;
-import static org.mockito.Mockito.when;
-import static org.onap.sdnc.vnfapi.util.MDSALUtil.build;
-import static org.onap.sdnc.vnfapi.util.PropBuilder.propBuilder;
-
-
-/**
- * VNFSDNSvcLogicServiceClientMockUtil provides a set of util methods for quickly configuring method
- * behaviour on the Mock VNFSDNSvcLogicServiceClient
- */
-public class VNFSDNSvcLogicServiceClientMockUtil {
-
-
- private final String MODULE = "VNF-API";
- private final String MODE = "sync";
- private final String VERSION = null;
- private String scvOperation = null;
-
-
- public final String errorCode = "error-code";
- public final String errorMessage = "error-message";
- public final String ackFinal = "ack-final";
- public final String serviceObjectPath = "service-object-path";
- public final String networkObjectPath = "network-object-path";
- public final String networkId = "networkId";
-
-
- private final VNFSDNSvcLogicServiceClient mockVNFSDNSvcLogicServiceClient;
-
-
-
- public VNFSDNSvcLogicServiceClientMockUtil(VNFSDNSvcLogicServiceClient mockVNFSDNSvcLogicServiceClient) {
- this.mockVNFSDNSvcLogicServiceClient = mockVNFSDNSvcLogicServiceClient;
- }
-
-
- /** @param scvOperation - The scvOperation parameter to use on the {@link VNFSDNSvcLogicServiceClient} methods */
- public void setScvOperation(String scvOperation) {
- this.scvOperation = scvOperation;
- }
-
- /**
- * Configure {@link VNFSDNSvcLogicServiceClient#hasGraph(String, String, String, String)}
- * to return the specified value when when invoked with the parameters
- * {@link #MODULE}, {@link #MODE}, {@link #VERSION} and {@link #scvOperation}
- */
- public void mockHasGraph(Boolean isHasGraph) throws Exception {
- when(
- mockVNFSDNSvcLogicServiceClient
- .hasGraph(
- eq(MODULE),
- eq(scvOperation),
- eq(VERSION),
- eq(MODE)
- )
- )
- .thenReturn(isHasGraph);
- }
-
-
- /**
- * @return
- * PropBuilder - A PropBuilder populated with the expected properties returned from
- * {@link VNFSDNSvcLogicServiceClient#execute(String, String, String, String, ServiceDataBuilder, Properties)}
- */
- public PropBuilder createExecuteOKResult(){
- return propBuilder()
- .set(errorCode,"200")
- .set(errorMessage,"OK")
- .set(ackFinal,"Y")
- .set(serviceObjectPath,"serviceObjectPath: XYZ")
- .set(networkObjectPath,"networkObjectPath: XYZ")
- .set(networkId,"networkId: XYZ");
-
- }
-
-
- /**
- * Configure
- * {@link VNFSDNSvcLogicServiceClient#execute(String, String, String, String, ServiceDataBuilder, Properties)}
- * to return the specified svcResultProp when when invoked with the parameters
- * {@link #MODULE}, {@link #MODE}, {@link #VERSION} and {@link #scvOperation}
- */
- public void mockExecute(PropBuilder svcResultProp) throws Exception{
- when(
- mockVNFSDNSvcLogicServiceClient
- .execute(
- eq(MODULE),
- eq(scvOperation),
- eq(VERSION),
- eq(MODE),
- isA(ServiceDataBuilder.class),
- isA(Properties.class)
- )
- )
- .thenReturn(build(
- svcResultProp
- ));
- }
-
-}
diff --git a/vnfapi/provider/src/test/resources/proplist.properties b/vnfapi/provider/src/test/resources/proplist.properties
deleted file mode 100644
index 556de910..00000000
--- a/vnfapi/provider/src/test/resources/proplist.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# 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=========================================================
-###
-
-proplist.aptFile = target/properties.apt
diff --git a/vnfapi/provider/src/test/resources/simplelogger.properties b/vnfapi/provider/src/test/resources/simplelogger.properties
deleted file mode 100644
index 14ffcca0..00000000
--- a/vnfapi/provider/src/test/resources/simplelogger.properties
+++ /dev/null
@@ -1,23 +0,0 @@
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# 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=========================================================
-###
-
-org.slf4j.simpleLogger.defaultLogLevel=info
-org.slf4j.simplelogger.log.org.onap.sdnc.vnfapi.VnfApiProvider=debug