cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who rated this post

L3 Networker

Hi there,

You need to create a rulebase object before you can add to it:

 

#Create a new rule
rulebase = fw.add(Rulebase())

new_rule = rulebase.add(panos.policies.SecurityRule("Madinah-Rule", description="Madinah"))

 

cheers,

Seb.

View solution in original post

Who rated this post