nautobot_ssot_vsphere.tests.fixtures.nautobot_fixtures

Nautobot Object Fixtures.

Module Contents

Functions

create_cluster_group([name])

Create ClusterGroup.

create_cluster_type([name])

Create Cluster Type.

create_cluster([name, cluster_type, diffsync_clustergroup])

Create Cluster.

create_env()

Create Env.

nautobot_ssot_vsphere.tests.fixtures.nautobot_fixtures.create_cluster_group(name: str = 'Development Cluster Group')

Create ClusterGroup.

Args:

name (str, optional): _description_. Defaults to “Development Cluster Group”.

Returns:

ClusterGroup: ClusterGroup

nautobot_ssot_vsphere.tests.fixtures.nautobot_fixtures.create_cluster_type(name: str = 'VMWare vSphere')

Create Cluster Type.

Args:

name (str, optional): _description_. Defaults to “VMWare vSphere”.

Returns:

_type_: _description_

nautobot_ssot_vsphere.tests.fixtures.nautobot_fixtures.create_cluster(name: str = 'Development Cluster', cluster_type: str = 'VMWare vSphere', diffsync_clustergroup: str = 'Development DataCenter')

Create Cluster.

Args:

name (str, optional): _description_. Defaults to “Development Cluster”. cluster_type (str, optional): _description_. Defaults to “VMWare vSphere”. diffsync_clustergroup (str, optional): _description_. Defaults to “Development DataCenter”.

Returns:

_type_: _description_

nautobot_ssot_vsphere.tests.fixtures.nautobot_fixtures.create_env()

Create Env.