Loading example-data/nfv.xml +17 −17 Original line number Diff line number Diff line Loading @@ -11,15 +11,15 @@ <name>Firewall VDU</name> <int-cpd> <id>inside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>management</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>outside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <virtual-compute-desc>asa-vcd</virtual-compute-desc> <virtual-storage-desc>asa-vsd</virtual-storage-desc> Loading Loading @@ -52,7 +52,7 @@ <vdu-id>firewall</vdu-id> <cpd>inside</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> Loading @@ -60,7 +60,7 @@ <vdu-id>firewall</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>outside</id> Loading @@ -68,7 +68,7 @@ <vdu-id>firewall</vdu-id> <cpd>outside</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <df> <id>normal</id> Loading Loading @@ -106,15 +106,15 @@ <name>Router VDU</name> <int-cpd> <id>left</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>management</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>right</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <virtual-compute-desc>csr-vcd</virtual-compute-desc> <virtual-storage-desc>csr-vsd</virtual-storage-desc> Loading Loading @@ -147,7 +147,7 @@ <vdu-id>router</vdu-id> <cpd>left</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> Loading @@ -155,7 +155,7 @@ <vdu-id>router</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>right</id> Loading @@ -163,7 +163,7 @@ <vdu-id>router</vdu-id> <cpd>right</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <df> <id>normal</id> Loading Loading @@ -243,7 +243,7 @@ <id>fw2dpi</id> <connectivity-type> <layer-protocol> <protocol>Ethernet</protocol> <protocol>ethernet</protocol> </layer-protocol> </connectivity-type> <df> Loading @@ -258,7 +258,7 @@ <id>mgmt</id> <connectivity-type> <layer-protocol> <protocol>IPv4</protocol> <protocol>ipv4</protocol> </layer-protocol> </connectivity-type> <df> Loading @@ -273,7 +273,7 @@ <id>r2fw</id> <connectivity-type> <layer-protocol> <protocol>Ethernet</protocol> <protocol>ethernet</protocol> </layer-protocol> </connectivity-type> <df> Loading Loading @@ -498,7 +498,7 @@ <id>r2fw</id> <connectivity-type> <layer-protocol> <protocol>IPv4</protocol> <protocol>ipv4</protocol> </layer-protocol> </connectivity-type> <df> Loading Loading @@ -570,7 +570,7 @@ <version>1.0</version> <ext-cpd> <id>outside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> </pnfd> </nfv> src/yang/etsi-nfv-common.yang +7 −7 Original line number Diff line number Diff line Loading @@ -20,22 +20,22 @@ submodule etsi-nfv-common { */ identity layer-protocol { } identity Ethernet { identity ethernet { base layer-protocol; } identity MPLS { identity mpls { base layer-protocol; } identity ODU2 { identity odu2 { base layer-protocol; } identity IPv4 { identity ipv4 { base layer-protocol; } identity IPv6 { identity ipv6 { base layer-protocol; } identity Pseudo-Wire { identity pseudo-wire { base layer-protocol; } Loading Loading @@ -432,7 +432,7 @@ submodule etsi-nfv-common { } leaf-list layer-protocol { default Ethernet; default ethernet; type identityref { base layer-protocol; } Loading Loading
example-data/nfv.xml +17 −17 Original line number Diff line number Diff line Loading @@ -11,15 +11,15 @@ <name>Firewall VDU</name> <int-cpd> <id>inside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>management</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>outside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <virtual-compute-desc>asa-vcd</virtual-compute-desc> <virtual-storage-desc>asa-vsd</virtual-storage-desc> Loading Loading @@ -52,7 +52,7 @@ <vdu-id>firewall</vdu-id> <cpd>inside</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> Loading @@ -60,7 +60,7 @@ <vdu-id>firewall</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>outside</id> Loading @@ -68,7 +68,7 @@ <vdu-id>firewall</vdu-id> <cpd>outside</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <df> <id>normal</id> Loading Loading @@ -106,15 +106,15 @@ <name>Router VDU</name> <int-cpd> <id>left</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>management</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <int-cpd> <id>right</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </int-cpd> <virtual-compute-desc>csr-vcd</virtual-compute-desc> <virtual-storage-desc>csr-vsd</virtual-storage-desc> Loading Loading @@ -147,7 +147,7 @@ <vdu-id>router</vdu-id> <cpd>left</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> Loading @@ -155,7 +155,7 @@ <vdu-id>router</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>right</id> Loading @@ -163,7 +163,7 @@ <vdu-id>router</vdu-id> <cpd>right</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> <df> <id>normal</id> Loading Loading @@ -243,7 +243,7 @@ <id>fw2dpi</id> <connectivity-type> <layer-protocol> <protocol>Ethernet</protocol> <protocol>ethernet</protocol> </layer-protocol> </connectivity-type> <df> Loading @@ -258,7 +258,7 @@ <id>mgmt</id> <connectivity-type> <layer-protocol> <protocol>IPv4</protocol> <protocol>ipv4</protocol> </layer-protocol> </connectivity-type> <df> Loading @@ -273,7 +273,7 @@ <id>r2fw</id> <connectivity-type> <layer-protocol> <protocol>Ethernet</protocol> <protocol>ethernet</protocol> </layer-protocol> </connectivity-type> <df> Loading Loading @@ -498,7 +498,7 @@ <id>r2fw</id> <connectivity-type> <layer-protocol> <protocol>IPv4</protocol> <protocol>ipv4</protocol> </layer-protocol> </connectivity-type> <df> Loading Loading @@ -570,7 +570,7 @@ <version>1.0</version> <ext-cpd> <id>outside</id> <layer-protocol>Ethernet</layer-protocol> <layer-protocol>ethernet</layer-protocol> </ext-cpd> </pnfd> </nfv>
src/yang/etsi-nfv-common.yang +7 −7 Original line number Diff line number Diff line Loading @@ -20,22 +20,22 @@ submodule etsi-nfv-common { */ identity layer-protocol { } identity Ethernet { identity ethernet { base layer-protocol; } identity MPLS { identity mpls { base layer-protocol; } identity ODU2 { identity odu2 { base layer-protocol; } identity IPv4 { identity ipv4 { base layer-protocol; } identity IPv6 { identity ipv6 { base layer-protocol; } identity Pseudo-Wire { identity pseudo-wire { base layer-protocol; } Loading Loading @@ -432,7 +432,7 @@ submodule etsi-nfv-common { } leaf-list layer-protocol { default Ethernet; default ethernet; type identityref { base layer-protocol; } Loading