Forum Discussion
1 Reply
- Etienne_Noumen_Nimbostratus
I am using iControl jar file v11.4. Below is my Pool stats code that runs well: public static void main(String[] args) { // body of main method follows // Initialize the iControl Interfaces Object iControl.Interfaces interfaces = new iControl.Interfaces(); interfaces.initialize("xxxxx", "xxxx", "xxxxx"); // Call the static getList method to return the list of existing pools. try { String [] poolList = iControl.Objects.LTM.Pool.getList(interfaces); } catch(Exception ex) { ex.printStackTrace(System.out); } // Get a specific Pool object with the name dummyPool. try { iControl.Objects.LTM.Pool pool = new iControl.Objects.LTM.Pool(interfaces,"XXXXX"); // Query pool members iControl.CommonIPPortDefinition [] membersInPool = pool.getMembers(); System.out.println(" + Members"); for(int i=0; i
} I need similar code for Virtual servers.