This object defines the base class for a Cable object.
Methods
|
|
__init__
_get_network
_get_realmachine1
_get_realmachine2
start
status
stop
|
|
__init__
|
__init__ (
self,
network,
realmachine1,
realmachine2,
)
Exceptions
|
|
TypeError, ('Got %s for second argument of Cable constructor, expected subclass of %s' %( type( existing_network ), Network ) )
|
|
|
_get_network
|
_get_network ( self )
Returns the Network associated with this Cable.
|
|
_get_realmachine1
|
_get_realmachine1 ( self )
Returns the local real Machine associated with this Cable.
|
|
_get_realmachine2
|
_get_realmachine2 ( self )
Returns the remote real Machine associated with this Cable.
|
|
start
|
start ( self )
Abstract method to start the Cable object.
|
|
status
|
status ( self )
Abstract method to query the Cable object.
|
|
stop
|
stop ( self )
Abstract method to stop the Cable object.
|