Mp1.yaml 69.6 KB
Newer Older
        $ref: '#/definitions/TrafficRule.Id'
      filterType:
        $ref: '#/definitions/TrafficRule.FilterType'
      priority:
        $ref: '#/definitions/TrafficRule.Priority'
      trafficFilter:
        type: array
        items:
          $ref: '#/definitions/TrafficFilter'
      action:
        $ref: '#/definitions/TrafficRule.Action'
      dstInterface:
        $ref: '#/definitions/DestinationInterface'
      state:
        $ref: '#/definitions/TrafficRule.State'
  TransportInfo.Description:
    description: Human-readable description of this transport
    type: string
  TransportInfo.Id:
    description: The identifier of this transport
    type: string
  TransportInfo.ImplSpecificInfo:
    description: Additional implementation specific details of the transport
    type: object
  TransportInfo.Name:
    description: The name of this transport
    type: string
  TransportInfo.Protocol:
    description: The name of the protocol used. Shall be set to HTTP for a REST API.
    type: string
  TransportInfo.Version:
    description: The version of the protocol used
    type: string
    example: '2.0'
  TransportInfo:
    description: This type represents the general information of a MEC service.
    type: object
    required:
      - id
      - name
      - type
      - protocol
      - version
      - endpoint
    properties:
      id:
        $ref: '#/definitions/TransportInfo.Id'
      name:
        $ref: '#/definitions/TransportInfo.Name'
      description:
        $ref: '#/definitions/TransportInfo.Description'
      type:
        $ref: '#/definitions/TransportTypes'
      protocol:
        $ref: '#/definitions/TransportInfo.Protocol'
      version:
        $ref: '#/definitions/TransportInfo.Version'
      endpoint:
        $ref: '#/definitions/EndPointInfo'
        $ref: '#/definitions/SecurityInfo'
      implSpecificInfo:
        $ref: '#/definitions/TransportInfo.ImplSpecificInfo'
  TransportTypes:
    description: The enumeration TransportTypes represents types of transports
    type: string
    enum:
      - REST_HTTP
      - MB_TOPIC_BASED
      - MB_ROUTING
      - MB_PUBSUB
      - RPC
      - RPC_STREAMING
      - WEBSOCKET
  TunnelInfo.TunnelDstAddress:
    description: Destination address of the tunnel
    type: string
    example: '?'
  TunnelInfo.TunnelSrcAddress:
    description: Source address of the tunnel
    type: string
    example: '?'
  TunnelInfo.TunnelType:
    description: This type represents the tunnel information.
    type: string
    enum:
      - GTP_U
      - GRE
  TunnelInfo:
    description: This type represents the tunnel information.
    type: object
    required:
      - tunnelType
    properties:
      tunnelType:
        $ref: '#/definitions/TunnelInfo.TunnelType'
      tunnelDstAddress:
        $ref: '#/definitions/TunnelInfo.TunnelDstAddress'
      tunnelSrcAddress:
        $ref: '#/definitions/TunnelInfo.TunnelSrcAddress'