DvsMacNetworkRuleQualifier

DvsMacNetworkRuleQualifier
DvsMacNetworkRuleQualifier

This class defines the MAC Rule Qualifier.

Here MAC 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
    },
    "vlanId": {
        "_typeName": "string",
        "negate": false,
        "value": 0
    }
}
sourceAddress
Optional

MAC address for source.

If this property is NULL, it will match "any MAC address".

destinationAddress
Optional

MAC address for destination.

If this property is NULL, it will match "any MAC address".

protocol
Optional

Protocol used.

This corresponds to the EtherType field in Ethernet frame. The valid values can be found from IEEE list at: http://standards.ieee.org/regauth/ as mentioned in RFC 5342.

vlanId
Optional

vlan id.