Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewInterfaceEthernetDataSource() datasource.DataSource
- func NewInterfaceEthernetResource() resource.Resource
- func NewInterfaceLoopbackDataSource() datasource.DataSource
- func NewInterfaceLoopbackResource() resource.Resource
- func NewInterfaceVlanDataSource() datasource.DataSource
- func NewInterfaceVlanResource() resource.Resource
- func NewNetworkDataSource() datasource.DataSource
- func NewNetworkResource() resource.Resource
- func NewVRFDataSource() datasource.DataSource
- func NewVRFResource() resource.Resource
- type InterfaceEthernet
- type InterfaceEthernetDataSource
- func (d *InterfaceEthernetDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *InterfaceEthernetDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *InterfaceEthernetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *InterfaceEthernetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type InterfaceEthernetResource
- func (r *InterfaceEthernetResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *InterfaceEthernetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *InterfaceEthernetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *InterfaceEthernetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *InterfaceEthernetResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *InterfaceEthernetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *InterfaceEthernetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *InterfaceEthernetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type InterfaceLoopback
- type InterfaceLoopbackDataSource
- func (d *InterfaceLoopbackDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *InterfaceLoopbackDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *InterfaceLoopbackDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *InterfaceLoopbackDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type InterfaceLoopbackResource
- func (r *InterfaceLoopbackResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *InterfaceLoopbackResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *InterfaceLoopbackResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *InterfaceLoopbackResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *InterfaceLoopbackResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *InterfaceLoopbackResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *InterfaceLoopbackResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *InterfaceLoopbackResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type InterfaceVlan
- type InterfaceVlanDataSource
- func (d *InterfaceVlanDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *InterfaceVlanDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *InterfaceVlanDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *InterfaceVlanDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type InterfaceVlanResource
- func (r *InterfaceVlanResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *InterfaceVlanResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *InterfaceVlanResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *InterfaceVlanResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *InterfaceVlanResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *InterfaceVlanResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *InterfaceVlanResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *InterfaceVlanResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type NdfcProvider
- func (p *NdfcProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *NdfcProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *NdfcProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *NdfcProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *NdfcProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type NdfcProviderData
- type NdfcProviderModel
- type Network
- type NetworkAttachments
- type NetworkDataSource
- func (d *NetworkDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *NetworkDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *NetworkDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NetworkDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type NetworkDhcpRelayServers
- type NetworkResource
- func (r *NetworkResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *NetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *NetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *NetworkResource) Deploy(ctx context.Context, state Network, expectedStatus string) diag.Diagnostics
- func (r *NetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *NetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *NetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *NetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *NetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r *NetworkResource) WaitForStatus(ctx context.Context, state Network, expectedStatus string) diag.Diagnostics
- type VRF
- type VRFAttachments
- type VRFDataSource
- func (d *VRFDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *VRFDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *VRFDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *VRFDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VRFResource
- func (r *VRFResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r *VRFResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VRFResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VRFResource) Deploy(ctx context.Context, state VRF, expectedStatus string) diag.Diagnostics
- func (r *VRFResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VRFResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VRFResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VRFResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VRFResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r *VRFResource) WaitForStatus(ctx context.Context, state VRF, expectedStatus string) diag.Diagnostics
Constants ¶
View Source
const NDFC_BASEPATH = "/appcenter/cisco/ndfc/api/v1"
Variables ¶
This section is empty.
Functions ¶
func NewInterfaceEthernetDataSource ¶
func NewInterfaceEthernetDataSource() datasource.DataSource
func NewInterfaceLoopbackDataSource ¶
func NewInterfaceLoopbackDataSource() datasource.DataSource
func NewInterfaceVlanDataSource ¶
func NewInterfaceVlanDataSource() datasource.DataSource
func NewNetworkDataSource ¶
func NewNetworkDataSource() datasource.DataSource
func NewNetworkResource ¶
func NewVRFDataSource ¶
func NewVRFDataSource() datasource.DataSource
func NewVRFResource ¶
Types ¶
type InterfaceEthernet ¶
type InterfaceEthernet struct { Id types.String `tfsdk:"id"` SerialNumber types.String `tfsdk:"serial_number"` InterfaceName types.String `tfsdk:"interface_name"` Policy types.String `tfsdk:"policy"` BpduGuard types.String `tfsdk:"bpdu_guard"` PortTypeFast types.Bool `tfsdk:"port_type_fast"` Mtu types.String `tfsdk:"mtu"` Speed types.String `tfsdk:"speed"` AccessVlan types.Int64 `tfsdk:"access_vlan"` InterfaceDescription types.String `tfsdk:"interface_description"` OrphanPort types.Bool `tfsdk:"orphan_port"` FreeformConfig types.String `tfsdk:"freeform_config"` AdminState types.Bool `tfsdk:"admin_state"` Ptp types.Bool `tfsdk:"ptp"` Netflow types.Bool `tfsdk:"netflow"` NetflowMonitor types.String `tfsdk:"netflow_monitor"` NetflowSampler types.String `tfsdk:"netflow_sampler"` AllowedVlans types.String `tfsdk:"allowed_vlans"` NativeVlan types.Int64 `tfsdk:"native_vlan"` }
type InterfaceEthernetDataSource ¶
type InterfaceEthernetDataSource struct {
// contains filtered or unexported fields
}
func (*InterfaceEthernetDataSource) Configure ¶
func (d *InterfaceEthernetDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
func (*InterfaceEthernetDataSource) Metadata ¶
func (d *InterfaceEthernetDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*InterfaceEthernetDataSource) Read ¶
func (d *InterfaceEthernetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*InterfaceEthernetDataSource) Schema ¶
func (d *InterfaceEthernetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type InterfaceEthernetResource ¶
type InterfaceEthernetResource struct {
// contains filtered or unexported fields
}
func (*InterfaceEthernetResource) Configure ¶
func (r *InterfaceEthernetResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse)
func (*InterfaceEthernetResource) Create ¶
func (r *InterfaceEthernetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*InterfaceEthernetResource) Delete ¶
func (r *InterfaceEthernetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*InterfaceEthernetResource) ImportState ¶
func (r *InterfaceEthernetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*InterfaceEthernetResource) Metadata ¶
func (r *InterfaceEthernetResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*InterfaceEthernetResource) Read ¶
func (r *InterfaceEthernetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*InterfaceEthernetResource) Schema ¶
func (r *InterfaceEthernetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*InterfaceEthernetResource) Update ¶
func (r *InterfaceEthernetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type InterfaceLoopback ¶
type InterfaceLoopback struct { Id types.String `tfsdk:"id"` SerialNumber types.String `tfsdk:"serial_number"` InterfaceName types.String `tfsdk:"interface_name"` Policy types.String `tfsdk:"policy"` Vrf types.String `tfsdk:"vrf"` Ipv4Address types.String `tfsdk:"ipv4_address"` Ipv6Address types.String `tfsdk:"ipv6_address"` RouteMapTag types.String `tfsdk:"route_map_tag"` InterfaceDescription types.String `tfsdk:"interface_description"` FreeformConfig types.String `tfsdk:"freeform_config"` AdminState types.Bool `tfsdk:"admin_state"` }
type InterfaceLoopbackDataSource ¶
type InterfaceLoopbackDataSource struct {
// contains filtered or unexported fields
}
func (*InterfaceLoopbackDataSource) Configure ¶
func (d *InterfaceLoopbackDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
func (*InterfaceLoopbackDataSource) Metadata ¶
func (d *InterfaceLoopbackDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*InterfaceLoopbackDataSource) Read ¶
func (d *InterfaceLoopbackDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*InterfaceLoopbackDataSource) Schema ¶
func (d *InterfaceLoopbackDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type InterfaceLoopbackResource ¶
type InterfaceLoopbackResource struct {
// contains filtered or unexported fields
}
func (*InterfaceLoopbackResource) Configure ¶
func (r *InterfaceLoopbackResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse)
func (*InterfaceLoopbackResource) Create ¶
func (r *InterfaceLoopbackResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*InterfaceLoopbackResource) Delete ¶
func (r *InterfaceLoopbackResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*InterfaceLoopbackResource) ImportState ¶
func (r *InterfaceLoopbackResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*InterfaceLoopbackResource) Metadata ¶
func (r *InterfaceLoopbackResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*InterfaceLoopbackResource) Read ¶
func (r *InterfaceLoopbackResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*InterfaceLoopbackResource) Schema ¶
func (r *InterfaceLoopbackResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*InterfaceLoopbackResource) Update ¶
func (r *InterfaceLoopbackResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type InterfaceVlan ¶
type InterfaceVlan struct { Id types.String `tfsdk:"id"` SerialNumber types.String `tfsdk:"serial_number"` InterfaceName types.String `tfsdk:"interface_name"` Policy types.String `tfsdk:"policy"` Vrf types.String `tfsdk:"vrf"` Ipv4Address types.String `tfsdk:"ipv4_address"` Ipv4PrefixLength types.Int64 `tfsdk:"ipv4_prefix_length"` Mtu types.Int64 `tfsdk:"mtu"` RoutingTag types.String `tfsdk:"routing_tag"` DisableIpRedirects types.Bool `tfsdk:"disable_ip_redirects"` InterfaceDescription types.String `tfsdk:"interface_description"` FreeformConfig types.String `tfsdk:"freeform_config"` AdminState types.Bool `tfsdk:"admin_state"` Hsrp types.Bool `tfsdk:"hsrp"` HsrpVip types.String `tfsdk:"hsrp_vip"` HsrpGroup types.Int64 `tfsdk:"hsrp_group"` HsrpVersion types.String `tfsdk:"hsrp_version"` HsrpPriority types.Int64 `tfsdk:"hsrp_priority"` HsrpPreempt types.Bool `tfsdk:"hsrp_preempt"` HsrpMac types.String `tfsdk:"hsrp_mac"` DhcpServer1 types.String `tfsdk:"dhcp_server_1"` DhcpServer1Vrf types.String `tfsdk:"dhcp_server_1_vrf"` DhcpServer2 types.String `tfsdk:"dhcp_server_2"` DhcpServer2Vrf types.String `tfsdk:"dhcp_server_2_vrf"` DhcpServer3 types.String `tfsdk:"dhcp_server_3"` DhcpServer3Vrf types.String `tfsdk:"dhcp_server_3_vrf"` AdvertiseSubnetInUnderlay types.Bool `tfsdk:"advertise_subnet_in_underlay"` Netflow types.Bool `tfsdk:"netflow"` NetflowMonitor types.String `tfsdk:"netflow_monitor"` NetflowSampler types.String `tfsdk:"netflow_sampler"` }
type InterfaceVlanDataSource ¶
type InterfaceVlanDataSource struct {
// contains filtered or unexported fields
}
func (*InterfaceVlanDataSource) Configure ¶
func (d *InterfaceVlanDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
func (*InterfaceVlanDataSource) Metadata ¶
func (d *InterfaceVlanDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*InterfaceVlanDataSource) Read ¶
func (d *InterfaceVlanDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*InterfaceVlanDataSource) Schema ¶
func (d *InterfaceVlanDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type InterfaceVlanResource ¶
type InterfaceVlanResource struct {
// contains filtered or unexported fields
}
func (*InterfaceVlanResource) Configure ¶
func (r *InterfaceVlanResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse)
func (*InterfaceVlanResource) Create ¶
func (r *InterfaceVlanResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*InterfaceVlanResource) Delete ¶
func (r *InterfaceVlanResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*InterfaceVlanResource) ImportState ¶
func (r *InterfaceVlanResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*InterfaceVlanResource) Metadata ¶
func (r *InterfaceVlanResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*InterfaceVlanResource) Read ¶
func (r *InterfaceVlanResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*InterfaceVlanResource) Schema ¶
func (r *InterfaceVlanResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*InterfaceVlanResource) Update ¶
func (r *InterfaceVlanResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type NdfcProvider ¶
type NdfcProvider struct {
// contains filtered or unexported fields
}
NdfcProvider defines the provider implementation.
func (*NdfcProvider) Configure ¶
func (p *NdfcProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*NdfcProvider) DataSources ¶
func (p *NdfcProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*NdfcProvider) Metadata ¶
func (p *NdfcProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
Metadata returns the provider type name.
func (*NdfcProvider) Resources ¶
func (p *NdfcProvider) Resources(ctx context.Context) []func() resource.Resource
func (*NdfcProvider) Schema ¶
func (p *NdfcProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type NdfcProviderData ¶
NdfcProviderData describes the data maintained by the provider.
type NdfcProviderModel ¶
type NdfcProviderModel struct { Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` Domain types.String `tfsdk:"domain"` URL types.String `tfsdk:"url"` Insecure types.Bool `tfsdk:"insecure"` Retries types.Int64 `tfsdk:"retries"` }
NdfcProviderModel describes the provider data model.
type Network ¶
type Network struct { Id types.String `tfsdk:"id"` FabricName types.String `tfsdk:"fabric_name"` NetworkName types.String `tfsdk:"network_name"` DisplayName types.String `tfsdk:"display_name"` NetworkId types.Int64 `tfsdk:"network_id"` NetworkTemplate types.String `tfsdk:"network_template"` NetworkExtensionTemplate types.String `tfsdk:"network_extension_template"` VrfName types.String `tfsdk:"vrf_name"` GatewayIpv4Address types.String `tfsdk:"gateway_ipv4_address"` VlanId types.Int64 `tfsdk:"vlan_id"` GatewayIpv6Address types.String `tfsdk:"gateway_ipv6_address"` Layer2Only types.Bool `tfsdk:"layer2_only"` ArpSuppression types.Bool `tfsdk:"arp_suppression"` IngressReplication types.Bool `tfsdk:"ingress_replication"` MulticastGroup types.String `tfsdk:"multicast_group"` DhcpRelayServers []NetworkDhcpRelayServers `tfsdk:"dhcp_relay_servers"` DhcpRelayLoopbackId types.Int64 `tfsdk:"dhcp_relay_loopback_id"` VlanName types.String `tfsdk:"vlan_name"` InterfaceDescription types.String `tfsdk:"interface_description"` Mtu types.Int64 `tfsdk:"mtu"` LoopbackRoutingTag types.Int64 `tfsdk:"loopback_routing_tag"` Trm types.Bool `tfsdk:"trm"` SecondaryGateway1 types.String `tfsdk:"secondary_gateway_1"` SecondaryGateway2 types.String `tfsdk:"secondary_gateway_2"` SecondaryGateway3 types.String `tfsdk:"secondary_gateway_3"` SecondaryGateway4 types.String `tfsdk:"secondary_gateway_4"` RouteTargetBoth types.Bool `tfsdk:"route_target_both"` Netflow types.Bool `tfsdk:"netflow"` SviNetflowMonitor types.String `tfsdk:"svi_netflow_monitor"` VlanNetflowMonitor types.String `tfsdk:"vlan_netflow_monitor"` L3GatwayBorder types.Bool `tfsdk:"l3_gatway_border"` Attachments []NetworkAttachments `tfsdk:"attachments"` }
type NetworkAttachments ¶
type NetworkDataSource ¶
type NetworkDataSource struct {
// contains filtered or unexported fields
}
func (*NetworkDataSource) Configure ¶
func (d *NetworkDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
func (*NetworkDataSource) Metadata ¶
func (d *NetworkDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NetworkDataSource) Read ¶
func (d *NetworkDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NetworkDataSource) Schema ¶
func (d *NetworkDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type NetworkDhcpRelayServers ¶
type NetworkResource ¶
type NetworkResource struct {
// contains filtered or unexported fields
}
func (*NetworkResource) Configure ¶
func (r *NetworkResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse)
func (*NetworkResource) Create ¶
func (r *NetworkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*NetworkResource) Delete ¶
func (r *NetworkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*NetworkResource) Deploy ¶
func (r *NetworkResource) Deploy(ctx context.Context, state Network, expectedStatus string) diag.Diagnostics
func (*NetworkResource) ImportState ¶
func (r *NetworkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*NetworkResource) Metadata ¶
func (r *NetworkResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*NetworkResource) Read ¶
func (r *NetworkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*NetworkResource) Schema ¶
func (r *NetworkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*NetworkResource) Update ¶
func (r *NetworkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*NetworkResource) WaitForStatus ¶
func (r *NetworkResource) WaitForStatus(ctx context.Context, state Network, expectedStatus string) diag.Diagnostics
type VRF ¶
type VRF struct { Id types.String `tfsdk:"id"` FabricName types.String `tfsdk:"fabric_name"` VrfName types.String `tfsdk:"vrf_name"` VrfTemplate types.String `tfsdk:"vrf_template"` VrfExtensionTemplate types.String `tfsdk:"vrf_extension_template"` VrfId types.Int64 `tfsdk:"vrf_id"` VlanId types.Int64 `tfsdk:"vlan_id"` VlanName types.String `tfsdk:"vlan_name"` InterfaceDescription types.String `tfsdk:"interface_description"` VrfDescription types.String `tfsdk:"vrf_description"` Mtu types.Int64 `tfsdk:"mtu"` LoopbackRoutingTag types.Int64 `tfsdk:"loopback_routing_tag"` RedistributeDirectRouteMap types.String `tfsdk:"redistribute_direct_route_map"` MaxBgpPaths types.Int64 `tfsdk:"max_bgp_paths"` MaxIbgpPaths types.Int64 `tfsdk:"max_ibgp_paths"` Ipv6LinkLocal types.Bool `tfsdk:"ipv6_link_local"` Trm types.Bool `tfsdk:"trm"` NoRp types.Bool `tfsdk:"no_rp"` RpExternal types.Bool `tfsdk:"rp_external"` RpAddress types.String `tfsdk:"rp_address"` RpLoopbackId types.Int64 `tfsdk:"rp_loopback_id"` UnderlayMulticastAddress types.String `tfsdk:"underlay_multicast_address"` OverlayMulticastGroups types.String `tfsdk:"overlay_multicast_groups"` MvpnInterAs types.Bool `tfsdk:"mvpn_inter_as"` TrmBgwMsite types.Bool `tfsdk:"trm_bgw_msite"` AdvertiseHostRoutes types.Bool `tfsdk:"advertise_host_routes"` AdvertiseDefaultRoute types.Bool `tfsdk:"advertise_default_route"` ConfigureStaticDefaultRoute types.Bool `tfsdk:"configure_static_default_route"` BgpPassword types.String `tfsdk:"bgp_password"` BgpPasswordType types.String `tfsdk:"bgp_password_type"` Netflow types.Bool `tfsdk:"netflow"` NetflowMonitor types.String `tfsdk:"netflow_monitor"` DisableRtAuto types.Bool `tfsdk:"disable_rt_auto"` RouteTargetImport types.String `tfsdk:"route_target_import"` RouteTargetExport types.String `tfsdk:"route_target_export"` RouteTargetImportEvpn types.String `tfsdk:"route_target_import_evpn"` RouteTargetExportEvpn types.String `tfsdk:"route_target_export_evpn"` RouteTargetImportMvpn types.String `tfsdk:"route_target_import_mvpn"` RouteTargetExportMvpn types.String `tfsdk:"route_target_export_mvpn"` RouteTargetImportCloudEvpn types.String `tfsdk:"route_target_import_cloud_evpn"` RouteTargetExportCloudEvpn types.String `tfsdk:"route_target_export_cloud_evpn"` Attachments []VRFAttachments `tfsdk:"attachments"` }
type VRFAttachments ¶
type VRFAttachments struct { SerialNumber types.String `tfsdk:"serial_number"` VlanId types.Int64 `tfsdk:"vlan_id"` FreeformConfig types.String `tfsdk:"freeform_config"` LoopbackId types.Int64 `tfsdk:"loopback_id"` LoopbackIpv4 types.String `tfsdk:"loopback_ipv4"` LoopbackIpv6 types.String `tfsdk:"loopback_ipv6"` }
type VRFDataSource ¶
type VRFDataSource struct {
// contains filtered or unexported fields
}
func (*VRFDataSource) Configure ¶
func (d *VRFDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse)
func (*VRFDataSource) Metadata ¶
func (d *VRFDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*VRFDataSource) Read ¶
func (d *VRFDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VRFDataSource) Schema ¶
func (d *VRFDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type VRFResource ¶
type VRFResource struct {
// contains filtered or unexported fields
}
func (*VRFResource) Configure ¶
func (r *VRFResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse)
func (*VRFResource) Create ¶
func (r *VRFResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VRFResource) Delete ¶
func (r *VRFResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VRFResource) Deploy ¶
func (r *VRFResource) Deploy(ctx context.Context, state VRF, expectedStatus string) diag.Diagnostics
func (*VRFResource) ImportState ¶
func (r *VRFResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VRFResource) Metadata ¶
func (r *VRFResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VRFResource) Read ¶
func (r *VRFResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VRFResource) Schema ¶
func (r *VRFResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VRFResource) Update ¶
func (r *VRFResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*VRFResource) WaitForStatus ¶
func (r *VRFResource) WaitForStatus(ctx context.Context, state VRF, expectedStatus string) diag.Diagnostics
Source Files ¶
- data_source_ndfc_interface_ethernet.go
- data_source_ndfc_interface_loopback.go
- data_source_ndfc_interface_vlan.go
- data_source_ndfc_network.go
- data_source_ndfc_vrf.go
- model_ndfc_interface_ethernet.go
- model_ndfc_interface_loopback.go
- model_ndfc_interface_vlan.go
- model_ndfc_network.go
- model_ndfc_vrf.go
- provider.go
- resource_ndfc_interface_ethernet.go
- resource_ndfc_interface_loopback.go
- resource_ndfc_interface_vlan.go
- resource_ndfc_network.go
- resource_ndfc_vrf.go
Click to show internal directories.
Click to hide internal directories.