Hi,
quick update.
I made now some tests on a MDSM. It took a while to recognize that the 'name' of a rule is different.
I saw Network, Security or Application. No idea why it is different.
After adjusting the script with the correct 'name' keyword, it did work as expected.
Thanks a lot for your help!!
Regards
---------------------------------------------
Time: [15:27:50] 19/3/2024
---------------------------------------------
"Publish operation" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-a9e1-6dbdb37642af"
task-name: "Publish operation"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- publishResponse:
numberOfPublishedChanges: 2993
mode: "async"
revision: "fa790a61-0d87-4ca1-a5b4-996d720071cc"
e.g.: 'name'
[Expert@MDS-01:0]# mgmt_cli show access-layers -s id.txt | grep name
name: "NG"
name: "DOM6"
name: "Global_Policy Security"
name: "Global"
name: "NG2"
name: "DOM6"
name: "Policy_B Network"
name: "DOM6"
name: "Policy_C Network"
name: "DOM6"
name: "Policy_C Network"
name: "DOM6"
name: "Policy_X Network"
name: "DOM6"
name: "NG-T"
name: "DOM6"
[Expert@MDS-01:0]# mgmt_cli show access-layers -s id.txt | grep name
name: "Global_Policy Security"
name: "Global"
name: "Policy_1 Application"
name: "DOM2"
name: "Policy_1 Security"
name: "DOM2"
name: "Policy_2 Application"
name: "DOM2"
name: "Policy_2 Security"
name: "DOM2"