Add new loopback interface
POST https://{{host}}:{{port}}/restconf/data/ietf-interfaces:interfaces
Request Body
{"ietf-interfaces:interface"=>{"name"=>"Loopback100", "description"=>"Configured by RESTCONF", "type"=>"iana-if-type:softwareLoopback", "enabled"=>true, "ietf-ip:ipv4"=>{"address"=>[{"ip"=>"172.16.100.1", "netmask"=>"255.255.255.0"}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string |