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
Fails with AttributeError: 'ipam' object has no attribute 'vlan_group'. or AttributeError: '_vlan_groups' object has no attribute 'available_vlans'.
Expected Behavior
Like for ipam.asn_range.available_asns (which is a singular of asn_ranges) and ipam.ip_range.available_ips (singular of ip_ranges), I would expect to have ipam.vlan_group.available_vlans.
Observed Behavior
Calls fail with above mentioned errors (AttributeError: 'ipam' object has no attribute 'vlan_group'. or AttributeError: '_vlan_groups' object has no attribute 'available_vlans'). In /api/ipam.py there are definitions for ASN and IP ranges:
NetBox Python version
v0.1.6
NetBox version
v3.6.6
Python version
3.11
Steps to Reproduce
Trying to call:
or
Fails with
AttributeError: 'ipam' object has no attribute 'vlan_group'.
orAttributeError: '_vlan_groups' object has no attribute 'available_vlans'
.Expected Behavior
Like for
ipam.asn_range.available_asns
(which is a singular ofasn_ranges
) andipam.ip_range.available_ips
(singular ofip_ranges
), I would expect to haveipam.vlan_group.available_vlans
.Observed Behavior
Calls fail with above mentioned errors (
AttributeError: 'ipam' object has no attribute 'vlan_group'.
orAttributeError: '_vlan_groups' object has no attribute 'available_vlans'
). In/api/ipam.py
there are definitions for ASN and IP ranges:but there are no
self.vlan_group
defined forvlan_groups
although there is an import:And vlan_group.py file already exists.
The text was updated successfully, but these errors were encountered: