UplinkNode#

class UplinkNode(cvm_ip=None, hypervisor_ip=None, networks=None, *args, **kwargs)#

Bases: object

Uplink information of the target nodes.

Parameters:
  • cvm_ip (required) – (cvm_ip)

  • hypervisor_ip – (hypervisor_ip)

  • networks (required) – (networks) Active and standby uplink information of the target nodes.

property cvm_ip#
Type:

IPAddress

property hypervisor_ip#
Type:

IPAddress

property networks#

Active and standby uplink information of the target nodes.

Type:

list[ UplinkNetworkItem ]

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model