dc

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIOptionsDataSource

func NewAPIOptionsDataSource() datasource.DataSource

func NewBGPInstanceResource

func NewBGPInstanceResource() resource.Resource

func NewBGPNeighborResource

func NewBGPNeighborResource() resource.Resource

func NewBGPStaticAnnounceResource

func NewBGPStaticAnnounceResource() resource.Resource

func NewInterfaceResource

func NewInterfaceResource() resource.Resource

func NewRouterResource

func NewRouterResource() resource.Resource

func NewStaticRouteResource

func NewStaticRouteResource() resource.Resource

func NewVRRPAddressResource

func NewVRRPAddressResource() resource.Resource

func NewVRRPInterfaceResource

func NewVRRPInterfaceResource() resource.Resource

func NewVRRPResource

func NewVRRPResource() resource.Resource

Types

type APIOptionDataSourceModel

type APIOptionDataSourceModel struct {
	ID                types.String   `tfsdk:"id"`
	AvailabilityZones []types.String `tfsdk:"availability_zones"`
	Flavors           []types.String `tfsdk:"flavors"`
	Region            types.String   `tfsdk:"region"`
}

type APIOptionsDataSource

type APIOptionsDataSource struct {
	// contains filtered or unexported fields
}

func (*APIOptionsDataSource) Configure

func (*APIOptionsDataSource) Metadata

func (*APIOptionsDataSource) Read

func (*APIOptionsDataSource) Schema

type BGPInstanceResource

type BGPInstanceResource struct {
	// contains filtered or unexported fields
}

func (*BGPInstanceResource) Configure

func (*BGPInstanceResource) Create

func (*BGPInstanceResource) Delete

func (*BGPInstanceResource) ImportState

func (*BGPInstanceResource) Metadata

func (*BGPInstanceResource) Read

func (*BGPInstanceResource) Schema

func (*BGPInstanceResource) Update

type BGPInstanceResourceModel

type BGPInstanceResourceModel struct {
	ID                       types.String `tfsdk:"id"`
	Name                     types.String `tfsdk:"name"`
	Description              types.String `tfsdk:"description"`
	DCRouterID               types.String `tfsdk:"dc_router_id"`
	BGPRouterID              types.String `tfsdk:"bgp_router_id"`
	ASN                      types.Int64  `tfsdk:"asn"`
	ECMPEnabled              types.Bool   `tfsdk:"ecmp_enabled"`
	Enabled                  types.Bool   `tfsdk:"enabled"`
	GracefulRestart          types.Bool   `tfsdk:"graceful_restart"`
	LongLivedGracefulRestart types.Bool   `tfsdk:"long_lived_graceful_restart"`
	CreatedAt                types.String `tfsdk:"created_at"`
	UpdatedAt                types.String `tfsdk:"updated_at"`
	Region                   types.String `tfsdk:"region"`
}

type BGPNeighborResource

type BGPNeighborResource struct {
	// contains filtered or unexported fields
}

func (*BGPNeighborResource) Configure

func (*BGPNeighborResource) Create

func (*BGPNeighborResource) Delete

func (*BGPNeighborResource) ImportState

func (*BGPNeighborResource) Metadata

func (*BGPNeighborResource) Read

func (*BGPNeighborResource) Schema

func (*BGPNeighborResource) Update

type BGPNeighborResourceModel

type BGPNeighborResourceModel struct {
	ID                   types.String `tfsdk:"id"`
	Name                 types.String `tfsdk:"name"`
	Description          types.String `tfsdk:"description"`
	DCBGPID              types.String `tfsdk:"dc_bgp_id"`
	RemoteASN            types.Int64  `tfsdk:"remote_asn"`
	RemoteIP             types.String `tfsdk:"remote_ip"`
	ForceIBGPNextHopSelf types.Bool   `tfsdk:"force_ibgp_next_hop_self"`
	AddPaths             types.String `tfsdk:"add_paths"`
	BFDEnabled           types.Bool   `tfsdk:"bfd_enabled"`
	FilterIn             types.String `tfsdk:"filter_in"`
	FilterOut            types.String `tfsdk:"filter_out"`
	Enabled              types.Bool   `tfsdk:"enabled"`
	CreatedAt            types.String `tfsdk:"created_at"`
	UpdatedAt            types.String `tfsdk:"updated_at"`
	Region               types.String `tfsdk:"region"`
}

type BGPStaticAnnounceResource

type BGPStaticAnnounceResource struct {
	// contains filtered or unexported fields
}

func (*BGPStaticAnnounceResource) Configure

func (*BGPStaticAnnounceResource) Create

func (*BGPStaticAnnounceResource) Delete

func (*BGPStaticAnnounceResource) ImportState

func (*BGPStaticAnnounceResource) Metadata

func (*BGPStaticAnnounceResource) Read

func (*BGPStaticAnnounceResource) Schema

func (*BGPStaticAnnounceResource) Update

type BGPStaticAnnounceResourceModel

type BGPStaticAnnounceResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	DCBGPID     types.String `tfsdk:"dc_bgp_id"`
	Network     types.String `tfsdk:"network"`
	Gateway     types.String `tfsdk:"gateway"`
	Enabled     types.Bool   `tfsdk:"enabled"`
	CreatedAt   types.String `tfsdk:"created_at"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
	Region      types.String `tfsdk:"region"`
}

type InterfaceResource

type InterfaceResource struct {
	// contains filtered or unexported fields
}

func (*InterfaceResource) Configure

func (*InterfaceResource) Create

func (*InterfaceResource) Delete

func (*InterfaceResource) ImportState

func (*InterfaceResource) Metadata

func (*InterfaceResource) Read

func (*InterfaceResource) Schema

func (*InterfaceResource) Update

type InterfaceResourceModel

type InterfaceResourceModel struct {
	ID                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Description        types.String `tfsdk:"description"`
	DCRouterID         types.String `tfsdk:"dc_router_id"`
	NetworkID          types.String `tfsdk:"network_id"`
	SubnetID           types.String `tfsdk:"subnet_id"`
	BGPAnnounceEnabled types.Bool   `tfsdk:"bgp_announce_enabled"`
	PortID             types.String `tfsdk:"port_id"`
	SDN                types.String `tfsdk:"sdn"`
	IPAddress          types.String `tfsdk:"ip_address"`
	IPNetmask          types.Int64  `tfsdk:"ip_netmask"`
	MACAddress         types.String `tfsdk:"mac_address"`
	MTU                types.Int64  `tfsdk:"mtu"`
	CreatedAt          types.String `tfsdk:"created_at"`
	UpdatedAt          types.String `tfsdk:"updated_at"`

	Region types.String `tfsdk:"region"`
}

type RouterResource

type RouterResource struct {
	// contains filtered or unexported fields
}

func (*RouterResource) Configure

func (*RouterResource) Create

func (*RouterResource) Delete

func (*RouterResource) ImportState

func (*RouterResource) Metadata

func (*RouterResource) Read

func (*RouterResource) Schema

func (*RouterResource) Update

type RouterResourceModel

type RouterResourceModel struct {
	ID               types.String `tfsdk:"id"`
	AvailabilityZone types.String `tfsdk:"availability_zone"`
	Flavor           types.String `tfsdk:"flavor"`
	Name             types.String `tfsdk:"name"`
	Description      types.String `tfsdk:"description"`
	CreatedAt        types.String `tfsdk:"created_at"`
	UpdatedAt        types.String `tfsdk:"updated_at"`
	Region           types.String `tfsdk:"region"`
}

type StaticRouteResource

type StaticRouteResource struct {
	// contains filtered or unexported fields
}

func (*StaticRouteResource) Configure

func (*StaticRouteResource) Create

func (*StaticRouteResource) Delete

func (*StaticRouteResource) ImportState

func (*StaticRouteResource) Metadata

func (*StaticRouteResource) Read

func (*StaticRouteResource) Schema

func (*StaticRouteResource) Update

type StaticRouteResourceModel

type StaticRouteResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	DCRouterID  types.String `tfsdk:"dc_router_id"`
	Network     types.String `tfsdk:"network"`
	Gateway     types.String `tfsdk:"gateway"`
	Metric      types.Int64  `tfsdk:"metric"`
	CreatedAt   types.String `tfsdk:"created_at"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
	Region      types.String `tfsdk:"region"`
}

type VRRPAddressResource

type VRRPAddressResource struct {
	// contains filtered or unexported fields
}

func (*VRRPAddressResource) Configure

func (*VRRPAddressResource) Create

func (*VRRPAddressResource) Delete

func (*VRRPAddressResource) ImportState

func (*VRRPAddressResource) Metadata

func (*VRRPAddressResource) Read

func (*VRRPAddressResource) Schema

func (*VRRPAddressResource) Update

type VRRPAddressResourceModel

type VRRPAddressResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	DCVRRPID    types.String `tfsdk:"dc_vrrp_id"`
	IPAddress   types.String `tfsdk:"ip_address"`
	PortID      types.String `tfsdk:"port_id"`
	CreatedAt   types.String `tfsdk:"created_at"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
	Region      types.String `tfsdk:"region"`
}

type VRRPInterfaceResource

type VRRPInterfaceResource struct {
	// contains filtered or unexported fields
}

func (*VRRPInterfaceResource) Configure

func (*VRRPInterfaceResource) Create

func (*VRRPInterfaceResource) Delete

func (*VRRPInterfaceResource) ImportState

func (*VRRPInterfaceResource) Metadata

func (*VRRPInterfaceResource) Read

func (*VRRPInterfaceResource) Schema

func (*VRRPInterfaceResource) Update

type VRRPInterfaceResourceModel

type VRRPInterfaceResourceModel struct {
	ID            types.String `tfsdk:"id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	DCVRRPID      types.String `tfsdk:"dc_vrrp_id"`
	DCInterfaceID types.String `tfsdk:"dc_interface_id"`
	Priority      types.Int64  `tfsdk:"priority"`
	Preempt       types.Bool   `tfsdk:"preempt"`
	Master        types.Bool   `tfsdk:"master"`
	CreatedAt     types.String `tfsdk:"created_at"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
	Region        types.String `tfsdk:"region"`
}

type VRRPResource

type VRRPResource struct {
	// contains filtered or unexported fields
}

func (*VRRPResource) Configure

func (*VRRPResource) Create

func (*VRRPResource) Delete

func (*VRRPResource) ImportState

func (*VRRPResource) Metadata

func (*VRRPResource) Read

func (*VRRPResource) Schema

func (*VRRPResource) Update

type VRRPResourceModel

type VRRPResourceModel struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Description    types.String `tfsdk:"description"`
	GroupID        types.Int64  `tfsdk:"group_id"`
	NetworkID      types.String `tfsdk:"network_id"`
	SubnetID       types.String `tfsdk:"subnet_id"`
	AdvertInterval types.Int64  `tfsdk:"advert_interval"`
	Enabled        types.Bool   `tfsdk:"enabled"`
	SDN            types.String `tfsdk:"sdn"`
	CreatedAt      types.String `tfsdk:"created_at"`
	UpdatedAt      types.String `tfsdk:"updated_at"`

	Region types.String `tfsdk:"region"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL