X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Fgenerate_descriptor_pkg.sh;h=e19085d5a9b7352aee85e7cf5f19d3d92cd250e8;hb=89c5ea04c91b206a1354a4aedf1cb7b6aa44b92a;hp=ae0d7e106061473945bcd9d710ce06898ebb309e;hpb=14060ca02ef5d41f41e9a84916a0e06ec31a80bd;p=osm%2Fdevops.git diff --git a/src/generate_descriptor_pkg.sh b/src/generate_descriptor_pkg.sh index ae0d7e10..e19085d5 100755 --- a/src/generate_descriptor_pkg.sh +++ b/src/generate_descriptor_pkg.sh @@ -65,8 +65,7 @@ INTF_TYPE='VIRTIO' VCPU=2 MEMORY=4096 STORAGE=10 -CLOUD_INIT='#cloud-config ' -INTERFACES=1 +INTERFACES=2 function usage() { cat <>$desc_file <>$desc_file <>$desc_file <>$desc_file < + # provider-network: + # overlay-type: VLAN + # segmentation_id: + vnfd-connection-point-ref: + # Specify the constituent VNFs + # member-vnf-index-ref - entry from constituent vnf + # vnfd-id-ref - VNFD id + # vnfd-connection-point-ref - connection point name in the VNFD + - nsd:member-vnf-index-ref: 1 + nsd:vnfd-id-ref: ${vnfd} + # NOTE: Validate the entry below + nsd:vnfd-connection-point-ref: eth0 +EOF + + # Add rest of VLDs + for i in `seq 2 ${INTERFACES}`; do eth=$(($i - 1)) cat >>$desc_file < # provider-network: # overlay-type: VLAN - # physical-network: # segmentation_id: vnfd-connection-point-ref: # Specify the constituent VNFs