Custom_Services = AdminConfig.list('CustomService', AdminConfig.getid( '/Cell:node01/Node:node01/Server:server1/')).splitlines()
for customService in Custom_Services:
print "-----------------------------------------------------------------------------------------------------------"
print ('DisplayName = ' , AdminConfig.showAttribute(customService, "displayName" ))
print ('Classpath = ' , AdminConfig.showAttribute(customService, "classpath" ))
print ('Enable = ' , AdminConfig.showAttribute(customService, "enable" ))
print ('ExternalConfigUrl = ' , AdminConfig.showAttribute(customService, "externalConfigURL" ))
print ('Description = ' , AdminConfig.showAttribute(customService, "description" ))
print ('ClassName = ' , AdminConfig.showAttribute(customService, "classname" ))
for customService in Custom_Services:
print "-----------------------------------------------------------------------------------------------------------"
print ('DisplayName = ' , AdminConfig.showAttribute(customService, "displayName" ))
print ('Classpath = ' , AdminConfig.showAttribute(customService, "classpath" ))
print ('Enable = ' , AdminConfig.showAttribute(customService, "enable" ))
print ('ExternalConfigUrl = ' , AdminConfig.showAttribute(customService, "externalConfigURL" ))
print ('Description = ' , AdminConfig.showAttribute(customService, "description" ))
print ('ClassName = ' , AdminConfig.showAttribute(customService, "classname" ))
No comments:
Post a Comment