nfv.xml 20.1 KB
Newer Older
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1
<nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors">
2
  <vnfd>
3 4 5 6
    <id>ASA</id>
    <provider>My Company</provider>
    <product-name>My Company ASAv</product-name>
    <software-version>9.8</software-version>
7
    <version>9.8</version>
8 9 10 11 12
    <vnfm-info>My Company Vnfm</vnfm-info>
    <vdu>
      <id>firewall</id>
      <name>Firewall VDU</name>
      <int-cpd>
13
        <id>inside</id>
14
        <layer-protocol>ethernet</layer-protocol>
15 16
      </int-cpd>
      <int-cpd>
17
        <id>management</id>
18
        <layer-protocol>ethernet</layer-protocol>
19 20
      </int-cpd>
      <int-cpd>
21
        <id>outside</id>
22
        <layer-protocol>ethernet</layer-protocol>
23 24 25 26 27
      </int-cpd>
      <virtual-compute-desc>asa-vcd</virtual-compute-desc>
      <virtual-storage-desc>asa-vsd</virtual-storage-desc>
      <sw-image-desc>asa-image</sw-image-desc>
    </vdu>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
28
    <virtual-compute-desc>
29 30 31 32 33 34 35
      <id>asa-vcd</id>
      <virtual-memory>
        <size>4.0</size>
      </virtual-memory>
      <virtual-cpu>
        <num-virtual-cpu>2</num-virtual-cpu>
      </virtual-cpu>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
36
    </virtual-compute-desc>
37
    <virtual-storage-desc>
38
      <id>asa-vsd</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
39
      <type-of-storage>root-storage</type-of-storage>
40
      <size-of-storage>0</size-of-storage>
41
    </virtual-storage-desc>
42 43
    <sw-image-desc>
      <id>asa-image</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
44 45 46 47 48 49
      <name>ASA image</name>
      <version>1.1</version>
      <checksum>
	<algorithm>sha-224</algorithm>
	<hash>deadbeef</hash>
      </checksum>
50 51
      <container-format>bare</container-format>
      <disk-format>qcow2</disk-format>
52
      <min-disk>1</min-disk>
53
      <min-ram>2.0</min-ram>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
54
      <size>1</size>
55
      <image>http://mycompany.images.com/asa.qcow2</image>
56
    </sw-image-desc>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
57 58 59 60 61 62 63 64 65 66 67 68 69 70
    <int-virtual-link-desc>
      <id>inside-vl</id>
      <flavour>
	<id>1g</id>
	<qos>
	  <latency>1</latency>
	  <packet-delay-variation>1</packet-delay-variation>
	  <packet-loss-ratio>0.02</packet-loss-ratio>
	</qos>
      </flavour>
      <connectivity-type>
	<layer-protocol>ethernet</layer-protocol>
      </connectivity-type>
    </int-virtual-link-desc>
71 72
    <ext-cpd>
      <id>inside</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
73
      <int-virtual-link-desc>inside-vl</int-virtual-link-desc>
74
      <layer-protocol>ethernet</layer-protocol>
75 76 77
    </ext-cpd>
    <ext-cpd>
      <id>management</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
78 79 80 81
      <int-cpd>
	<vdu-id>firewall</vdu-id>
	<cpd>management</cpd>
      </int-cpd>
82
      <layer-protocol>ethernet</layer-protocol>
83 84 85
    </ext-cpd>
    <ext-cpd>
      <id>outside</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
86 87 88 89
      <int-cpd>
	<vdu-id>firewall</vdu-id>
	<cpd>outside</cpd>
      </int-cpd>
90
      <layer-protocol>ethernet</layer-protocol>
91 92 93 94 95 96 97 98
    </ext-cpd>
    <df>
      <id>normal</id>
      <vdu-profile>
        <id>firewall</id>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>2</max-number-of-instances>
      </vdu-profile>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
      <virtual-link-profile>
	<id>inside-vl</id>
	<flavour>1g</flavour>
	<max-bit-rate-requirements>
	  <root>10</root>
	</max-bit-rate-requirements>
	<min-bit-rate-requirements>
	  <root>1</root>
	</min-bit-rate-requirements>
	<virtual-link-protocol-data>
	  <associated-layer-protocol>ipv4</associated-layer-protocol>
	  <l3-protocol-data>
	    <name>inside-network</name>
	    <ip-version>ipv4</ip-version>
	    <cidr>192.138.0.0/8</cidr>
	    <gateway-ip>192.138.0.1</gateway-ip>
	    <dhcp-enabled>true</dhcp-enabled>
	  </l3-protocol-data>
	</virtual-link-protocol-data>
      </virtual-link-profile>
119 120 121
      <instantiation-level>
        <id>double</id>
        <vdu-level>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
122
          <vdu-id>firewall</vdu-id>
123 124 125 126 127 128
          <number-of-instances>2</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <instantiation-level>
        <id>single</id>
        <vdu-level>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
129
          <vdu-id>firewall</vdu-id>
130 131 132 133
          <number-of-instances>1</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <default-instantiation-level>single</default-instantiation-level>
134 135 136 137 138 139 140 141 142 143 144
      <lcm-operations-configuration>
	<scale-vnf-to-level-op-config>
	  <arbitrary-target-levels-supported>true</arbitrary-target-levels-supported>
	</scale-vnf-to-level-op-config>
	<terminate-vnf-op-config>
	  <min-graceful-termination>1</min-graceful-termination>
	</terminate-vnf-op-config>
	<operate-vnf-op-config>
	  <min-graceful-stop-timeout>1</min-graceful-stop-timeout>
	</operate-vnf-op-config>
      </lcm-operations-configuration>
145
    </df>
146 147
  </vnfd>
  <vnfd>
148 149 150 151 152 153 154 155 156 157
    <id>CSR</id>
    <provider>My Company</provider>
    <product-name>My Company CSR 1000v</product-name>
    <software-version>3.16</software-version>
    <version>3.16</version>
    <vnfm-info>My Company Vnfm</vnfm-info>
    <vdu>
      <id>router</id>
      <name>Router VDU</name>
      <int-cpd>
158
        <id>left</id>
159
        <layer-protocol>ethernet</layer-protocol>
160 161
      </int-cpd>
      <int-cpd>
162
        <id>management</id>
163
        <layer-protocol>ethernet</layer-protocol>
164 165
      </int-cpd>
      <int-cpd>
166
        <id>right</id>
167
        <layer-protocol>ethernet</layer-protocol>
168 169 170 171 172
      </int-cpd>
      <virtual-compute-desc>csr-vcd</virtual-compute-desc>
      <virtual-storage-desc>csr-vsd</virtual-storage-desc>
      <sw-image-desc>csr-image</sw-image-desc>
    </vdu>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
173
    <virtual-compute-desc>
174 175 176 177 178 179 180
      <id>csr-vcd</id>
      <virtual-memory>
        <size>4.0</size>
      </virtual-memory>
      <virtual-cpu>
        <num-virtual-cpu>2</num-virtual-cpu>
      </virtual-cpu>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
181
    </virtual-compute-desc>
182
    <virtual-storage-desc>
183
      <id>csr-vsd</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
184
      <type-of-storage>root-storage</type-of-storage>
185
      <size-of-storage>0</size-of-storage>
186
    </virtual-storage-desc>
187 188
    <sw-image-desc>
      <id>csr-image</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
189 190 191 192 193 194
      <name>CSR image</name>
      <version>1.1</version>
      <checksum>
	<algorithm>sha-224</algorithm>
	<hash>deadbeef</hash>
      </checksum>
195 196
      <container-format>bare</container-format>
      <disk-format>qcow2</disk-format>
197
      <min-disk>1</min-disk>
198
      <min-ram>2.0</min-ram>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
