AnsweredAssumed Answered

Automate policy installation

Question asked by Mikesh Khanal on Aug 20, 2017
Latest reply on Aug 23, 2017 by Mikesh Khanal

1. I am planning to automate my Change requests and in order to do that I would like to know how could i use batch options for install-policy.

 

The option I tried:

[Expert@mapcpmgmt01:0]# mgmt_cli install-policy --batch policypackage.csv --format json

Line 2: {
"code" : "generic_err_invalid_parameter_name",
"message" : "Unrecognized parameter [standard]"
}

{ "response" : []}

 

 

The CSV file looked like this:

[Expert@mapcpmgmt01:0]# cat policypackage.csv
policy-package,standard,access,true
policy-package,standard1,access,true

Outcomes