Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 Changes in this version + type SubnetIpAvailability struct + Cidr string + IpVersion int + SubnetId string + SubnetName string + TotalIps int + UsedIps int v1.0.12 Apr 7, 2019 Changes in this version + func ExtractNetworksInto(r pagination.Page, v interface{}) error + func IDFromName(client *gophercloud.ServiceClient, name string) (string, error) + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + AdminStateUp *bool + AvailabilityZoneHints []string + Name string + PortSecurityEnabled *bool + ProviderNetworkType string + ProviderPhysicalNetwork string + ProviderSegmentationId int64 + Shared *bool + TenantID string + func (opts CreateOpts) ToNetworkCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToNetworkCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Network, error) + func (r CreateResult) ExtractInto(v interface{}) error + func (r CreateResult) ExtractIntoIpUsed(to interface{}) error + func (r CreateResult) ExtractIpUsed() (*IpUsed, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, networkID string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Network, error) + func (r GetResult) ExtractInto(v interface{}) error + func (r GetResult) ExtractIntoIpUsed(to interface{}) error + func (r GetResult) ExtractIpUsed() (*IpUsed, error) + type IpUsed struct + NetworkIpAvail NetworkIpAvailability + func GetNetworkIpAvailabilities(client *gophercloud.ServiceClient, networkId string) (*IpUsed, error) + type ListOpts struct + AdminStateUp *bool + ID string + Limit int + Marker string + Name string + Shared *bool + SortDir string + SortKey string + Status string + TenantID string + func (opts ListOpts) ToNetworkListQuery() (string, error) + type ListOptsBuilder interface + ToNetworkListQuery func() (string, error) + type Network struct + AdminStateUp bool + AvailabilityZoneHints []string + AvailabilityZones []string + DnsDomain string + ID string + Name string + PortSecurityEnabled bool + ProviderNetworkType string + ProviderPhysicalNetwork string + ProviderSegmentationId int64 + RouterExternal bool + Shared bool + Status string + Subnets []string + TenantID string + func ExtractNetworks(r pagination.Page) ([]Network, error) + type NetworkIpAvailability struct + NetworkId string + NetworkName string + SubnetIpAvail SubnetIpAvailabilitiy + TenantId string + TotalIps int + UsedIps int + type NetworkPage struct + func (r NetworkPage) IsEmpty() (bool, error) + func (r NetworkPage) NextPageURL() (string, error) + type SubnetIpAvailabilitiy struct + Cidr string + IpVersion int + SubnetId string + SubnetName string + TotalIps int + UsedIps int + type UpdateOpts struct + AdminStateUp *bool + Name string + PortSecurityEnabled *bool + Shared *bool + func (opts UpdateOpts) ToNetworkUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToNetworkUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, networkID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Network, error) + func (r UpdateResult) ExtractInto(v interface{}) error + func (r UpdateResult) ExtractIntoIpUsed(to interface{}) error + func (r UpdateResult) ExtractIpUsed() (*IpUsed, error)