-
-nsd-catalog:
- schema-version: "v3.0"
- nsd:
- - id: {{ name }}_nsd
- name: {{ name }}_nsd
- short-name: {{ name }}_nsd
- vendor: {{ vendor }}
- description: Generated by OSM package generator
- version: '1.0'
- {%- if detailed is sameas true %}
-
- # Place the logo as png in icons directory and provide the name here
- # logo: <update, optional> Example: icons/logo.png
- {%- endif %}
-
- # Specify the VNFDs that are part of this NSD
- constituent-vnfd:
- # The member-vnf-index needs to be unique, starting from 1
- # vnfd-id-ref is the id of the VNFD
- # Multiple constituent VNFDs can be specified
- - member-vnf-index: "1"
- vnfd-id-ref: {{ name }}_vnfd
- {%- if detailed is sameas true %}
- # start-by-default: True
- {%- endif %}
-
- # Networks for the VNFs
- vld:
- - id: {{ name }}_nsd_vld0
- name: mgmt
- short-name: mgmt
- type: ELAN
- mgmt-network: true
- {%- if detailed is sameas true %}
- # description: <update>
- # vim-network-name: <update> Name of network in VIM account
- # ip-profile-ref: <update> Name of reference of IP profile object
- # provider-network:
- # physical-network: <update> Name of the physical network on which provider network is built
- # segmentation_id: <update> ID of segregated virtual network
- {%- endif %}
-
- # 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
- vnfd-connection-point-ref:
- - member-vnf-index-ref: "1"
- vnfd-id-ref: {{ name }}_vnfd
- # NOTE: Validate the entry below
- vnfd-connection-point-ref: vnf-cp0
- {%- if detailed is sameas true %}
- # ip-address: <update> IP address of the connection point
- {%- endif %}
-
- {%- for x in range(1, interfaces + 1 ) %}
- - member-vnf-index-ref: "1"
- vnfd-id-ref: {{ name }}_vnfd
- # NOTE: Validate the entry below
- vnfd-connection-point-ref: vnf-cp{{ x }}
- {%- if detailed is sameas true %}
- # ip-address: <update> IP address of the connection point
- {%- endif %}
- {%- endfor %}
-