Package onep :: Package policyservice :: Module target :: Class Target
[frames] | no frames]

Class Target


Target Class.

This class represents a network element resource to which a policy is applied.

A target is an interface on a network element or a Firewall Zone Pair

Instance Methods
 
__init__(self, target, location=None)
Constructor of class Target.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
Enum TargetLocation = enum(HARDWARE_DEFINED_INPUT= 0, HARDWARE_DEFI...
Enumeration of Target Location Type.
Properties

Inherited from object: __class__

Method Details

__init__(self, target, location=None)
(Constructor)

 

Constructor of class Target.

Throws on error
    OnepIllegalArgumentException - target not proper class

Keyword arguments
target   -- NetworkInterface class or FirewallZonePair class
location -- Target.TargetLocation
                HARDWARE_DEFINED_INPUT
                HARDWARE_DEFINED_OUTPUT
                HARDWARE_DEFINED_BOTH

Overrides: object.__init__

Class Variable Details

TargetLocation

Enumeration of Target Location Type.

HARDWARE_DEFINED_INPUT: hardware defined input

HARDWARE_DEFINED_OUTPUT: hardware defined output

Type:
Enum
Value:
enum(HARDWARE_DEFINED_INPUT= 0, HARDWARE_DEFINED_OUTPUT= 1, HARDWARE_D\
EFINED_BOTH= 2)