SOL002-VNFConfiguration-API.yaml 107 KB
Newer Older
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
          extCpConfig:
            description: |
              This type represents configuration parameters of a CP instance.
            type: object
            required:
              - cpId
              - cpdId
              - addresses
            properties:
              cpId:
                description: >
                  An identifier that is unique for the respective type within a
                  VNF instance, but may not be globally unique.
                type: string
              cpdId:
                description: |
                  An identifier that is unique within a VNF descriptor.
                type: string
              addresses:
                description: |
                  Network address and port assigned to the CP.
                type: array
                items:
                  description: >
                    This type represents configuration parameters of a CP
                    instance address.
                       *  NOTE 1: Either "address" or "useDynamicAddress" shall be present.
                       *  NOTE 2: At least one of "macAddress" and "ipAddress" shall be present.
                  type: object
                  properties:
                    address:
                      description: >
                        Network address that has been configured on the CP. See
                        NOTE 1.
                      type: object
                      properties:
                        macAddress:
                          description: >
                            A MAC address. Representation: string that consists
                            of groups of two hexadecimal digits, separated by
                            hyphens or colons.
                          type: string
                          format: MAC
                        ipAddress:
                          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.
                          type: string
                          format: IP
                    useDynamicAddress:
                      description: >
                        Set to true if an address shall be assigned dynamically.
                        Otherwise set to false. The default value shall be
                        false. See NOTE 1.
                      type: boolean
                    port:
                      description: >
                        The port assigned to the CP instance (e.g. IP port
                        number, Ethernet port number, etc.).
                      type: integer
          dhcpServer:
            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.
            type: string
            format: IP
          vnfSpecificData:
            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. 
            type: object
      vnfcConfigurationData:
        description: >
          Modifications to configuration data for certain VNFC instances. See
          NOTE 1 and NOTE 2. If present, the modifications of the
          "vnfcConfigurationData" attribute shall follow these  provisions:
            Modifying an attribute that is an array of objects of type "VnfcConfigurationData".
              Assumptions:
                  1) "oldList" is the "VnfcConfigurationData" array to be modified and "newList"
                     is the "VnfcConfigurationData" array that contains the changes.
                  2) "oldEntry" is an entry in "oldList" and "newEntry" is an entry in "newList".
                  3) A "newEntry" has a "corresponding entry" if there exists an "oldEntry" that 
                     has the same content of the "vnfcInstanceId" attribute as the "newEntry"; 
                     a "newEntry" has no corresponding entry if no such "oldEntry" exists.
                  4) In any array of "VnfcConfigurationData" structures, the content of "vnfcInstanceId"
                     is unique (i.e. there shall be no two entries with the same content of "vnfcInstanceId").
              Provisions:
                  1) For each "newEntry" in "newList" that has no corresponding entry in "oldList", 
                     the "oldList" array shall be modified by adding that "newEntry".

                  2) For each "newEntry" in "newList" that has a corresponding "oldEntry" in "oldList",
                     the value of "oldEntry" shall be updated with the value of "newEntry" according to
                    the rules of JSON Merge PATCH (see IETF RFC 7396 ).
        type: array
        items:
          description: |
            This type represents configuration parameters of a VNFC instance.
          type: object
          required:
            - vnfcInstanceId
          properties:
            vnfcInstanceId:
              description: >
                An identifier that is unique for the respective type within a
                VNF instance, but may not be globally unique.
              type: string
            intCpConfig:
              description: >
                Configuration parameters for the internal CPs of the VNFC
                instance.
              type: array
              items:
                description: >
                  This type represents configuration parameters of a CP
                  instance.
                type: object
                required:
                  - cpId
                  - cpdId
                  - addresses
                properties:
                  cpId:
                    description: >
                      An identifier that is unique for the respective type
                      within a VNF instance, but may not be globally unique.
                    type: string
                  cpdId:
                    description: |
                      An identifier that is unique within a VNF descriptor.
                    type: string
                  addresses:
                    description: |
                      Network address and port assigned to the CP.
                    type: array
                    items:
                      description: >
                        This type represents configuration parameters of a CP
                        instance address.
                           *  NOTE 1: Either "address" or "useDynamicAddress" shall be present.
                           *  NOTE 2: At least one of "macAddress" and "ipAddress" shall be present.
                      type: object
                      properties:
                        address:
                          description: >
                            Network address that has been configured on the CP.
                            See NOTE 1.
                          type: object
                          properties:
                            macAddress:
                              description: >
                                A MAC address. Representation: string that
                                consists of groups of two hexadecimal digits,
                                separated by hyphens or colons.
                              type: string
                              format: MAC
                            ipAddress:
                              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.
                              type: string
                              format: IP
                        useDynamicAddress:
                          description: >
                            Set to true if an address shall be assigned
                            dynamically. Otherwise set to false. The default
                            value shall be false. See NOTE 1.
                          type: boolean
                        port:
                          description: >
                            The port assigned to the CP instance (e.g. IP port
                            number, Ethernet port number, etc.).
                          type: integer
            dhcpServer:
              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.
              type: string
              format: IP
            vnfcSpecificData:
              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. 
              type: object
For faster browsing, not all history is shown. View entire blame