Update ping/pong example for R3 89/5589/1
authorAdam Israel <adam.israel@canonical.com>
Mon, 16 Oct 2017 18:54:59 +0000 (14:54 -0400)
committerAdam Israel <adam.israel@canonical.com>
Mon, 16 Oct 2017 18:54:59 +0000 (14:54 -0400)
This updates the descriptors for the ping/pong example to work with
Release THREE:
- Removing unused element(s)
- Renaming service-primitive to config-primitive
- Defaulting to a vim-network-name of mgmt for the mangement network

Signed-off-by: Adam Israel <adam.israel@canonical.com>
descriptor-packages/nsd/ping_pong_ns/src/ping_pong_nsd.yaml
descriptor-packages/vnfd/ping_vnf/src/ping_vnfd.yaml
descriptor-packages/vnfd/pong_vnf/src/pong_vnfd.yaml

index 347c78e..ec13b26 100644 (file)
@@ -74,6 +74,7 @@ nsd:nsd-catalog:
             description: Management VL
             name: mgmt_vl
             short-name: mgmt_vl
+            vim-network-name: mgmt
             type: ELAN
             vendor: RIFT.io
             version: '1.0'
index 8aa7817..f51012d 100644 (file)
@@ -31,7 +31,6 @@ vnfd:vnfd-catalog:
             type: VPORT
         http-endpoint:
         -   path: api/v1/ping/stats
-            polling_interval_secs: '2'
             port: '18888'
         mgmt-interface:
             dashboard-params:
@@ -50,11 +49,13 @@ vnfd:vnfd-catalog:
             count: '1'
             interface:
             -   name: eth0
+                position: 0
                 type: EXTERNAL
                 virtual-interface:
                     type: VIRTIO
                 external-connection-point-ref: ping_vnfd/cp0
             -   name: eth1
+                position: 1
                 type: EXTERNAL
                 virtual-interface:
                     type: VIRTIO
@@ -67,7 +68,7 @@ vnfd:vnfd-catalog:
                 storage-gb: '4'
                 vcpu-count: '1'
         vnf-configuration:
-            service-primitive:
+            config-primitive:
             -   name: start
             -   name: stop
             -   name: restart
index 33082f1..4c49888 100644 (file)
@@ -31,7 +31,6 @@ vnfd:vnfd-catalog:
             type: VPORT
         http-endpoint:
         -   path: api/v1/pong/stats
-            polling_interval_secs: '2'
             port: '18889'
         mgmt-interface:
             dashboard-params:
@@ -50,11 +49,13 @@ vnfd:vnfd-catalog:
             count: '1'
             interface:
             -   name: eth0
+                position: 0
                 type: EXTERNAL
                 virtual-interface:
                     type: VIRTIO
                 external-connection-point-ref: pong_vnfd/cp0
             -   name: eth1
+                position: 1
                 type: EXTERNAL
                 virtual-interface:
                     type: VIRTIO
@@ -67,7 +68,7 @@ vnfd:vnfd-catalog:
                 storage-gb: '4'
                 vcpu-count: '1'
         vnf-configuration:
-            service-primitive:
+            config-primitive:
             -   name: start
             -   name: stop
             -   name: restart