fuzzing restconf changes, json mem error
This commit is contained in:
parent
0ad577fa81
commit
37da0aa45e
9 changed files with 34 additions and 20 deletions
|
|
@ -1,5 +1,10 @@
|
|||
GET /.well-known/host-meta HTTP/1.1
|
||||
Host: localhost
|
||||
Accept: application/yang-data+xml
|
||||
PUT /restconf/data/ietf-interfaces:interfaces/interface=eth%2f0%2f0 HTTP/1.1
|
||||
Host: 127.0.0.1
|
||||
Accept: */*
|
||||
Content-Type: application/yang-data+json
|
||||
Content-Length: 91
|
||||
|
||||
{"ietf-interfaces:interface":{"name":"eth/0/0","type":"clixon-example:eth","enabled":true}}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,5 @@
|
|||
PUT /restconf/data/ietf-interfaces:interfaces/interface=eth%2f0%2f0 HTTP/1.1
|
||||
Host: 127.0.0.1
|
||||
Accept: */*
|
||||
Content-Type: application/yang-data+json
|
||||
Content-Length: 91
|
||||
|
||||
{"ietf-interfaces:interface":{"name":"eth/0/0","type":"clixon-example:eth","enabled":true}}
|
||||
GET /restconf/data/ HTTP/1.1
|
||||
Host: localhost
|
||||
Accept: application/yang-data+xml
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
GET /restconf/data/ HTTP/1.1
|
||||
Host: localhost
|
||||
POST /restconf/data/ietf-interfaces:interfaces HTTP/1.1
|
||||
Host: 127.0.0.1
|
||||
Accept: application/yang-data+xml
|
||||
Content-Type: application/yang-data+xml
|
||||
Content-Length: 138
|
||||
|
||||
<interface xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"><name>eth/0/42</name><type>ex:eth</type><enabled>true</enabled></interface>
|
||||
|
||||
|
||||
|
|
|
|||
4
fuzz/restconf/input/4.http
Normal file
4
fuzz/restconf/input/4.http
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
DELETE /restconf/data/ietf-interfaces:interfaces HTTP/1.1
|
||||
Host: 127.0.0.1
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue