nfv.xml 17.5 KB
Newer Older
1 2 3 4 5 6
<nfv xmlns="urn:etsi:params:xml:ns:yang:etsi-nfv">
  <vnfd>
    <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 15 16
        <layer-protocol>Ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
17
        <id>management</id>
18 19 20
        <layer-protocol>Ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
21
        <id>outside</id>
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
        <layer-protocol>Ethernet</layer-protocol>
      </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>
    <virtual-compute-descriptor>
      <id>asa-vcd</id>
      <virtual-memory>
        <size>4.0</size>
      </virtual-memory>
      <virtual-cpu>
        <num-virtual-cpu>2</num-virtual-cpu>
      </virtual-cpu>
    </virtual-compute-descriptor>
    <virtual-storage-descriptor>
      <id>asa-vsd</id>
      <type-of-storage>root</type-of-storage>
      <size-of-storage>0</size-of-storage>
    </virtual-storage-descriptor>
    <sw-image-desc>
      <id>asa-image</id>
      <container-format>bare</container-format>
      <disk-format>qcow2</disk-format>
      <min-ram>2.0</min-ram>
      <image>http://www.cisco.com/asa.qcow2</image>
    </sw-image-desc>
    <ext-cpd>
      <id>inside</id>
      <layer-protocol>Ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>management</id>
      <layer-protocol>Ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>outside</id>
      <layer-protocol>Ethernet</layer-protocol>
    </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>
      <instantiation-level>
        <id>double</id>
        <vdu-level>
71
          <id>firewall</id>
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
          <number-of-instances>2</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <instantiation-level>
        <id>single</id>
        <vdu-level>
          <id>firewall</id>
          <number-of-instances>1</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <default-instantiation-level>single</default-instantiation-level>
    </df>
  </vnfd>
  <vnfd>
    <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>
96
        <id>left</id>
97 98 99
        <layer-protocol>Ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
100
        <id>management</id>
101 102 103
        <layer-protocol>Ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
104
        <id>right</id>
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
        <layer-protocol>Ethernet</layer-protocol>
      </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>
    <virtual-compute-descriptor>
      <id>csr-vcd</id>
      <virtual-memory>
        <size>4.0</size>
      </virtual-memory>
      <virtual-cpu>
        <num-virtual-cpu>2</num-virtual-cpu>
      </virtual-cpu>
    </virtual-compute-descriptor>
    <virtual-storage-descriptor>
      <id>csr-vsd</id>
      <type-of-storage>root</type-of-storage>
      <size-of-storage>0</size-of-storage>
    </virtual-storage-descriptor>
    <sw-image-desc>
      <id>csr-image</id>
      <container-format>bare</container-format>
      <disk-format>qcow2</disk-format>
      <min-ram>2.0</min-ram>
      <image>http://www.cisco.com/csr.qcow2</image>
    </sw-image-desc>
    <ext-cpd>
      <id>left</id>
      <layer-protocol>Ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>management</id>
      <layer-protocol>Ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>right</id>
      <layer-protocol>Ethernet</layer-protocol>
    </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>
          <id>router</id>
          <number-of-instances>2</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <instantiation-level>
        <id>single</id>
        <vdu-level>
          <id>router</id>
          <number-of-instances>1</number-of-instances>
        </vdu-level>
      </instantiation-level>
      <default-instantiation-level>single</default-instantiation-level>
    </df>
  </vnfd>
  <nsd>
    <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
185
        <flavour-id>normal</flavour-id>
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
        <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>
  </nsd>
  <nsd>
    <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>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
221 222 223
        <layer-protocol>
	  <protocol>Ethernet</protocol>
	</layer-protocol>
224
      </connectivity-type>
225 226
      <df>
        <id>normal</id>
227 228 229 230
        <qos>
          <latency>0</latency>
          <packet-delay-variation>0</packet-delay-variation>
        </qos>
231
      </df>
232 233 234 235
    </virtual-link-desc>
    <virtual-link-desc>
      <id>mgmt</id>
      <connectivity-type>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
236 237 238
        <layer-protocol>
	  <protocol>IPv4</protocol>
	</layer-protocol>
239
      </connectivity-type>
240
      <df>
241 242 243 244 245
        <id>normal</id>
        <qos>
          <latency>0</latency>
          <packet-delay-variation>0</packet-delay-variation>
        </qos>
246
      </df>
247 248 249 250
    </virtual-link-desc>
    <virtual-link-desc>
      <id>r2fw</id>
      <connectivity-type>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
