NodeAddress
import pycontrol.pycontrol as pc
import urllib3
import ssl
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
ssl._create_default_https_context = ssl._create_unverified_context
import requests
requests.packages.urllib3.disable_warnings()
print 'bbbbbbbbbbbbbb'
c = pc.BIGIP(
hostname='10.4.170.160',
username='zjtlcb',
password='12345678',
fromurl=True,
wsdls=['LocalLB.NodeAddress'])
p1 = c.LocalLB.NodeAddress
# print p1.get_member_object_status(pool_names=['get_all_statistics'])
print p1.get_list()
[10.4.162.34, 10.4.160.21, 10.4.161.68, 10.4.168.145,
import pycontrol.pycontrol as pc
import urllib3
import ssl
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
ssl._create_default_https_context = ssl._create_unverified_context
import requests
requests.packages.urllib3.disable_warnings()
print 'bbbbbbbbbbbbbb'
c = pc.BIGIP(
hostname='10.4.170.160',
username='zjtlcb',
password='12345678',
fromurl=True,
wsdls=['LocalLB.NodeAddress'])
p1 = c.LocalLB.NodeAddress
# print p1.get_member_object_status(pool_names=['get_all_statistics'])
print p1.get_object_status(node_addresses=['10.4.162.34'])