Skip to content
nfv-nsd.xml 4.19 KiB
Newer Older
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors">
    <vnfd>
      <id>ASA</id>
      <provider>My Company</provider>
      <product-name>My Company ASAv</product-name>
      <software-version>9.8</software-version>
      <version>9.8</version>
      <vnfm-info>My Company Vnfm</vnfm-info>
      <vdu>
	<id>firewall</id>
	<name>Firewall VDU</name>
	<int-cpd>
          <id>inside</id>
          <layer-protocol>ethernet</layer-protocol>
	</int-cpd>
	<int-cpd>
          <id>management</id>
          <layer-protocol>ethernet</layer-protocol>
	</int-cpd>
	<int-cpd>
          <id>outside</id>
          <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-desc>
	<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-desc>
      <virtual-storage-desc>
	<id>asa-vsd</id>
	<type-of-storage>root-storage</type-of-storage>
	<size-of-storage>0</size-of-storage>
      </virtual-storage-desc>
      <sw-image-desc>
	<id>asa-image</id>
	<name>ASA image</name>
	<version>1.1</version>
	<checksum>
	  <algorithm>sha-224</algorithm>
	  <hash>deadbeef</hash>
	</checksum>
	<container-format>bare</container-format>
	<disk-format>qcow2</disk-format>
	<min-disk>1</min-disk>
	<min-ram>2.0</min-ram>
	<size>1</size>
	<image>http://mycompany.images.com/asa.qcow2</image>
      </sw-image-desc>
      <ext-cpd>
	<id>inside</id>
	<int-cpd>
	  <vdu-id>firewall</vdu-id>
	  <cpd>inside</cpd>
	</int-cpd>
	<layer-protocol>ethernet</layer-protocol>
      </ext-cpd>
      <ext-cpd>
	<id>management</id>
	<int-cpd>
	  <vdu-id>firewall</vdu-id>
	  <cpd>management</cpd>
	</int-cpd>
	<layer-protocol>ethernet</layer-protocol>
      </ext-cpd>
      <ext-cpd>
	<id>outside</id>
	<int-cpd>
	  <vdu-id>firewall</vdu-id>
	  <cpd>outside</cpd>
	</int-cpd>
	<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>
            <vdu-id>firewall</vdu-id>
            <number-of-instances>2</number-of-instances>
          </vdu-level>
	</instantiation-level>
	<instantiation-level>
          <id>single</id>
          <vdu-level>
            <vdu-id>firewall</vdu-id>
            <number-of-instances>1</number-of-instances>
          </vdu-level>
	</instantiation-level>
	<default-instantiation-level>single</default-instantiation-level>
	<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>
      </df>
    </vnfd>
  </nfv>
  <nsd xmlns="urn:etsi:nfv:yang:etsi-nfv-nsd">
    <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>
          <flavour-id>normal</flavour-id>
          <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>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
</config>