Replies: 1 comment
-
Yep, this is similar. If you want the "shared" scope under a template, then configure your object hierarchy as such: from panos.panorama import Panorama, Template
from panos.device import Vsys, SyslogServerProfile
pano = Panorama(.....)
tem1 = Template('foo')
pano.add(tem1)
shared = Vsys('shared')
tem1.add(shared)
profileList = SyslogServerProfile.refreshall(shared) |
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.
-
Been trying to wrap my head around templates / templatestacks and locations with pan-python. I cant quite figure out how to access bits, that is in the "Shared" location, if the template default vsys is set? I believe, my question is very similar to #451 - if the objects are created manually as "Shared" then a SyslogServerProfile.refreshall(template) returns an empty list, it seems?
Beta Was this translation helpful? Give feedback.
All reactions