etsi-nfv-vnf.yang 98.2 KB
Newer Older
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
      leaf script {
        type string;
        description
          "Includes a VNF LCM script (e.g. written in a DSL as
           specified in requirement VNF_PACK.LCM.001) triggered to
           react to one of the events listed in the event
           attribute.";
        reference
          "GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
           information element";
3011
3012
      }

3013
3014
      leaf script-dsl {
        type string;
3015
        description
3016
3017
3018
          "Defines the domain specific language (i.e. the type) of
           script that is provided. Types of scripts could include
           bash, python, etc.";
3019
        reference
3020
3021
3022
          "GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
           information element";
      }
3023

3024
3025
      list script-input {
        key "key";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
3026

3027
        leaf key {
3028
3029
3030
3031
3032
          type string;
          description
            "Includes a VNF LCM script (e.g. written in a DSL as
             specified in requirement VNF_PACK.LCM.001) triggered to
             react to one of the events listed in the event
3033
3034
3035
3036
             attribute.

             The string value specified here is a path to a file in
             the VNF package.";
3037
3038
3039
3040
          reference
            "GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
             information element";
        }
3041
3042

        leaf value {
3043
3044
          type string;
        }
3045
3046
3047
3048
3049
3050
3051
        description
          "Array of KVP requirements with the key as the parameter
           name and the value as the parameter that need to be
           passed as an input to the script.";
        reference
          "GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
           information element";
3052
      }
3053
    }
3054

3055
    list element-group {
3056
      status deprecated;
3057
3058
3059
      key "id";
      description
        "Describes the associated elements of a VNFD for a certain
3060
3061
3062
3063
3064
         purpose during VNF lifecycle management.

         Reason for deprecating this node - Information about which
         VDU and VLD are involved in scaling is better defined by
         ScalingDelta.";
3065
3066
3067
3068
3069
      reference
        "GS NFV IFA011: Section 7.1.2 VNFD information element";

      leaf id {
        type string;
3070
        description
3071
          "Unique identifier of this group in the VNFD.";
3072
        reference
3073
3074
3075
          "GS NFV IFA011: Section 7.1.4 VnfdElementGroup
           information element";
      }
3076

3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
      leaf description {
        type string;
        description
          "Human readable description of the group.";
        reference
          "GS NFV IFA011: Section 7.1.4 VnfdElementGroup
           information element";
      }

      leaf-list vdu {
        type leafref {
          path "../../vdu/id";
3089
        }
3090
3091
3092
3093
3094
3095
3096
3097
3098
        description
          "References to Vdus that are part of this group.";
        reference
          "GS NFV IFA011: Section 7.1.4 VnfdElementGroup
           information element";
      }

      leaf-list virtual-link-desc {
        type leafref {
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
3099
          path "/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id";
3100
        }
3101
3102
3103
3104
3105
3106
        description
          "References to VnfVirtualLinkDesc that are part of this
           group.";
        reference
          "GS NFV IFA011: Section 7.1.4 VnfdElementGroup
           information element";
3107
      }
3108
    }
3109

3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
    list indicator {
      key "id";
      description
        "Declares the VNF indicators that are supported by this
         VNF.";
      reference
        "GS NFV IFA011: Section 7.1.2 VNFD information element";

      leaf id {
        type string;
3120
        description
3121
          "Unique identifier";
3122
        reference
3123
3124
3125
          "GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
           information element";
      }
3126

3127
3128
3129
3130
3131
3132
3133
      leaf name {
        type string;
        description
          "The human readable name of the VnfIndicator.";
        reference
          "GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
           information element";
3134
3135
      }

3136
      leaf-list indicator-value {
3137
3138
        type string;
        description
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
          "Defines the allowed values or value ranges of this
           indicator.";
        reference
          "GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
           information element";
      }

      leaf source {
        type enumeration {
          enum "vnf";
          enum "em";
          enum "both";
        }
        description
          "Describe the source of the indicator. The possible values
           are:
           • VNF.
           • EM.
           • Both.
           This tells the consumer where to send the subscription
           request.";
3160
        reference
3161
3162
          "GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
           information element";
3163
3164
      }
    }
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176

    leaf-list auto-scale {
      type string;
      description
        "Rule that determines when a scaling action needs to be
         triggered on a VNF instance e.g. based on certain VNF
         indicator values or VNF indicator value changes or a
         combination of VNF indicator value(s) and monitoring
         parameter(s).";
      reference
        "GS NFV IFA011: Section 7.1.2 VNFD information element";
    }
3177
3178
  }
}
For faster browsing, not all history is shown. View entire blame