Forum Discussion
Jim_43682
Apr 05, 2012Nimbostratus
pycontrol ConfigSync synchronize LTMs
Hello All,
I've been following the iControl devcentral site to write a python script that will sync our LTMs
This is what i have so far:
import pycontrol.pycontrol as pc
systemConfigSync = pc.BIGIP(hostname=cluster,username=soapUser,password=soapPasswd,fromurl=True,wsdls=['System.ConfigSync'])
systemConfigSync.System.ConfigSync.synchronize_configuration(systemConfigSync.System.ConfigSync.SyncMode.CONFIGSYNC_BASIC)
but i get a 'object has no attribute SyncMode'
Thx,
Jim
- L4L7_53191NimbostratusJim: It looks like you're not calling the actual sync method: System.ConfigSync.synchronize_configuration(). Have a look here for info:
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