251 252 253
        <layer-protocol>
	  <protocol>Ethernet</protocol>
	</layer-protocol>
254 255 256 257 258 259 260 261 262 263 264 265 266 267
      </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
268
        <flavour-id>normal</flavour-id>
269 270 271 272 273
        <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
274 275 276 277
	  <constituent-cpd-id>
            <constituent-base-element-id>firewall</constituent-base-element-id>
	    <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
278 279 280
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
281 282 283 284
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
285 286 287 288 289
        </virtual-link-connectivity>
      </vnf-profile>
      <vnf-profile>
        <id>router</id>
        <vnfd-id>CSR</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
290
        <flavour-id>normal</flavour-id>
291 292 293 294 295
        <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
296 297 298 299
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
300 301 302
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
303 304 305 306
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
307 308 309 310 311
        </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
312
        <flavour-id>normal</flavour-id>
313 314 315 316 317 318 319 320 321 322
        <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
323
        <flavour-id>normal</flavour-id>
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
        <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
349
        <flavour-id>normal</flavour-id>
350 351 352 353 354
        <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
355 356 357 358
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>inside</constituent-cpd-id>
	  </constituent-cpd-id>
359 360 361
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>mgmt</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
362 363 364 365
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
366 367 368
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
369 370 371 372
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
373 374 375 376 377
        </virtual-link-connectivity>
      </vnf-profile>
      <vnf-profile>
        <id>router</id>
        <vnfd-id>CSR</vnfd-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
378
        <flavour-id>normal</flavour-id>
379 380 381 382 383
        <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
384 385 386 387
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>management</constituent-cpd-id>
	  </constituent-cpd-id>
388 389 390
        </virtual-link-connectivity>
        <virtual-link-connectivity>
          <virtual-link-profile-id>r2fw</virtual-link-profile-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
391 392 393 394
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
395 396 397 398 399 400 401
        </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
402 403 404 405
	  <constituent-cpd-id>
	    <constituent-base-element-id>physical-dpi</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
406 407 408
        </virtual-link-connectivity>
      </pnf-profile>
      <virtual-link-profile>
409
        <id>fw2dpi</id>
410
        <virtual-link-desc-id>fw2dpi</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
411
        <flavour-id>normal</flavour-id>
412 413 414 415 416 417 418 419
        <max-bitrate-requirements>
          <root>1000000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <virtual-link-profile>
420
        <id>mgmt</id>
421
        <virtual-link-desc-id>mgmt</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
422
        <flavour-id>normal</flavour-id>
423 424 425 426 427 428 429 430
        <max-bitrate-requirements>
          <root>1000</root>
        </max-bitrate-requirements>
        <min-bitrate-requirements>
          <root>0</root>
        </min-bitrate-requirements>
      </virtual-link-profile>
      <virtual-link-profile>
431
        <id>r2fw</id>
432
        <virtual-link-desc-id>r2fw</virtual-link-desc-id>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
433
        <flavour-id>normal</flavour-id>
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
        <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>
  </nsd>
  <nsd>
    <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>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
476 477 478
        <layer-protocol>
	  <protocol>IPv4</protocol>
	</layer-protocol>
479
      </connectivity-type>
480 481
      <df>
        <id>r2fw</id>
482 483 484 485
        <qos>
          <latency>1000</latency>
          <packet-delay-variation>2</packet-delay-variation>
        </qos>
486
      </df>
487 488 489 490 491 492
    </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
493
        <flavour-id>normal</flavour-id>
494 495 496 497 498
        <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
499 500 501 502
	  <constituent-cpd-id>
	    <constituent-base-element-id>router</constituent-base-element-id>
            <constituent-cpd-id>right</constituent-cpd-id>
	  </constituent-cpd-id>
503 504 505 506 507
        </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
508
        <flavour-id>r2fw</flavour-id>
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535
        <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
536 537 538 539
	  <constituent-cpd-id>
	    <constituent-base-element-id>firewall</constituent-base-element-id>
            <constituent-cpd-id>outside</constituent-cpd-id>
	  </constituent-cpd-id>
540 541 542 543 544 545 546 547 548 549 550 551 552
        </virtual-link-connectivity>
      </ns-profile>
    </df>
  </nsd>
  <pnfd>
    <id>physical-dpi</id>
    <version>1.0</version>
    <ext-cpd>
      <id>outside</id>
      <layer-protocol>Ethernet</layer-protocol>
    </ext-cpd>
  </pnfd>
</nfv>