diff --git a/src/yang/etsi-nfv-ns.yang b/src/yang/etsi-nfv-ns.yang index fd4159851866e698d4a0be3284ca92312507e93a..a453c2f853ce2676d41b7a94e74d503a765ff6b5 100644 --- a/src/yang/etsi-nfv-ns.yang +++ b/src/yang/etsi-nfv-ns.yang @@ -316,17 +316,16 @@ submodule etsi-nfv-ns { } leaf service-availability-level { - type enumeration { - enum "level-1"; - enum "level-2"; - enum "level-3"; - } + type uint32; description - "Specifies one of the three levels defined in ETSI - ETSI GS NFV-REL 001 [i.5] - * Level 1. - * Level 2. - * Level 3."; + "If present, specifies the service availability level + for the VL instance created from this DF. + + THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE: + + Either the serviceAvailabilityLevel attribute of NS DF + or the serviceAvailabilityLevel attribute of the VL DF + may be provided, but not both."; reference "GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf information element"; @@ -868,6 +867,21 @@ submodule etsi-nfv-ns { } } } + + leaf service-availability-level { + must "not(../../service-availability-level)"; + type uint32; + description + "If present, specifies the service availability level for + the VNF instance created from this profile. + + Either the serviceAvailabilityLevel attribute of NS DF + or the serviceAvailabilityLevel attribute of the + VnfProfile may be provided, but not both."; + reference + "GS NFV IFA014: Section 6.3.3.2 VnfProfile information + element"; + } } list pnf-profile { @@ -1671,6 +1685,24 @@ submodule etsi-nfv-ns { reference "GS NFV IFA014: Section 6.3.2.2 NsDf information element"; } + + leaf service-availability-level { + type uint32; + description + "If present, specifies the service availability level for + the NS instance created from this DF. + + THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE: + + Either the serviceAvailabilityLevel attribute of NS DF or + the serviceAvailabilityLevel attribute of the NS + constituents of the NS may be provided, but not both. + When a SAL information is assigned to an NS, this + information does not apply to any constituents of type + ‘nested NS’."; + reference + "GS NFV IFA014: Section 6.3.2.2 NsDf information element"; + } } uses security-parameters; }