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

Invalid routing-instances in lambda generated configuration #8

Open
akbhat opened this issue Nov 20, 2018 · 1 comment
Open

Invalid routing-instances in lambda generated configuration #8

akbhat opened this issue Nov 20, 2018 · 1 comment
Assignees
Labels

Comments

@akbhat
Copy link
Contributor

akbhat commented Nov 20, 2018

When VPN tunnel configuration is pushed to the vsrx, bogus routing-instance called "show" is configured.

root@tvpc-vsrx1# show routing-instances ?
Possible completions:
<..skip..>
ge-routing Routing instance name
show Routing instance name <<<<<<<<<<<<<<<<<<<<< HERE
transit Routing instance name

@akbhat
Copy link
Contributor Author

akbhat commented Nov 28, 2018

Until lambda code is migrated to RPC, below is a workaround

Change
tempList = [outputList[i] for i in range(len(outputList)) if ('vpc-' in outputList[i] and 'inet' not in outputList[i])]

to

tempList = [outputList[i] for i in range(len(outputList)) if ('vpc-' in outputList[i] and 'inet' not in outputList[i] and 'show' not in outputList[i])]

@akbhat akbhat self-assigned this Dec 1, 2018
@akbhat akbhat added the bug label Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant