Skip to content

Commit

Permalink
Create README_request.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideXX92 authored Jul 25, 2017
1 parent b94245f commit dc33820
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Request examples

## Nf_Configuration

POST /nf_configuration/{user_id}/{configuration_id}
```
{
"yang_id": "nat",
"configuration":{
"ip_address": "10.0.0.1",
"netmask": "255.255.255.0"
}
}
```
## User
POST /user
```
{
"username": "admin",
"password": "root"
}
```

POST /user/login
```
{
"username": "admin",
"password": "root"
}
```
## VNF_Instance
PUT /vnf/{instance_id}/bootconfiguration
```
{
"configuration_id": "nat-config",
"user_id": "admin"
}
```

0 comments on commit dc33820

Please sign in to comment.