Hello,

I'm trying to use API filters but it doesn't work for me. This is what I'm trying:

http://host:8082/instance-ips?fields=instance_ip_address, returns:

{"instance-ips": [
  {
    "instance_ip_address": "10.0.0.3",
"href": "http://host:8082/instance-ip/6bb76c56-92c7-47c8-b806-3c5faff42416";,
    "fq_name": [
      "6bb76c56-92c7-47c8-b806-3c5faff42416"
    ],
    "uuid": "6bb76c56-92c7-47c8-b806-3c5faff42416"
  }
]}

But if I call the API with http://host:8082/instance-ips?filters=instance_ip_address==10.0.0.3 I get:

{"instance-ips": []}

I checked the cassandra db to see if the prop:x record exists and it does.

So, what am I doing wrong ?

Thanks

Jean-Philippe

_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to