Forum Discussion
R_Marc
Jan 06, 2015Nimbostratus
This feature was added in 11.6 I think (maybe 11.5...but I don't have anything still on 11.5).
curl -sk -u admin:admin -H "Content-Type: application/json" -X PUT https://bip1/mgmt/tm/ltm/pool/rmarc-test-pool -d '{"name":"rmarc-test-pool","members":[{"name":"www.google.com:443","fqdn":{"autopopulate":"enabled"}}]}'| python -m json.tool
Then it'll populate:
curl -sk -u admin:admin -H "Content-Type: application/json" -X GET https://bip1/mgmt/tm/ltm/pool/rmarc-test-pool/members | python -m json.tool
{
"items": [
{
"address": "any6",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "false",
"fqdn": {
"autopopulate": "enabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com:443?ver=11.6.0",
"session": "user-enabled",
"state": "fqdn-up"
},
{
"address": "173.194.123.80",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "true",
"fqdn": {
"autopopulate": "disabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com-173.194.123.80:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com-173.194.123.80:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com-173.194.123.80:443?ver=11.6.0",
"session": "user-enabled",
"state": "up"
},
{
"address": "173.194.123.81",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "true",
"fqdn": {
"autopopulate": "disabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com-173.194.123.81:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com-173.194.123.81:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com-173.194.123.81:443?ver=11.6.0",
"session": "user-enabled",
"state": "up"
},
{
"address": "173.194.123.82",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "true",
"fqdn": {
"autopopulate": "disabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com-173.194.123.82:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com-173.194.123.82:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com-173.194.123.82:443?ver=11.6.0",
"session": "user-enabled",
"state": "up"
},
{
"address": "173.194.123.83",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "true",
"fqdn": {
"autopopulate": "disabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com-173.194.123.83:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com-173.194.123.83:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com-173.194.123.83:443?ver=11.6.0",
"session": "user-enabled",
"state": "up"
},
{
"address": "173.194.123.84",
"connectionLimit": 0,
"dynamicRatio": 1,
"ephemeral": "true",
"fqdn": {
"autopopulate": "disabled",
"tmName": "www.google.com"
},
"fullPath": "/Common/www.google.com-173.194.123.84:443",
"generation": 150,
"inheritProfile": "enabled",
"kind": "tm:ltm:pool:members:membersstate",
"logging": "disabled",
"monitor": "default",
"name": "www.google.com-173.194.123.84:443",
"partition": "Common",
"priorityGroup": 0,
"rateLimit": "disabled",
"ratio": 1,
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members/~Common~www.google.com-173.194.123.84:443?ver=11.6.0",
"session": "user-enabled",
"state": "up"
}
],
"kind": "tm:ltm:pool:members:memberscollectionstate",
"selfLink": "https://localhost/mgmt/tm/ltm/pool/rmarc-test-pool/members?ver=11.6.0"
}