You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NS1.loadScope requires a scope_id, but does not allow to pass one: def loadScope( self, scopegroup_id, address_id, callback=None, errback=None):
Attempting to issue this call breaks:
res = api.loadScope(21939286, 68740)
File "/Users/xxxx/PycharmProjects/netmanager/venv/lib/python3.9/site-packages/ns1/__init__.py", line 575, in loadScope
return scope.load(callback=callback, errback=errback)
File "/Users/xxxx/PycharmProjects/netmanager/venv/lib/python3.9/site-packages/ns1/ipam.py", line 922, in load
raise ScopeException("Must specify a scope_id")
ns1.ipam.ScopeException: Must specify a scope_id
It would be quite useful to be able to search for scopes, either from:
address_id
cidr prefix
Subnet name
But this seems to require API work, beyond this SDK.. Not sure where to place that issue..
The text was updated successfully, but these errors were encountered:
Fix loadScope so it accepts only the required scope id
Fix rest.ipam.xyz classes so they accept the fields listed on the current API docs
Fix rest.ipam.addresses.search so it works pr API docs
Add expand method to rest.ipam.scopegroups
Running tests in 3.9 fails helpers::test_singleton_mixin_with_concurrency but I doubt this is my doing..
NS1.loadScope requires a scope_id, but does not allow to pass one:
def loadScope( self, scopegroup_id, address_id, callback=None, errback=None):
Attempting to issue this call breaks:
It would be quite useful to be able to search for scopes, either from:
But this seems to require API work, beyond this SDK.. Not sure where to place that issue..
The text was updated successfully, but these errors were encountered: