Skip to content
New issue

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

Add consul support to netplugin/netmaster #280

Open
erikh opened this issue Dec 1, 2016 · 0 comments
Open

Add consul support to netplugin/netmaster #280

erikh opened this issue Dec 1, 2016 · 0 comments
Assignees

Comments

@erikh
Copy link
Contributor

erikh commented Dec 1, 2016

https://github.com/contiv/ansible/tree/master/roles/contiv_network/templates is probably where you need to start looking.

Be sure to employ defaults. they live in roles/contiv_network/defaults. Use them and set them to sane defaults. They are very important to the overall UX of our ansible.

What likely needs to happen is that you need a way to generate the URL of the consul and etcd endpoints, so then you can pass either as an argument. The default should be etcd and using consul should mean supplying another url.

Summary:

  • adjust templates to accept a cluster_url argument and turn on the right cluster_store.
  • set a default for each of the above variables in the contiv_network/defaults/main.yml file.
  • maybe create an example of global vars in group_vars/examples if you have time.
@unclejack unclejack self-assigned this Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants