Skip to content

Commit 33a26e4

Browse files
authored
add field for free ip count (#271)
Signed-off-by: aerosouund <aerosound161@gmail.com>
1 parent c3cb648 commit 33a26e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

network.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type Network struct {
2626
GatewayIPv4 string `json:"gateway_ipv4" validate:"required" schema:"gateway_ipv4"`
2727
AllocationPoolV4Start string `json:"allocation_pool_v4_start" validate:"required" schema:"allocation_pool_v4_start"`
2828
AllocationPoolV4End string `json:"allocation_pool_v4_end" validate:"required" schema:"allocation_pool_v4_end"`
29+
FreeIPCount int `json:"free_ip_count,omitempty"`
2930
}
3031

3132
// Subnet represents a subnet within a private network

0 commit comments

Comments
 (0)