models_v2.node_group_request module

class models_v2.node_group_request.NodeGroupRequest(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 Request.’ model.

Specifies the request to create a Node Group.


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


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.


object: An instance of this structure class.