nautobot_ssot_vsphere.utilities.nautobot_utils

Nautobot Utils.

Module Contents

Functions

create_ssot_tag()

Create vSphere SSoT Tag.

tag_object(nautobot_object[, custom_field, tag_name])

Apply the given tag and custom field to the identified object.

Attributes

TODAY

nautobot_ssot_vsphere.utilities.nautobot_utils.TODAY
nautobot_ssot_vsphere.utilities.nautobot_utils.create_ssot_tag()

Create vSphere SSoT Tag.

nautobot_ssot_vsphere.utilities.nautobot_utils.tag_object(nautobot_object: Any, custom_field: str = 'ssot-synced-from-vsphere', tag_name: str = 'SSoT Synced from vSphere')

Apply the given tag and custom field to the identified object.

Args:

nautobot_object (Any): Nautobot ORM Object custom_field (str): Name of custom field to update tag_name (Optional[str], optional): Tag name. Defaults to “SSoT Synced From vsphere”.