Forum Discussion
Trying to setup basic networking with bigsuds
I was able t get this working. My idea of how it would work was much too simple. It took me a lot of trial an error becuase of my lack of understanding of how this works. I would like to have listed all the param names that I gave values for ( vlan_ids, failsafe_states, fail_safe_time_outs), but I could not figure out the syntax. If anyone can show me this it would be great.
Here is the script working to make a vlan:
!/usr/bin/python
netconfig.py
attempt to do basic network setup with icontrol
import bigsuds
b = bigsuds.BIGIP(
hostname = '10.3.213.85',
username = 'admin',
password = 'admin',
)
b.Networking.VLAN.create_v2(
['test1'],
[1102],
[[{'tag_state': 'MEMBER_UNTAGGED', 'member_type': 'MEMBER_INTERFACE', 'member_name': '1.2'}]],
['STATE_DISABLED'],
[90],
)
Next, self IPs...
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com