models.bifrost_config module

class models.bifrost_config.BifrostConfig(image_version=None, cpu=None, description=None, id=None, iface_group_name=None, memory=None, mtu=None, state=None, subnet=None, tenant_id=None, mtype=None, vlan_name=None)[source]

Bases: object

Implementation of the ‘BifrostConfig’ model.

Specifies the settings of a BifrostConfig. Its used by both Request and Response structures.

Attributes:

image_version (string): Specifies the bifrost image version. cpu (int): Specifies the cpu for the bifrost config. description (string): Specifies a description of the VLAN. id (int): Specifies the id of the VLAN tag. iface_group_name (string): Specifies the interface group name of the VLAN. It

is in the format of <base_interface_group_name>.<vlan_id>.

memory (int): Specifies the memory for the bifrost config. mtu (int): Specifies the mtu for the bifrost vlan. state (string): 4 types of States

UNKNOWN ACTIVE DISABLED DELETING

subnet (BifrostSubnet): Specifies the subnet of the VLAN.

The netmask can be specified by setting netmaskBits or netmaskIp4. The netmask can only be set using netmaskIp4 if the IP address is an IPv4 address. It can carry V4 or V6 in case of requests, and carries V4 in case of response.

tenant_id (string): Specifies the tenant id that this vlan belongs to.

mcm-on-prem-mode. If set to true, it is in mcm on prem mode. This need mcm-mode to be true.

mtype (string): Two types of bifrost vlans.

INTERNAL EXTERNAL

vlan_name (string): Specifies the VLAN name of the vlanId.

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.