Ionut_Turturic1
Mar 05, 2010Historic F5 Account
System.Services.set_service not working with HTTPD
Any idea why the System.Services.set_service has absolutely no effect with SERVICE_HTTPD ? No exception is thrown, no error messages in logs.
It does work for mostly all other services!
action = pc.System.Services.typefactory.\
create('System.Services.ServiceAction').\
SERVICE_ACTION_REINIT
service = pc.System.Services.typefactory.\
create('System.Services.ServiceType').\
SERVICE_HTTPD
print pc.System.Services.set_service([service], action)
Where pc is an instance of pycontrol2.BIGIP.
Thanks.