1 # Copyright 2021 ETSI OSM
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may
6 # not use this file except in compliance with the License. You may obtain
7 # a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 # License for the specific language governing permissions and limitations
18 schema-version: "v3.0"
22 short-name: {{ name }}_nsd
24 description: Generated by OSM package generator
26 {%- if detailed is sameas true %}
28 # Place the logo as png in icons directory and provide the name here
29 # logo: <update, optional> Example: icons/logo.png
32 # Specify the VNFDs that are part of this NSD
34 # The member-vnf-index needs to be unique, starting from 1
35 # vnfd-id-ref is the id of the VNFD
36 # Multiple constituent VNFDs can be specified
37 - member-vnf-index: "1"
38 vnfd-id-ref: {{ name }}_vnfd
39 {%- if detailed is sameas true %}
40 # start-by-default: True
43 # Networks for the VNFs
45 - id: {{ name }}_nsd_vld0
50 {%- if detailed is sameas true %}
51 # description: <update>
52 # vim-network-name: <update> Name of network in VIM account
53 # ip-profile-ref: <update> Name of reference of IP profile object
55 # physical-network: <update> Name of the physical network on which provider network is built
56 # segmentation_id: <update> ID of segregated virtual network
59 # Specify the constituent VNFs
60 # member-vnf-index-ref - entry from constituent vnf
61 # vnfd-id-ref - VNFD id
62 # vnfd-connection-point-ref - connection point name in the VNFD
63 vnfd-connection-point-ref:
64 - member-vnf-index-ref: "1"
65 vnfd-id-ref: {{ name }}_vnfd
66 # NOTE: Validate the entry below
67 vnfd-connection-point-ref: vnf-cp0
68 {%- if detailed is sameas true %}
69 # ip-address: <update> IP address of the connection point
72 {%- for x in range(1, interfaces + 1 ) %}
73 - member-vnf-index-ref: "1"
74 vnfd-id-ref: {{ name }}_vnfd
75 # NOTE: Validate the entry below
76 vnfd-connection-point-ref: vnf-cp{{ x }}
77 {%- if detailed is sameas true %}
78 # ip-address: <update> IP address of the connection point
82 {%- if detailed is sameas true %}
83 # List of IP Profiles.
84 # IP Profile describes the IP characteristics for the Virtual-Link
87 # description: <update>
90 # subnet-address: <update>
91 # gateway-address: <update>
92 # security-group: <update>
93 # subnet-prefix-pool: <update>
98 # start-address: <update>
101 # Information about NS configuration
108 # - requires: <update>
111 # # List of config primitives supported by the
112 # # configuration agent for this NS.
117 # data-type: <update>
118 # mandatory: <update>
119 # default-value: <update>
120 # parameter-pool: <update>
121 # read-only: <update>
124 # # Initial set of configuration primitives.
125 # initial-config-primitive:
130 # data-type: <update>
133 # # Terminate set of configuration primitives.
134 # terminate-config-primitive:
139 # data-type: <update>
142 # # List of VCA related metric
146 # Used to configure the list of public keys to be injected as part
147 # of ns instantiation
152 # List of users to be added through cloud-config
155 # user-info: <update>
160 # List of VNF Forwarding Graph Descriptors (VNFFGD)
164 # short-name: <update>
166 # description: <update>
168 # # List of Rendered Service Paths
172 # vnfd-connection-point-ref:
173 # - member-vnf-index-ref: <update>
175 # vnfd-id-ref: <update>
176 # vnfd-ingress-connection-point-ref: <update>
177 # vnfd-egress-connection-point-ref: <update>
178 # # List of classifier rules
182 # rsp-id-ref: <update>
183 # member-vnf-index-ref: <update>
184 # vnfd-id-ref: <update>
185 # vnfd-connection-point-ref: <update>
189 # source-ip-address: <update>
190 # destination-ip-address: <update>
191 # source-port: <update>
192 # destination-port: <update>