AnsweredAssumed Answered

How to found out Policy Package from R77.30 CLI

Question asked by Jozko Mrkvicka on Mar 18, 2018
Latest reply on Mar 24, 2018 by Jozko Mrkvicka

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 NamePolicy Package Name


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:

./ 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.