Forum Discussion
Setting the name of a node with iControl
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);
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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