We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent port is zero for all hosts when doing this:
ubuntu@ip-192-168-0-10:~$ curl -s -f -H "Content-Type: application/json" http://192.168.0.10:9603/hosts [{"id":"1","name":"ip-192-168-0-10","ip":"192.168.0.10","romana_ip":"10.0.0.0/16","agent_port":0,"links":null},{"id":"2","name":"ip-192-168-0-11","ip":"192.168.0.11","romana_ip":"10.1.0.0/16","agent_port":0,"links":null},{"id":"3","name":"ip-192-168-0-12","ip":"192.168.0.12","romana_ip":"10.2.0.0/16","agent_port":0,"links":null},{"id":"4","name":"ip-192-168-0-13","ip":"192.168.0.13","romana_ip":"10.3.0.0/16","agent_port":0,"links":null},{"id":"5","name":"ip-192-168-0-14","ip":"192.168.0.14","romana_ip":"10.4.0.0/16","agent_port":0,"links":null}]
But when checking a specific host, the correct number is provided.
ubuntu@ip-192-168-0-10:~$ curl -s -f -H "Content-Type: application/json" http://192.168.0.10:9603/hosts/1 {"id":"1","name":"ip-192-168-0-10","ip":"192.168.0.10","romana_ip":"10.0.0.0/16","agent_port":9604,"links":[{"Href":"http://192.168.0.10:9604","Rel":"agent"},{"Href":"/hosts/1","Rel":"self"},{"Href":"/hosts","Rel":"self"}]}ubuntu@ip-192-168-0-10:~$
This was affecting my 'romana' script, since it parses the output of /hosts query. I can change it to use /hosts/{id} instead.
The text was updated successfully, but these errors were encountered:
Merge pull request #28 from paninetworks/feature/stas-366
3ec2f79
Feature/stas 366
No branches or pull requests
Agent port is zero for all hosts when doing this:
But when checking a specific host, the correct number is provided.
This was affecting my 'romana' script, since it parses the output of /hosts query. I can change it to use /hosts/{id} instead.
The text was updated successfully, but these errors were encountered: