-
Notifications
You must be signed in to change notification settings - Fork 81
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
Ohai cloud network enhancements #8
Conversation
While not all IaaS platforms support multiple named networks, we are seeing more advanced networking options being offered and evolving. I think this proposal helps support custom networking moving forward. For example: I may have a third high-bandwidth "backup" network on openstack that is different than the "local" network and a similar setup in my EC2 VPN with an elastic network interface and I want my recipe to work on both clouds without it needing to traverse the cloud-specific plugins/attributes. This change could support this. That being said, my original intention for the cloud plugin is to enable users to write recipes that are cloud agnostic. So I think we should consider keeping the "public" and "local" network namespaces as the defaults that should be populated -- if applicable. While it is not guaranteed to always work on every cloud, for many years I have used these namespace to write cookbooks that work successfully across many public and private clouds. For example: if I need a public facing IP for my webserver -- look here; if I need something for local replication -- look here. I currently have a proposal for a cloud_v2 plugin open. Perhaps we can apply support for network namespaces to this change? |
Question:
A couple specific changes I recommend are:
Thoughts? |
I like the associated_ipv4/6 suggestion, I'll add that shortly. For the RFC 1918 values, there are already There's lots of interesting choices in the existing cloud plugin, but right now there's a gap in listing networks. We will extend the existing cloud plugin initially, then go back and try to clean it up where it's redundant or wrong. |
I think extending what exists in |
This PR is currently on the agenda for our next IRC developers' meeting. Please let me know if it gets merged or otherwise closed before then so that the agenda can be updated. Thanks! |
@mattray can you please add the appropriate copyright notice to this RFC before our meeting tomorrow?
|
👍 |
1 similar comment
👍 |
@chef/rfc-editors this is approved for merge once @mattray removes the line regarding Ohai 8 |
👍 |
👍 given no breaking changes which I incorrectly inferred from the note about Ohai 8. |
👍 we end up using something similar for |
nice! |
We acknowledge the change was made at today's IRC meeting :). We will merge this. |
rebased into d078167, merged into master and accepted as RFC046. |
Proposed updates to the network plugin to handle networks not named 'public' or 'private'.