Commit 1b2b0367 authored by Pietro Piscione's avatar Pietro Piscione
Browse files

Fixed issue #37

parent 49587ee1
Loading
Loading
Loading
Loading
Loading
+72 −0
Original line number Diff line number Diff line
@@ -177,6 +177,71 @@ definitions:
          Human-readable description of the NS instance to be created.
        type: string


  MirroringInfo:
    description: >
      This type represents the runtime information that the NFVO holds 
      about a Data Flow Mirroring.

      NOTE: It is responsibility of the NFVO to map the mirroringIds exposed towards the API consumer on the
      Os-Ma-nfvo reference point with the corresponding identifiers of the data flow mirroring that are created
      towards the VIM. 
    type: object
    required:
      - mirroringId
      - mirroringName
      - collectorDetails
      - vnfInstanceId
      - cpInstanceId
      - dataFlowData
    properties:
      mirroringId:
        description: >
          Unique identifier of the Data Flow Mirroring. The identifier
          is assigned by the NFVO. See note. 
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      mirroringName:
        description: >
          Name of Data Flow Mirroring. 
        type: string
      description:
        description: >
          Information description of Data Flow Mirroring. 
        type: string
      collectorDetails:
        description: >
          Information about where the mirrored flow is to be
          delivered. 
        $ref: "#/definitions/CollectorDetails"
      vnfInstanceId:
        description: >
          Identifier of the VNF instance from where the data flows
          are requested to be mirrored.
        type: array
        minItems: 1
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      cpInstanceId:
        description: >
          Identifier of the CP instance from where the data flows
          are mirrored. 
        type: array
        minItems: 1
        items:
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
      dataFlowData:
        description: >
          Information about the data flows to be mirrored. 
        type: array
        minItems: 1
        items:
          $ref: "#/definitions/DataFlowData"
      
      



  
  CancelModeType:
    description: >
      Cancellation mode.
@@ -355,6 +420,13 @@ definitions:
        type: array
        items:
          $ref: "#/definitions/WanConnectionInfo"
      dataFlowMirroringInfo:
         description: > 
             Information related to Data Flow Mirroring
             associated to this NS instance. 
         type: array
         items:
           $ref: "#/definitions/MirroringInfo"
      _links:
        type: object
        description: Links to resources related to this resource.