diff options
Diffstat (limited to 'vnfs')
-rw-r--r-- | vnfs/VES/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/VES5.0/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/VESreporting_vFW/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/VESreporting_vFW5.0/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/VESreporting_vLB/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/VESreporting_vLB5.0/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/honeycomb_plugin/sample_plugin/parent-pom/pom.xml | 2 | ||||
-rwxr-xr-x | vnfs/honeycomb_plugin/sample_plugin/sample-distribution/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vCPE/kea-sdnc-notify-mod/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vCPE/scripts/inPlaceSoftwareUpgrade_vGW.sh | 49 | ||||
-rw-r--r-- | vnfs/vFW/pg_streams/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vLB/DNSClient/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vLB/DNSManager/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vLB/dns_streams/pom.xml | 2 | ||||
-rw-r--r-- | vnfs/vLBMS/scripts/v_dns_install.sh | 2 | ||||
-rw-r--r-- | vnfs/vLBMS/scripts/v_lb_install.sh | 2 | ||||
-rw-r--r-- | vnfs/vLBMS/scripts/v_packetgen_install.sh | 2 |
17 files changed, 65 insertions, 16 deletions
diff --git a/vnfs/VES/pom.xml b/vnfs/VES/pom.xml index fc3f90bd..f3c1cd2c 100644 --- a/vnfs/VES/pom.xml +++ b/vnfs/VES/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/VES5.0/pom.xml b/vnfs/VES5.0/pom.xml index 4b150e9c..79d99e9a 100644 --- a/vnfs/VES5.0/pom.xml +++ b/vnfs/VES5.0/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/VESreporting_vFW/pom.xml b/vnfs/VESreporting_vFW/pom.xml index 113319bf..d46fac10 100644 --- a/vnfs/VESreporting_vFW/pom.xml +++ b/vnfs/VESreporting_vFW/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/VESreporting_vFW5.0/pom.xml b/vnfs/VESreporting_vFW5.0/pom.xml index 216ad3a5..9630b415 100644 --- a/vnfs/VESreporting_vFW5.0/pom.xml +++ b/vnfs/VESreporting_vFW5.0/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/VESreporting_vLB/pom.xml b/vnfs/VESreporting_vLB/pom.xml index d9ffd0d8..cca13ad2 100644 --- a/vnfs/VESreporting_vLB/pom.xml +++ b/vnfs/VESreporting_vLB/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/VESreporting_vLB5.0/pom.xml b/vnfs/VESreporting_vLB5.0/pom.xml index cd2f77d2..22c1659c 100644 --- a/vnfs/VESreporting_vLB5.0/pom.xml +++ b/vnfs/VESreporting_vLB5.0/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../pom.xml</relativePath> </parent> diff --git a/vnfs/honeycomb_plugin/sample_plugin/parent-pom/pom.xml b/vnfs/honeycomb_plugin/sample_plugin/parent-pom/pom.xml index c561dcae..1c7e8a24 100644 --- a/vnfs/honeycomb_plugin/sample_plugin/parent-pom/pom.xml +++ b/vnfs/honeycomb_plugin/sample_plugin/parent-pom/pom.xml @@ -26,7 +26,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../../pom.xml</relativePath> </parent> diff --git a/vnfs/honeycomb_plugin/sample_plugin/sample-distribution/pom.xml b/vnfs/honeycomb_plugin/sample_plugin/sample-distribution/pom.xml index 3bfe58bc..ee901a44 100755 --- a/vnfs/honeycomb_plugin/sample_plugin/sample-distribution/pom.xml +++ b/vnfs/honeycomb_plugin/sample_plugin/sample-distribution/pom.xml @@ -10,7 +10,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>hc-onap</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../parent-pom/pom.xml</relativePath> </parent> diff --git a/vnfs/vCPE/kea-sdnc-notify-mod/pom.xml b/vnfs/vCPE/kea-sdnc-notify-mod/pom.xml index ea86f7ba..8c3d452f 100644 --- a/vnfs/vCPE/kea-sdnc-notify-mod/pom.xml +++ b/vnfs/vCPE/kea-sdnc-notify-mod/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../pom.xml</relativePath> </parent> diff --git a/vnfs/vCPE/scripts/inPlaceSoftwareUpgrade_vGW.sh b/vnfs/vCPE/scripts/inPlaceSoftwareUpgrade_vGW.sh new file mode 100644 index 00000000..6b71b533 --- /dev/null +++ b/vnfs/vCPE/scripts/inPlaceSoftwareUpgrade_vGW.sh @@ -0,0 +1,49 @@ +root@onap-so:~# cat /root/inPlaceSoftwareUpgrade_vGW.sh +#!/bin/bash + +tmp=/tmp/send$$ +trap "rm -f $tmp.*; exit 1" 0 1 2 15 + +user="InfraPortalClient:password1$" +serviceInstance="a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb" +vnf="1ae8197f-8496-41e1-9695-dce9fd77315a" +apiVer=v6 + +url="http://localhost:8080/ecomp/mso/infra/serviceInstances/$apiVer/$serviceInstance/vnfs/$vnf/inPlaceSoftwareUpdate" + +( +cat << 'XEOF' +{ + "requestDetails": { + "requestInfo": { + "source": "VID", + "suppressRollback": false, + "requestorId": "ek1439" + }, + "cloudConfiguration": { + "tenantId": "d570c718cbc545029f40e50b75eb13df", + "lcpCloudRegionId": "RegionOne" + }, + "requestParameters": { + "payload": "{\"existing-software-version\": \"3.1\",\"new-software-version\": \"3.2\", \"operations-timeout\": \"3600\"}", + "controllerType": "sdnc" + } + }, + "serviceInstanceId": "$serviceInstance", + "vnfInstanceId": "$vnf" +} + +XEOF +) > $tmp.content || exit 1 + +# Enabling debug logging for API-Handler-Infra . . . +curl -o /dev/null -w '%{http_code}' --user 'MSOClient:password1$' 'http://mso:8080/ecomp/mso/infra/logging/debug?enable=true' + +# Enabling debug logging for BPMN . . . +curl -o /dev/null -w '%{http_code}' 'http://mso:8080/mso/logging/debug?enable=true' + +# Enabling debug logging for SDNC-Adapter . . . +curl -o /dev/null -w '%{http_code}' --user 'MSOClient:password1$' 'http://mso:8080/adapters/rest/logging/debug?enable=true' + +# Send the request +curl -v -X POST -d @$tmp.content --user "$user" "$url" --header "Content-Type:application/json" diff --git a/vnfs/vFW/pg_streams/pom.xml b/vnfs/vFW/pg_streams/pom.xml index b6fd63ea..08813883 100644 --- a/vnfs/vFW/pg_streams/pom.xml +++ b/vnfs/vFW/pg_streams/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../pom.xml</relativePath> </parent> diff --git a/vnfs/vLB/DNSClient/pom.xml b/vnfs/vLB/DNSClient/pom.xml index fe2eec10..8f083eb8 100644 --- a/vnfs/vLB/DNSClient/pom.xml +++ b/vnfs/vLB/DNSClient/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../pom.xml</relativePath> </parent> diff --git a/vnfs/vLB/DNSManager/pom.xml b/vnfs/vLB/DNSManager/pom.xml index 3cace651..609a7896 100644 --- a/vnfs/vLB/DNSManager/pom.xml +++ b/vnfs/vLB/DNSManager/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../pom.xml</relativePath> </parent> diff --git a/vnfs/vLB/dns_streams/pom.xml b/vnfs/vLB/dns_streams/pom.xml index fee77924..5d2f56db 100644 --- a/vnfs/vLB/dns_streams/pom.xml +++ b/vnfs/vLB/dns_streams/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.onap.demo.vnf</groupId> <artifactId>demo-aggregator</artifactId> - <version>1.2.1-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> <relativePath>../../../pom.xml</relativePath> </parent> diff --git a/vnfs/vLBMS/scripts/v_dns_install.sh b/vnfs/vLBMS/scripts/v_dns_install.sh index f4c9fbce..ae56a9b8 100644 --- a/vnfs/vLBMS/scripts/v_dns_install.sh +++ b/vnfs/vLBMS/scripts/v_dns_install.sh @@ -69,7 +69,7 @@ cd honeycomb-api git remote add origin https://gerrit.onap.org/r/p/demo.git git config core.sparsecheckout true echo "vnfs/vLBMS/apis" >> .git/info/sparse-checkout -git pull --depth=1 origin master +git pull --depth=1 origin beijing mkdir ~/.m2 cat > ~/.m2/settings.xml << EOF diff --git a/vnfs/vLBMS/scripts/v_lb_install.sh b/vnfs/vLBMS/scripts/v_lb_install.sh index 50678c7c..e81bf10f 100644 --- a/vnfs/vLBMS/scripts/v_lb_install.sh +++ b/vnfs/vLBMS/scripts/v_lb_install.sh @@ -84,7 +84,7 @@ cd honeycomb-api git remote add origin https://gerrit.onap.org/r/p/demo.git git config core.sparsecheckout true echo "vnfs/vLBMS/apis" >> .git/info/sparse-checkout -git pull --depth=1 origin master +git pull --depth=1 origin beijing mkdir ~/.m2 cat > ~/.m2/settings.xml << EOF diff --git a/vnfs/vLBMS/scripts/v_packetgen_install.sh b/vnfs/vLBMS/scripts/v_packetgen_install.sh index 4127822e..e4b4cbf6 100644 --- a/vnfs/vLBMS/scripts/v_packetgen_install.sh +++ b/vnfs/vLBMS/scripts/v_packetgen_install.sh @@ -73,7 +73,7 @@ cd honeycomb-api git remote add origin https://gerrit.onap.org/r/p/demo.git git config core.sparsecheckout true echo "vnfs/vLBMS/apis" >> .git/info/sparse-checkout -git pull --depth=1 origin master +git pull --depth=1 origin beijing mkdir ~/.m2 cat > ~/.m2/settings.xml << EOF |