SOL005NSLifecycleManagement_def.yaml 266 KB
Newer Older
2001
        description: >
2002
2003
2004
2005
          Specifies additional affinity or anti-affinity constraint for
          the VNF instances to be instantiated as part of the NS
          instantiation.
          Shall not conflict with rules already specified in the NSD.
2006
        type: array
2007
        items:
2008
2009
          $ref: "#/definitions/AffinityOrAntiAffinityRule"

2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
  ParamsForNestedNs:
    description: >
      This type specifies additional parameters on a per-nested NS instance basis. 
      It shall comply with the provisions defined in Table 6.5.3.21a-1.
    type: object
    required:
      - nsProfileId
    properties:
      nsProfileId:
        description: >
          Identifier of a NsProfile to which the additional parameters apply.
2021
        $ref: "#/definitions/IdentifierInNsd"
2022
2023
2024
2025
2026
      additionalParam:
        description: >
          Additional parameters that are to be applied on a per nested NS instance.
        type: array
        items:
2027
          $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2028

2029
  ParamsForVnf:
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
    description: >
      This type defines the additional parameters for the VNF instance
      to be created associated with an NS instance.
      It shall comply with the provisions defined in Table 6.5.3.22-1.
    type: object
    required:
      - vnfProfileId
    properties:
      vnfProfileId:
        description: >
          Identifier of (reference to) a vnfProfile to which the
          additional parameters apply.
2042
        $ref: "#/definitions/IdentifierInNsd"
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
      vnfInstanceName:
        description: >
          Human-readable name of the VNF instance to be created.
        type: string
      vnfInstanceDescription:
        description: >
          Human-readable description of the VNF instance to be created.
        type: string
      vnfConfigurableProperties:
        description: >
2053
2054
2055
2056
          If present, this attribute provides values for the configurable properties declared in the VNFD.
          These values will override the default values if default values are also declared in the VNFD.

          It provides values  for the "vnfConfigurableProperties" input
2057
2058
2059
2060
2061
          parameter of the Instantiate VNF operation defined in
          ETSI GS NFV-SOL 003 [4].
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
      metadata:
        description: >
2062
2063
2064
2065
2066
2067
          If present, this attribute provides values for metadata.
          Metadata can but need not be declared in the VNFD.
          These values will override the default values if default
          values are also declared in the VNFD.

          It provides the values for the "metadata" input parameter of the Create
2068
2069
2070
2071
2072
          VNF Identifier operation defined in ETSI
          GS NFV-SOL 003 [4].
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
      extensions:
        description: >
2073
2074
2075
2076
2077
          If present, this attribute provides values for the extensions
          declared in the VNFD. These values will override the default
          values if default values are also declared in the VNFD.

          It provides the values for the "extensions" input parameter  of the Instantiate
2078
2079
          VNF operation defined in ETSI GS NFV-SOL 003 [4].
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2080
2081
      additionalParams:
        description: >
2082
2083
2084
          Additional input parameters for the instantiation process,
          specific to the VNF being instantiated, as declared in the
          VNFD as part of "InstantiateVnfOpConfig".
2085
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2086

2087
  LocationConstraints:
2088
2089
    description: >
      This type represents location constraints for a VNF to be instantiated.
2090
2091
2092
2093
2094
      The location constraints can be represented as follows:
      •	as a country code
      •	as a civic address combined with a country code
      •	as an area, conditionally combined with a country code
      The LocationConstraints data type shall comply with the provisions defined in Table 6.5.3.21-1.
2095
2096
2097
2098
2099
    type: object
    properties:
      countryCode:
        description: >
          The two-letter ISO 3166 [29] country code in capital letters.
2100
2101
2102
2103
2104
          Shall be present in case the "area" attribute is absent. May be absent if the "area" attribute is present.
          If both "countryCode" and "area" are present, no conflicts should exist between the values of these two attributes.
          In case of conflicts, the API producer (i.e. the NFVO) shall disregard parts of the geographic area signalled
          by "area" that are outside the boundaries of the country signalled by "countryCode". If "countryCode" is absent,
          it is solely the "area" attribute that defines the location constraint.
2105
2106
2107
2108
        type: string
      civicAddressElement:
        description: >
          Zero or more elements comprising the civic address.
2109
          Shall be absent if the "area" attribute is present.
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
        type: array
        items:
          type: object
          required:
            - caType
            - caValue
          properties:
            caType:
              description: >
                Describe the content type of caValue. The value of
                caType shall comply with Section 3.4 of IETF
                RFC 4776 [13].
              type: integer
            caValue:
              description: >
                Content of civic address element corresponding to the
                caType. The format caValue shall comply with
                Section 3.4 of IETF RFC 4776 [13].
              type: string
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
      area:
        description: >
          Geographic area. Shall be absent if the "civicAddressElement" attribute is present.
          The content of this attribute shall follow the provisions for the "Polygon" geometry object as defined in
          IETF RFC 7946, for which the "type" member shall be set to the value "Polygon".
          If both "countryCode" and "area" are present, no conflicts should exist between the values of these two attributes.
          In case of conflicts, the API producer (i.e. the NFVO) shall disregard parts of the geographic area signalled
          by "area" that are outside the boundaries of the country signalled by "countryCode". If "countryCode" is absent,
          it is solely the "area" attribute that defines the location constraint.
        type: object
2139

2140
  VnfLocationConstraint:
2141
2142
2143
2144
    description: >
      This type represents the association of location constraints to a VNF instance
      to be created according to a specific VNF profile.
      It shall comply with the provisions defined in Table 6.5.3.20-1.
2145
2146
2147
2148
2149
2150

      NOTE: these constraints are typically determined by the OSS/BSS from
      service requirements (e.g. latency requirements, regulatory requirements).
      The NFVO can map such location constraints to eligible NFVI-PoPs/resource
      zones where the VNF instance is to be created.

2151
2152
2153
2154
2155
2156
2157
2158
    type: object
    required:
      - vnfProfileId
    properties:
      vnfProfileId:
        description: >
          Identifier of (reference to) a vnfProfile to which the
          additional parameters apply.
2159
        $ref: "#/definitions/IdentifierInNsd"
2160
2161
2162
2163
      locationConstraints:
        description: >
          Defines the location constraints for the VNF instance to
          be created based on the VNF profile.
2164
2165

          See note.
2166
        $ref: "#/definitions/LocationConstraints"
2167
2168

  VnfInstanceData:
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
    description: >
      This type specifies an existing VNF instance to be used in the NS instance and
      if needed, the VNF Profile to use for this VNF instance.
      It shall comply with the provisions defined in Table 6.5.3.19-1.
    type: object
    required:
      - vnfInstanceId
      - vnfProfileId
    properties:
      vnfInstanceId:
        description: >
          Identifier of the existing VNF instance to be used in the NS.
2181
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2182
2183
2184
2185
2186
2187
      vnfProfileId:
        description: >
          Identifier of (Reference to) a vnfProfile defined in the
          NSD which the existing VNF instance shall be matched
          with. If not present, the NFVO will select the VnfProfile
          matching the information in the VNF instance.
2188
        $ref: "#/definitions/IdentifierInNsd"
2189

2190
2191
2192
2193
2194
2195
2196
2197
2198
  NestedNsInstanceData:
    description: >
      This type specifies an existing nested NS instance to be used in the NS instance 
      and if needed, the NsProfile to use for this nested NS instance. 
      It shall comply with the provisions defined in Table 6.5.3.19a-1.
    type: object
    required:
      - nestedNsInstanceId
    properties:
2199
      nestedNsInstanceId:
2200
2201
        description: >
          Identifier of the existing nested NS instance to be used in the NS.
2202
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2203
2204
2205
2206
2207
2208
      nsProfileId:
        description: >
          Identifier of an NsProfile defined in the NSD which the existing 
          nested NS instance shall be matched with.
          If not present, the NFVO will select the NsProfile matching the 
          information in the nested NS instance.
2209
        $ref: "#/definitions/IdentifierInNs"
2210

2211
  SapData:
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
    description: >
      This type represents the information related to a SAP of a NS.
      It shall comply with the provisions defined in Table 6.5.3.10-1.
    type: object
    required:
      - sapdId
      - sapName
      - description
    properties:
      sapdId:
        description: >
          Reference to the SAPD for this SAP.
2224
        $ref: "#/definitions/IdentifierInNsd"
2225
2226
2227
2228
2229
2230
2231
2232
2233
      sapName:
        description: >
          Human readable name for the SAP.
        type: string
      description:
        description: >
          Human readable description for the SAP.
        type: string
      sapProtocolData:
2234
2235
2236
        description: >
          Parameters for configuring the network protocols on the SAP.
        type: array
2237
        items:
2238
          $ref: "#/definitions/CpProtocolData"
2239
2240

  ScaleNsRequest:
2241
    description: >
2242
      This type represents a request for the scale NS operation.
2243
      Either the parameter scaleNsData or the parameter scaleVnfData, but not both shall be provided
2244
2245
    type: object
    required:
2246
      - scaleType
2247
2248
2249
2250
2251
    oneOf:
      - required:
          - scaleNsData
      - required:
          - scaleVnfData
2252
    properties:
2253
      scaleType:
2254
        description: >
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
          Indicates the type of scaling to be performed.
          Possible values:
          - SCALE_NS
          - SCALE_VNF
        type: string
        enum:
          - SCALE_NS
          - SCALE_VNF
      scaleNsData:
        description: >
          The necessary information to scale the referenced NS instance.
          It shall be present when scaleType = SCALE_NS.
        $ref: "#/definitions/ScaleNsData"
      scaleVnfData:
        description: >
          The necessary information to scale the referenced NS instance.
          It shall be present when scaleType = SCALE_VNF.
        type: array
        items:
          $ref: "#/definitions/ScaleVnfData"
      scaleTime:
        description: >
          Timestamp indicating the scale time of the NS, i.e. the
          NS will be scaled at this timestamp. Cardinality "0"
          indicates the NS scaling takes place immediately".
2280
        $ref: "../../definitions/SOL005_def.yaml#/definitions/DateTime"
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291

  UpdateNsRequest:
    description: >
      This operation supports the update of a NS instance, 
      It shall comply with the provisions defined in Table 6.5.2.12-1.
    type: object
    required:
      - updateType
    properties:
      updateType:
        description: >
2292
          The type of update. It determines also which one of the following parameters is present in the operation.
2293
2294
          Possible values include:
          * ADD_VNF: Adding existing VNF instance(s)
2295
2296
2297
2298
          * REMOVE_VNF: Removing VNF instance(s)
          * INSTANTIATE_VNF: Instantiating new VNF(s)
          * CHANGE_VNF_DF: Changing VNF DF
          * OPERATE_VNF: Changing VNF state,
2299
2300
2301
          * MODIFY_VNF_INFORMATION: Modifying VNF information and/or the configurable properties of VNF instance(s)
          * CHANGE_EXTERNAL_VNF_CONNECTIVITY: Changing the external connectivity of VNF instance(s)
          * CHANGE_VNFPKG: Changing the VNF package(s) on which (a) VNF instance(s) is/are based
2302
          * ADD_SAP: Adding SAP(s)
2303
          * REMOVE_SAP: Removing SAP(s)
2304
2305
2306
2307
          * ADD_NESTED_NS: Adding existing NS instance(s) as nested NS(s)
          * REMOVE_NESTED_NS: Removing existing nested NS instance(s)
          * ASSOC_NEW_NSD_VERSION: Associating a new NSD version to the NS instance
          * MOVE_VNF: Moving VNF instance(s) from one origin NS instance to another target NS instance
2308
2309
2310
2311
2312
2313
2314
          * ADD_VNFFG: Adding VNFFG(s)
          * REMOVE_VNFFG: Removing VNFFG(s)
          * UPDATE_VNFFG: Updating VNFFG(s)
          * CHANGE_NS_DF: Changing NS DF
          * ADD_PNF: Adding PNF
          * MODIFY_PNF: Modifying PNF
          * REMOVE_PNF: Removing PNF
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
          *	CREATE_VNF_SNAPSHOT: Creating VNF Snapshots of VNF instances belonging to the NS instance.
            It depends on the VNF capabilities, and is declared in the VNFD whether the operation is supported for a particular VNF.
          *	REVERT_VNF_TO_SNAPSHOT: Reverting a VNF instance belonging to the NS instance to a VNF Snapshot.
            It depends on the VNF capabilities, and is declared in the VNFD whether the operation is supported for a particular VNF.
            The operation might be service-disruptive.
          *	DELETE_VNF_SNAPSHOT_INFO: Deleting available VNF Snapshot information for a VNF instance belonging to the NS instance.
            It depends on the VNF capabilities, and is declared in the VNFD whether the operation is supported for a particular VNF.
          *	MODIFY_WAN_CONNECTION_INFO: Modify WAN related connectivity information.
          *	CREATE_NS_VIRTUAL_LINK: Create an NsVirtualLink instance.
          *	DELETE_NS_VIRTUAL_LINK: Delete an NsVirtualLink instance.
2325
        type: string
2326
        enum:
2327
2328
2329
2330
2331
2332
2333
          - ADD_VNF
          - REMOVE_VNF
          - INSTANTIATE_VNF
          - CHANGE_VNF_DF
          - OPERATE_VNF
          - MODIFY_VNF_INFORMATION
          - CHANGE_EXTERNAL_VNF_CONNECTIVITY
2334
          - CHANGE_VNFPKG
2335
          - ADD SAP
2336
2337
2338
2339
2340
2341
          - REMOVE_SAP
          - ADD_NESTED_NS
          - REMOVE_NESTED_NS
          - ASSOC_NEW_NSD_VERSION
          - MOVE_VNF
          - ADD_VNFFG
2342
2343
2344
2345
2346
2347
          - REMOVE_VNFFG
          - UPDATE_VNFFG
          - CHANGE_NS_DF
          - ADD_PNF
          - MODIFY_PNF
          - REMOVE_PNF
2348
2349
2350
2351
2352
2353
          - CREATE_VNF_SNAPSHOT
          - REVERT_VNF_TO_SNAPSHOT
          - DELETE_VNF_SNAPSHOT_INFO
          - MODIFY_WAN_CONNECTION_INFO
          - CREATE_NS_VIRTUAL_LINK
          - DELETE_NS_VIRTUAL_LINK
2354
2355
2356
2357
2358
      addVnfIstance:
        description: >
          Identifies an existing VNF instance to be added to the
          NS instance. It shall be present only if updateType = "ADD_VNF".         
        type: array
2359
        items:
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
          $ref: "#/definitions/VnfInstanceData"
      removeVnfInstanceId:
        description: >
          Identifies an existing VNF instance to be removed from
          the NS instance. It contains the identifier(s) of the VNF
          instances to be removed. It shall be present only if
          updateType = "REMOVE_VNF." Note: If a VNF instance
          is removed from a NS and this NS was the last one for
          which this VNF instance was a part, the VNF instance is
          terminated by the NFVO.
        type: array
2371
        items:
2372
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2373
2374
2375
2376
2377
2378
      instantiateVnfData:
        description: >
          Identifies the new VNF to be instantiated. It can be used
          e.g. for the bottom-up NS creation. It shall be present
          only if updateType = "INSTANTIATE_VNF".
        type: array
2379
2380
        items:
          $ref: "#/definitions/InstantiateVnfData"
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
      terminateVnfData:
        description: >
          Specifies the details to terminate VNF instance(s).
          It shall be present only if updateType = "REMOVE_VNF"
          and if the VNF instance(s) is(are) to be terminated as
          part of this operation.
          If a VNF instance is removed from an NS and this NS was the
          last one for which this VNF instance was a part, the VNF instance
          is terminated by the NFVO.
          For each of the referred vnfInstanceId in the terminateVnfData,
          there shall be a corresponding value in the removeVnfInstanceId.
        type: array
        items:
          $ref: "#/definitions/TerminateVnfData"
2395
2396
2397
2398
2399
      changeVnfFlavourData:
        description: >
          Identifies the new DF of the VNF instance to be
          changed to. It shall be present only if updateType = "CHANGE_VNF_DF".
        type: array
2400
2401
        items:
          $ref: "#/definitions/ChangeVnfFlavourData"
2402
2403
2404
2405
2406
      operateVnfData:
        description: >
          Identifies the state of the VNF instance to be changed. 
          It shall be present only if updateType = "OPERATE_VNF".
        type: array
2407
2408
        items:
          $ref: "#/definitions/OperateVnfData"
2409
2410
2411
2412
2413
2414
      modifyVnfInfoData:
        description: >
          Identifies the VNF information parameters and/or the
          configurable properties of VNF instance to be modified.
          It shall be present only if updateType = "MODIFY_VNF_INFORMATION".
        type: array
2415
        items:
2416
2417
2418
2419
2420
2421
2422
          $ref: "#/definitions/ModifyVnfInfoData"
      changeExtVnfConnectivityData:
        description: >
          Specifies the new external connectivity data of the VNF
          instance to be changed. It shall be present only if
          updateType = "CHANGE_EXTERNAL_VNF_CONNECTIVITY".
        type: array
2423
2424
        items:
          $ref: "#/definitions/ChangeExtVnfConnectivityData"
2425
2426
2427
2428
2429
      changeVnfPackageData:
        description: >
          Specifies the details to change the VNF package on which the VNF instance is based.
          It shall be present only if updateType = "CHANGE_VNFPKG".
        type: array
Francesca Moscatelli's avatar
Francesca Moscatelli committed
2430
2431
        items:
          $ref: "#/definitions/ChangeVnfPackageData"
2432
2433
2434
2435
2436
      addSap:
        description: >
          Identifies a new SAP to be added to the NS instance.
          It shall be present only if updateType = "ADD_SAP."
        type: array
2437
2438
        items:
          $ref: "#/definitions/SapData"
2439
2440
2441
2442
2443
      removeSapId:
        description: >
          The identifier an existing SAP to be removed from the
          NS instance. It shall be present only if updateType = "REMOVE_SAP."
        type: array
2444
        items:
2445
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2446
      addNestedNsData:
2447
2448
2449
2450
2451
        description: >
          The identifier of an existing nested NS instance to be
          added to (nested within) the NS instance. It shall be
          present only if updateType = "ADD_NESTED_NS".
        type: array
2452
        items:
2453
          $ref: "#/definitions/NestedNsInstanceData"
2454
      removeNestedNsId:
2455
2456
2457
2458
2459
2460
        description: >
          The identifier of an existing nested NS instance to be
          removed from the NS instance. It shall be present only if
          updateType = "REMOVE_NESTED_NS".
        type: array
        items:
2461
          $ref: "#/definitions/IdentifierInNs"
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
      assocNewNsdVersionData:
        description: >
          Specify the new NSD to be used for the NS instance. It
          shall be present only if updateType =
          ASSOC_NEW_NSD_VERSION".
        $ref: "#/definitions/AssocNewNsdVersionData"
      moveVnfInstanceData:
        description: >
          Specify existing VNF instance to be moved from one NS
          instance to another NS instance. It shall be present only
          if updateType = MOVE_VNF".
        type: array
2474
2475
        items:
          $ref: "#/definitions/MoveVnfInstanceData"
2476
2477
2478
2479
2480
2481
      addVnffg:
        description: >
          Specify the new VNFFG to be created to the NS
          Instance. It shall be present only if updateType =
          "ADD_VNFFG".
        type: array
2482
2483
        items:
          $ref: "#/definitions/AddVnffgData"
2484
2485
2486
2487
2488
2489
      removeVnffgId:
        description: >
          Identifier of an existing VNFFG to be removed from the
          NS Instance. It shall be present only if updateType =
          "REMOVE_VNFFG".
        type: array
2490
        items:
2491
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2492
2493
2494
2495
2496
2497
      updateVnffg:
        description: >
          Specify the new VNFFG Information data to be updated
          for a VNFFG of the NS Instance. It shall be present only
          if updateType = "UPDATE_VNFFG".
        type: array
2498
2499
        items:
          $ref: "#/definitions/UpdateVnffgData"
2500
2501
2502
2503
2504
      changeNsFlavourData:
        description: >
          Specifies the new DF to be applied to the NS instance. It
          shall be present only if updateType =
          "CHANGE_NS_DF".
2505
        $ref: "#/definitions/ChangeNsFlavourData"
2506
2507
2508
2509
2510
      addPnfData:
        description: >
          specifies the PNF to be added into the NS instance. 
          It shall be present only if updateType = "ADD_PNF".
        type: array
2511
2512
        items:
          $ref: "#/definitions/AddPnfData"
2513
2514
2515
2516
2517
      modifyPnfData:
        description: >
          Specifies the PNF to be modified in the NS instance. 
          It shall be present only if updateType = "MODIFY_PNF".
        type: array
2518
2519
        items:
          $ref: "#/definitions/ModifyPnfData"
2520
2521
2522
2523
2524
      removePnfId:
        description: >
          Identifier of the PNF to be deleted from the NS instance.
          It shall be present only if updateType = "REMOVE_PNF".
        type: array
2525
        items:
2526
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2527
2528
2529
2530
2531
2532
2533
      modifyWanConnectionInfoData:
        description: >
          Specifies the data to modify about WAN related connectivity information.
          It shall be present only if updateType = "MODIFY_WAN_CONNECTION_INFO".
        type: array
        items:
          $ref: "#/definitions/ModifyWanConnectionInfoData"
2534
2535
2536
2537
2538
      updateTime:
        description: >
          Timestamp indicating the update time of the NS, i.e. the
          NS will be updated at this timestamp. Cardinality "0"
          indicates the NS update takes place immediately.
2539
        $ref: "../../definitions/SOL005_def.yaml#/definitions/DateTime"
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
      createSnapshotData:
        description: >
          Specify the VNF instance to be snapshotted. It shall be present only if updateType = "CREATE_VNF_SNAPSHOT".
        $ref: '#/definitions/CreateVnfSnapshotData'
      revertVnfToSnapshotData:
        description: >
          Specify the VNF instance to be reverted and the VNF Snapshot to be reverted to. It shall be present only if
          updateType = "REVERT_VNF_TO_SNAPSHOT".
          $ref: '#/definitions/CreateVnfSnapshotData'
        $ref: '#/definitions/RevertVnfToSnapshotData'
      deleteVnfSnapshotData:
        description: >
          Specify the VNF Snapshot info to be deleted and the related VNF instance. It shall be present only if
          updateType = "DELETE_VNF_SNAPSHOT_INFO".
        $ref: '#/definitions/DeleteVnfSnapshotData'
      addNsVirtualLinkData:
        description: >
          Specify data to be used to create a new NsVirtualLink instance. This parameter shall be present only if
          updateType = “CREATE_NS_VIRTUAL_LINK”.
        type: array
        items:
          $ref: '#/definitions/AddNsVirtualLinkData'
      deleteNsVirtualLinkId:
        description: >
          Identify an existing NsVirtualLink instance to be deleted. The parameter shall be present only if
          updateType = “DELETE_NS_VIRTUAL_LINK”.
        type: array
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2569

2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
  InstantiateVnfData:
    description: >
      This type represents the information related to a SAP of a NS. The InstantiateVnfData data type specifies the
      parameters that are needed for VNF instantiation. This information element is used for the bottom-up NS creation when
      the OSS/BSS explicitly requests VNF instantiation for a given NS. When the NFVO invokes the Instantiate VNF
      update operation, a set of these parameters are then passed by the NFVO to the VNFM. It shall comply with the
      provisions defined in Table 6.5.3.24-1.
    type: object
    properties:
      vnfdId:
        description: >
          Information sufficient to identify the VNFD which defines
          the VNF to be instantiated.
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594

          If vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if provided) are present, there should be only one vnfProfile
          that matches the vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if present) in the NS deployment flavour specified in the NSD
          associated to the NS instance to which the present operation is
          triggered. In the case there is more than one matching vnfProfile,
          the NFVO may select a matching vnfProfile based on other information,
          such as external VL.

          Either the attribute triple "vnfdId, vnfFlavourId and vnfInstantiationLevelId
          (if provided)" or the attribute "vnProfileId" shall be present, but not both.
2595
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2596
2597
2598
      vnfFlavourId:
        description: >
          Identifier of the VNF deployment flavor to be instantiated.
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610

          If vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if provided) are present, there should be only one vnfProfile
          that matches the vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if present) in the NS deployment flavour specified in the NSD
          associated to the NS instance to which the present operation is
          triggered. In the case there is more than one matching vnfProfile,
          the NFVO may select a matching vnfProfile based on other information,
          such as external VL.

          Either the attribute triple "vnfdId, vnfFlavourId and vnfInstantiationLevelId
          (if provided)" or the attribute "vnProfileId" shall be present, but not both.
2611
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
2612
2613
2614
2615
2616
2617
      vnfInstantiationLevelId:
        description: >
          Identifier of the instantiation level of the deployment
          flavor to be instantiated. If not present, the default
          instantiation level as declared in the VNFD is
          instantiated.
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629

          If vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if provided) are present, there should be only one vnfProfile
          that matches the vnfdId and vnfFlavourId (and vnfInstantiationLevelId,
          if present) in the NS deployment flavour specified in the NSD
          associated to the NS instance to which the present operation is
          triggered. In the case there is more than one matching vnfProfile,
          the NFVO may select a matching vnfProfile based on other information,
          such as external VL.

          Either the attribute triple "vnfdId, vnfFlavourId and vnfInstantiationLevelId
          (if provided)" or the attribute "vnProfileId" shall be present, but not both.
2630
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
2631
2632
2633
2634
2635
2636
2637
      vnfProfileId:
        description: >
          Identifier of (Reference to) a vnfProfile defined in the NSD which is used for instantiating the VNF.

          Either the attribute triple "vnfdId, vnfFlavourId and vnfInstantiationLevelId
          (if provided)" or the attribute "vnProfileId" shall be present, but not both.
        $ref: "#/definitions/IdentifierInNsd"
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
      vnfInstanceName:
        description: >
          Human-readable name of the VNF instance to be created.
        type: string
      vnfInstanceDescription:
        description: >
          Human-readable description of the VNF instance to be created.
        type: string
      extVirtualLinks:
        description: >
          Information about external VLs to connect the VNF to.
        type: array
2650
        items:
2651
          $ref: "#/definitions/ExtVirtualLinkData"
2652
2653
2654
      extManagedVirtualLinks:
        description: >
          Information about internal VLs that are managed by other entities than the VNFM.
2655
2656
2657
2658
          It is possible to have several ExtManagedVirtualLinkData for the same VNF internal VL in case of a multi-site
          VNF spanning several VIMs. The set of ExtManagedVirtualLinkData corresponding to the same VNF internal VL shall
          indicate so by referencing to the same VnfVirtualLinkDesc and externally-managed multi-site VL instance
          (refer to clause 6.5.3.27).
2659
        type: array
2660
        items:
2661
          $ref: "#/definitions/ExtManagedVirtualLinkData"
2662
2663
      localizationLanguage:
        description: >
2664
          Localization language of the VNF to be instantiated.
2665
          The value shall comply with the format defined in IETF RFC 5646.
2666
        type: string
2667
2668
      vnfConfigurableProperties:
        description: >
2669
2670
2671
2672
2673
          If present, this attribute provides values for the configurable
          properties declared in the VNFD. These values will override
          the default values if default values are also declared in the VNFD.

          It provides values for the "vnfConfigurableProperties" input
2674
2675
2676
          parameter of the Instantiate VNF operation
          defined in ETSI GS NFV-SOL 003 [4].
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2677
2678
2679
2680
      additionalParams:
        description: >
          Additional input parameters for the instantiation process,
          specific to the VNF being instantiated.
2681
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2682
2683
      metadata:
        description: >
2684
2685
2686
2687
          If present, this attribute provides values for metadata. Metadata
          can but need not be declared in the VNFD. These values will override
          the default values if default values are also declared in the VNFD.

2688
2689
2690
2691
2692
          This attribute provides values for the "metadata" input parameter of
          the Create VNF Identifier operation.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
      extensions:
        description: >
2693
2694
2695
2696
          If present, this attribute provides values for extensions declared
          in the VNFD. These values will override the default values if default
          values are also declared in the VNFD.

2697
2698
2699
          This attribute provides values for the "extensions" input parameter of
          the Instantiate VNF operation.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2700
2701
2702
2703
2704
2705
2706
      locationConstraints:
        description: >
          Defines the location constraints for the VNF to be
          instantiated as part of the NS Update.
          An example can be a constraint for the VNF to be
          in a specific geographic location.
        $ref: "#/definitions/VnfLocationConstraint"
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720

  ChangeVnfFlavourData:
    description: >
      The type represents the information that is requested to be changed
      deployment flavor for an existing VNF instance.
      It shall comply with the provisions defined in Table 6.5.3.25-1.
    type: object
    required:
      - vnfInstanceId
      - newFlavourId
    properties:
      vnfInstanceId:
        description: >
          Identifier of the VNF instance to be modified.
2721
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2722
2723
2724
      newFlavourId:
        description: >
          Identifier of the VNF deployment flavor to be instantiated.
2725
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
2726
2727
2728
2729
2730
2731
      instantiationLevelId:
        description: >
          Identifier of the instantiation level of the deployment
          flavor to be instantiated. If not present, the default
          instantiation level as declared in the VNFD is
          instantiated.
2732
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
2733
2734
2735
2736
2737
      extVirtualLinks:
        description: >
          Information about external VLs to connect the VNF to.
        type: array
        items:
2738
          $ref: "#/definitions/ExtVirtualLinkData"
2739
2740
2741
      extManagedVirtualLinks:
        description: >
          information about internal VLs that are managed by NFVO.
2742
2743
2744
2745
          The indication of externally-managed internal VLs is needed in case networks have been pre-configured for use
          with certain VNFs, for instance to ensure that these networks have certain properties such as security or
          acceleration features, or to address particular network topologies. The present document assumes that
          xternally-managed internal VLs are managed by the NFVO and created towards the VIM.
2746
2747
2748
2749
          It is possible to have several ExtManagedVirtualLinkData for the same VNF internal VL in case of a multi-site
          VNF spanning several VIMs. The set of ExtManagedVirtualLinkData corresponding to the same VNF internal VL shall
          indicate so by referencing to the same VnfVirtualLinkDesc and externally-managed multi-site VL instance
          (refer to clause 6.5.3.27).
2750
2751
        type: array
        items:
2752
          $ref: "#/definitions/ExtManagedVirtualLinkData"
2753
2754
2755
2756
2757
      additionalParams:
        description: >
          Additional input parameters for the flavor change
          process, specific to the VNF being modified, as declared
          in the VNFD as part of "ChangeVnfFlavourOpConfig".
2758
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2759
2760
      extensions:
        description: >
2761
          This attribute provides values for the "extensions" input parameter of the Change VNF Flavour
2762
2763
2764
2765
          operation defined in ETSI GS NFV-SOL 003.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
      vnfConfigurableProperties:
        description: >
2766
2767
          This attribute provides values for the "vnfConfigurableProperties" input parameter of the Change VNF Flavour
          operation defined in ETSI GS NFV-SOL 003.
2768
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782

  OperateVnfData:
    description: >
      This type represents a VNF instance for which the operational state 
      needs to be changed and the requested new state. It
      shall comply with the provisions defined in Table 6.5.3.31-1.
    type: object
    required:
      - vnfInstanceId
      - changeStateTo
    properties:
      vnfInstanceId:
        description: >
          Identifier of the VNF instance.
2783
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
      changeStateTo:
        description: >
          The desired operational state (i.e. started or stopped)
          to change the VNF to.
        $ref: "#/definitions/OperationalStates"
      stopType:
        description: >
          It signals whether forceful or graceful stop is requested.           
        $ref: "#/definitions/StopType"
      gracefulStopTimeout:
        description: >
          The time interval (in seconds) to wait for the VNF to be
          taken out of service during graceful stop, before
          stopping the VNF.
        type: integer
2799
2800
2801
2802
2803
2804
      additionalParam:
        description: >
          Additional parameters passed by the OSS/BSS as input
          to the Operate VNF operation, specific to the VNF being
          operated.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2805
2806
2807
2808
2809
2810
2811
2812
2813

  OperationalStates:
    description: >
      STARTED - The VNF instance is up and running.
      STOPPED - The VNF instance has been shut down.
    type: string
    enum:
      - STARTED
      - STOPPED
2814

2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
  StopType:
    description: >
      * FORCEFUL: The VNFM will stop the VNF immediately after accepting the
        request.
      * GRACEFUL: The VNFM will first arrange to take the VNF out of service
        after accepting the request. Once that operation is successful or once
        the timer value specified in the "gracefulStopTimeout" attribute
        expires, the VNFM will stop the VNF.
    type: string
    enum:
      - FORCEFUL
      - GRACEFUL

  ModifyVnfInfoData:
    description: >
      This type represents the information that is requested to be modified for a VNF instance. The information to be
      modified shall comply with the associated NSD.
      EXAMPLE. The vnfPkgId attribute value for a particular VNF instance can only be updated with a value that
      matches the identifier value of a VNF package whose vnfdId is present in the associated profile of the NSD.
    type: object
    required:
      - vnfInstanceId
    properties:
      vnfInstanceId:
        description: >
          Identifier of the VNF instance.
2841
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
      vnfInstanceName:
        description: >
          New value of the "vnfInstanceName" attribute in
          "VnfInstance", or "null" to remove the attribute.
        type: string
      vnfInstanceDescription:
        description: >
          New value of the "vnfInstanceDescription" attribute in "VnfInstance",
          or "null" to remove the attribute.
        type: string
2852
      vnfdId:
2853
        description: >
2854
          New value of the "vnfdId" attribute in "VnfInstance".
2855
          The value "null" is not permitted
2856
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2857
2858
2859
      vnfConfigurableProperties:
        description: >
          Modifications to entries in the
2860
          "vnfConfigurableProperties" attribute in "VnfInstance", as defined below in clause 6.5.3.57.
2861
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2862
      metadata:
2863
        description: >
2864
          Modifications to entries in the "metadata" attribute in "VnfInstance", as defined below in clause 6.5.3.57.
2865
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2866
      extensions:
2867
        description: >
2868
          Modifications to entries in the "extensions" attribute in "VnfInstance", as defined below in clause 6.5.3.57.
2869
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2870
2871
2872
2873
2874
2875

  ChangeExtVnfConnectivityData:
    description: >
      This type describes the information invoked by the NFVO to change the external VNF connectivity information
      maintained by the VNFM. The types of changes that this operation supports are:
      1) Disconnect the external CPs that are connected to a particular external VL, and connect them to a different
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
         external VL.
      2) Disconnect and delete external CPs that are connected to a particular external VL and that represent subports
         in a trunk, i.e. CP instances that are created from external CPDs that have trunk mode configured according to
         clause 7.1.6.3 in ETSI GS NFV-IFA 011. If the parent port is exposed as an "extCp", the VNFM shall ensure that
         the parent port is not deleted. If the parent port is exposed as an "extCp" and there are other subports connected,
         the VNFM shall ensure that the parent port is not disconnected, unless it is reconnected to a different external
         VL in the same operation.
      3) Change the connectivity parameters of the existing external CPs, including changing addresses.

      NOTE:	Depending on the capabilities of the underlying VIM resources, certain changes (e.g. modifying the IP address
            assignment) might not be supported without deleting the resource and creating another one with the modified
            configuration.

      4) Create new CPs that represent supports in a trunk, i.e. CP instances that are created from external CPDs that
         have trunk mode configured according to clause 7.1.6.3 in ETSI GS NFV-IFA 011, and connect them to a particular
         external VL. Creation of the parent port with this operation is not supported. This type shall comply with the
         provisions defined in Table 6.5.3.33-1.
2893
2894
2895
    type: object
    required:
      - vnfInstanceId
2896
      - extVirtualLinks
2897
2898
2899
2900
    properties:
      vnfInstanceId:
        description: >
          Identifier of the VNF instance.
2901
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2902
      extVirtualLinks:
2903
2904
2905
2906
        description: >
          Information about external VLs to change (e.g. connect the VNF to).
        type: array
        items:
2907
          $ref: "#/definitions/ExtVirtualLinkData"
2908
2909
      additionalParams:
        description: >
2910
          Additional parameters passed by the OSS/BSS as input to
2911
2912
          the external connectivity change process, specific to the
          VNF instance being changed.
2913
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930

  AssocNewNsdVersionData:
    description: >
      This type specifies a new NSD version that is associated to the NS instance. After issuing the Update NS operation with
      updateType = "AssocNewNsdVersion", the NFVO shall use the referred NSD as a basis for the given NS instance.
      Different versions of the same NSD have same nsdInvariantId, but different nsdId attributes, therefore if the
      nsdInvariantId of the NSD version that is to be associated to this NS instance is different from the one used before, the
      NFVO shall reject the request. Only new versions of the same NSD can be associated to an existing NS instance. This
      data type shall comply with the provisions defined in Table 6.5.3.34-1.
    type: object
    required:
      - newNsdId
    properties:
      newNsdId:
        description: >
          Identifier of the new NSD version that is to be
          associated to the NS instance.
2931
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
      sync:
        description: >
          Specify whether the NS instance shall be automatically
          synchronized to the new NSD by the NFVO (in case of
          true value) or the NFVO shall not do any action (in case
          of a false value) and wait for further guidance from
          OSS/BSS (i.e. waiting for OSS/BSS to issue NS
          lifecycle management operation to explicitly add/remove
          VNFs and modify information of VNF instances
          according to the new NSD).
          The synchronization to the new NSD means e.g.
          instantiating/adding those VNFs whose VNFD is
          referenced by the new NSD version but not referenced
          by the old one, terminating/removing those VNFs whose
          VNFD is referenced by the old NSD version but not
          referenced by the new NSD version, modifying
          information of VNF instances to the new applicable
          VNFD provided in the new NSD version.
          A cardinality of 0 indicates that synchronization shall not be done.
        type: boolean

  MoveVnfInstanceData:
    description: >
      This type specifies existing VNF instances to be moved from one NS instance (source) to another NS instance
      (destination). The NS instance defined in the Update NS operation indicates the source NS instance and the destination
      NS instance is specified in this data type (referred to targetNsInstanceId).
      It shall comply with the provisions defined in Table 6.5.3.35-1.
    type: object
    required:
      - targetNsInstanceId
    properties:
      targetNsInstanceId:
        description: >
          Specify the target NS instance where the VNF instances
          are moved to.
2967
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2968
2969
2970
2971
2972
      vnfInstanceId:
        description: >
          Specify the VNF instance that is moved.
        type: array
        items:
2973
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988

  AddVnffgData:
    description: >
      This type specifies the parameters used for the creation of a new VNFFG instance.
      It shall comply with the provisions defined in Table 6.5.3.36-1.
    type: object
    required:
      - vnffgdId
      - vnffgName
      - description
    properties:
      targetNsInstanceId:
        description: >
          Identifier of the VNFFGD used to create this VNFFG
          instance.
2989
        $ref: "#/definitions/IdentifierInNsd"
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
      vnffgName:
        description: >
          Human readable name for the VNFFG.
        type: string
      description:
        description: >
          Human readable description for the VNFFG.
        type: string

  UpdateVnffgData:
    description: >
For faster browsing, not all history is shown. View entire blame