199
      <size>1</size>
200
      <image>http://mycompany.images.com/csr.qcow2</image>
201 202 203
    </sw-image-desc>
    <ext-cpd>
      <id>left</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
204 205 206 207
      <int-cpd>
	<vdu-id>router</vdu-id>
	<cpd>left</cpd>
      </int-cpd>
208
      <layer-protocol>ethernet</layer-protocol>
209 210 211
    </ext-cpd>
    <ext-cpd>
      <id>management</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
212 213 214 215
      <int-cpd>
	<vdu-id>router</vdu-id>
	<cpd>management</cpd>
      </int-cpd>
216
      <layer-protocol>ethernet</layer-protocol>
217 218 219
    </ext-cpd>
    <ext-cpd>
      <id>right</id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
220 221 222 223
      <int-cpd>
	<vdu-id>router</vdu-id>
	<cpd>right</cpd>
      </int-cpd>
224
      <layer-protocol>ethernet</layer-protocol>
225 226 227 228 229 230 231 232 233 234 235
    </ext-cpd>
    <df>
      <id>normal</id>
      <vdu-profile>
        <id>router</id>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>2</max-number-of-instances>
      </vdu-profile>
      <instantiation-level>
        <id>double</id>
        <vdu-level>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
236
          <vdu-id>router</vdu-id>
237 238 239 240 241 242
          <number-of-instances>2</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <instantiation-level>
        <id>single</id>
        <vdu-level>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
243
          <vdu-id>router</vdu-id>
244 245 246 247
          <number-of-instances>1</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <default-instantiation-level>single</default-instantiation-level>
248 249 250 251 252 253 254 255 256 257 258
      <lcm-operations-configuration>
	<scale-vnf-to-level-op-config>
	  <arbitrary-target-levels-supported>true</arbitrary-target-levels-supported>
	</scale-vnf-to-level-op-config>
	<terminate-vnf-op-config>
	  <min-graceful-termination>1</min-graceful-termination>
	</terminate-vnf-op-config>
	<operate-vnf-op-config>
	  <min-graceful-stop-timeout>1</min-graceful-stop-timeout>
	</operate-vnf-op-config>
      </lcm-operations-configuration>
259
    </df>
260 261
  </vnfd>
  <nsd>
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
    <id>firewall-nsd</id>
    <vnfd-id>ASA</vnfd-id>
    <sapd>
      <id>inside</id>
    </sapd>
    <sapd>
      <id>management</id>
    </sapd>
    <sapd>
      <id>outside</id>
    </sapd>
    <df>
      <id>firewall</id>
      <vnf-profile>
        <id>firewall</id>
        <vnfd-id>ASA</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
278
        <flavour-id>normal</flavour-id>
279 280 281 282 283 284 285 286 287 288 289 290
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
      </vnf-profile>
      <ns-instantiation-level>
        <id>single</id>
        <vnf-to-level-mapping>
          <vnf-profile-id>firewall</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
      </ns-instantiation-level>
    </df>
291 292
  </nsd>
  <nsd>
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
    <id>service-chain-1</id>
    <vnfd-id>ASA</vnfd-id>
    <vnfd-id>CSR</vnfd-id>
    <pnfd-id>physical-dpi</pnfd-id>
    <sapd>
      <id>inside</id>
    </sapd>
    <sapd>
      <id>management</id>
      <virtual-link-desc>mgmt</virtual-link-desc>
    </sapd>
    <sapd>
      <id>outside</id>
      <vnf>
        <vnfd-id>CSR</vnfd-id>
        <ext-cpd-id>left</ext-cpd-id>
      </vnf>
    </sapd>
    <virtual-link-desc>
      <id>fw2dpi</id>
      <connectivity-type>
314
        <layer-protocol>ethernet</layer-protocol>
315
      </connectivity-type>
316 317
      <df>
        <id>normal</id>
