RESTCONF API for Port CLI Commands

This section provides the Representational State Transfer Configuration Protocol (RESTCONF) API sections for the port CLI commands.

PATCH

GET

To access the top-level interfaces resource within the openconfig-interfaces YANG model, use the following URLs:

URL: https://$ip:8080/rest/restconf/data/openconfig-interfaces:interfaces/interface=%s/config

URL: https://$ip:8080/rest/restconf/data/openconfig-interfaces:interfaces/interface=%s/state

Use this API operation to do the following:

Sample server response:

Based on Yang Model