Compare commits
No commits in common. "9f6dcbe8a7c9bd4e0d904c0b18e700006e41c7c2" and "1de5d4d60eb0b7abf830a34c8da6d1b3b0baaf65" have entirely different histories.
9f6dcbe8a7
...
1de5d4d60e
1 changed files with 0 additions and 10 deletions
|
@ -430,13 +430,3 @@ class NetBoxDNSProvider(octodns.provider.base.BaseProvider):
|
|||
value=record,
|
||||
disable_ptr=self.disable_ptr,
|
||||
)
|
||||
|
||||
def list_zones(self) -> list[str]:
|
||||
"""get all zones from netbox
|
||||
|
||||
@return: a list with all active zones
|
||||
"""
|
||||
query_params = {"status": "active", **self.nb_view}
|
||||
zones = self.api.plugins.netbox_dns.zones.filter(**query_params)
|
||||
|
||||
return sorted([self._make_absolute(z.name) for z in zones])
|
||||
|
|
Loading…
Reference in a new issue