318 319 320 321
        <qos>
          <latency>0</latency>
          <packet-delay-variation>0</packet-delay-variation>
        </qos>
322
      </df>
323 324 325 326
    </virtual-link-desc>
    <virtual-link-desc>
      <id>mgmt</id>
      <connectivity-type>
327
        <layer-protocol>ipv4</layer-protocol>
328
      </connectivity-type>
329
      <df>
330 331 332 333 334
        <id>normal</id>
        <qos>
          <latency>0</latency>
          <packet-delay-variation>0</packet-delay-variation>
        </qos>
335
      </df>
336 337 338 339
    </virtual-link-desc>
    <virtual-link-desc>
      <id>r2fw</id>
      <connectivity-type>
340
        <layer-protocol>ethernet</layer-protocol>
341 342 343 344 345 346 347 348 349 350 351 352 353 354
      </connectivity-type>
      <df>
        <id>normal</id>
        <qos>
          <latency>0</latency>
          <packet-delay-variation>0</packet-delay-variation>
        </qos>
      </df>
    </virtual-link-desc>
    <df>
      <id>router-fw</id>
      <vnf-profile>
        <id>firewall</id>
        <vnfd-id>ASA</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
355
        <flavour-id>normal</flavour-id>
356 357 358 359 360
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>mgmt</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
361 362 363 364
	  <constituent-cpd-id>
            <constituent-base-element-id>firewall</constituent-base-element-id>
	    <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
365 366 367
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
368 369 370 371
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
372 373 374 375 376
        </virtual-link-connectivity>
      </vnf-profile>
      <vnf-profile>
        <id>router</id>
        <vnfd-id>CSR</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
377
        <flavour-id>normal</flavour-id>
378 379 380 381 382
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>mgmt</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
383 384 385 386
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
387 388 389
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
390 391 392 393
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
394 395 396 397 398
        </virtual-link-connectivity>
      </vnf-profile>
      <virtual-link-profile>
        <id>mgmt</id>
        <virtual-link-desc-id>mgmt</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
399
        <flavour-id>normal</flavour-id>
400 401 402 403 404 405 406 407 408 409
        <max-bitrate-requirements>
          <root>1000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <virtual-link-profile>
        <id>r2fw</id>
        <virtual-link-desc-id>r2fw</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
410
        <flavour-id>normal</flavour-id>
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
        <max-bitrate-requirements>
          <root>10000000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <ns-instantiation-level>
        <id>normal</id>
        <description>Single FW and Router</description>
        <vnf-to-level-mapping>
          <vnf-profile-id>firewall</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
        <vnf-to-level-mapping>
          <vnf-profile-id>router</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
      </ns-instantiation-level>
    </df>
    <df>
      <id>router-fw-dpi</id>
      <vnf-profile>
        <id>firewall</id>
        <vnfd-id>ASA</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
436
        <flavour-id>normal</flavour-id>
437 438 439 440 441
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>fw2dpi</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
442 443 444 445
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>inside</constituent-cpd-id>
	  </constituent-cpd-id>
446 447 448
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>mgmt</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
449 450 451 452
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
453 454 455
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
456 457 458 459
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
460 461 462 463 464
        </virtual-link-connectivity>
      </vnf-profile>
      <vnf-profile>
        <id>router</id>
        <vnfd-id>CSR</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
465
        <flavour-id>normal</flavour-id>
466 467 468 469 470
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>mgmt</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
471 472 473 474
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
475 476 477
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
478 479 480 481
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
482 483 484 485 486 487 488
        </virtual-link-connectivity>
      </vnf-profile>
      <pnf-profile>
        <id>physical-dpi</id>
        <pnfd-id>physical-dpi</pnfd-id>
        <virtual-link-connectivity>
          <virtual-link-profile-id>fw2dpi</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
489 490 491 492
	  <constituent-cpd-id>
	    <constituent-base-element-id>physical-dpi</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
493 494 495
        </virtual-link-connectivity>
      </pnf-profile>
      <virtual-link-profile>
