Skip to main content

Nautobot SSoT vSphere

A plugin for Nautobot that leverages the SSoT plugin to create Virtual Machines, VMInterfaces, IPAddresses, Clusters, and Cluster Groups from VMWare vSphere.

JobOverview VirtualMachines

The future of Virtual Machine In Nautobot

There is discussion in place to that will bring big changes to VirtualMachine and VMInterface targeted for release 2.0. See the issue

When that time comes, this application will need to be updated to handle the new core model structure

Installation

The plugin is available as a Python package in pypi and can be installed with pip

pip install nautobot-ssot-vsphere

The plugin is compatible with Nautobot 1.2.0 and higher

To ensure Nautobot SSoT vSphere is automatically re-installed during future upgrades, create a file named local_requirements.txt (if not already existing) in the Nautobot root directory (alongside requirements.txt) and list the nautobot-ssot-vsphere package:

# echo nautobot-ssot-vsphere >> local_requirements.txt

Once installed, the plugin needs to be enabled in your nautobot_config.py

# In your nautobot_config.py
PLUGINS = ["nautobot_ssot_vsphere"]

PLUGINS_CONFIG = {
    "nautobot_ssot_vsphere": {
        "VSPHERE_URI": os.getenv("VSPHERE_URI"),
        "VSPHERE_USERNAME": os.getenv("VSPHERE_USERNAME"),
        "VSPHERE_PASSWORD": os.getenv("VSPHERE_PASSWORD"),
        "VSPHERE_VERIFY_SSL": is_truthy(os.getenv("VSPHERE_VERIFY_SSL", False)),
    },
}

The plugin behavior can be controlled with additional configuration settings

- `VSPHERE_TYPE` Defaults to `VMWare vSphere`
- `ENFORCE_CLUSTER_GROUP_TOP_LEVEL` Defaults to True
- `VSPHERE_VM_STATUS_MAP` Defaults to {"POWERED_OFF": "Offline", "POWERED_ON": "Active", "SUSPENDED": "Suspended"}
- `VSPHERE_IP_STATUS_MAP` Defaults to {"PREFERRED": "Active", "UNKNOWN": "Reserved"}
- `VSPHERE_VM_INTERFACE_MAP` Defaults to {"NOT_CONNECTED": False, "CONNECTED": True}
- `PRIMARY_IP_SORT_BY` Defaults to "Lowest"
- `DEFAULT_USE_CLUSTERS` Defaults to `True`
- `DEFAULT_CLUSTER_NAME` Defaults to "vSphere Default Cluster"
- `DEFAULT_IGNORE_LINK_LOCAL` Defaults to `True`

To get a detailed description on each configuration setting, head over to the Overview documentation.

Metadata

Release files for nautobot-ssot-vsphere 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautobot-ssot-vsphere 0.1.4
File Size Uploaded
nautobot_ssot_vsphere-0.1.4.tar.gz 44.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nautobot-ssot-vsphere 0.1.4
File Interpreter ABI Platform
nautobot_ssot_vsphere-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 98.5 kB

Release files / nautobot_ssot_vsphere-0.1.4.tar.gz

Download URL nautobot_ssot_vsphere-0.1.4.tar.gz
Size 44.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c7d74b3829564e851739a3d4313fef42189468359e14ed951077e6461ac391a
BLAKE2b-256 checksum
How to use checksums
41f63ff354db94fbe7b6478c4002edb53d5d82a5ea854f86f006b6fb24ec336d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / nautobot_ssot_vsphere-0.1.4-py3-none-any.whl

Download URL nautobot_ssot_vsphere-0.1.4-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68f8966279d9dca279a79421bfdfef816e82b2baca7e0d0d8cda1020538cba74
BLAKE2b-256 checksum
How to use checksums
914fd95af8c6b918df7796cad6db90b373ab0478b30f058e926f1a9224ed9b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page