Zdenek
Dec 16, 2023Cirrus
Solved
F5OS API - not able to create vlan
Hi all, GET request: https://10.10.10.10/api/data/openconfig-vlan:vlans Gives me JSON payload as here: {
"openconfig-vlan:vlans": {
"vlan": [
{
"vlan...
- Feb 16, 2024
Try the following;
curl -k -X PATCH -H'Content-Type: application/yang-data+json' -u admin:admin "https://192.168.10.11/api/data/openconfig-interfaces:interfaces/interface" --data @- <<EOF { "interface": [ { "name": "6.0", "openconfig-if-ethernet:ethernet": { "openconfig-vlan:switched-vlan": { "config": { "trunk-vlans": [940] } } } } ] } EOF