[openstack][neutron] set a fixed ip for router gateway

Slawek Kaplonski skaplons at redhat.com
Wed Aug 9 06:31:57 UTC 2023


Hi,

Dnia środa, 9 sierpnia 2023 04:21:51 CEST Nguyễn Hữu Khôi pisze:
> Hello guys.
> 
> I am curious why we can not set a fixed ip for router gateway.
> 
> [image: image.png]
> Although I see these codes were merged many years ago.
> 
> https://review.opendev.org/c/openstack/neutron/+/83664
> 
> Nguyen Huu Khoi
> 

I can't say why it's like that in the Horizon dasboard but from the Neutron API PoV this is allowed by default only for admin users. See https://github.com/openstack/neutron/blob/176b144460570fcf2792a199d2b639b335822f14/neutron/conf/policies/router.py#L117

-- 
Slawek Kaplonski
Principal Software Engineer
Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230809/4a9f0c40/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230809/4a9f0c40/attachment.sig>


More information about the openstack-discuss mailing list