We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcb72d commit 6d8787aCopy full SHA for 6d8787a
1 file changed
SoftLayer/managers/network.py
@@ -23,6 +23,15 @@
23
'virtualGuestCount',
24
'networkSpace',
25
])
26
+DEFAULT_GET_VLAN_MASK = ','.join([
27
+ 'firewallInterfaces',
28
+ 'primaryRouter[id, fullyQualifiedDomainName, datacenter]',
29
+ 'totalPrimaryIpAddressCount',
30
+ 'networkSpace',
31
+ 'hardware',
32
+ 'subnets',
33
+ 'virtualGuests',
34
+])
35
36
37
class NetworkManager(object):
@@ -207,7 +216,7 @@ def get_vlan(self, vlan_id):
207
216
the specified VLAN.
208
217
209
218
"""
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)
211
220
212
221
def list_global_ips(self, version=None, identifier=None, **kwargs):
213
222
"""Returns a list of all global IP address records on the account.
0 commit comments