Replies: 1 comment
-
I got my issue resolved |
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
-
My apologies for the newby questions. Ive been a network engineer for 25 years, but only recently started using python. and I only started using this sdk on over this past weekend.
Here is my scenario. We have 31 panorama managed firewalls in AWS. We have decided to switch to GWLB and autoscaling groups in AWS. I have created 2 new panorama clusters . one which represents all NON prod environments and one with represents just PROD.
What im attempting to do is use code to move all the things ( tags, servcie objects, service groups, address objects, address groups, custom url categories, schedules, decryption policies and security polices over via scripts.
i have written and tested successfull my code for (tags, service objects, service groups, address objects, address groups) now im starting on policies ( yes i know i need url categories and schedules before i can use this, but this one seems harder so im spending time on it now.
Basically i want to query my existing panorama, select a device group, find the policies, then copy them over to the new panorama under a new device group with everything the same except source/destination zones... with GWLB we will just have one zone on the FW. In this code were im tyring to push to the new panorama and device grop im restricting it to the first entry, just so during testing the results will be quick. I think my logic is off on how to add security polices which are panorama managed . I do know it makes them in PreRulebase, but i just dont know what im doing to be honest. Any feedback is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions