Loading .jenkins.sh +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # https://forge.etsi.org/etsi-software-license YANG_MODULES="yang/yang/*" OUTPUT="etsi-nfv.html" OUTPUT="etsi-nfv-descriptors.html" IMG_NAME="sol006" VERSION=latest IMG="$IMG_NAME:$VERSION" Loading example-data/nfv.xml +37 −5 Original line number Diff line number Diff line <nfv xmlns="urn:etsi:params:xml:ns:yang:etsi-nfv"> <nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors"> <vnfd> <id>ASA</id> <provider>My Company</provider> Loading Loading @@ -48,14 +48,26 @@ </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> Loading Loading @@ -131,14 +143,26 @@ </sw-image-desc> <ext-cpd> <id>left</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>left</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>right</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>right</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <df> Loading Loading @@ -218,7 +242,9 @@ <virtual-link-desc> <id>fw2dpi</id> <connectivity-type> <layer-protocol>Ethernet</layer-protocol> <layer-protocol> <protocol>Ethernet</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading @@ -231,7 +257,9 @@ <virtual-link-desc> <id>mgmt</id> <connectivity-type> <layer-protocol>IPv4</layer-protocol> <layer-protocol> <protocol>IPv4</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading @@ -244,7 +272,9 @@ <virtual-link-desc> <id>r2fw</id> <connectivity-type> <layer-protocol>Ethernet</layer-protocol> <layer-protocol> <protocol>Ethernet</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading Loading @@ -467,7 +497,9 @@ <virtual-link-desc> <id>r2fw</id> <connectivity-type> <layer-protocol>IPv4</layer-protocol> <layer-protocol> <protocol>IPv4</protocol> </layer-protocol> </connectivity-type> <df> <id>r2fw</id> Loading run-test.sh +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ cd src echo "Testing compilation" CONFD_OPTS="--fail-on-warnings" CONFD_OPTS="" confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv.fxs etsi-nfv.yang confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-descriptors.fxs etsi-nfv-descriptors.yang echo "Starting ConfD" confd Loading src/yang/etsi-nfv-common.yang +57 −11 Original line number Diff line number Diff line submodule etsi-nfv-common { yang-version 1.1; belongs-to etsi-nfv { belongs-to etsi-nfv-descriptors { prefix nfv; } description "Common data types for ETSI data models."; revision 2018-06-19 { revision 2019-03-18 { description "Initial revision Common data structures to support VNFD and NSD according to: ETSI GS NFV-IFA 014 Ed251v244 ETSI GS NFV-IFA 011 Ed251v243"; ETSI GS NFV-IFA 014 Ed261v252 ETSI GS NFV-IFA 011 Ed261v254"; } /* Loading Loading @@ -177,6 +177,46 @@ submodule etsi-nfv-common { base cp-role; } identity checksum-algorithm { description "Identifies the algorithms supported for the purpose of calculating the checksum."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-224 { base checksum-algorithm; description "SHA-224."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-256 { base checksum-algorithm; description "SHA-256."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-384 { base checksum-algorithm; description "SHA-384."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-512 { base checksum-algorithm; description "SHA-512."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } /* * Typedefs */ Loading Loading @@ -253,14 +293,20 @@ submodule etsi-nfv-common { grouping connectivity-type { container connectivity-type { leaf layer-protocol { mandatory true; list layer-protocol { key "protocol"; leaf protocol { type identityref { base layer-protocol; } } description "Identifies the protocol this VL gives access to (Ethernet, MPLS, ODU2, IPV4, IPV6, Pseudo-Wire)."; "Identifies the protocols that the VL uses (Ethernet, MPLS, ODU2, IPV4, IPV6, Pseudo-Wire). The top layer protocol of the VL protocol stack shall always be provided. The lower layer protocols may be included when there are specific requirements on these layers."; reference "GS NFV IFA011: Section 7.1.7.3, ConnectivityType information element."; Loading src/yang/etsi-nfv.yang→src/yang/etsi-nfv-descriptors.yang +5 −5 Original line number Diff line number Diff line module etsi-nfv { module etsi-nfv-descriptors { yang-version 1.1; namespace "urn:etsi:params:xml:ns:yang:etsi-nfv"; namespace "urn:etsi:nfv:yang:etsi-nfv-descriptors"; prefix nfv; include etsi-nfv-common; Loading @@ -14,11 +14,11 @@ module etsi-nfv { description "Network Function Virtualization Descriptors"; revision 2018-06-13 { revision 2019-03-18 { description "Initial revision. NSD and PNFD according to ETSI GS NFV-IFA 014 Ed251v244 VNFD according to ETSI GS NFV-IFA 011 Ed251v243"; NSD and PNFD according to ETSI GS NFV-IFA 014 Ed261v252 VNFD according to ETSI GS NFV-IFA 011 Ed261v254"; } container nfv { Loading Loading
.jenkins.sh +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # https://forge.etsi.org/etsi-software-license YANG_MODULES="yang/yang/*" OUTPUT="etsi-nfv.html" OUTPUT="etsi-nfv-descriptors.html" IMG_NAME="sol006" VERSION=latest IMG="$IMG_NAME:$VERSION" Loading
example-data/nfv.xml +37 −5 Original line number Diff line number Diff line <nfv xmlns="urn:etsi:params:xml:ns:yang:etsi-nfv"> <nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors"> <vnfd> <id>ASA</id> <provider>My Company</provider> Loading Loading @@ -48,14 +48,26 @@ </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> Loading Loading @@ -131,14 +143,26 @@ </sw-image-desc> <ext-cpd> <id>left</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>left</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>management</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>management</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <ext-cpd> <id>right</id> <int-cpd> <vdu-id>router</vdu-id> <cpd>right</cpd> </int-cpd> <layer-protocol>Ethernet</layer-protocol> </ext-cpd> <df> Loading Loading @@ -218,7 +242,9 @@ <virtual-link-desc> <id>fw2dpi</id> <connectivity-type> <layer-protocol>Ethernet</layer-protocol> <layer-protocol> <protocol>Ethernet</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading @@ -231,7 +257,9 @@ <virtual-link-desc> <id>mgmt</id> <connectivity-type> <layer-protocol>IPv4</layer-protocol> <layer-protocol> <protocol>IPv4</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading @@ -244,7 +272,9 @@ <virtual-link-desc> <id>r2fw</id> <connectivity-type> <layer-protocol>Ethernet</layer-protocol> <layer-protocol> <protocol>Ethernet</protocol> </layer-protocol> </connectivity-type> <df> <id>normal</id> Loading Loading @@ -467,7 +497,9 @@ <virtual-link-desc> <id>r2fw</id> <connectivity-type> <layer-protocol>IPv4</layer-protocol> <layer-protocol> <protocol>IPv4</protocol> </layer-protocol> </connectivity-type> <df> <id>r2fw</id> Loading
run-test.sh +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ cd src echo "Testing compilation" CONFD_OPTS="--fail-on-warnings" CONFD_OPTS="" confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv.fxs etsi-nfv.yang confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-descriptors.fxs etsi-nfv-descriptors.yang echo "Starting ConfD" confd Loading
src/yang/etsi-nfv-common.yang +57 −11 Original line number Diff line number Diff line submodule etsi-nfv-common { yang-version 1.1; belongs-to etsi-nfv { belongs-to etsi-nfv-descriptors { prefix nfv; } description "Common data types for ETSI data models."; revision 2018-06-19 { revision 2019-03-18 { description "Initial revision Common data structures to support VNFD and NSD according to: ETSI GS NFV-IFA 014 Ed251v244 ETSI GS NFV-IFA 011 Ed251v243"; ETSI GS NFV-IFA 014 Ed261v252 ETSI GS NFV-IFA 011 Ed261v254"; } /* Loading Loading @@ -177,6 +177,46 @@ submodule etsi-nfv-common { base cp-role; } identity checksum-algorithm { description "Identifies the algorithms supported for the purpose of calculating the checksum."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-224 { base checksum-algorithm; description "SHA-224."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-256 { base checksum-algorithm; description "SHA-256."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-384 { base checksum-algorithm; description "SHA-384."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } identity sha-512 { base checksum-algorithm; description "SHA-512."; reference "GS NFV IFA011: Section 7.1.6.10 Checksum information element."; } /* * Typedefs */ Loading Loading @@ -253,14 +293,20 @@ submodule etsi-nfv-common { grouping connectivity-type { container connectivity-type { leaf layer-protocol { mandatory true; list layer-protocol { key "protocol"; leaf protocol { type identityref { base layer-protocol; } } description "Identifies the protocol this VL gives access to (Ethernet, MPLS, ODU2, IPV4, IPV6, Pseudo-Wire)."; "Identifies the protocols that the VL uses (Ethernet, MPLS, ODU2, IPV4, IPV6, Pseudo-Wire). The top layer protocol of the VL protocol stack shall always be provided. The lower layer protocols may be included when there are specific requirements on these layers."; reference "GS NFV IFA011: Section 7.1.7.3, ConnectivityType information element."; Loading
src/yang/etsi-nfv.yang→src/yang/etsi-nfv-descriptors.yang +5 −5 Original line number Diff line number Diff line module etsi-nfv { module etsi-nfv-descriptors { yang-version 1.1; namespace "urn:etsi:params:xml:ns:yang:etsi-nfv"; namespace "urn:etsi:nfv:yang:etsi-nfv-descriptors"; prefix nfv; include etsi-nfv-common; Loading @@ -14,11 +14,11 @@ module etsi-nfv { description "Network Function Virtualization Descriptors"; revision 2018-06-13 { revision 2019-03-18 { description "Initial revision. NSD and PNFD according to ETSI GS NFV-IFA 014 Ed251v244 VNFD according to ETSI GS NFV-IFA 011 Ed251v243"; NSD and PNFD according to ETSI GS NFV-IFA 014 Ed261v252 VNFD according to ETSI GS NFV-IFA 011 Ed261v254"; } container nfv { Loading