Skip to content

Commit ba9cc67

Browse files
Rémi Métral-CharvetLudovic Lamarche
authored andcommitted
add network_type and segmentation_id to network creation options
1 parent 514c0e8 commit ba9cc67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openstack/networking/v2/networks/requests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ type CreateOpts struct {
8282
TenantID string `json:"tenant_id,omitempty"`
8383
ProjectID string `json:"project_id,omitempty"`
8484
AvailabilityZoneHints []string `json:"availability_zone_hints,omitempty"`
85+
NetworkType string `json:"provider:network_type,omitempty"`
86+
SegmentationID int `json:"provider:segmentation_id,omitempty"`
8587
}
8688

8789
// ToNetworkCreateMap builds a request body from CreateOpts.

0 commit comments

Comments
 (0)