Hello guys,
I am currently working on small script which will install Policy from R77.30 management on given Gateway.
We are using many Gateways and each one has unique policy package, for example:
Gateway Name | Policy Package Name |
---|
Apple | Fruit |
Cucumber | Vegetables |
Car | Vehicle |
I know that installation is possible from Management CLI using following syntax:
fwm load <Policy Package Name> <Gateway Name>
But is there easy way how to find out corresponding Policy Package Name of given Gateway ? Via CLI or dbedit ?
Please be aware that I want to use it within R77.30, not for R80.10 management (as in R80.10 this is easy to archive via API)
My idea is to just specify Gateway Name and the Policy Package will be automatically checked and used in fwm load command as first parameter.
For example:
./Install_Policy.sh Apple
and the output of this script will be:
fwm load Fruit Apple
If someone has good idea how to deal with this situation, please, let me know
Thank you very much.
Kind regards,
Jozko Mrkvicka