veritas.sot.updater
Module Contents
Classes
Generic class to update any properties in nautobot. |
- class veritas.sot.updater.Updater(sot)
Bases:
objectGeneric class to update any properties in nautobot.
- Parameters:
sot (Sot) – the sot object to use
- update(endpoint: str, values: dict, getter: dict)
update entity in sot
- Parameters:
endpoint (str) – name of the endpoint to use
values (dict) – values to update
getter (dict) – getter to use to check if entity is already in sot
- Returns:
entity – the entity that was updated
- Return type:
object
- update_by_id(*unnamed, **named)