496
        <id>fw2dpi</id>
497
        <virtual-link-desc-id>fw2dpi</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
498
        <flavour-id>normal</flavour-id>
499 500 501 502 503 504 505 506
        <max-bitrate-requirements>
          <root>1000000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <virtual-link-profile>
507
        <id>mgmt</id>
508
        <virtual-link-desc-id>mgmt</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
509
        <flavour-id>normal</flavour-id>
510 511 512 513 514 515 516 517
        <max-bitrate-requirements>
          <root>1000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <virtual-link-profile>
518
        <id>r2fw</id>
519
        <virtual-link-desc-id>r2fw</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
520
        <flavour-id>normal</flavour-id>
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540
        <max-bitrate-requirements>
          <root>1000000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <ns-instantiation-level>
        <id>normal</id>
        <description>Router+FW+Physical DPI</description>
        <vnf-to-level-mapping>
          <vnf-profile-id>firewall</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
        <vnf-to-level-mapping>
          <vnf-profile-id>router</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
      </ns-instantiation-level>
    </df>
541 542
  </nsd>
  <nsd>
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562
    <id>service-chain-2</id>
    <nested-nsd-id>firewall-nsd</nested-nsd-id>
    <vnfd-id>CSR</vnfd-id>
    <sapd>
      <id>inside</id>
      <ns>
        <nsd-id>firewall-nsd</nsd-id>
        <ext-cpd-id>inside</ext-cpd-id>
      </ns>
    </sapd>
    <sapd>
      <id>outside</id>
      <vnf>
        <vnfd-id>CSR</vnfd-id>
        <ext-cpd-id>left</ext-cpd-id>
      </vnf>
    </sapd>
    <virtual-link-desc>
      <id>r2fw</id>
      <connectivity-type>
563
        <layer-protocol>ipv4</layer-protocol>
564
      </connectivity-type>
565 566
      <df>
        <id>r2fw</id>
567 568 569 570
        <qos>
          <latency>1000</latency>
          <packet-delay-variation>2</packet-delay-variation>
        </qos>
571
      </df>
572 573 574 575 576 577
    </virtual-link-desc>
    <df>
      <id>router-fw</id>
      <vnf-profile>
        <id>router</id>
        <vnfd-id>CSR</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
578
        <flavour-id>normal</flavour-id>
579 580 581 582 583
        <instantiation-level>single</instantiation-level>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
584 585 586 587
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
588 589 590 591 592
        </virtual-link-connectivity>
      </vnf-profile>
      <virtual-link-profile>
        <id>r2fw</id>
        <virtual-link-desc-id>r2fw</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
593
        <flavour-id>r2fw</flavour-id>
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
        <max-bitrate-requirements>
          <root>500</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <ns-instantiation-level>
        <id>normal</id>
        <vnf-to-level-mapping>
          <vnf-profile-id>router</vnf-profile-id>
          <number-of-instances>1</number-of-instances>
        </vnf-to-level-mapping>
        <virtual-link-to-level-mapping>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
          <root>10</root>
        </virtual-link-to-level-mapping>
      </ns-instantiation-level>
      <ns-profile>
        <id>firewall</id>
        <nsd-id>firewall-nsd</nsd-id>
        <ns-df-id>firewall</ns-df-id>
        <instantiation-level-id>single</instantiation-level-id>
        <min-number-of-instances>1</min-number-of-instances>
        <max-number-of-instances>1</max-number-of-instances>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
621 622 623 624
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
625 626 627
        </virtual-link-connectivity>
      </ns-profile>
    </df>
628 629
  </nsd>
  <pnfd>
630 631 632 633
    <id>physical-dpi</id>
    <version>1.0</version>
    <ext-cpd>
      <id>outside</id>
634
      <layer-protocol>ethernet</layer-protocol>
635
    </ext-cpd>
636
  </pnfd>
637
</nfv>