Forum Discussion
iApp - error when creating pools
- Nov 24, 2015
iapp::pool_members will try to do the right thing based on what you give it. If there is a "port" or "port_secure" column in your table, it will use those port values. You can specify a port value to override those with the -port flag (e.g. iapp::pool_members -port 8080 $::members__pool_members). If you specify only IP addresses and omit the -port flag, it will assume port 80.
Your code assumes that $::members__pool_members is a simple list, but APL tables are not built that way. They look more like:
members__pool_members { column-names { addr } rows { { row { 10.2.4.5 } } } }
So, on the first iteration of your foreach loop, the value of $item would be "column-names".
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