This is what I have in NB DB (ovn-nb-db)[root@os-chn-ctrl01 /]# ovn-nbctl --no-leader-only show switch 8f537f91-915c-43a8-b914-b208a6c493c7 (neutron-ec3877a3-2306-46ad-ae1e-aa5ca1f72694) (aka net_pub_vlan_3549) port provnet-6ab54332-0453-4b1c-a835-14401061e6ac type: localnet tag: 3549 addresses: ["unknown"] port 154fdd29-f44d-4e04-868e-b54fa0235266 type: localport addresses: ["fa:16:3e:1e:d0:40 101.32.177.10"] switch de22a47a-862f-40f8-9621-570495caf8b0 (neutron-87131346-90d6-48ca-a045-214ff02ee9c0) (aka net_idmz_vlan_551) port 57978c72-9db9-4755-ab07-e1c356be586f (aka sriov-p1) type: external addresses: ["fa:16:3e:cf:3d:07 10.74.3.27"] port provnet-04891095-9d6e-46b8-874d-79164bb62015 type: localnet tag: 551 addresses: ["unknown"] port 9d5a8c96-ba97-48bb-8f2b-a794ce871360 type: localport addresses: ["fa:16:3e:06:1c:b8 10.74.2.20"] On Tue, Feb 11, 2025 at 9:29 AM Satish Patel <satish.txt@gmail.com> wrote:
Thank you Dimitry,
LRP is only for the L3 router case but I don't have any. I have only a network and subnet which is based on a VLAN tenant so technically I don't need any vRouter.
On Tue, Feb 11, 2025 at 1:40 AM Dmitriy Rabotyagov < noonedeadpunk@gmail.com> wrote:
Hey,
You can do that with ovn-nbctl lrp-set-gateway-chassis command.
We have documented an example here:
https://docs.openstack.org/openstack-ansible-os_neutron/latest/app-ovn.html#...
On Tue, 11 Feb 2025, 07:18 Satish Patel, <satish.txt@gmail.com> wrote:
Folks,
I have the following 4 chassis and I would like to change priority so I can decide which one will be active one. I want to make os-chn-gen-comp-002 highest priority.
How do I change priority? I don't have any L3 routers. All I have are subnets because I am using a vlan tenant provider.
$ ovn-nbctl list HA_Chassis 784ec6e9-9af8-45c6-86e0-75ae7ccf9278 c75de7ab-b346-4aa5-886b-31b0fd12401e d8ecd5fe-af56-45ac-a4c5-a35b6ea8f5cc dd6ce2d4-9746-4429-862a-e78750bb4909 _uuid : 784ec6e9-9af8-45c6-86e0-75ae7ccf9278 chassis_name : os-chn-ctrl03 external_ids : {} priority : 32767
_uuid : c75de7ab-b346-4aa5-886b-31b0fd12401e chassis_name : os-chn-ctrl01 external_ids : {} priority : 32765
_uuid : d8ecd5fe-af56-45ac-a4c5-a35b6ea8f5cc chassis_name : os-chn-gen-comp-002 external_ids : {} priority : 32764
_uuid : dd6ce2d4-9746-4429-862a-e78750bb4909 chassis_name : os-chn-ctrl02 external_ids : {} priority : 32766