nfv-nsd.xml 4.14 KB
Newer Older
1
<nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors">
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
  <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 xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv:ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
        <id>management</id>
      <layer-protocol xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv:ethernet</layer-protocol>
      </int-cpd>
      <int-cpd>
        <id>outside</id>
      <layer-protocol xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv: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 xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv: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 xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv:sha-224</algorithm>
	<hash>deadbeef</hash>
      </checksum>
      <container-format>bare</container-format>
      <disk-format>qcow2</disk-format>
Mahesh Jethanandani's avatar
Bug#251  
Mahesh Jethanandani committed
52
      <min-disk>20</min-disk>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
53
54
      <min-ram>2.0</min-ram>
      <size>1</size>
55
      <image>http://www.mycompany.com/asa.qcow2</image>
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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
    </sw-image-desc>
    <ext-cpd>
      <id>inside</id>
      <int-cpd>
	<vdu-id>firewall</vdu-id>
	<cpd>inside</cpd>
      </int-cpd>
      <layer-protocol xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv:ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>management</id>
      <int-cpd>
	<vdu-id>firewall</vdu-id>
	<cpd>management</cpd>
      </int-cpd>
      <layer-protocol xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv:ethernet</layer-protocol>
    </ext-cpd>
    <ext-cpd>
      <id>outside</id>
      <int-cpd>
	<vdu-id>firewall</vdu-id>
	<cpd>outside</cpd>
      </int-cpd>
      <layer-protocol xmlns:nfv="urn:etsi:nfv:yang:etsi-nfv-descriptors">nfv: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>
    </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>
        <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>
136
</nfv>