mirror of
https://github.com/bb-Ricardo/netbox-sync.git
synced 2026-05-08 11:00:12 -05:00
changed the NBIPAddress data model entry 'assigned_object_type' to have set valid types
This commit is contained in:
@@ -2120,7 +2120,7 @@ class NBIPAddress(NetBoxObject):
|
||||
]
|
||||
self.data_model = {
|
||||
"address": str,
|
||||
"assigned_object_type": self.mapping.scopes_object_types(self.scopes),
|
||||
"assigned_object_type": ("ipam.fhrpgroup, dcim.interface, virtualization.vminterface"),
|
||||
"assigned_object_id": self.scopes,
|
||||
"description": 200,
|
||||
"role": ["loopback", "secondary", "anycast", "vip", "vrrp", "hsrp", "glbp", "carp"],
|
||||
|
||||
Reference in New Issue
Block a user