NSX-T Data Center REST API
PortMirrorFilter (type)
{
"additionalProperties": false,
"id": "PortMirrorFilter",
"module_id": "PolicyPortMirroring",
"properties": {
"destination_ips": {
"$ref": "IPAddresses,
"description": "Destination IP in the form of IPAddresses, used to match the destination IP of a packet. If not provided, no filtering by destination IPs is performed.",
"title": "Destination IP used to filter packets"
},
"destination_ports": {
"$ref": "PortElement,
"description": "Destination port in the form of a port or port range, used to match the destination port of a packet. If not provided, no filtering by destination port is performed.",
"title": "Destination port or port range used to filter packets"
},
"protocol": {
"description": "The transport protocols of TCP or UDP, used to match the transport protocol of a packet. If not provided, no filtering by IP protocols is performed.",
"enum": [
"TCP",
"UDP"
],
"title": "The protocol used to filter packets.",
"type": "string"
},
"source_ips": {
"$ref": "IPAddresses,
"description": "Source IP in the form of IPAddresses, used to match the source IP of a packet. If not provided, no filtering by source IPs is performed.",
"title": "Source IP used to filter packets"
},
"source_ports": {
"$ref": "PortElement,
"description": "Source port in the form of a port or port range, used to match the source port of a packet. If not provided, no filtering by source port is performed.",
"title": "Source port or port range used to filter packets"
}
},
"type": "object"
}