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

VSR static-route bug #700

Open
brncoguz opened this issue Jul 11, 2018 · 3 comments
Open

VSR static-route bug #700

brncoguz opened this issue Jul 11, 2018 · 3 comments
Assignees

Comments

@brncoguz
Copy link
Collaborator

brncoguz commented Jul 11, 2018

Hi,

I'm trying to deploy a vsr, sysinfo tag inside the xml template looks like this:

  <sysinfo type='smbios'>
    <system>
      <entry name='product'>TIMOS:slot=A chassis=VSR-I card=cpm-v mda/1=m20-v address=10.52.100.15/24@active static-route=0.0.0.0/[email protected] static-route=128.0.0.0/[email protected] license-file=cf3:/license.txt</entry>
    </system>
  </sysinfo>

The problem here is, vsr doesn't accept this entry "static-route=0.0.0.0/[email protected]", when i try to add it manually from bof it's okay. It seems like a bug.

Maybe we can use a bof.cfg template to get over this problem.

@jonasvermeulen
Copy link
Collaborator

As much as possible vsr-deploy and vsr-predeploy relies on dynamic configuration changes. Effectively making it ready for evolution to NetConf usage.

The issue with pushing code dynamically is that the node needs to be reachable after its first boot. So a minimum static route is required in the XML so that the deployment host can actually push configuration changes after.
If there are issues, it might make sense though to copy a bof.cfg into the qcow via guestfish before bootup.

@brncoguz
Copy link
Collaborator Author

@jonasvermeulen as you mentioned most of the project probably uses a minimum static route, but in our pods we usually use static-route=0.0.0.0/1@<next-hop> static-route=128.0.0.0/1@<next-hop> to make it reachable to every subnet, that's how i faced this issue. I'll try to change it so we can copy bof.cfg file before booting up the vm.

@ghost ghost assigned oakyurek Feb 3, 2020
@ghost
Copy link

ghost commented Feb 3, 2020

@oakyurek can you comment on this request?

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

No branches or pull requests

3 participants