Folks,

currently merge policy for network roles only allows to add new VIPs to already 
existing roles [1]. If a plugin supplies a VIP with a name that already exists 
but with different parameters, Nailgun will not allow to do that. We faced a 
need to override configuration of several VIPs by completely removing them from 
network roles by supplying something like [2]. To enable that I’ve made a 
temporary workaround [3] to the merging policy that only handles one 
cornerstone.

I’ve talked to ikalnitsky and we realized that this functionality of merging 
new VIPs from plugins to an existing network role is actually wrong and should 
be replaced by complete overriding. Let’s discuss this possibility here.


References:

1. 
https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/policy/merge.py#L55
2. http://xsnippet.org/361361/
3. https://review.openstack.org/#/c/273169/1


- romcheg

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to