Forum Discussion
Tim_18689
Jan 15, 2013Cirrus
Here 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']
)