dfo
Jun 06, 2018Nimbostratus
Python SDK: How to assign an interface to a VLAN on BIG-IP ?
I'm trying to attached an interface to a VLAN using the Python SDK but I get the following error => "Instance contains a string". Here is my code:
vlan = mgmt.tm.net.vlans.vlan.load(name='TEST_4001_TEST_DFO')
if not vlan.interfaces_s.interfaces.exists(name='1.2'):
interface = vlan.interfaces_s.interfaces.create(name='1.2', tagMode='none', tagged='True')