Files
deb-python-pyvmomi/docs/vim/dvs/TrafficRule.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.1 KiB

vim.dvs.TrafficRule

This class defines a single rule that will be applied to network traffic.

extends

vmodl.DynamicData

since

vSphere API 5.5

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.