Documentation ¶
Index ¶
- func CreateRouterWithRetry(c *gophercloud.ServiceClient, opts routers.CreateOptsBuilder) routers.CreateResult
- func DataSourceNetworkingFloatingIP() *schema.Resource
- func DataSourceNetworkingNetwork() *schema.Resource
- func DataSourceNetworkingRouter() *schema.Resource
- func DataSourceNetworkingSDN() *schema.Resource
- func GetSDN(d *schema.ResourceData) string
- func NetworkingAttributesTags(d *schema.ResourceData) []string
- func NetworkingReadAttributesTags(d *schema.ResourceData, tags []string)
- func NetworkingV2UpdateAttributesTags(d *schema.ResourceData) []string
- func NewPortDataSource() datasource.DataSource
- func NewSubnetDataSource() datasource.DataSource
- func ResourceNetworkingFloating() *schema.Resource
- func ResourceNetworkingFloatingIPAssociate() *schema.Resource
- func ResourceNetworkingNetwork() *schema.Resource
- func ResourceNetworkingPort() *schema.Resource
- func ResourceNetworkingPortSecGroupAssociate() *schema.Resource
- func ResourceNetworkingRouter() *schema.Resource
- func ResourceNetworkingRouterInterface() *schema.Resource
- func ResourceNetworkingRouterRoute() *schema.Resource
- func ResourceNetworkingSubnet() *schema.Resource
- func ResourceNetworkingSubnetRoute() *schema.Resource
- func ValidateSDN() schema.SchemaValidateDiagFunc
- type PortDataSource
- func (d *PortDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *PortDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *PortDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PortDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PortDataSourceAllowedAddressPairModel
- type PortDataSourceExtraDHCPOptionModel
- type PortDataSourceModel
- type PrivateDNSDomainExt
- type ServicesAccessExt
- type SubnetDataSource
- func (d *SubnetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *SubnetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SubnetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SubnetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SubnetDataSourceAllocationPoolModel
- type SubnetDataSourceHostRouteModel
- type SubnetDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouterWithRetry ¶ added in v0.8.2
func CreateRouterWithRetry(c *gophercloud.ServiceClient, opts routers.CreateOptsBuilder) routers.CreateResult
func DataSourceNetworkingSDN ¶ added in v0.7.4
func GetSDN ¶
func GetSDN(d *schema.ResourceData) string
func NetworkingAttributesTags ¶
func NetworkingAttributesTags(d *schema.ResourceData) []string
func NetworkingReadAttributesTags ¶
func NetworkingReadAttributesTags(d *schema.ResourceData, tags []string)
func NetworkingV2UpdateAttributesTags ¶
func NetworkingV2UpdateAttributesTags(d *schema.ResourceData) []string
func NewPortDataSource ¶ added in v0.4.0
func NewPortDataSource() datasource.DataSource
func NewSubnetDataSource ¶ added in v0.4.0
func NewSubnetDataSource() datasource.DataSource
func ResourceNetworkingPort ¶
func ValidateSDN ¶
func ValidateSDN() schema.SchemaValidateDiagFunc
Types ¶
type PortDataSource ¶ added in v0.4.0
type PortDataSource struct {
// contains filtered or unexported fields
}
func (*PortDataSource) Configure ¶ added in v0.4.0
func (d *PortDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PortDataSource) Metadata ¶ added in v0.4.0
func (d *PortDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PortDataSource) Read ¶ added in v0.4.0
func (d *PortDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PortDataSource) Schema ¶ added in v0.4.0
func (d *PortDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PortDataSourceAllowedAddressPairModel ¶ added in v0.4.0
type PortDataSourceExtraDHCPOptionModel ¶ added in v0.4.0
type PortDataSourceModel ¶ added in v0.4.0
type PortDataSourceModel struct { Region types.String `tfsdk:"region"` SDN types.String `tfsdk:"sdn"` AdminStateUp types.Bool `tfsdk:"admin_state_up"` AllFixedIPs types.List `tfsdk:"all_fixed_ips"` AllSecurityGroupIDs types.Set `tfsdk:"all_security_group_ids"` AllTags types.Set `tfsdk:"all_tags"` AllowedAddressPairs []PortDataSourceAllowedAddressPairModel `tfsdk:"allowed_address_pairs"` Description types.String `tfsdk:"description"` DeviceID types.String `tfsdk:"device_id"` DeviceOwner types.String `tfsdk:"device_owner"` DNSAssignment types.List `tfsdk:"dns_assignment"` DNSName types.String `tfsdk:"dns_name"` ExtraDHCPOption []PortDataSourceExtraDHCPOptionModel `tfsdk:"extra_dhcp_option"` FixedIP types.String `tfsdk:"fixed_ip"` ID types.String `tfsdk:"id"` MACAddress types.String `tfsdk:"mac_address"` Name types.String `tfsdk:"name"` NetworkID types.String `tfsdk:"network_id"` PortID types.String `tfsdk:"port_id"` ProjectID types.String `tfsdk:"project_id"` SecurityGroupIDs types.Set `tfsdk:"security_group_ids"` Status types.String `tfsdk:"status"` Tags types.Set `tfsdk:"tags"` TenantID types.String `tfsdk:"tenant_id"` }
type PrivateDNSDomainExt ¶
type PrivateDNSDomainExt struct {
PrivateDNSDomain string `json:"private_dns_domain,omitempty"`
}
type ServicesAccessExt ¶
type ServicesAccessExt struct {
ServicesAccess *bool `json:"enable_shadow_port,omitempty"`
}
type SubnetDataSource ¶ added in v0.4.0
type SubnetDataSource struct {
// contains filtered or unexported fields
}
func (*SubnetDataSource) Configure ¶ added in v0.4.0
func (d *SubnetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*SubnetDataSource) Metadata ¶ added in v0.4.0
func (d *SubnetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SubnetDataSource) Read ¶ added in v0.4.0
func (d *SubnetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SubnetDataSource) Schema ¶ added in v0.4.0
func (d *SubnetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SubnetDataSourceAllocationPoolModel ¶ added in v0.4.0
type SubnetDataSourceHostRouteModel ¶ added in v0.4.0
type SubnetDataSourceModel ¶ added in v0.4.0
type SubnetDataSourceModel struct { SDN types.String `tfsdk:"sdn"` Region types.String `tfsdk:"region"` AllTags types.Set `tfsdk:"all_tags"` AllocationPools []SubnetDataSourceAllocationPoolModel `tfsdk:"allocation_pools"` CIDR types.String `tfsdk:"cidr"` Description types.String `tfsdk:"description"` DHCPEnabled types.Bool `tfsdk:"dhcp_enabled"` DNSNameservers types.Set `tfsdk:"dns_nameservers"` EnableDHCP types.Bool `tfsdk:"enable_dhcp"` GatewayIP types.String `tfsdk:"gateway_ip"` HostRoutes []SubnetDataSourceHostRouteModel `tfsdk:"host_routes"` ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` NetworkID types.String `tfsdk:"network_id"` SubnetID types.String `tfsdk:"subnet_id"` SubnetPoolID types.String `tfsdk:"subnetpool_id"` Tags types.Set `tfsdk:"tags"` TenantID types.String `tfsdk:"tenant_id"` }
Source Files ¶
- data_source_floatingip.go
- data_source_network.go
- data_source_port.go
- data_source_router.go
- data_source_sdn.go
- data_source_subnet.go
- floatingip.go
- network.go
- port.go
- resource_floatingip.go
- resource_floatingip_associate.go
- resource_network.go
- resource_port.go
- resource_port_secgroup_associate.go
- resource_router.go
- resource_router_interface.go
- resource_router_route.go
- resource_subnet.go
- resource_subnet_route.go
- router.go
- router_interface.go
- router_route.go
- shared.go
- subnet.go
- subnet_route.go
Click to show internal directories.
Click to hide internal directories.