Commit b388c854 authored by ppree's avatar ppree
Browse files

issue#31 Improving nsProfile attribute description and fix enum values based on IFA014ed341

parent 48fd1d37
Loading
Loading
Loading
Loading
Loading
+21 −10
Changes for src/yang/etsi-nfv-ns.yang: 21 added lines, 10 removed lines.
Original line number Original line Diff line number Diff line
@@ -62,8 +62,10 @@ submodule etsi-nfv-ns {
      leaf type {
      leaf type {
        type affinity-type;
        type affinity-type;
        description
        description
          "Specifies whether the rule is an affinity rule or an
          "Specifies the rule.
           anti-affinity rule.";
           Values:
             • AFFINITY
             • ANTI_AFFINITY.";
        reference
        reference
          "GS NFV IFA014: Section 6.3.8.2,
          "GS NFV IFA014: Section 6.3.8.2,
           LocalAffinityOrAntiAffinityRule information element.";
           LocalAffinityOrAntiAffinityRule information element.";
@@ -72,8 +74,13 @@ submodule etsi-nfv-ns {
      leaf scope {
      leaf scope {
        type affinity-scope;
        type affinity-scope;
        description
        description
          "Specifies the scope of the rule, possible values are
          "Specifies the scope of the rule.
           'NFVI-PoP', 'NFVI-node' network-link-and-node etc.";
           Values:
             • NFVI_POP
             • ZONE
             • ZONE_GROUP
             • NFVI_NODE
             • etc.";
        reference
        reference
          "GS NFV IFA014: Section 6.3.8.2,
          "GS NFV IFA014: Section 6.3.8.2,
           LocalAffinityOrAntiAffinityRule information element.";
           LocalAffinityOrAntiAffinityRule information element.";
@@ -631,7 +638,7 @@ submodule etsi-nfv-ns {
              path "../../../nfp-position-element/id";
              path "../../../nfp-position-element/id";
            }
            }
            description
            description
              "Reference to one or a pair of CPDs or SAPDs.";
              "References one or a pair of CPDs or SAPDs.";
            reference
            reference
              "GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
              "GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
               information element";
               information element";
@@ -642,16 +649,20 @@ submodule etsi-nfv-ns {
              base forwarding-behaviour;
              base forwarding-behaviour;
            }
            }
            description
            description
              "Identifies a rule to apply to forward traffic to CP or
              "Specifies a rule to apply to forward traffic to CP or
               SAP instances corresponding to the referenced CPD(s)
               SAP instances corresponding to the referenced CP
               and SAPD(s). The minimum list of rules to be supported
               profiles(s). The minimum list of rules to be supported
               shall include:
               shall include:
               • ALL = Traffic flows shall be forwarded simultaneously
               • ALL = Traffic flows shall be forwarded simultaneously
                 to all CP or SAP instances created from the
                 to all CP or SAP instances created from the
                 referenced CP profile(s).
                 referenced CP profile(s).
               • LB = Traffic flows shall be forwarded to one CP or SAP
               • LB = Traffic flows shall be forwarded to one CP or SAP
                 instance created from the referenced CP profile(s)
                 instance created from the referenced CP profile(s)
                 selected based on a load-balancing algorithm.";
                 selected based on a load-balancing algorithm
               Values:
                 • ALL
                 • LB
                 • etc.";
            reference
            reference
              "GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
              "GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
               information element";
               information element";
@@ -1417,7 +1428,7 @@ submodule etsi-nfv-ns {
        key "id";
        key "id";


        description
        description
          "Specifies a NS Profile supported by this NS DF.";
          "Specifies nested NS Profile to be used for this NS DF.";
        reference
        reference
          "GS NFV IFA014: Section 6.3.2.2 NsDf information element";
          "GS NFV IFA014: Section 6.3.2.2 NsDf information element";