DvsIpNetworkRuleQualifier

DvsIpNetworkRuleQualifier
DvsIpNetworkRuleQualifier

This class defines the IP Rule Qualifier.

Here IP addresses of source and destination will be used for classifying packets.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": "string",
    "sourceAddress": {
        "_typeName": "string",
        "negate": false
    },
    "destinationAddress": {
        "_typeName": "string",
        "negate": false
    },
    "protocol": {
        "_typeName": "string",
        "negate": false,
        "value": 0
    },
    "sourceIpPort": {
        "_typeName": "string",
        "negate": false
    },
    "destinationIpPort": {
        "_typeName": "string",
        "negate": false
    },
    "tcpFlags": {
        "_typeName": "string",
        "negate": false,
        "value": 0
    }
}
sourceAddress
Optional

IP qualifier for source.

If this property is NULL, it will match "any IPv4 or any IPv6 address".

destinationAddress
Optional

IP qualifier for destination.

If this property is NULL, it will match "any IPv4 or any IPv6 address".

protocol
Optional

Protocols like TCP, UDP, ICMP etc.

The valid value for a protocol is got from IANA assigned value for the protocol. This can be got from RFC 5237 and IANA website section related to protocol numbers.

sourceIpPort
Optional

Source IP Port.

destinationIpPort
Optional

Destination IP Port.

tcpFlags
Optional

TCP flags.

The valid values can be found at RFC 3168. TCP flags are not supported by Traffic Filtering