NSX-T Data Center REST API

IPMirrorDestination (type)

{
  "extends": {
    "$ref": "MirrorDestination"
  },
  "id": "IPMirrorDestination",
  "module_id": "PortMirroring",
  "polymorphic-type-descriptor": {
    "type-identifier": "IPMirrorDestination"
  },
  "properties": {
    "destination_ips": {
      "description": "The destination IPs of the mirror packet will be sent to.",
      "items": {
        "$ref": "IPAddress"
      },
      "maxItems": 3,
      "minItems": 1,
      "required": true,
      "title": "List of destination IP addresses",
      "type": "array"
    },
    "encapsulation_type": {
      "$ref": "EncapsulationType",
      "default": "GRE",
      "description": "You can choose GRE, ERSPAN II or ERSPAN III.",
      "required": true,
      "title": "IPMirrorDestination encapsulation type"
    },
    "erspan_id": {
      "description": "Used by physical switch for the mirror traffic forwarding. Must be provided and only effective when encapsulation type is ERSPAN type II or type III.",
      "maximum": 1023,
      "minimum": 0,
      "required": false,
      "title": "ERSPAN session id",
      "type": "int"
    },
    "gre_key": {
      "description": "User-configurable 32-bit key only for GRE",
      "required": false,
      "title": "GRE encapsulation key",
      "type": "int"
    },
    "resource_type": {
      "$ref": "MirrorDestinationResourceType",
      "help_summary": "Possible values are 'LogicalPortMirrorDestination'",
      "required": true
    }
  },
  "type": "object"
}