
Fixes RST documents to include list mark up when appropriate. closes: https://github.com/vmware/pyvmomi/issues/76
2.1 KiB
vim.dvs.TrafficRule
This class defines a single rule that will be applied to network traffic.
- extends
- since
- Attributes:
-
key (str, optional):
The key of the rule
description (str, optional):
Description of the rule
sequence (int, optional):
Sequence of this rule. i.e, the order in which this rule appears in the ruleset.
qualifier ([vim.dvs.TrafficRule.Qualifier], optional):
List of Network rule qualifiers. 'AND' of this array of network rule qualifiers is applied as one network traffic rule. If the TrafficRule belongs to DvsFilterPolicy : There can be a maximum of 1 DvsIpNetworkRuleQualifier , 1 DvsMacNetworkRuleQualifier and 1 DvsSystemTrafficNetworkRuleQualifier for a total of 3 qualifier If the TrafficRule belongs to DvsStatefulFirewallPolicy : There can be only 1 DvsNetworkRuleQualifier in qualifier
action (vim.dvs.TrafficRule.Action, optional):
Action to be applied for this rule.
direction (str, optional):
Whether this rule needs to be applied to incoming packets, to outgoing packets or both. See RuleDirectionType for valid values.