Forum Discussion
Jeffro21_47444
Nimbostratus
Feb 05, 2012Setting the name of a node with iControl
Hello, I am using the iControl JAVA API's and have been able to create a node and assign it into a pool by setting the IP address and port of the node, but I would like to be able to set the...
Jeffro21_47444
Nimbostratus
Feb 05, 2012Hey,
I am using V10.2 and I am trying to create a node with the following snippet.
publicvoid create() throws Exception
{
validate();
String [] containingPoolList = {containingPool.getName()};
iControl.CommonIPPortDefinition memDefinition = new iControl.CommonIPPortDefinition(ipAddress, portNumber);
iControl.CommonIPPortDefinition [] memDefinitionArr = {memDefinition};
iControl.CommonIPPortDefinition [][] memDefinition2DArr = {memDefinitionArr};
iConInterfaces.getLocalLBPool().add_member(containingPoolList, memDefinition2DArr);
}
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