Skip to content
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

bgpd: move debug vnc commands under debug rfapi-dev subnode #168

Closed
wants to merge 2 commits into from

Conversation

pguibert6WIND
Copy link
Member

Commands in charge of adding prefixes to VNE is moved from global
configuration node to debug rfapi-dev sub command in global
configuration node.

Signed-off-by: Philippe Guibert philippe.guibert@6wind.com

Commands in charge of adding prefixes to VNE is moved from global
configuration node to debug rfapi-dev sub command in global
configuration node.
This commit handles move of vty commands for add vnc and add vrf
commands.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
When creating a vrf-policy, the route distinguisher configured takes
AF_UNSPEC family value, which is 0 value, whereas the len value is set
to 64. This latter value it used by add vrf prefix command to check that
rd is configured or not.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
@pguibert6WIND
Copy link
Member Author

it also fixes the following:
detection that rd is configured in a vrf-policy when executing add vrf command

ubuntu1404# add vrf 10:11 prefix 1.2.3.0/24
VRF "10:11" isn't configured with an RD, so RD must be provided.

@NetDEF-CI
Copy link
Collaborator

Continous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-215/

This is a comment from an EXPERIMENTAL automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

@NetDEF-CI
Copy link
Collaborator

Continous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-217/

This is a comment from an EXPERIMENTAL automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

@pguibert6WIND
Copy link
Member Author

Following command:

  • add vnc
  • add vrf

Must Not be kept on global config node
Proposal here : move to débug rfapi-dev

@louberger
Copy link
Member

louberger commented Feb 6, 2017 via email

@pguibert6WIND
Copy link
Member Author

global configuration mode must not be used for configuration.
global configuration mode is reserved for exploitation and debug purposes

@NetDEF-CI
Copy link
Collaborator

Continous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-216/

This is a comment from an EXPERIMENTAL automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

1 similar comment
@NetDEF-CI
Copy link
Collaborator

Continous Integration Result: SUCCESSFUL

Congratulations, this patch passed basic tests

Tested-by: NetDEF / OpenSourceRouting.org CI System

CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-216/

This is a comment from an EXPERIMENTAL automated CI system.
For questions and feedback in regards to this CI system, please feel free to email
Martin Winter - mwinter (at) opensourcerouting.org.

@louberger
Copy link
Member

louberger commented Feb 7, 2017 via email

@donaldsharp
Copy link
Member

Philippe to think about this issue some more

@pguibert6WIND
Copy link
Member Author

I understand some clear command or some show commands are privilege mode, that is to say not authorized to everybody.
The fact is that the add vrf or add vnc command is related to configuration.
It creates entries , like it can be done when you configure a network prefix under address-family node.

For all configuration, it is important to be able to keep the network configuration after a save running-config. If i execute add vnc command, it will not appear in show running, right ?

This is the problem here.
maybe we can close the issue, but I really would like proposals for RD/RT document, making it possible to configure vrf entries in configure mode.

@louberger
Copy link
Member

louberger commented Feb 9, 2017 via email

@louberger louberger self-requested a review February 17, 2017 12:51
Copy link
Member

@louberger louberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per earlier comments, I believe this change should not be made. @pguibert6WIND if you agree, please close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants