models_v2.node_group module

class models_v2.node_group.NodeGroup(name=None, node_ids=None, id=None, mtype=None, bgp_instance=None, subnet_info=None, dns_servers_info=None)[source]

Bases: object

Implementation of the ‘Node Group’ model.

Specifies common fields required to define Node Group.

Attributes:

name (string): Specifies the name of the Node Group. node_ids (list of long|int): List of Node Ids that are part of this

node group.

id (int): Id of the node group. mtype (int): Type of the node group. bgp_instance (BgpInstance): BGP instance. subnet_info (SubnetInfo): Subnet information. dns_servers_info (DnsServersInfo): List of DNS servers in cluster.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.