cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Add sub-interface REST API question

L0 Member

Trying to add sub-interface to aggregated one via REST-API on 9.1 and realized that I can't even see them using GET method:

curl -k -X GET 'https://MyFW/restapi/v9.1/Network/EthernetInterfaces' -H 'X-PAN-KEY'

gives me only physical interfaces and does not even show already created ones (ae with sub-ints), see below.

Did anyone succeed on this task?

Spoiler
{
"@status": "success",
"@code": "19",
"result": {
"@total-count": "4",
"@count": "4",
"entry": [
{
"@name": "ethernet1/1",
"aggregate-group": "ae8",
},
{
"@name": "ethernet1/3",
"link-state": "auto",
"aggregate-group": "ae8",
},
{
"@name": "ethernet1/10",
"link-state": "auto",
"aggregate-group": "ae1",
},
{
"@name": "ethernet1/12",
"aggregate-group": "ae2",
"link-state": "auto"
}
]
}
}
Who Me Too'd this topic