NsInstance.schema.json 107 KB
Newer Older
                            "required": [
                              "resourceId"
                            ],
                            "properties": {
                              "vimId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceProviderId": {
                                "description": "An identifier with the intention of being globally unique.\n",
                                "type": "string"
                              },
                              "resourceId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              },
                              "vimLevelResourceType": {
                                "description": "Type of the resource in the scope of the VIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                                "type": "string"
                              }
                            }
                          },
                          "cpInstanceId": {
                            "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                            "type": "string"
                          },
                          "cpInstanceType": {
                            "description": "Type of the CP instance that is identified by cpInstanceId. Shall be present if \"cpInstanceId\" is present, and shall be absent otherwise. Permitted values: * VNFC_CP: The link port is connected to a VNFC CP * EXT_CP: The link port is associated to an external CP.\n",
                            "type": "string",
                            "enum": [
                              "VNFC_CP",
                              "EXT_CP"
                            ]
                          }
                        }
                      }
                    },
                    "metadata": {
                      "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
                      "type": "object"
                    }
                  }
                }
              },
              "virtualStorageResourceInfo": {
				"description": "Information on the virtualised storage resource(s) used as storage for the VNF instance.\n",
				"type": "array",
				"items": {
					"description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance.\n",
					"type": "object",
					"required": ["id", "virtualStorageDescId", "storageResource"],
					"properties": {
						"id": {
							"description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
							"type": "string"
						},
						"virtualStorageDescId": {
							"description": "Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
							"type": "string"
						},
						"vnfdId": {
							"description": "An identifier with the intention of being globally unique.\n",
							"type": "string"
						},
						"storageResource": {
							"description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
							"type": "object",
							"required": ["resourceId"],
							"properties": {
								"vimId": {
									"description": "An identifier with the intention of being globally unique.\n",
									"type": "string"
								},
								"resourceProviderId": {
									"description": "An identifier with the intention of being globally unique.\n",
									"type": "string"
								},
								"resourceId": {
									"description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
									"type": "string"
								},
								"vimLevelResourceType": {
									"description": "Type of the resource in the scope of the VIM, the WIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM, the WIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
									"type": "string"
								}
							}
						},
						"reservationId": {
							"description": "An identifier with the intention of being globally unique.\n",
							"type": "string"
						},
						"metadata": {
							"description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
							"type": "object"
						}
					}
				}
          "metadata": {
            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
            "type": "object"
          },
          "extensions": {
            "description": "This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159.\n",
            "type": "object"
          }
        }
      }
    },
    "pnfInfo": {
      "description": "Information on the PNF(s) that are part of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "This type represents the information about a PNF that is part of an NS instance.  It shall comply with the provisions defined in Table 6.5.3.13-1.\n",
        "type": "object",
        "required": [
          "pnfId",
          "pnfdId",
          "pnfdInfoId",
          "pnfProfileId"
        ],
        "properties": {
          "pnfId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfName": {
            "description": "Name of the PNF.\n",
            "type": "string"
          },
          "pnfdId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfdInfoId": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          },
          "pnfProfileId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "cpInfo": {
            "description": "This type represents the information about the external CP of the PNF.  It shall comply with the provisions defined in Table 6.5.3.17-1.\n",
            "type": "object",
            "required": [
              "cpInstanceId",
              "cpdId"
            ],
            "properties": {
              "cpInstanceId": {
                "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                "type": "string"
              },
              "cpdId": {
                "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
                "type": "string"
              },
              "cpProtocolData": {
                "description": "Parameters for configuring the network protocols on the CP.\n",
                "type": "array",
                "items": {
                  "description": "This type represents network protocol data.\n",
                  "type": "object",
                  "required": [
                    "layerProtocol"
                  ],
                  "properties": {
                    "layerProtocol": {
                      "description": "Identifier of layer(s) and protocol(s). Permitted values: IP_OVER_ETHERNET.\n",
                      "type": "string",
                      "enum": [
                        "IP_OVER_ETHERNET"
                      ]
                    },
                    "ipOverEthernet": {
                      "description": "This type represents network address data for IP over Ethernet.\n",
                      "type": "object",
                      "properties": {
                        "macAddress": {
                          "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                          "type": "string",
                          "format": "MAC"
                        },
                        "ipAddresses": {
                          "description": "List of IP addresses to assign to the CP instance. Each entry represents IP address data for fixed or dynamic IP address assignment per subnet. If this attribute is not present, no IP address shall be assigned.\n",
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "type"
                            ],
                            "properties": {
                              "type": {
                                "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                                "type": "string",
                                "enum": [
                                  "IPV4",
                                  "IPV6"
                                ]
                              },
                              "fixedAddresses": {
                                "description": "Fixed addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                "type": "array",
                                "items": {
                                  "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                  "type": "string",
                                  "format": "IP"
                                }
                              },
                              "numDynamicAddresses": {
                                "description": "Number of dynamic addresses to assign (from the subnet defined by \"subnetId\" if provided). Exactly one of \"fixedAddresses\", \"numDynamicAddresses\" or \"ipAddressRange\" shall be present.\n",
                                "type": "integer"
                              },
                              "addressRange": {
                                "description": "An IP address range to be used, e.g. in case of egress connections. In case this attribute is present, IP addresses from the range will be used.\n",
                                "type": "object",
                                "required": [
                                  "minAddress",
                                  "maxAddress"
                                ],
                                "properties": {
                                  "minAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  },
                                  "maxAddress": {
                                    "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                    "type": "string",
                                    "format": "IP"
                                  }
                                }
                              },
                              "subnetId": {
                                "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "virtualLinkInfo": {
      "description": "Information on the VL(s) of the NS instance. This attribute shall be present if the nsState attribute value is INSTANTIATED and if the NS instance has specified connectivity.\n",
      "type": "array",
      "items": {
        "description": "This type specifies the information about an NS VL instance.  It shall comply with the provisions defined in Table 6.5.3.53-1\n",
        "type": "object",
        "required": [
          "id",
          "nsVirtualLinkDescId",
          "nsVirtualLinkProfileId"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsVirtualLinkDescId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsVirtualLinkProfileId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "resourceHandle": {
            "description": "Identifier(s) of the virtualised network resource(s) realizing the VL instance. See note.\n",
aureliano sinatra's avatar
aureliano sinatra committed
            "type": "array",
            "items": {
              "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
aureliano sinatra's avatar
aureliano sinatra committed
              "type": "object",
              "required": [
aureliano sinatra's avatar
aureliano sinatra committed
              ],
              "properties": {
                "vimId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceProviderId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceId": {
                  "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                  "type": "string"
                },
                "vimLevelResourceType": {
                  "description": "Type of the resource in the scope of the VIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                  "type": "string"
          "linkPort": {
            "description": "Link ports of the VL instance. Cardinality of zero indicates that no port has yet been created for the VL instance.\n",
            "type": "array",
            "items": {
              "description": "This type represents information about a link port of a VL instance. It shall comply with the provisions defined in Table 6.5.3.55-1.\n",
              "type": "object",
              "required": [
                "id",
                "resourceHandle"
              ],
              "properties": {
                "id": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "resourceHandle": {
                  "description": "This type represents the information that allows addressing a virtualised resource that is used by a VNF instance or by an NS instance. Information about the resource is available from the VIM.\n",
                  "type": "object",
                  "required": [
                    "resourceId"
                  ],
                  "properties": {
                    "vimId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "resourceProviderId": {
                      "description": "An identifier with the intention of being globally unique.\n",
                      "type": "string"
                    },
                    "resourceId": {
                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                      "type": "string"
                    },
                    "vimLevelResourceType": {
                      "description": "Type of the resource in the scope of the VIM or the resource provider. The value set of the \"vimLevelResourceType\" attribute is within the scope of the VIM or the resource provider and can be used as information that complements the ResourceHandle.\n",
                      "type": "string"
                    }
                  }
                },
                "nsCpHandle": {
                  "description": "Identifier of the CP/SAP instance to be connected to this link port. The value refers to a vnfExtCpInfo item in the VnfInstance, or a pnfExtCpInfo item in the PnfInfo, or a sapInfo item in the NS instance. There shall be at most one link port associated with any connection point instance.\n",
                  "type": "array",
                  "items": {
                    "description": "This type represents an identifier of the CP or SAP instance.  It shall comply with the provisions defined in Table 6.5.3.56-1.\n",
                    "type": "object",
                    "properties": {
                      "vnfInstanceId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "vnfExtCpInstanceId": {
                        "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                        "type": "string"
                      },
                      "pnfInfoId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "pnfExtCpInstanceId": {
                        "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                        "type": "string"
                      },
                      "nsInstanceId": {
                        "description": "An identifier with the intention of being globally unique.\n",
                        "type": "string"
                      },
                      "nsSapInstanceId": {
                        "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
                        "type": "string"
                      }
                    }
                  }
                }
          }
        }
      }
    },
    "vnffgInfo": {
      "description": "Information on the VNFFG(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "Information on the VNFFG(s) of the NS instance.\n",
        "type": "object",
        "required": [
          "id",
          "vnffgdId",
          "vnfInstanceId",
          "pnfInfoId"
        ],
        "properties": {
          "id": {
            "description": "An identifier with the intention of being globally unique.\n",
            "type": "string"
          "vnffgdId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "vnfInstanceId": {
            "description": "Identifier(s) of the constituent VNF instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
          "pnfdInfoId": {
            "description": "Identifier(s) of the constituent PNF instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "nsVirtualLinkInfoId": {
            "description": "Identifier(s) of the constituent VL instance(s) of this VNFFG instance.\n",
            "type": "array",
            "items": {
              "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
              "type": "string"
            }
          },
          "nsCpHandle": {
            "description": "Identifiers of the CP instances attached to the constituent VNFs and PNFs or the SAP instances of the VNFFG. See note.\n",
            "type": "array",
            "items": {
              "description": "This type represents an identifier of the CP or SAP instance.  It shall comply with the provisions defined in Table 6.5.3.56-1.\n",
              "type": "object",
              "properties": {
                "vnfInstanceId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "vnfExtCpInstanceId": {
                  "description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
                  "type": "string"
                },
                "pnfInfoId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "pnfExtCpInstanceId": {
                  "description": "An Identifier that is unique within respect to a PNF. Representation: string of variable length.\n",
                  "type": "string"
                },
                "nsInstanceId": {
                  "description": "An identifier with the intention of being globally unique.\n",
                  "type": "string"
                },
                "nsSapInstanceId": {
                  "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
                  "type": "string"
                }
          }
        }
      }
    },
    "sapInfo": {
      "description": "Information on the SAP(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "This type represents an SAP instance. It shall comply with the provisions defined in Table 6.5.3.67-1.\n",
        "type": "object",
        "required": [
          "id",
          "sapdId",
          "sapName",
          "sapProtocolInfo"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique with respect to a NS. Representation: string of variable length.\n",
            "type": "string"
          "sapdId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "sapName": {
            "description": "Human readable name for the SAP instance.\n",
            "type": "string"
          },
          "description": {
            "description": "Human readable description for the SAP instance.\n",
            "type": "string"
          },
          "sapProtocolInfo": {
            "description": "Network protocol information for this SAP.\n",
            "type": "array",
            "items": {
              "description": "This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.\n",
              "type": "object",
              "required": [
                "layerProtocol",
                "ipOverEthernet"
              ],
              "properties": {
                "layerProtocol": {
                  "description": "The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET See note.\n",
                  "type": "string",
                  "enum": [
                    "IP_OVER_ETHERNET"
                  ]
                },
                "ipOverEthernet": {
                  "description": "This type represents information about a network address that has been assigned. It shall comply with the provisions defined in Table 6.5.3.18-1.\n",
                  "type": "object",
                  "required": [
                    "macAddress",
                    "ipAddresses",
                    "subnetId",
                    "addresses",
                    "addressRange"
                  ],
                  "properties": {
                    "macAddress": {
                      "description": "A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
                      "type": "string",
                      "format": "MAC"
                    },
                    "ipAddresses": {
                      "description": "Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "type"
                        ],
                        "properties": {
                          "type": {
                            "description": "The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
                            "type": "string",
                            "enum": [
                              "IPV4",
                              "IPV6"
                            ]
                          },
                          "addresses": {
                            "description": "Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
                            "type": "array",
                            "items": {
                              "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                              "type": "string",
                              "format": "IP"
                            }
                          },
                          "isDynamic": {
                            "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                            "type": "boolean"
                          },
                          "addressRange": {
                            "description": "An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
                            "type": "object",
                            "required": [
                              "minAddress",
                              "maxAddress"
                            ],
                            "properties": {
                              "minAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              },
                              "maxAddress": {
                                "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                                "type": "string",
                                "format": "IP"
                              }
                            }
                          },
                          "subnetId": {
                            "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                            "type": "string"
                          }
                        }
                      }
                    },
                    "type": {
                      "description": "The type of the IP addresses\n",
                      "type": "string",
                      "enum": [
                        "PV4",
                        "PV6"
                      ]
                    },
                    "addresses": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "isDynamic": {
                      "description": "Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
                      "type": "boolean"
                    },
                    "addressRange": {
                      "description": "An IP address range used, e.g. in case of egress connections. See note.\n",
                      "type": "object",
                      "required": [
                        "minAddress",
                        "maxAddress"
                      ],
                      "properties": {
                        "minAddress": {
                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                          "type": "string",
                          "format": "IP"
                        },
                        "maxAddress": {
                          "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                          "type": "string",
                          "format": "IP"
                        }
                      }
                    },
                    "minAddress": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "maxAddress": {
                      "description": "An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
                      "type": "string",
                      "format": "IP"
                    },
                    "subnetId": {
                      "description": "An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. Representation: string of variable length.\n",
                      "type": "string"
                    }
                  }
                }
          }
        }
      }
    },
    "nestedNsInstanceId": {
      "description": "Identifier of the nested NS(s) of the NS instance.\n",
      "type": "array",
      "items": {
        "description": "An identifier with the intention of being globally unique.\n",
        "type": "string"
      }
    },
    "nsState": {
      "description": "The state of the NS instance. Permitted values: NOT_INSTANTIATED: The NS instance is terminated or not instantiated. INSTANTIATED: The NS instance is instantiated.\n",
      "type": "string",
      "enum": [
        "NOT_INSTANTIATED",
        "INSTANTIATED"
      ]
    },
    "monitoringParameter": {
      "description": "Performance metrics tracked by the NFVO (e.g. for auto-scaling purposes) as identified by the NS designer in the NSD.\n",
      "type": "array",
      "items": {
        "description": "This type represents a monitoring parameter that is tracked by the NFVO, for example,  for auto-scaling purposes. It shall comply with the provisions defined in Table 6.5.3.68-1.\n",
        "type": "object",
        "required": [
          "id",
          "performanceMetric"
        ],
        "properties": {
          "id": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "name": {
            "description": "Human readable name of the monitoring parameter, as defined in the NSD.\n",
            "type": "string"
          },
          "performanceMetric": {
            "description": "Performance metric that is monitored. This attribute shall contain the related  \"Measurement Name\" value as defined in clause 7.2 of ETSI GS NFV-IFA 027.\n",
            "type": "string"
          }
        }
      }
    },
    "nsScaleStatus": {
      "description": "Status of each NS scaling aspect declared in the applicable DF, how \"big\" the NS instance has been scaled w.r.t. that aspect. This attribute shall be present if the nsState attribute value is INSTANTIATED.\n",
      "type": "array",
      "items": {
        "description": "This type represents the target NS Scale level for each NS scaling aspect of the current deployment flavor.\n",
        "type": "object",
        "required": [
          "nsScalingAspectId",
          "nsScaleLevelId"
        ],
        "properties": {
          "nsScalingAspectId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          },
          "nsScaleLevelId": {
            "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
            "type": "string"
          }
        }
      }
    },
    "additionalAffinityOrAntiAffinityRule": {
      "description": "Information on the additional affinity or anti-affinity rule from NS instantiation operation. Shall not conflict with rules already specified in the NSD.\n",
      "type": "array",
      "items": {
        "description": "This type describes the additional affinity or anti-affinity rule applicable between the VNF instances to be instantiated in the NS instantiation operation request or between the VNF instances to be instantiated in the NS instantiation operation request and the existing VNF instances..\n",
        "type": "object",
        "required": [
          "affinityOrAntiAffiinty",
          "scope"
        ],
        "properties": {
          "vnfdId": {
            "description": "Reference to a VNFD. When the VNFD which is not used to instantiate VNF, it presents all VNF instances of this type as the subjects of the affinity or anti-affinity rule. The VNF instance which the VNFD presents is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "vnfProfileId": {
            "description": "Reference to a vnfProfile defined in the NSD. At least one VnfProfile which is used to instantiate VNF for the NS to be instantiated as the subject of the affinity or anti-affinity rule shall be present. When the VnfProfile which is not used to instantiate VNF, it presents all VNF instances of this type as the subjects of the affinity or anti-affinity rule. The VNF instance which the VnfProfile presents is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
              "type": "string"
            }
          "vnfInstanceId": {
            "description": "Reference to the existing VNF instance as the subject of the affinity or anti-affinity rule. The existing VNF instance is not necessary as a part of the NS to be instantiated.\n",
            "type": "array",
            "items": {
              "description": "An identifier with the intention of being globally unique.\n",
              "type": "string"
            }
          },
          "affinityOrAntiAffiinty": {
            "description": "The type of the constraint. Permitted values: AFFINITY ANTI_AFFINITY.\n",
            "type": "string",
            "enum": [
              "AFFINITY",
              "ANTI_AFFINITY"
            ]
          },
          "scope": {
            "description": "Specifies the scope of the rule where the placement constraint applies. Permitted values: NFVI_POP ZONE ZONE_GROUP NFVI_NODE.\n",
            "type": "string",
            "enum": [
              "NFVI_POP",
              "ZONE",
              "ZONE_GROUP",
              "NFVI_NODE"
            ]
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "description": "Links to resources related to this resource.",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "nestedNsInstances": {
          "description": "Links to resources related to this notification.\n",
          "type": "array",
          "items": {
aureliano sinatra's avatar
aureliano sinatra committed
            "description": "This type represents a link to a resource.\n",
            "type": "object",
            "required": [
              "href"
            ],
            "properties": {
              "href": {
                "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
aureliano sinatra's avatar
aureliano sinatra committed
                "type": "string",
                "format": "url"
              }
            }
          }
        },
        "instantiate": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "terminate": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "update": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "scale": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "heal": {
          "description": "This type represents a link to a resource.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification. Should be an absolute URI (i.e. a URI that contains {apiRoot}), however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }