nautobot_ssot_vsphere.jobs
vSphere Data Target Job.
Module Contents
Classes
Custom implementation of an Optional ObjectVar. |
|
Job syncing data from vSphere to Nautobot. |
Attributes
- nautobot_ssot_vsphere.jobs.name = SSoT - Virtualization
- class nautobot_ssot_vsphere.jobs.OptionalObjectVar(model=None, display_field='display', query_params=None, null_option=None, *args, **kwargs)
Bases:
nautobot.extras.jobs.ScriptVariable
Custom implementation of an Optional ObjectVar.
An object primary key is returned and accessible in job kwargs.
- form_field
- class nautobot_ssot_vsphere.jobs.VspherecDataSource
Bases:
nautobot_ssot.jobs.base.DataSource
,nautobot.extras.jobs.Job
Job syncing data from vSphere to Nautobot.
- class Meta
Metadata about this Job.
- name = VMWare vSphere ⟹ Nautobot
- data_source = VMWare vSphere
- data_source_icon
- description = Sync data from VMWare vSphere into Nautobot.
- field_order = ['debug', 'sync_vsphere_tagged_only', 'dry_run']
- debug
- sync_vsphere_tagged_only
- classmethod data_mappings()
List describing the data mappings involved in this DataSource.
- classmethod config_information()
Configuration of this DataSource.
- log_debug(message)
Conditionally log a debug message.
- sync_data()
Sync a device data from vSphere into Nautobot.
- nautobot_ssot_vsphere.jobs.jobs