Skip to content

Commit 6d8787a

Browse files
author
Kevin McDonald
committed
Re-Add hardware, subnets and virtualGuest mask to vlan detail
1 parent ffcb72d commit 6d8787a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

SoftLayer/managers/network.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
'virtualGuestCount',
2424
'networkSpace',
2525
])
26+
DEFAULT_GET_VLAN_MASK = ','.join([
27+
'firewallInterfaces',
28+
'primaryRouter[id, fullyQualifiedDomainName, datacenter]',
29+
'totalPrimaryIpAddressCount',
30+
'networkSpace',
31+
'hardware',
32+
'subnets',
33+
'virtualGuests',
34+
])
2635

2736

2837
class NetworkManager(object):
@@ -207,7 +216,7 @@ def get_vlan(self, vlan_id):
207216
the specified VLAN.
208217
209218
"""
210-
return self.vlan.getObject(id=vlan_id, mask=DEFAULT_VLAN_MASK)
219+
return self.vlan.getObject(id=vlan_id, mask=DEFAULT_GET_VLAN_MASK)
211220

212221
def list_global_ips(self, version=None, identifier=None, **kwargs):
213222
"""Returns a list of all global IP address records on the account.

0 commit comments

Comments
 (0)