SECURITY_GROUP_RULES = { |
'all_tcp': { |
'name': _('All TCP'), |
'ip_protocol': 'tcp', |
'from_port': '1', |
'to_port': '65535', |
},
etc….
For me, it works with this ( without the « _ » caracter)
SECURITY_GROUP_RULES = {
'all_tcp': {
'name': ('All TCP'),
'ip_protocol': 'tcp',
'from_port': '1',
'to_port': '65535',
},
This is configured via the SECURITY_GROUP_RULES setting [1]. Kolla Ansible already provides a custom value for this setting and you can of course override it.On Fri, 5 Apr 2024 at 14:03, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr> wrote:<Capture d’écran 2024-04-05 à 14.01.14.png>Hi,I have a new question, I can't find the answer.In Horizon, in security group management, when you want to add a new rule, there are default rules already ready to be used. Is it possible (with kolla-ansible, in /etc/kolla/config/neutron/....) to customize this list as desired?Thanks in advanceFranck
Le 22 mars 2024 à 11:14, Pierre Riteau <pierre@stackhpc.com> a écrit :Hi Franck,See the following Horizon configuration option: https://docs.openstack.org/horizon/latest/configuration/settings.html#launch-instance-defaultsConfigure it via custom_local_settings in Kolla Ansible for Bobcat or earlier: https://docs.openstack.org/kolla-ansible/2023.2/reference/shared-services/horizon-guide.htmlNote that the file name is changing in Caracal, which is why I am not linking to the latest documentation.On Fri, 22 Mar 2024 at 10:43, Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr> wrote:Hi,With horizon, is it possible de have this default parameter when you create an instance: in source, create a new volume: « No ».And.. if it’s possible, how configure this with kolla-ansible ?Thank’s for your help.Franck