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

Custom attributes for network section (NIC) in VM template #959

Closed
OpenNebulaProject opened this issue Nov 20, 2017 · 3 comments
Closed

Comments

@OpenNebulaProject
Copy link


Author Name: Stefan Kooman (Stefan Kooman)
Original Redmine Issue: 4066, https://dev.opennebula.org/issues/4066
Original Date: 2015-10-16


In some cases you want to perform some special action in a VM or on the frontend / hypervisor based on some property of a network adapter. As far as I know it's currently not possible to add a custom attribute to the "NIC=[]" section. It would make life easy if a custom attribute could be added. Example use case: configure a special source based route for the specific nic if LB=TRUE is configured. Or setup special openflow rules on the vnet if OPENFLOW_SPECIAL=TRUE.

@OpenNebulaProject
Copy link
Author


Original Redmine Comment
Author Name: Carlos Martín (Carlos Martín)
Original Date: 2015-10-19T08:26:42Z


You can actually add any attribute inside the NIC.

Furthermore, you can even configure in oned.conf if any attribute should be restricted to be used only by oneadmin:
http://docs.opennebula.org/4.14/administration/references/oned_conf.html#restricted-attributes-configuration

Or set the attributes in the vnet template, and copy it to the NICs using that vnet:
http://docs.opennebula.org/4.14/administration/references/oned_conf.html#inherited-attributes-configuration

Can you give it a try to see if your request is already covered?

@stale
Copy link

stale bot commented Mar 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team

@rsmontero
Copy link
Member

Seems this issue was implemented. Closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants