Package onep :: Package mediatrace :: Module mtrace :: Class PathSpecifier
[frames] | no frames]

Class PathSpecifier


Class holding path specifications for trace to follow

src_ip - string - Valid IPv4 or IPv6 source address src_port - int - layer 4 source port number <0 - 65535> dst_ip - string - Valid IPv4 or IPv6 destination address dst_port - int - layer 4 destination port number <0 - 65535> protocol - enum mtrace.Protocol - TCP or UDP

Instance Methods
 
__init__(self, src_ip, src_port, dst_ip, dst_port, protocol)
Constructor
 
__str__(self)
str(x)

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

Properties

Inherited from object: __class__

Method Details

__init__(self, src_ip, src_port, dst_ip, dst_port, protocol)
(Constructor)

 

Constructor

Parameters:
  • src_ip (str)
  • dst_ip (str)
  • src_port (int)
  • protocol ({Protocol<onep.mediatrace.mtrace.Protocol>})
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)