DvsTrafficFilterConfig
DvsTrafficFilterConfig
This class defines Traffic Filter configuration.
** Supported Qualifier and Actions **
AllOf
This class requires all of the following:
JSON Example
{
"_typeName": "string",
"inherited": false,
"key": "string",
"agentName": "string",
"slotNumber": "string",
"parameters": {
"_typeName": "string",
"parameters": [
"string"
]
},
"onFailure": "string",
"trafficRuleset": {
"_typeName": "string",
"key": "string",
"enabled": false,
"precedence": 0,
"rules": [
{
"_typeName": "string",
"key": "string",
"description": "string",
"sequence": 0,
"qualifier": [
{
"_typeName": "string",
"key": "string"
}
],
"action": {
"_typeName": "string"
},
"direction": "string"
}
]
}
}
trafficRuleset
Optional
This class defines a ruleset(set of rules) that will be applied to network traffic.
Traffic Filter Config | Supported classes |
---|---|
Qualifiers supported | [SingleIp](../../data-structures/SingleIp/), [IpRange](../../data-structures/IpRange/), [SingleMac](../../data-structures/SingleMac/), [MacRange](../../data-structures/MacRange/), [DvsSingleIpPort](../../data-structures/DvsSingleIpPort/), [DvsSystemTrafficNetworkRuleQualifier](../../data-structures/DvsSystemTrafficNetworkRuleQualifier/) |
Actions Supported | [DvsDropNetworkRuleAction](../../data-structures/DvsDropNetworkRuleAction/), [DvsAcceptNetworkRuleAction](../../data-structures/DvsAcceptNetworkRuleAction/), [DvsPuntNetworkRuleAction](../../data-structures/DvsPuntNetworkRuleAction/), [DvsCopyNetworkRuleAction](../../data-structures/DvsCopyNetworkRuleAction/), [DvsMacRewriteNetworkRuleAction](../../data-structures/DvsMacRewriteNetworkRuleAction/), [DvsGreEncapNetworkRuleAction](../../data-structures/DvsGreEncapNetworkRuleAction/), [DvsLogNetworkRuleAction](../../data-structures/DvsLogNetworkRuleAction/), [DvsUpdateTagNetworkRuleAction](../../data-structures/DvsUpdateTagNetworkRuleAction/), [DvsRateLimitNetworkRuleAction](../../data-structures/DvsRateLimitNetworkRuleAction/) |