Forum Discussion
Tim_18689
Cirrus
Jan 08, 2013bigsuds-1.01 Need help creating self IP using SelfIPV2.create
I am trying to create a self IP using bigsuds-1.01 and cannot figure the syntax. Here is what I have come up with but I cannot figure out how to specify the 'floating_states' or what I am doing wrong...
Tim_18689
Cirrus
Jan 15, 2013Here it is a lot more readable as I used it in script:
!/usr/bin/python
import bigsuds
set target system and supply login info
b = bigsuds.BIGIP(
hostname = '10.3.214.70',
username = 'admin',
password = 'admin',
)
make a self IP
b.Networking.SelfIPV2.create(
self_ips = ['ext-self'],
vlan_names = ['ext-esnet'],
addresses = ['10.1.214.70'],
netmasks = ['255.255.0.0'],
traffic_groups = ['traffic-group-local-only'],
floating_states = ['STATE_DISABLED']
)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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