Replies: 1 comment
-
Just add them to the parent and create them: # ...continuing from your code above, but before the vr.create()
import2 = network.BgpPolicyImportRule(....)
bgp.add(import2)
import3 = network.BgpPolicyImportRule(....)
bgp.add(import3)
# now do the create
vr.create()
# Oops, missed one, let's add it in now.
import4 = network.BgpPolicyImportRule(....)
bgp.add(import4)
import4.create() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We would like to create multiple BGP import rules in a Virtual-Router, and our question is how we can iterate over an instance/object class.
Thank You
Beta Was this translation helpful? Give feedback.
All reactions