Commit 5c082e75 authored by Francesca Moscatelli's avatar Francesca Moscatelli
Browse files

SOL002 datatypes' properties interdependencies

parent df9381ce
Loading
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
@@ -10,6 +10,11 @@ definitions:
        * NOTE 2: The VnfcConfiguration data type can only be used to modify the configuration
        * NOTE 2: The VnfcConfiguration data type can only be used to modify the configuration
                  of existing VNFC instances.
                  of existing VNFC instances.
    type: object
    type: object
    anyOf:
      - required:
          - vnfConfigurationData
      - required:
          - vnfcConfigurationData
    properties:
    properties:
      vnfConfigurationData:
      vnfConfigurationData:
        description: >
        description: >
@@ -148,6 +153,16 @@ definitions:
         *  NOTE 1: Either "address" or "useDynamicAddress" shall be present.
         *  NOTE 1: Either "address" or "useDynamicAddress" shall be present.
         *  NOTE 2: At least one of "macAddress" and "ipAddress" shall be present.
         *  NOTE 2: At least one of "macAddress" and "ipAddress" shall be present.
    type: object
    type: object
    oneOf:
      - required:
          - address
      - required:
          - useDynamicAddress
    anyOf:
      - required:
          - macAddress
      - required:
          - ipAddress
    properties:
    properties:
      address:
      address:
        description: >
        description: >
+11 −0
Original line number Original line Diff line number Diff line
@@ -670,6 +670,17 @@ definitions:
    description: >
    description: >
      This type represents request parameters for the "Revert-to VNF Snapshot" operation.
      This type represents request parameters for the "Revert-to VNF Snapshot" operation.
    type: object
    type: object
    oneOf:
      - anyOf:
          - required:
              - vnfInstanceId
          - required:
              - vnfSnapshotInfoId
      - anyOf:
          - required:
              - vnfcInstanceId
          - required:
              - vnfcSnapshotInfoId
    properties:
    properties:
      vnfInstanceId:
      vnfInstanceId:
        description: >
        description: >
+25 −0
Original line number Original line Diff line number Diff line
@@ -68,6 +68,12 @@ definitions:
      This type represents request parameters for the "Scale VNF to Level"
      This type represents request parameters for the "Scale VNF to Level"
      operation.
      operation.
    type: object
    type: object
    anyOf:
      - oneOf:
          - required:
              - instantiationLevelId
          - required:
              - scaleInfo
    properties:
    properties:
      instantiationLevelId:
      instantiationLevelId:
        description: >
        description: >
@@ -245,6 +251,10 @@ definitions:
      This type represents a VNF lifecycle management operation occurrence. Shall be set to the value of the "id"
      This type represents a VNF lifecycle management operation occurrence. Shall be set to the value of the "id"
      attribute in the "Grant" representing the associated "Individual Grant", if such grant exists.
      attribute in the "Grant" representing the associated "Individual Grant", if such grant exists.
    type: object
    type: object
    anyOf:
      - oneOf:
          - changedInfo
          - modificationsTriggeredByVnfPkgChange
    required:
    required:
      - id
      - id
      - operationState
      - operationState
@@ -919,6 +929,16 @@ definitions:
      This type represents information about a network address that has been
      This type represents information about a network address that has been
      assigned.
      assigned.
    type: object
    type: object
    anyOf:
      - required:
          - macAddress
      - required:
          - ipAddresses
    oneOf:
      - required:
          - addresses
      - required:
          - addressRange
    properties:
    properties:
      macAddress:
      macAddress:
        description: >
        description: >
@@ -1302,6 +1322,11 @@ definitions:
      - id
      - id
      - cpdId
      - cpdId
      - cpProtocolInfo
      - cpProtocolInfo
    oneOf:
      - required:
          - associatedVnfcCpId
      - required:
          - associatedVnfVirtualLinkId
    properties:
    properties:
      id:
      id:
        description: >
        description: >
+10 −0
Original line number Original line Diff line number Diff line
@@ -383,6 +383,11 @@ definitions:
      This type represents modifications to a PM job.
      This type represents modifications to a PM job.
      It shall comply with the provisions defined in table 6.5.2.12-1.
      It shall comply with the provisions defined in table 6.5.2.12-1.
    type: object
    type: object
    oneOf:
      - required:
          - callbackUri
      - required:
          - authentication
    properties:
    properties:
      callbackUri:
      callbackUri:
        description: >
        description: >
@@ -535,6 +540,11 @@ definitions:
      This type represents modifications to a threshold.
      This type represents modifications to a threshold.
      It shall comply with the provisions defined in table 6.5.2.11-1.
      It shall comply with the provisions defined in table 6.5.2.11-1.
    type: object
    type: object
    oneOf:
      - required:
          - callbackUri
      - required:
          - authentication
    properties:
    properties:
      callbackUri:
      callbackUri:
        description: >
        description: >
+12 −0
Original line number Original line Diff line number Diff line
@@ -440,6 +440,18 @@ definitions:
    description: >
    description: >
      This type represents network address data for IP over Ethernet.
      This type represents network address data for IP over Ethernet.
    type: object
    type: object
    anyOf:
      - required:
          - macAddress
      - required:
          - ipAddresses
    oneOf:
      - required:
          - fixedAddresses
      - required:
          - numDynamicAddresses
      - required:
          - ipAddressRange
    properties:
    properties:
      macAddress:
      macAddress:
        description: >
        description: >