cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

export rulebase layer as HTML (bash script)

Description

Gets a layer-name as an argument and prints the layer as an HTML table.

Instructions

Run the script on a management server. Pass the layer name as an argument to this script.

The code assumes that you're running the script as the root user so it uses "mgmt_cli login --root true" which does not ask for login credentials.

Code Version

Code version 0.0.3

Tested on version

R80, API version 1.0

NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions

...

Tags (2)
2 Replies
Not applicable

Re: export rulebase layer as HTML (bash script)

1:How to use this script in MDM environment?

2:what mean “layer-name”? If  I want export policy how I to do it?

0 Kudos
Employee+
Employee+

Re: export rulebase layer as HTML (bash script)

Very nice.

Check out SmartConsole Extensions  to integrate this script as a tool inside SmartConsole.