Python 默认vlan范围状态

Python 默认vlan范围状态,python,ibm-cloud-infrastructure,vlan,Python,Ibm Cloud Infrastructure,Vlan,vlan跨越状态的正确结果如下: import SoftLayer username='xxxxxx' key='xxxxxx' client = SoftLayer.create_client_from_env(username=username, api_key=key, timeout=600) account = client['Account'] account.getNetworkVlanSpan() {'lastVerifiedDate': '2018-04-19T22:02:23

vlan跨越状态的正确结果如下:

import SoftLayer
username='xxxxxx'
key='xxxxxx'
client = SoftLayer.create_client_from_env(username=username, api_key=key, timeout=600)
account = client['Account']
account.getNetworkVlanSpan()
{'lastVerifiedDate': '2018-04-19T22:02:23-05:00', 'modifyDate': '2018-04-19T22:02:23-05:00', 'enabledFlag': True, 'lastAppliedDate': '2018-04-19T20:45:27-05:00', 'id': xxxxx}

当我在新创建的帐户中找到时,在我在门户网站上选择vlan跨越状态之前,account.getNetworkVlanSpan()的结果将是一个空的dict。是否正确?在这种情况下,vlan span的默认状态是开还是关?谢谢。

没错,它是空的,默认情况下,位于不同专用VLAN上的设备不能相互发送流量,这是专用VLAN具有的限制或保护

在这种情况下,vlan span的默认状态为off

有关更多信息,请参阅以下文档: