provider

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() tfsdk.Provider

Types

type BGP added in v0.1.1

type BGP struct {
	Device             types.String `tfsdk:"device"`
	Id                 types.String `tfsdk:"id"`
	Asn                types.String `tfsdk:"asn"`
	DefaultIpv4Unicast types.Bool   `tfsdk:"default_ipv4_unicast"`
	LogNeighborChanges types.Bool   `tfsdk:"log_neighbor_changes"`
	RouterIdLoopback   types.Int64  `tfsdk:"router_id_loopback"`
}

type BGPAddressFamilyIPv4VRF added in v0.1.1

type BGPAddressFamilyIPv4VRF struct {
	Device types.String                  `tfsdk:"device"`
	Id     types.String                  `tfsdk:"id"`
	Asn    types.String                  `tfsdk:"asn"`
	AfName types.String                  `tfsdk:"af_name"`
	Vrfs   []BGPAddressFamilyIPv4VRFVrfs `tfsdk:"vrfs"`
}

type BGPAddressFamilyIPv4VRFVrfs added in v0.1.1

type BGPAddressFamilyIPv4VRFVrfs struct {
	Name                  types.String `tfsdk:"name"`
	AdvertiseL2vpnEvpn    types.Bool   `tfsdk:"advertise_l2vpn_evpn"`
	RedistributeConnected types.Bool   `tfsdk:"redistribute_connected"`
	RedistributeStatic    types.Bool   `tfsdk:"redistribute_static"`
}

type BGPAddressFamilyIPv6VRF added in v0.1.1

type BGPAddressFamilyIPv6VRF struct {
	Device types.String                  `tfsdk:"device"`
	Id     types.String                  `tfsdk:"id"`
	Asn    types.String                  `tfsdk:"asn"`
	AfName types.String                  `tfsdk:"af_name"`
	Vrfs   []BGPAddressFamilyIPv6VRFVrfs `tfsdk:"vrfs"`
}

type BGPAddressFamilyIPv6VRFVrfs added in v0.1.1

type BGPAddressFamilyIPv6VRFVrfs struct {
	Name                  types.String `tfsdk:"name"`
	AdvertiseL2vpnEvpn    types.Bool   `tfsdk:"advertise_l2vpn_evpn"`
	RedistributeConnected types.Bool   `tfsdk:"redistribute_connected"`
	RedistributeStatic    types.Bool   `tfsdk:"redistribute_static"`
}

type BGPAddressFamilyL2VPN added in v0.1.1

type BGPAddressFamilyL2VPN struct {
	Device types.String `tfsdk:"device"`
	Id     types.String `tfsdk:"id"`
	Asn    types.String `tfsdk:"asn"`
	AfName types.String `tfsdk:"af_name"`
}

type BGPIPv4UnicastVRFNeighbor added in v0.1.3

type BGPIPv4UnicastVRFNeighbor struct {
	Device               types.String `tfsdk:"device"`
	Id                   types.String `tfsdk:"id"`
	Asn                  types.String `tfsdk:"asn"`
	Vrf                  types.String `tfsdk:"vrf"`
	Ip                   types.String `tfsdk:"ip"`
	RemoteAs             types.String `tfsdk:"remote_as"`
	Description          types.String `tfsdk:"description"`
	Shutdown             types.Bool   `tfsdk:"shutdown"`
	UpdateSourceLoopback types.String `tfsdk:"update_source_loopback"`
	Activate             types.Bool   `tfsdk:"activate"`
	SendCommunity        types.String `tfsdk:"send_community"`
	RouteReflectorClient types.Bool   `tfsdk:"route_reflector_client"`
}

type BGPL2VPNEVPNNeighbor added in v0.1.3

type BGPL2VPNEVPNNeighbor struct {
	Device               types.String `tfsdk:"device"`
	Id                   types.String `tfsdk:"id"`
	Asn                  types.String `tfsdk:"asn"`
	Ip                   types.String `tfsdk:"ip"`
	Activate             types.Bool   `tfsdk:"activate"`
	SendCommunity        types.String `tfsdk:"send_community"`
	RouteReflectorClient types.Bool   `tfsdk:"route_reflector_client"`
}

type BGPNeighbor added in v0.1.1

type BGPNeighbor struct {
	Device               types.String `tfsdk:"device"`
	Id                   types.String `tfsdk:"id"`
	Asn                  types.String `tfsdk:"asn"`
	Ip                   types.String `tfsdk:"ip"`
	RemoteAs             types.String `tfsdk:"remote_as"`
	Description          types.String `tfsdk:"description"`
	Shutdown             types.Bool   `tfsdk:"shutdown"`
	UpdateSourceLoopback types.String `tfsdk:"update_source_loopback"`
}
type Banner struct {
	Device              types.String `tfsdk:"device"`
	Id                  types.String `tfsdk:"id"`
	ExecBanner          types.String `tfsdk:"exec_banner"`
	LoginBanner         types.String `tfsdk:"login_banner"`
	PromptTimeoutBanner types.String `tfsdk:"prompt_timeout_banner"`
	MotdBanner          types.String `tfsdk:"motd_banner"`
}

type DHCP added in v0.1.6

type DHCP struct {
	Device                               types.String        `tfsdk:"device"`
	Id                                   types.String        `tfsdk:"id"`
	CompatibilitySuboptionLinkSelection  types.String        `tfsdk:"compatibility_suboption_link_selection"`
	CompatibilitySuboptionServerOverride types.String        `tfsdk:"compatibility_suboption_server_override"`
	RelayInformationTrustAll             types.Bool          `tfsdk:"relay_information_trust_all"`
	RelayInformationOptionDefault        types.Bool          `tfsdk:"relay_information_option_default"`
	RelayInformationOptionVpn            types.Bool          `tfsdk:"relay_information_option_vpn"`
	Snooping                             types.Bool          `tfsdk:"snooping"`
	SnoopingVlans                        []DHCPSnoopingVlans `tfsdk:"snooping_vlans"`
}

type DHCPSnoopingVlans added in v0.1.6

type DHCPSnoopingVlans struct {
	VlanId types.Int64 `tfsdk:"vlan_id"`
}

type EVPN added in v0.1.1

type EVPN struct {
	Device                  types.String `tfsdk:"device"`
	Id                      types.String `tfsdk:"id"`
	ReplicationTypeIngress  types.Bool   `tfsdk:"replication_type_ingress"`
	ReplicationTypeStatic   types.Bool   `tfsdk:"replication_type_static"`
	ReplicationTypeP2mp     types.Bool   `tfsdk:"replication_type_p2mp"`
	ReplicationTypeMp2mp    types.Bool   `tfsdk:"replication_type_mp2mp"`
	MacDuplicationLimit     types.Int64  `tfsdk:"mac_duplication_limit"`
	MacDuplicationTime      types.Int64  `tfsdk:"mac_duplication_time"`
	IpDuplicationLimit      types.Int64  `tfsdk:"ip_duplication_limit"`
	IpDuplicationTime       types.Int64  `tfsdk:"ip_duplication_time"`
	RouterIdLoopback        types.Int64  `tfsdk:"router_id_loopback"`
	DefaultGatewayAdvertise types.Bool   `tfsdk:"default_gateway_advertise"`
	LoggingPeerState        types.Bool   `tfsdk:"logging_peer_state"`
	RouteTargetAutoVni      types.Bool   `tfsdk:"route_target_auto_vni"`
}

type EVPNInstance added in v0.1.1

type EVPNInstance struct {
	Device                           types.String `tfsdk:"device"`
	Id                               types.String `tfsdk:"id"`
	EvpnInstanceNum                  types.Int64  `tfsdk:"evpn_instance_num"`
	VlanBasedReplicationTypeIngress  types.Bool   `tfsdk:"vlan_based_replication_type_ingress"`
	VlanBasedReplicationTypeStatic   types.Bool   `tfsdk:"vlan_based_replication_type_static"`
	VlanBasedReplicationTypeP2mp     types.Bool   `tfsdk:"vlan_based_replication_type_p2mp"`
	VlanBasedReplicationTypeMp2mp    types.Bool   `tfsdk:"vlan_based_replication_type_mp2mp"`
	VlanBasedEncapsulation           types.String `tfsdk:"vlan_based_encapsulation"`
	VlanBasedAutoRouteTarget         types.Bool   `tfsdk:"vlan_based_auto_route_target"`
	VlanBasedRd                      types.String `tfsdk:"vlan_based_rd"`
	VlanBasedRouteTarget             types.String `tfsdk:"vlan_based_route_target"`
	VlanBasedRouteTargetBoth         types.String `tfsdk:"vlan_based_route_target_both"`
	VlanBasedRouteTargetImport       types.String `tfsdk:"vlan_based_route_target_import"`
	VlanBasedRouteTargetExport       types.String `tfsdk:"vlan_based_route_target_export"`
	VlanBasedIpLocalLearningDisable  types.Bool   `tfsdk:"vlan_based_ip_local_learning_disable"`
	VlanBasedIpLocalLearningEnable   types.Bool   `tfsdk:"vlan_based_ip_local_learning_enable"`
	VlanBasedDefaultGatewayAdvertise types.String `tfsdk:"vlan_based_default_gateway_advertise"`
	VlanBasedReOriginateRouteType5   types.Bool   `tfsdk:"vlan_based_re_originate_route_type5"`
}

type InterfaceEthernet added in v0.1.5

type InterfaceEthernet struct {
	Device                     types.String                       `tfsdk:"device"`
	Id                         types.String                       `tfsdk:"id"`
	Type                       types.String                       `tfsdk:"type"`
	Name                       types.String                       `tfsdk:"name"`
	MediaType                  types.String                       `tfsdk:"media_type"`
	Switchport                 types.Bool                         `tfsdk:"switchport"`
	Description                types.String                       `tfsdk:"description"`
	Shutdown                   types.Bool                         `tfsdk:"shutdown"`
	VrfForwarding              types.String                       `tfsdk:"vrf_forwarding"`
	Ipv4Address                types.String                       `tfsdk:"ipv4_address"`
	Ipv4AddressMask            types.String                       `tfsdk:"ipv4_address_mask"`
	Unnumbered                 types.String                       `tfsdk:"unnumbered"`
	EncapsulationDot1qVlanId   types.Int64                        `tfsdk:"encapsulation_dot1q_vlan_id"`
	ChannelGroupNumber         types.Int64                        `tfsdk:"channel_group_number"`
	ChannelGroupMode           types.String                       `tfsdk:"channel_group_mode"`
	IpDhcpRelaySourceInterface types.String                       `tfsdk:"ip_dhcp_relay_source_interface"`
	HelperAddresses            []InterfaceEthernetHelperAddresses `tfsdk:"helper_addresses"`
}

type InterfaceEthernetHelperAddresses added in v0.1.6

type InterfaceEthernetHelperAddresses struct {
	Address types.String `tfsdk:"address"`
	Global  types.Bool   `tfsdk:"global"`
	Vrf     types.String `tfsdk:"vrf"`
}

type InterfaceLoopback added in v0.1.1

type InterfaceLoopback struct {
	Device          types.String `tfsdk:"device"`
	Id              types.String `tfsdk:"id"`
	Name            types.Int64  `tfsdk:"name"`
	Description     types.String `tfsdk:"description"`
	Shutdown        types.Bool   `tfsdk:"shutdown"`
	VrfForwarding   types.String `tfsdk:"vrf_forwarding"`
	Ipv4Address     types.String `tfsdk:"ipv4_address"`
	Ipv4AddressMask types.String `tfsdk:"ipv4_address_mask"`
}

type InterfaceNVE added in v0.1.1

type InterfaceNVE struct {
	Device                      types.String          `tfsdk:"device"`
	Id                          types.String          `tfsdk:"id"`
	Name                        types.Int64           `tfsdk:"name"`
	Description                 types.String          `tfsdk:"description"`
	Shutdown                    types.Bool            `tfsdk:"shutdown"`
	HostReachabilityProtocolBgp types.Bool            `tfsdk:"host_reachability_protocol_bgp"`
	SourceInterfaceLoopback     types.Int64           `tfsdk:"source_interface_loopback"`
	VniVrfs                     []InterfaceNVEVniVrfs `tfsdk:"vni_vrfs"`
	Vnis                        []InterfaceNVEVnis    `tfsdk:"vnis"`
}

type InterfaceNVEVniVrfs added in v0.1.1

type InterfaceNVEVniVrfs struct {
	VniRange types.String `tfsdk:"vni_range"`
	Vrf      types.String `tfsdk:"vrf"`
}

type InterfaceNVEVnis added in v0.1.1

type InterfaceNVEVnis struct {
	VniRange           types.String `tfsdk:"vni_range"`
	Ipv4MulticastGroup types.String `tfsdk:"ipv4_multicast_group"`
	IngressReplication types.Bool   `tfsdk:"ingress_replication"`
}

type InterfaceOSPF added in v0.1.5

type InterfaceOSPF struct {
	Device                       types.String `tfsdk:"device"`
	Id                           types.String `tfsdk:"id"`
	Type                         types.String `tfsdk:"type"`
	Name                         types.String `tfsdk:"name"`
	Cost                         types.Int64  `tfsdk:"cost"`
	DeadInterval                 types.Int64  `tfsdk:"dead_interval"`
	HelloInterval                types.Int64  `tfsdk:"hello_interval"`
	MtuIgnore                    types.Bool   `tfsdk:"mtu_ignore"`
	NetworkTypeBroadcast         types.Bool   `tfsdk:"network_type_broadcast"`
	NetworkTypeNonBroadcast      types.Bool   `tfsdk:"network_type_non_broadcast"`
	NetworkTypePointToMultipoint types.Bool   `tfsdk:"network_type_point_to_multipoint"`
	NetworkTypePointToPoint      types.Bool   `tfsdk:"network_type_point_to_point"`
	Priority                     types.Int64  `tfsdk:"priority"`
}

type InterfaceOSPFProcess added in v0.1.5

type InterfaceOSPFProcess struct {
	Device    types.String               `tfsdk:"device"`
	Id        types.String               `tfsdk:"id"`
	Type      types.String               `tfsdk:"type"`
	Name      types.String               `tfsdk:"name"`
	ProcessId types.Int64                `tfsdk:"process_id"`
	Area      []InterfaceOSPFProcessArea `tfsdk:"area"`
}

type InterfaceOSPFProcessArea added in v0.1.5

type InterfaceOSPFProcessArea struct {
	AreaId types.String `tfsdk:"area_id"`
}

type InterfacePIM added in v0.1.5

type InterfacePIM struct {
	Device          types.String `tfsdk:"device"`
	Id              types.String `tfsdk:"id"`
	Type            types.String `tfsdk:"type"`
	Name            types.String `tfsdk:"name"`
	Passive         types.Bool   `tfsdk:"passive"`
	DenseMode       types.Bool   `tfsdk:"dense_mode"`
	SparseMode      types.Bool   `tfsdk:"sparse_mode"`
	SparseDenseMode types.Bool   `tfsdk:"sparse_dense_mode"`
	Bfd             types.Bool   `tfsdk:"bfd"`
	Border          types.Bool   `tfsdk:"border"`
	BsrBorder       types.Bool   `tfsdk:"bsr_border"`
	DrPriority      types.Int64  `tfsdk:"dr_priority"`
}

type InterfacePortChannel added in v0.1.5

type InterfacePortChannel struct {
	Device                     types.String                          `tfsdk:"device"`
	Id                         types.String                          `tfsdk:"id"`
	Name                       types.Int64                           `tfsdk:"name"`
	Description                types.String                          `tfsdk:"description"`
	Shutdown                   types.Bool                            `tfsdk:"shutdown"`
	VrfForwarding              types.String                          `tfsdk:"vrf_forwarding"`
	Ipv4Address                types.String                          `tfsdk:"ipv4_address"`
	Ipv4AddressMask            types.String                          `tfsdk:"ipv4_address_mask"`
	Switchport                 types.Bool                            `tfsdk:"switchport"`
	IpDhcpRelaySourceInterface types.String                          `tfsdk:"ip_dhcp_relay_source_interface"`
	HelperAddresses            []InterfacePortChannelHelperAddresses `tfsdk:"helper_addresses"`
}

type InterfacePortChannelHelperAddresses added in v0.1.6

type InterfacePortChannelHelperAddresses struct {
	Address types.String `tfsdk:"address"`
	Global  types.Bool   `tfsdk:"global"`
	Vrf     types.String `tfsdk:"vrf"`
}

type InterfacePortChannelSubinterface added in v0.1.5

type InterfacePortChannelSubinterface struct {
	Device                   types.String                                      `tfsdk:"device"`
	Id                       types.String                                      `tfsdk:"id"`
	Name                     types.String                                      `tfsdk:"name"`
	Description              types.String                                      `tfsdk:"description"`
	Shutdown                 types.Bool                                        `tfsdk:"shutdown"`
	VrfForwarding            types.String                                      `tfsdk:"vrf_forwarding"`
	Ipv4Address              types.String                                      `tfsdk:"ipv4_address"`
	Ipv4AddressMask          types.String                                      `tfsdk:"ipv4_address_mask"`
	EncapsulationDot1qVlanId types.Int64                                       `tfsdk:"encapsulation_dot1q_vlan_id"`
	HelperAddresses          []InterfacePortChannelSubinterfaceHelperAddresses `tfsdk:"helper_addresses"`
}

type InterfacePortChannelSubinterfaceHelperAddresses added in v0.1.6

type InterfacePortChannelSubinterfaceHelperAddresses struct {
	Address types.String `tfsdk:"address"`
	Global  types.Bool   `tfsdk:"global"`
	Vrf     types.String `tfsdk:"vrf"`
}

type InterfaceSwitchport added in v0.1.5

type InterfaceSwitchport struct {
	Device                     types.String `tfsdk:"device"`
	Id                         types.String `tfsdk:"id"`
	Type                       types.String `tfsdk:"type"`
	Name                       types.String `tfsdk:"name"`
	ModeAccess                 types.Bool   `tfsdk:"mode_access"`
	ModeDot1qTunnel            types.Bool   `tfsdk:"mode_dot1q_tunnel"`
	ModePrivateVlanTrunk       types.Bool   `tfsdk:"mode_private_vlan_trunk"`
	ModePrivateVlanHost        types.Bool   `tfsdk:"mode_private_vlan_host"`
	ModePrivateVlanPromiscuous types.Bool   `tfsdk:"mode_private_vlan_promiscuous"`
	ModeTrunk                  types.Bool   `tfsdk:"mode_trunk"`
	Nonegotiate                types.Bool   `tfsdk:"nonegotiate"`
	AccessVlan                 types.String `tfsdk:"access_vlan"`
	TrunkAllowedVlans          types.String `tfsdk:"trunk_allowed_vlans"`
	TrunkNativeVlanTag         types.Bool   `tfsdk:"trunk_native_vlan_tag"`
	TrunkNativeVlan            types.Int64  `tfsdk:"trunk_native_vlan"`
	Host                       types.Bool   `tfsdk:"host"`
}

