topology.platforms.service

topology service objects module.

Classes

class topology.platforms.service.BaseService(name, port, protocol='tcp')

Base class used to describe a service.

It is mainly used to store context variables.

Parameters:
  • name (str) – Name of the service.
  • port (int) – Port of the service.
  • protocol (str) – Protocol used by the service.
Variables:
  • name (str) – Given name in the constructor.
  • port (int) – Given port in the constructor.
  • protocol (str) – Given protocol in the constructor.
  • address (str) – IP or FQDN of the node exposing this service. This is set by the engine node.

Inheritance

Inheritance diagram of BaseService