Forum Discussion
Zdenek
Dec 16, 2023Cirrostratus
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
PeteWhite
Dec 28, 2023Employee
Tried it myself, I get the same. I'd suggest raising a case
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects