Jamie Hannaford | a7f671a | 2014-09-11 10:25:08 +0200 | [diff] [blame^] | 1 | package networks |
| 2 | |
| 3 | // User-defined options sent to the API when creating or updating a network. |
| 4 | type NetworkOpts struct { |
| 5 | // The administrative state of the network, which is up (true) or down (false). |
| 6 | AdminStateUp bool `json:"admin_state_up"` |
| 7 | // The network name (optional) |
| 8 | Name string `json:"name"` |
| 9 | // Indicates whether this network is shared across all tenants. By default, |
| 10 | // only administrative users can change this value. |
| 11 | Shared bool `json:"shared"` |
| 12 | // Admin-only. The UUID of the tenant that will own the network. This tenant |
| 13 | // can be different from the tenant that makes the create network request. |
| 14 | // However, only administrative users can specify a tenant ID other than their |
| 15 | // own. You cannot change this value through authorization policies. |
| 16 | TenantID string `json:"tenant_id"` |
| 17 | } |