type InterfaceVLAN added in v0.1.1

type InterfaceVLAN struct {
	Device                     types.String                   `tfsdk:"device"`
	Id                         types.String                   `tfsdk:"id"`
	Name                       types.Int64                    `tfsdk:"name"`
	Autostate                  types.Bool                     `tfsdk:"autostate"`
	Description                types.String                   `tfsdk:"description"`
	Shutdown                   types.Bool                     `tfsdk:"shutdown"`
	VrfForwarding              types.String                   `tfsdk:"vrf_forwarding"`
	Ipv4Address                types.String                   `tfsdk:"ipv4_address"`
	Ipv4AddressMask            types.String                   `tfsdk:"ipv4_address_mask"`
	Unnumbered                 types.String                   `tfsdk:"unnumbered"`
	IpDhcpRelaySourceInterface types.String                   `tfsdk:"ip_dhcp_relay_source_interface"`
	HelperAddresses            []InterfaceVLANHelperAddresses `tfsdk:"helper_addresses"`
}

type InterfaceVLANHelperAddresses added in v0.1.6

type InterfaceVLANHelperAddresses struct {
	Address types.String `tfsdk:"address"`
	Global  types.Bool   `tfsdk:"global"`
	Vrf     types.String `tfsdk:"vrf"`
}

type MSDP added in v0.1.6

type MSDP struct {
	Device       types.String    `tfsdk:"device"`
	Id           types.String    `tfsdk:"id"`
	OriginatorId types.String    `tfsdk:"originator_id"`
	Peers        []MSDPPeers     `tfsdk:"peers"`
	Passwords    []MSDPPasswords `tfsdk:"passwords"`
}

type MSDPPasswords added in v0.1.6

type MSDPPasswords struct {
	Addr       types.String `tfsdk:"addr"`
	Encryption types.Int64  `tfsdk:"encryption"`
	Password   types.String `tfsdk:"password"`
}

type MSDPPeers added in v0.1.6

type MSDPPeers struct {
	Addr                  types.String `tfsdk:"addr"`
	RemoteAs              types.Int64  `tfsdk:"remote_as"`
	ConnectSourceLoopback types.Int64  `tfsdk:"connect_source_loopback"`
}

type MSDPVRF added in v0.1.6

type MSDPVRF struct {
	Device       types.String       `tfsdk:"device"`
	Id           types.String       `tfsdk:"id"`
	Vrf          types.String       `tfsdk:"vrf"`
	OriginatorId types.String       `tfsdk:"originator_id"`
	Peers        []MSDPVRFPeers     `tfsdk:"peers"`
	Passwords    []MSDPVRFPasswords `tfsdk:"passwords"`
}

type MSDPVRFPasswords added in v0.1.6

type MSDPVRFPasswords struct {
	Addr       types.String `tfsdk:"addr"`
	Encryption types.Int64  `tfsdk:"encryption"`
	Password   types.String `tfsdk:"password"`
}

type MSDPVRFPeers added in v0.1.6

type MSDPVRFPeers struct {
	Addr                  types.String `tfsdk:"addr"`
	RemoteAs              types.Int64  `tfsdk:"remote_as"`
	ConnectSourceLoopback types.Int64  `tfsdk:"connect_source_loopback"`
}

type OSPF

type OSPF struct {
	Device                            types.String         `tfsdk:"device"`
	Id                                types.String         `tfsdk:"id"`
	ProcessId                         types.Int64          `tfsdk:"process_id"`
	BfdAllInterfaces                  types.Bool           `tfsdk:"bfd_all_interfaces"`
	DefaultInformationOriginate       types.Bool           `tfsdk:"default_information_originate"`
	DefaultInformationOriginateAlways types.Bool           `tfsdk:"default_information_originate_always"`
	DefaultMetric                     types.Int64          `tfsdk:"default_metric"`
	Distance                          types.Int64          `tfsdk:"distance"`
	DomainTag                         types.Int64          `tfsdk:"domain_tag"`
	MplsLdpAutoconfig                 types.Bool           `tfsdk:"mpls_ldp_autoconfig"`
	MplsLdpSync                       types.Bool           `tfsdk:"mpls_ldp_sync"`
	Neighbor                          []OSPFNeighbor       `tfsdk:"neighbor"`
	Network                           []OSPFNetwork        `tfsdk:"network"`
	Priority                          types.Int64          `tfsdk:"priority"`
	RouterId                          types.String         `tfsdk:"router_id"`
	Shutdown                          types.Bool           `tfsdk:"shutdown"`
	SummaryAddress                    []OSPFSummaryAddress `tfsdk:"summary_address"`
}

type OSPFNeighbor

type OSPFNeighbor struct {
	Ip       types.String `tfsdk:"ip"`
	Priority types.Int64  `tfsdk:"priority"`
	Cost     types.Int64  `tfsdk:"cost"`
}

type OSPFNetwork

type OSPFNetwork struct {
	Ip       types.String `tfsdk:"ip"`
	Wildcard types.String `tfsdk:"wildcard"`
	Area     types.String `tfsdk:"area"`
}

type OSPFSummaryAddress

type OSPFSummaryAddress struct {
	Ip   types.String `tfsdk:"ip"`
	Mask types.String `tfsdk:"mask"`
}

type OSPFVRF

type OSPFVRF struct {
	Device                            types.String            `tfsdk:"device"`
	Id                                types.String            `tfsdk:"id"`
	ProcessId                         types.Int64             `tfsdk:"process_id"`
	Vrf                               types.String            `tfsdk:"vrf"`
	BfdAllInterfaces                  types.Bool              `tfsdk:"bfd_all_interfaces"`
	DefaultInformationOriginate       types.Bool              `tfsdk:"default_information_originate"`
	DefaultInformationOriginateAlways types.Bool              `tfsdk:"default_information_originate_always"`
	DefaultMetric                     types.Int64             `tfsdk:"default_metric"`
	Distance                          types.Int64             `tfsdk:"distance"`
	DomainTag                         types.Int64             `tfsdk:"domain_tag"`
	MplsLdpAutoconfig                 types.Bool              `tfsdk:"mpls_ldp_autoconfig"`
	MplsLdpSync                       types.Bool              `tfsdk:"mpls_ldp_sync"`
	Neighbor                          []OSPFVRFNeighbor       `tfsdk:"neighbor"`
	Network                           []OSPFVRFNetwork        `tfsdk:"network"`
	Priority                          types.Int64             `tfsdk:"priority"`
	RouterId                          types.String            `tfsdk:"router_id"`
	Shutdown                          types.Bool              `tfsdk:"shutdown"`
	SummaryAddress                    []OSPFVRFSummaryAddress `tfsdk:"summary_address"`
}

type OSPFVRFNeighbor

type OSPFVRFNeighbor struct {
	Ip       types.String `tfsdk:"ip"`
	Priority types.Int64  `tfsdk:"priority"`
	Cost     types.Int64  `tfsdk:"cost"`
}

type OSPFVRFNetwork

type OSPFVRFNetwork struct {
	Ip       types.String `tfsdk:"ip"`
	Wildcard types.String `tfsdk:"wildcard"`
	Area     types.String `tfsdk:"area"`
}

type OSPFVRFSummaryAddress

type OSPFVRFSummaryAddress struct {
	Ip   types.String `tfsdk:"ip"`
	Mask types.String `tfsdk:"mask"`
}

type PIM added in v0.1.5

type PIM struct {
	Device                        types.String      `tfsdk:"device"`
	Id                            types.String      `tfsdk:"id"`
	Autorp                        types.Bool        `tfsdk:"autorp"`
	AutorpListener                types.Bool        `tfsdk:"autorp_listener"`
	BsrCandidateLoopback          types.Int64       `tfsdk:"bsr_candidate_loopback"`
	BsrCandidateMask              types.Int64       `tfsdk:"bsr_candidate_mask"`
	BsrCandidatePriority          types.Int64       `tfsdk:"bsr_candidate_priority"`
	BsrCandidateAcceptRpCandidate types.String      `tfsdk:"bsr_candidate_accept_rp_candidate"`
	SsmRange                      types.String      `tfsdk:"ssm_range"`
	SsmDefault                    types.Bool        `tfsdk:"ssm_default"`
	RpAddress                     types.String      `tfsdk:"rp_address"`
	RpAddressOverride             types.Bool        `tfsdk:"rp_address_override"`
	RpAddressBidir                types.Bool        `tfsdk:"rp_address_bidir"`
	RpAddresses                   []PIMRpAddresses  `tfsdk:"rp_addresses"`
	RpCandidates                  []PIMRpCandidates `tfsdk:"rp_candidates"`
}

type PIMRpAddresses added in v0.1.5

type PIMRpAddresses struct {
	AccessList types.String `tfsdk:"access_list"`
	RpAddress  types.String `tfsdk:"rp_address"`
	Override   types.Bool   `tfsdk:"override"`
	Bidir      types.Bool   `tfsdk:"bidir"`
}

type PIMRpCandidates added in v0.1.5

type PIMRpCandidates struct {
	Interface types.String `tfsdk:"interface"`
	GroupList types.String `tfsdk:"group_list"`
	Interval  types.Int64  `tfsdk:"interval"`
	Priority  types.Int64  `tfsdk:"priority"`
	Bidir     types.Bool   `tfsdk:"bidir"`
}

type PIMVRF added in v0.1.5

