Hello,
When configuring VPN settings via the management API using mgmt_api, the VPN domain and VPN domain type are not being set.
Using Management APIv1.9
The following example command runs successfully but the VPN domain and VPN domain type are not configured.
mgmt_cli -r true set simple-cluster name 'cg-cluster-1' application-control true vpn true vpn-settings.vpn-domain 'demo_vpn_domain' vpn-settings.vpn-domain-type manual vpn-settings.link-selection.ip-selection use-statically-nated-ip vpn-settings.link-selection.ip-address '111.111.111.111'
[Expert@demomgmt:0]# mgmt_cli -r true set simple-cluster name 'cg-cluster-1-demo' application-control true vpn true vpn-settings.vpn-domain 'demo_vpn_domain' vpn-settings.vpn-domain-type 'manual' vpn-settings.link-selection.ip-selection use-statically-nated-ip vpn-settings.link-selection.ip-address '111.111.111.111'
---------------------------------------------
Time: [23:59:16] 11/7/2023
---------------------------------------------
"set simple-cluster" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-b5a7-0e16133d34cd"
task-name: "set simple-cluster"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- message: "Successfully finished"
---------------------------------------------
Time: [23:59:17] 11/7/2023
---------------------------------------------
"Publish operation" succeeded (100%)
The object used for the VPN domain is a network group object.