-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for scope and src route options #683
Comments
Ok, |
Hi, all our servers are configured with two different interfaces, for management and service. By default, we send all the traffic through our service interface. To prevent receiving incoming traffic through our management interface and answering through the service interface, we are configuring routing tables with advanced routing. We define a routing table for our management interface, which sends back all the management incoming traffic through the management gateway. In this same table, we need to define a link route for the communication with the hosts in the same management VLAN, for which we need to use the scope link route parameter, along with the source IP.
Our NM cfg file looks like this:
Since we are working behind a corporate proxy with very limited access to internet, we are having many issues when trying to configure an environment where to develop and test a patch. If you think this modification to the role is reasonable, but we have to create the pull request, we could push to deliver it. |
Thanks for the clarification, this is a valid and reasonable request for the feature. We can prioritize supporting this feature with medium priority, if you think that you need this feature very soon, patches are welcomed, or do not hesitate to let us know about it, then we can prioritize supporting it sooner. |
@jjbc , if you have a plan to work on the feature support, please assign the issue to yourself. |
@jjbc , FYI, the route src is already supported in network role, you can configure the route src with |
Could it be possible to add support for scope and src parameters in the route definitions?
An example of route with these parameters in a .nmconnection file:
An implementation approach could be:
In the network_connections.py, add the two new parameters to the NM.IPRoute creation:
In the argument_validator.py, validate these options inside ArgValidatorIPRoute class:
The text was updated successfully, but these errors were encountered: