Comment 10 for bug 1633090

Revision history for this message
Dan Sneddon (dsneddon) wrote :

Note that I have a review up with sample NIC templates for a Neutron networker role:
https://review.openstack.org/#/c/400390/

I consider this a stopgap solution. I think in the long term we may be able to utilize jinja2 templating to allow one NIC config template to work for multiple roles. Conditionals would selectively apply the network interfaces that apply to the role.

{{ if <network> in role.networks }}
    Configuration for <network>
{{ endif }}