type PIMVRF struct {
	Device                        types.String         `tfsdk:"device"`
	Id                            types.String         `tfsdk:"id"`
	Vrf                           types.String         `tfsdk:"vrf"`
	Autorp                        types.Bool           `tfsdk:"autorp"`
	AutorpListener                types.Bool           `tfsdk:"autorp_listener"`
	BsrCandidateLoopback          types.Int64          `tfsdk:"bsr_candidate_loopback"`
	BsrCandidateMask              types.Int64          `tfsdk:"bsr_candidate_mask"`
	BsrCandidatePriority          types.Int64          `tfsdk:"bsr_candidate_priority"`
	BsrCandidateAcceptRpCandidate types.String         `tfsdk:"bsr_candidate_accept_rp_candidate"`
	SsmRange                      types.String         `tfsdk:"ssm_range"`
	SsmDefault                    types.Bool           `tfsdk:"ssm_default"`
	RpAddress                     types.String         `tfsdk:"rp_address"`
	RpAddressOverride             types.Bool           `tfsdk:"rp_address_override"`
	RpAddressBidir                types.Bool           `tfsdk:"rp_address_bidir"`
	RpAddresses                   []PIMVRFRpAddresses  `tfsdk:"rp_addresses"`
	RpCandidates                  []PIMVRFRpCandidates `tfsdk:"rp_candidates"`
}

type PIMVRFRpAddresses added in v0.1.5

type PIMVRFRpAddresses struct {
	AccessList types.String `tfsdk:"access_list"`
	RpAddress  types.String `tfsdk:"rp_address"`
	Override   types.Bool   `tfsdk:"override"`
	Bidir      types.Bool   `tfsdk:"bidir"`
}

type PIMVRFRpCandidates added in v0.1.5

type PIMVRFRpCandidates struct {
	Interface types.String `tfsdk:"interface"`
	GroupList types.String `tfsdk:"group_list"`
	Interval  types.Int64  `tfsdk:"interval"`
	Priority  types.Int64  `tfsdk:"priority"`
	Bidir     types.Bool   `tfsdk:"bidir"`
}

type Restconf

type Restconf struct {
	Device     types.String   `tfsdk:"device"`
	Id         types.String   `tfsdk:"id"`
	Path       types.String   `tfsdk:"path"`
	Delete     types.Bool     `tfsdk:"delete"`
	Attributes types.Map      `tfsdk:"attributes"`
	Lists      []RestconfList `tfsdk:"lists"`
}

type RestconfDataSource

type RestconfDataSource struct {
	Device     types.String `tfsdk:"device"`
	Id         types.String `tfsdk:"id"`
	Path       types.String `tfsdk:"path"`
	Attributes types.Map    `tfsdk:"attributes"`
}

type RestconfList added in v0.1.3

type RestconfList struct {
	Name  types.String       `tfsdk:"name"`
	Key   types.String       `tfsdk:"key"`
	Items []RestconfListItem `tfsdk:"items"`
}

type RestconfListItem added in v0.1.3

type RestconfListItem struct {
	Attributes types.Map `tfsdk:"attributes"`
}

type StaticRoute

type StaticRoute struct {
	Device   types.String          `tfsdk:"device"`
	Id       types.String          `tfsdk:"id"`
	Prefix   types.String          `tfsdk:"prefix"`
	Mask     types.String          `tfsdk:"mask"`
	NextHops []StaticRouteNextHops `tfsdk:"next_hops"`
}

type StaticRouteNextHops added in v0.1.1

type StaticRouteNextHops struct {
	NextHop   types.String `tfsdk:"next_hop"`
	Metric    types.Int64  `tfsdk:"metric"`
	Global    types.Bool   `tfsdk:"global"`
	Name      types.String `tfsdk:"name"`
	Permanent types.Bool   `tfsdk:"permanent"`
	Tag       types.Int64  `tfsdk:"tag"`
}

type System

type System struct {
	Device                      types.String                 `tfsdk:"device"`
	Id                          types.String                 `tfsdk:"id"`
	Hostname                    types.String                 `tfsdk:"hostname"`
	IpRouting                   types.Bool                   `tfsdk:"ip_routing"`
	Ipv6UnicastRouting          types.Bool                   `tfsdk:"ipv6_unicast_routing"`
	Mtu                         types.Int64                  `tfsdk:"mtu"`
	MulticastRouting            types.Bool                   `tfsdk:"multicast_routing"`
	MulticastRoutingDistributed types.Bool                   `tfsdk:"multicast_routing_distributed"`
	MulticastRoutingVrfs        []SystemMulticastRoutingVrfs `tfsdk:"multicast_routing_vrfs"`
}

type SystemMulticastRoutingVrfs added in v0.1.6

type SystemMulticastRoutingVrfs struct {
	Vrf         types.String `tfsdk:"vrf"`
	Distributed types.Bool   `tfsdk:"distributed"`
}

type Username

type Username struct {
	Device             types.String `tfsdk:"device"`
	Id                 types.String `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Privilege          types.Int64  `tfsdk:"privilege"`
	Description        types.String `tfsdk:"description"`
	PasswordEncryption types.String `tfsdk:"password_encryption"`
	Password           types.String `tfsdk:"password"`
	SecretEncryption   types.String `tfsdk:"secret_encryption"`
	Secret             types.String `tfsdk:"secret"`
}

type VLAN added in v0.1.1

type VLAN struct {
	Device                 types.String `tfsdk:"device"`
	Id                     types.String `tfsdk:"id"`
	VlanId                 types.Int64  `tfsdk:"vlan_id"`
	RemoteSpan             types.Bool   `tfsdk:"remote_span"`
	PrivateVlanPrimary     types.Bool   `tfsdk:"private_vlan_primary"`
	PrivateVlanAssociation types.String `tfsdk:"private_vlan_association"`
	PrivateVlanCommunity   types.Bool   `tfsdk:"private_vlan_community"`
	PrivateVlanIsolated    types.Bool   `tfsdk:"private_vlan_isolated"`
	Name                   types.String `tfsdk:"name"`
	Shutdown               types.Bool   `tfsdk:"shutdown"`
}

type VLANConfiguration added in v0.1.1

type VLANConfiguration struct {
	Device          types.String `tfsdk:"device"`
	Id              types.String `tfsdk:"id"`
	VlanId          types.Int64  `tfsdk:"vlan_id"`
	Vni             types.Int64  `tfsdk:"vni"`
	AccessVfi       types.String `tfsdk:"access_vfi"`
	EvpnInstance    types.Int64  `tfsdk:"evpn_instance"`
	EvpnInstanceVni types.Int64  `tfsdk:"evpn_instance_vni"`
}

type VRF

type VRF struct {
	Device                         types.String                        `tfsdk:"device"`
	Id                             types.String                        `tfsdk:"id"`
	Name                           types.String                        `tfsdk:"name"`
	Description                    types.String                        `tfsdk:"description"`
	Rd                             types.String                        `tfsdk:"rd"`
	AddressFamilyIpv4              types.Bool                          `tfsdk:"address_family_ipv4"`
	AddressFamilyIpv6              types.Bool                          `tfsdk:"address_family_ipv6"`
	VpnId                          types.String                        `tfsdk:"vpn_id"`
	RouteTargetImport              []VRFRouteTargetImport              `tfsdk:"route_target_import"`
	RouteTargetExport              []VRFRouteTargetExport              `tfsdk:"route_target_export"`
	Ipv4RouteTargetImport          []VRFIpv4RouteTargetImport          `tfsdk:"ipv4_route_target_import"`
	Ipv4RouteTargetImportStitching []VRFIpv4RouteTargetImportStitching `tfsdk:"ipv4_route_target_import_stitching"`
	Ipv4RouteTargetExport          []VRFIpv4RouteTargetExport          `tfsdk:"ipv4_route_target_export"`
	Ipv4RouteTargetExportStitching []VRFIpv4RouteTargetExportStitching `tfsdk:"ipv4_route_target_export_stitching"`
	Ipv6RouteTargetImport          []VRFIpv6RouteTargetImport          `tfsdk:"ipv6_route_target_import"`
	Ipv6RouteTargetImportStitching []VRFIpv6RouteTargetImportStitching `tfsdk:"ipv6_route_target_import_stitching"`
	Ipv6RouteTargetExport          []VRFIpv6RouteTargetExport          `tfsdk:"ipv6_route_target_export"`
	Ipv6RouteTargetExportStitching []VRFIpv6RouteTargetExportStitching `tfsdk:"ipv6_route_target_export_stitching"`
}

type VRFIpv4RouteTargetExport added in v0.1.6

type VRFIpv4RouteTargetExport struct {
	Value types.String `tfsdk:"value"`
}

type VRFIpv4RouteTargetExportStitching added in v0.1.6

type VRFIpv4RouteTargetExportStitching struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFIpv4RouteTargetImport added in v0.1.6

type VRFIpv4RouteTargetImport struct {
	Value types.String `tfsdk:"value"`
}

type VRFIpv4RouteTargetImportStitching added in v0.1.6

type VRFIpv4RouteTargetImportStitching struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFIpv6RouteTargetExport added in v0.1.6

type VRFIpv6RouteTargetExport struct {
	Value types.String `tfsdk:"value"`
}

type VRFIpv6RouteTargetExportStitching added in v0.1.6

type VRFIpv6RouteTargetExportStitching struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFIpv6RouteTargetImport added in v0.1.6

type VRFIpv6RouteTargetImport struct {
	Value types.String `tfsdk:"value"`
}

type VRFIpv6RouteTargetImportStitching added in v0.1.6

type VRFIpv6RouteTargetImportStitching struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFRouteTargetExport

type VRFRouteTargetExport struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFRouteTargetImport

type VRFRouteTargetImport struct {
	Value     types.String `tfsdk:"value"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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