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 (Highlight to read) { "@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" } ] } }
{"@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"}]}}