Forum Discussion
Tim_18689
Jan 05, 2013Cirrus
Trying to setup basic networking with bigsuds
I am trying write a script to setup basic networking using bigsuds. I am having trouble creating a vlan. I am novice at scripting so I must be making an error.
Here is the simple script t...
Tim_18689
Cirrus
Here is an improved syntax:
!/usr/bin/python
set target system and supply login info
b = bigsuds.BIGIP(
hostname = '10.3.214.70',
username = 'admin',
password = 'admin',
)
create a vlan
b.Networking.VLAN.create_v2(
vlans = ['ext-esnet'],
vlan_ids = [1101],
members = [[{'member_name': '1.1', 'member_type': 'MEMBER_INTERFACE', 'tag_state': 'MEMBER_UNTAGGED'}]],
failsafe_states = ['STATE_DISABLED'],
timeouts = [90]
)
JerryMac_150114
Apr 11, 2014Historic F5 Account
Thank you for providing your example. So many times people post "got it working" but fail to show how they did it.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects