1 # Copyright (c) 2019 Erik Schilling
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
19 short-name: vnffg-example
23 vnfd-id-ref: vnfd-traffic-view
24 {% for i in range(2, n + 2) %}
25 - member-vnf-index: {{ i }}
26 vnfd-id-ref: vnfd-traffic-view
29 - description: Inter VNF Link
31 gateway-address: 10.0.{{ subnet }}.210
33 subnet-address: 10.0.{{ subnet }}.0/24
39 start-address: 10.0.{{ subnet }}.1
44 short-name: vld1-sname
46 ip-profile-ref: ipprofileA
47 vnfd-connection-point-ref:
48 - member-vnf-index-ref: 1
49 vnfd-id-ref: vnfd-traffic-view
50 vnfd-connection-point-ref: eth0
51 ip-address: 10.0.{{ subnet }}.2
52 {% for i in range(2, n + 2) %}
53 - member-vnf-index-ref: {{ i }}
54 vnfd-id-ref: vnfd-traffic-view
55 vnfd-connection-point-ref: eth0
56 ip-address: 10.0.{{ subnet }}.{{ i + 1 }}
61 short-name: vnffg1-sname
62 description: vnffg1-description
68 vnfd-connection-point-ref:
69 {% for i in range(n) %}
70 - member-vnf-index-ref: {{ i + 2 }}
72 vnfd-id-ref: vnfd-traffic-view
73 vnfd-ingress-connection-point-ref: eth0
74 vnfd-egress-connection-point-ref: eth0
80 member-vnf-index-ref: 1
81 vnfd-id-ref: vnfd-traffic-view
82 vnfd-connection-point-ref: eth0
86 source-ip-address: 10.0.{{ subnet }}.2
87 destination-ip-address: 10.0.{{ subnet }}.{{ n + 2 }}