models.interface_group module

class models.interface_group.InterfaceGroup(id=None, model_interface_lists=None, name=None, network_params=None)[source]

Bases: object

Implementation of the ‘InterfaceGroup’ model.

Specifies the settings of an interface group.

Attributes:
id (int): Interface group Id. Specifies the id of the interface

group.

model_interface_lists (list of ProductModelInterfaceTuple): Specifies

the product model and interface lists.

name (string): Specifies the name of the interface group. network_params (NetworkParams): TODO: type description here.

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.