Skip to content

Commit

Permalink
Updated API docs with better descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
DCMattyG committed Oct 30, 2023
1 parent 67ffb35 commit 8a407f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/app/routers/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ async def create_block_reservation(
Create a CIDR Reservation for the target Block with the following information:
- **size**: Network mask bits
- **cidr**: Specific CIDR to reserve (optional)
- **cidr**: Specific CIDR to reserve (alternative to 'size')
- **desc**: Description (optional)
- **reverse_search**:
- **true**: New networks will be created as close to the <u>end</u> of the block as possible
Expand All @@ -1816,7 +1816,7 @@ async def create_block_reservation(
}
```
#### *Request a new /24 at the end of the block:*
#### *Request a new /24, searching from the end of the CIDR range:*
```json
{
Expand All @@ -1826,7 +1826,7 @@ async def create_block_reservation(
}
```
#### *Request a new /24 at the end of the block, using the smallest available block:*
#### *Request a new /24, searching from the end of the CIDR range, using the smallest available CIDR block from the available address space:*
```json
{
Expand Down

0 comments on commit 8a407f6

Please sign in to comment.