provider

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MPL-2.0 Imports: 16 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 BGPASFormat

type BGPASFormat struct {
	Device  types.String `tfsdk:"device"`
	Id      types.String `tfsdk:"id"`
	Asdot   types.Bool   `tfsdk:"asdot"`
	Asplain types.Bool   `tfsdk:"asplain"`
}

type Gnmi

type Gnmi 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      []GnmiList   `tfsdk:"lists"`
}

type GnmiDataSource added in v0.1.1

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

type GnmiList added in v0.1.1

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

type Hostname

type Hostname struct {
	Device            types.String `tfsdk:"device"`
	Id                types.String `tfsdk:"id"`
	SystemNetworkName types.String `tfsdk:"system_network_name"`
}

type Interface

type Interface struct {
	Device               types.String             `tfsdk:"device"`
	Id                   types.String             `tfsdk:"id"`
	InterfaceName        types.String             `tfsdk:"interface_name"`
	L2transport          types.Bool               `tfsdk:"l2transport"`
	PointToPoint         types.Bool               `tfsdk:"point_to_point"`
	Multipoint           types.Bool               `tfsdk:"multipoint"`
	Shutdown             types.Bool               `tfsdk:"shutdown"`
	Mtu                  types.Int64              `tfsdk:"mtu"`
	Bandwidth            types.Int64              `tfsdk:"bandwidth"`
	Description          types.String             `tfsdk:"description"`
	Vrf                  types.String             `tfsdk:"vrf"`
	Ipv4Address          types.String             `tfsdk:"ipv4_address"`
	Ipv4Netmask          types.String             `tfsdk:"ipv4_netmask"`
	Unnumbered           types.String             `tfsdk:"unnumbered"`
	Ipv6LinkLocalAddress types.String             `tfsdk:"ipv6_link_local_address"`
	Ipv6LinkLocalZone    types.String             `tfsdk:"ipv6_link_local_zone"`
	Ipv6Autoconfig       types.Bool               `tfsdk:"ipv6_autoconfig"`
	Ipv6Enable           types.Bool               `tfsdk:"ipv6_enable"`
	Ipv6Addresses        []InterfaceIpv6Addresses `tfsdk:"ipv6_addresses"`
}

type InterfaceIpv6Addresses added in v0.1.1

type InterfaceIpv6Addresses struct {
	Address      types.String `tfsdk:"address"`
	PrefixLength types.Int64  `tfsdk:"prefix_length"`
	Zone         types.String `tfsdk:"zone"`
}

type L2VPN

type L2VPN struct {
	Device         types.String          `tfsdk:"device"`
	Id             types.String          `tfsdk:"id"`
	Description    types.String          `tfsdk:"description"`
	RouterId       types.String          `tfsdk:"router_id"`
	XconnectGroups []L2VPNXconnectGroups `tfsdk:"xconnect_groups"`
}

type L2VPNXconnectGroupP2P

type L2VPNXconnectGroupP2P struct {
	Device          types.String                         `tfsdk:"device"`
	Id              types.String                         `tfsdk:"id"`
	GroupName       types.String                         `tfsdk:"group_name"`
	P2pXconnectName types.String                         `tfsdk:"p2p_xconnect_name"`
	Description     types.String                         `tfsdk:"description"`
	Interfaces      []L2VPNXconnectGroupP2PInterfaces    `tfsdk:"interfaces"`
	Ipv4Neighbors   []L2VPNXconnectGroupP2PIpv4Neighbors `tfsdk:"ipv4_neighbors"`
	Ipv6Neighbors   []L2VPNXconnectGroupP2PIpv6Neighbors `tfsdk:"ipv6_neighbors"`
}

type L2VPNXconnectGroupP2PInterfaces added in v0.1.1

type L2VPNXconnectGroupP2PInterfaces struct {
	InterfaceName types.String `tfsdk:"interface_name"`
}

type L2VPNXconnectGroupP2PIpv4Neighbors added in v0.1.1

type L2VPNXconnectGroupP2PIpv4Neighbors struct {
	Address types.String `tfsdk:"address"`
	PwId    types.Int64  `tfsdk:"pw_id"`
	PwClass types.String `tfsdk:"pw_class"`
}

type L2VPNXconnectGroupP2PIpv6Neighbors added in v0.1.1

type L2VPNXconnectGroupP2PIpv6Neighbors struct {
	Address types.String `tfsdk:"address"`
	PwId    types.Int64  `tfsdk:"pw_id"`
	PwClass types.String `tfsdk:"pw_class"`
}

type L2VPNXconnectGroups added in v0.1.1

type L2VPNXconnectGroups struct {
	GroupName types.String `tfsdk:"group_name"`
}

type MPLSLDP

type MPLSLDP struct {
	Device          types.String             `tfsdk:"device"`
	Id              types.String             `tfsdk:"id"`
	RouterId        types.String             `tfsdk:"router_id"`
	AddressFamilies []MPLSLDPAddressFamilies `tfsdk:"address_families"`
	Interfaces      []MPLSLDPInterfaces      `tfsdk:"interfaces"`
}

type MPLSLDPAddressFamilies added in v0.1.1

type MPLSLDPAddressFamilies struct {
	AfName types.String `tfsdk:"af_name"`
}

type MPLSLDPInterfaces added in v0.1.1

type MPLSLDPInterfaces struct {
	InterfaceName types.String `tfsdk:"interface_name"`
}

type OCSystemConfig

type OCSystemConfig struct {
	Device      types.String `tfsdk:"device"`
	Id          types.String `tfsdk:"id"`
	Hostname    types.String `tfsdk:"hostname"`
	DomainName  types.String `tfsdk:"domain_name"`
	LoginBanner types.String `tfsdk:"login_banner"`
	MotdBanner  types.String `tfsdk:"motd_banner"`
}

type RouterBGP

type RouterBGP struct {
	Device                      types.String         `tfsdk:"device"`
	Id                          types.String         `tfsdk:"id"`
	AsNumber                    types.String         `tfsdk:"as_number"`
	DefaultInformationOriginate types.Bool           `tfsdk:"default_information_originate"`
	DefaultMetric               types.Int64          `tfsdk:"default_metric"`
	TimersBgpKeepaliveInterval  types.Int64          `tfsdk:"timers_bgp_keepalive_interval"`
	TimersBgpHoldtime           types.String         `tfsdk:"timers_bgp_holdtime"`
	BfdMinimumInterval          types.Int64          `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier               types.Int64          `tfsdk:"bfd_multiplier"`
	Neighbors                   []RouterBGPNeighbors `tfsdk:"neighbors"`
}

type RouterBGPAddressFamily

type RouterBGPAddressFamily struct {
	Device                      types.String                               `tfsdk:"device"`
	Id                          types.String                               `tfsdk:"id"`
	AsNumber                    types.String                               `tfsdk:"as_number"`
	AfName                      types.String                               `tfsdk:"af_name"`
	MaximumPathsEbgpMultipath   types.Int64                                `tfsdk:"maximum_paths_ebgp_multipath"`
	MaximumPathsEibgpMultipath  types.Int64                                `tfsdk:"maximum_paths_eibgp_multipath"`
	MaximumPathsIbgpMultipath   types.Int64                                `tfsdk:"maximum_paths_ibgp_multipath"`
	LabelModePerCe              types.Bool                                 `tfsdk:"label_mode_per_ce"`
	LabelModePerVrf             types.Bool                                 `tfsdk:"label_mode_per_vrf"`
	RedistributeConnected       types.Bool                                 `tfsdk:"redistribute_connected"`
	RedistributeConnectedMetric types.Int64                                `tfsdk:"redistribute_connected_metric"`
	RedistributeStatic          types.Bool                                 `tfsdk:"redistribute_static"`
	RedistributeStaticMetric    types.Int64                                `tfsdk:"redistribute_static_metric"`
	AggregateAddresses          []RouterBGPAddressFamilyAggregateAddresses `tfsdk:"aggregate_addresses"`
	Networks                    []RouterBGPAddressFamilyNetworks           `tfsdk:"networks"`
	RedistributeIsis            []RouterBGPAddressFamilyRedistributeIsis   `tfsdk:"redistribute_isis"`
	RedistributeOspf            []RouterBGPAddressFamilyRedistributeOspf   `tfsdk:"redistribute_ospf"`
}

type RouterBGPAddressFamilyAggregateAddresses added in v0.1.1

type RouterBGPAddressFamilyAggregateAddresses struct {
	Address     types.String `tfsdk:"address"`
	Masklength  types.Int64  `tfsdk:"masklength"`
	AsSet       types.Bool   `tfsdk:"as_set"`
	AsConfedSet types.Bool   `tfsdk:"as_confed_set"`
	SummaryOnly types.Bool   `tfsdk:"summary_only"`
}

type RouterBGPAddressFamilyNetworks added in v0.1.1

type RouterBGPAddressFamilyNetworks struct {
	Address    types.String `tfsdk:"address"`
	Masklength types.Int64  `tfsdk:"masklength"`
}

type RouterBGPAddressFamilyRedistributeIsis added in v0.1.1

type RouterBGPAddressFamilyRedistributeIsis struct {
	InstanceName            types.String `tfsdk:"instance_name"`
	LevelOne                types.Bool   `tfsdk:"level_one"`
	LevelOneTwo             types.Bool   `tfsdk:"level_one_two"`
	LevelOneTwoOneInterArea types.Bool   `tfsdk:"level_one_two_one_inter_area"`
	LevelOneOneInterArea    types.Bool   `tfsdk:"level_one_one_inter_area"`
	LevelTwo                types.Bool   `tfsdk:"level_two"`
	LevelTwoOneInterArea    types.Bool   `tfsdk:"level_two_one_inter_area"`
	LevelOneInterArea       types.Bool   `tfsdk:"level_one_inter_area"`
	Metric                  types.Int64  `tfsdk:"metric"`
}

type RouterBGPAddressFamilyRedistributeOspf added in v0.1.1

type RouterBGPAddressFamilyRedistributeOspf struct {
	RouterTag                 types.String `tfsdk:"router_tag"`
	MatchInternal             types.Bool   `tfsdk:"match_internal"`
	MatchInternalExternal     types.Bool   `tfsdk:"match_internal_external"`
	MatchInternalNssaExternal types.Bool   `tfsdk:"match_internal_nssa_external"`
	MatchExternal             types.Bool   `tfsdk:"match_external"`
	MatchExternalNssaExternal types.Bool   `tfsdk:"match_external_nssa_external"`
	MatchNssaExternal         types.Bool   `tfsdk:"match_nssa_external"`
	Metric                    types.Int64  `tfsdk:"metric"`
}

type RouterBGPNeighbors added in v0.1.1

type RouterBGPNeighbors struct {
	NeighborAddress             types.String `tfsdk:"neighbor_address"`
	RemoteAs                    types.String `tfsdk:"remote_as"`
	Description                 types.String `tfsdk:"description"`
	IgnoreConnectedCheck        types.Bool   `tfsdk:"ignore_connected_check"`
	EbgpMultihopMaximumHopCount types.Int64  `tfsdk:"ebgp_multihop_maximum_hop_count"`
	BfdMinimumInterval          types.Int64  `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier               types.Int64  `tfsdk:"bfd_multiplier"`
	LocalAs                     types.String `tfsdk:"local_as"`
	LocalAsNoPrepend            types.Bool   `tfsdk:"local_as_no_prepend"`
	LocalAsReplaceAs            types.Bool   `tfsdk:"local_as_replace_as"`
	LocalAsDualAs               types.Bool   `tfsdk:"local_as_dual_as"`
	Password                    types.String `tfsdk:"password"`
	Shutdown                    types.Bool   `tfsdk:"shutdown"`
	TimersKeepaliveInterval     types.Int64  `tfsdk:"timers_keepalive_interval"`
	TimersHoldtime              types.String `tfsdk:"timers_holdtime"`
	UpdateSource                types.String `tfsdk:"update_source"`
	TtlSecurity                 types.Bool   `tfsdk:"ttl_security"`
}

type RouterBGPVRF

type RouterBGPVRF struct {
	Device                      types.String            `tfsdk:"device"`
	Id                          types.String            `tfsdk:"id"`
	AsNumber                    types.String            `tfsdk:"as_number"`
	VrfName                     types.String            `tfsdk:"vrf_name"`
	DefaultInformationOriginate types.Bool              `tfsdk:"default_information_originate"`
	DefaultMetric               types.Int64             `tfsdk:"default_metric"`
	TimersBgpKeepaliveInterval  types.Int64             `tfsdk:"timers_bgp_keepalive_interval"`
	TimersBgpHoldtime           types.String            `tfsdk:"timers_bgp_holdtime"`
	BfdMinimumInterval          types.Int64             `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier               types.Int64             `tfsdk:"bfd_multiplier"`
	Neighbors                   []RouterBGPVRFNeighbors `tfsdk:"neighbors"`
}

type RouterBGPVRFAddressFamily

type RouterBGPVRFAddressFamily struct {
	Device                      types.String                                  `tfsdk:"device"`
	Id                          types.String                                  `tfsdk:"id"`
	AsNumber                    types.String                                  `tfsdk:"as_number"`
	VrfName                     types.String                                  `tfsdk:"vrf_name"`
	AfName                      types.String                                  `tfsdk:"af_name"`
	MaximumPathsEbgpMultipath   types.Int64                                   `tfsdk:"maximum_paths_ebgp_multipath"`
	MaximumPathsEibgpMultipath  types.Int64                                   `tfsdk:"maximum_paths_eibgp_multipath"`
	MaximumPathsIbgpMultipath   types.Int64                                   `tfsdk:"maximum_paths_ibgp_multipath"`
	LabelModePerCe              types.Bool                                    `tfsdk:"label_mode_per_ce"`
	LabelModePerVrf             types.Bool                                    `tfsdk:"label_mode_per_vrf"`
	RedistributeConnected       types.Bool                                    `tfsdk:"redistribute_connected"`
	RedistributeConnectedMetric types.Int64                                   `tfsdk:"redistribute_connected_metric"`
	RedistributeStatic          types.Bool                                    `tfsdk:"redistribute_static"`
	RedistributeStaticMetric    types.Int64                                   `tfsdk:"redistribute_static_metric"`
	AggregateAddresses          []RouterBGPVRFAddressFamilyAggregateAddresses `tfsdk:"aggregate_addresses"`
	Networks                    []RouterBGPVRFAddressFamilyNetworks           `tfsdk:"networks"`
	RedistributeOspf            []RouterBGPVRFAddressFamilyRedistributeOspf   `tfsdk:"redistribute_ospf"`
}

type RouterBGPVRFAddressFamilyAggregateAddresses added in v0.1.1

type RouterBGPVRFAddressFamilyAggregateAddresses struct {
	Address     types.String `tfsdk:"address"`
	Masklength  types.Int64  `tfsdk:"masklength"`
	AsSet       types.Bool   `tfsdk:"as_set"`
	AsConfedSet types.Bool   `tfsdk:"as_confed_set"`
	SummaryOnly types.Bool   `tfsdk:"summary_only"`
}

type RouterBGPVRFAddressFamilyNetworks added in v0.1.1

type RouterBGPVRFAddressFamilyNetworks struct {
	Address    types.String `tfsdk:"address"`
	Masklength types.Int64  `tfsdk:"masklength"`
}

type RouterBGPVRFAddressFamilyRedistributeOspf added in v0.1.1

type RouterBGPVRFAddressFamilyRedistributeOspf struct {
	RouterTag                 types.String `tfsdk:"router_tag"`
	MatchInternal             types.Bool   `tfsdk:"match_internal"`
	MatchInternalExternal     types.Bool   `tfsdk:"match_internal_external"`
	MatchInternalNssaExternal types.Bool   `tfsdk:"match_internal_nssa_external"`
	MatchExternal             types.Bool   `tfsdk:"match_external"`
	MatchExternalNssaExternal types.Bool   `tfsdk:"match_external_nssa_external"`
	MatchNssaExternal         types.Bool   `tfsdk:"match_nssa_external"`
	Metric                    types.Int64  `tfsdk:"metric"`
}

type RouterBGPVRFNeighbors added in v0.1.1

type RouterBGPVRFNeighbors struct {
	NeighborAddress             types.String `tfsdk:"neighbor_address"`
	RemoteAs                    types.String `tfsdk:"remote_as"`
	Description                 types.String `tfsdk:"description"`
	IgnoreConnectedCheck        types.Bool   `tfsdk:"ignore_connected_check"`
	EbgpMultihopMaximumHopCount types.Int64  `tfsdk:"ebgp_multihop_maximum_hop_count"`
	BfdMinimumInterval          types.Int64  `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier               types.Int64  `tfsdk:"bfd_multiplier"`
	LocalAs                     types.String `tfsdk:"local_as"`
	LocalAsNoPrepend            types.Bool   `tfsdk:"local_as_no_prepend"`
	LocalAsReplaceAs            types.Bool   `tfsdk:"local_as_replace_as"`
	LocalAsDualAs               types.Bool   `tfsdk:"local_as_dual_as"`
	Password                    types.String `tfsdk:"password"`
	Shutdown                    types.Bool   `tfsdk:"shutdown"`
	TimersKeepaliveInterval     types.Int64  `tfsdk:"timers_keepalive_interval"`
	TimersHoldtime              types.String `tfsdk:"timers_holdtime"`
	UpdateSource                types.String `tfsdk:"update_source"`
	TtlSecurity                 types.Bool   `tfsdk:"ttl_security"`
}

type RouterISIS

type RouterISIS struct {
	Device          types.String                `tfsdk:"device"`
	Id              types.String                `tfsdk:"id"`
	ProcessId       types.String                `tfsdk:"process_id"`
	IsType          types.String                `tfsdk:"is_type"`
	Nets            []RouterISISNets            `tfsdk:"nets"`
	AddressFamilies []RouterISISAddressFamilies `tfsdk:"address_families"`
	Interfaces      []RouterISISInterfaces      `tfsdk:"interfaces"`
}

type RouterISISAddressFamilies added in v0.1.1

type RouterISISAddressFamilies struct {
	AfName                      types.String `tfsdk:"af_name"`
	SafName                     types.String `tfsdk:"saf_name"`
	MplsLdpAutoConfig           types.Bool   `tfsdk:"mpls_ldp_auto_config"`
	MetricStyleNarrow           types.Bool   `tfsdk:"metric_style_narrow"`
	MetricStyleWide             types.Bool   `tfsdk:"metric_style_wide"`
	MetricStyleTransition       types.Bool   `tfsdk:"metric_style_transition"`
	RouterIdInterfaceName       types.String `tfsdk:"router_id_interface_name"`
	RouterIdIpAddress           types.String `tfsdk:"router_id_ip_address"`
	DefaultInformationOriginate types.Bool   `tfsdk:"default_information_originate"`
}

type RouterISISInterfaceAddressFamily

type RouterISISInterfaceAddressFamily struct {
	Device        types.String `tfsdk:"device"`
	Id            types.String `tfsdk:"id"`
	ProcessId     types.String `tfsdk:"process_id"`
	InterfaceName types.String `tfsdk:"interface_name"`
	AfName        types.String `tfsdk:"af_name"`
	SafName       types.String `tfsdk:"saf_name"`
}

type RouterISISInterfaces added in v0.1.1

type RouterISISInterfaces struct {
	InterfaceName         types.String `tfsdk:"interface_name"`
	CircuitType           types.String `tfsdk:"circuit_type"`
	HelloPaddingDisable   types.Bool   `tfsdk:"hello_padding_disable"`
	HelloPaddingSometimes types.Bool   `tfsdk:"hello_padding_sometimes"`
	Priority              types.Int64  `tfsdk:"priority"`
	PointToPoint          types.Bool   `tfsdk:"point_to_point"`
	Passive               types.Bool   `tfsdk:"passive"`
	Suppressed            types.Bool   `tfsdk:"suppressed"`
	Shutdown              types.Bool   `tfsdk:"shutdown"`
}

type RouterISISNets added in v0.1.1

type RouterISISNets struct {
	NetId types.String `tfsdk:"net_id"`
}

type RouterOSPF

type RouterOSPF struct {
	Device                                types.String                 `tfsdk:"device"`
	Id                                    types.String                 `tfsdk:"id"`
	ProcessName                           types.String                 `tfsdk:"process_name"`
	MplsLdpSync                           types.Bool                   `tfsdk:"mpls_ldp_sync"`
	HelloInterval                         types.Int64                  `tfsdk:"hello_interval"`
	DeadInterval                          types.Int64                  `tfsdk:"dead_interval"`
	Priority                              types.Int64                  `tfsdk:"priority"`
	MtuIgnoreEnable                       types.Bool                   `tfsdk:"mtu_ignore_enable"`
	MtuIgnoreDisable                      types.Bool                   `tfsdk:"mtu_ignore_disable"`
	PassiveEnable                         types.Bool                   `tfsdk:"passive_enable"`
	PassiveDisable                        types.Bool                   `tfsdk:"passive_disable"`
	RouterId                              types.String                 `tfsdk:"router_id"`
	RedistributeConnected                 types.Bool                   `tfsdk:"redistribute_connected"`
	RedistributeConnectedTag              types.Int64                  `tfsdk:"redistribute_connected_tag"`
	RedistributeConnectedMetricType       types.String                 `tfsdk:"redistribute_connected_metric_type"`
	RedistributeStatic                    types.Bool                   `tfsdk:"redistribute_static"`
	RedistributeStaticTag                 types.Int64                  `tfsdk:"redistribute_static_tag"`
	RedistributeStaticMetricType          types.String                 `tfsdk:"redistribute_static_metric_type"`
	BfdFastDetect                         types.Bool                   `tfsdk:"bfd_fast_detect"`
	BfdMinimumInterval                    types.Int64                  `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier                         types.Int64                  `tfsdk:"bfd_multiplier"`
	DefaultInformationOriginate           types.Bool                   `tfsdk:"default_information_originate"`
	DefaultInformationOriginateAlways     types.Bool                   `tfsdk:"default_information_originate_always"`
	DefaultInformationOriginateMetricType types.Int64                  `tfsdk:"default_information_originate_metric_type"`
	Areas                                 []RouterOSPFAreas            `tfsdk:"areas"`
	RedistributeBgp                       []RouterOSPFRedistributeBgp  `tfsdk:"redistribute_bgp"`
	RedistributeIsis                      []RouterOSPFRedistributeIsis `tfsdk:"redistribute_isis"`
	RedistributeOspf                      []RouterOSPFRedistributeOspf `tfsdk:"redistribute_ospf"`
}

type RouterOSPFAreaInterface

type RouterOSPFAreaInterface struct {
	Device                   types.String `tfsdk:"device"`
	Id                       types.String `tfsdk:"id"`
	ProcessName              types.String `tfsdk:"process_name"`
	AreaId                   types.String `tfsdk:"area_id"`
	InterfaceName            types.String `tfsdk:"interface_name"`
	NetworkBroadcast         types.Bool   `tfsdk:"network_broadcast"`
	NetworkNonBroadcast      types.Bool   `tfsdk:"network_non_broadcast"`
	NetworkPointToPoint      types.Bool   `tfsdk:"network_point_to_point"`
	NetworkPointToMultipoint types.Bool   `tfsdk:"network_point_to_multipoint"`
	Cost                     types.Int64  `tfsdk:"cost"`
	Priority                 types.Int64  `tfsdk:"priority"`
	PassiveEnable            types.Bool   `tfsdk:"passive_enable"`
	PassiveDisable           types.Bool   `tfsdk:"passive_disable"`
}

type RouterOSPFAreas added in v0.1.1

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

type RouterOSPFRedistributeBgp added in v0.1.1

type RouterOSPFRedistributeBgp struct {
	AsNumber   types.String `tfsdk:"as_number"`
	Tag        types.Int64  `tfsdk:"tag"`
	MetricType types.String `tfsdk:"metric_type"`
}

type RouterOSPFRedistributeIsis added in v0.1.1

type RouterOSPFRedistributeIsis struct {
	InstanceName types.String `tfsdk:"instance_name"`
	Level1       types.Bool   `tfsdk:"level_1"`
	Level2       types.Bool   `tfsdk:"level_2"`
	Level12      types.Bool   `tfsdk:"level_1_2"`
	Tag          types.Int64  `tfsdk:"tag"`
	MetricType   types.String `tfsdk:"metric_type"`
}

type RouterOSPFRedistributeOspf added in v0.1.1

type RouterOSPFRedistributeOspf struct {
	InstanceName      types.String `tfsdk:"instance_name"`
	MatchInternal     types.Bool   `tfsdk:"match_internal"`
	MatchExternal     types.Bool   `tfsdk:"match_external"`
	MatchNssaExternal types.Bool   `tfsdk:"match_nssa_external"`
	Tag               types.Int64  `tfsdk:"tag"`
	MetricType        types.String `tfsdk:"metric_type"`
}

type RouterOSPFVRF

type RouterOSPFVRF struct {
	Device                                types.String                    `tfsdk:"device"`
	Id                                    types.String                    `tfsdk:"id"`
	ProcessName                           types.String                    `tfsdk:"process_name"`
	VrfName                               types.String                    `tfsdk:"vrf_name"`
	MplsLdpSync                           types.Bool                      `tfsdk:"mpls_ldp_sync"`
	HelloInterval                         types.Int64                     `tfsdk:"hello_interval"`
	DeadInterval                          types.Int64                     `tfsdk:"dead_interval"`
	Priority                              types.Int64                     `tfsdk:"priority"`
	MtuIgnoreEnable                       types.Bool                      `tfsdk:"mtu_ignore_enable"`
	MtuIgnoreDisable                      types.Bool                      `tfsdk:"mtu_ignore_disable"`
	PassiveEnable                         types.Bool                      `tfsdk:"passive_enable"`
	PassiveDisable                        types.Bool                      `tfsdk:"passive_disable"`
	RouterId                              types.String                    `tfsdk:"router_id"`
	RedistributeConnected                 types.Bool                      `tfsdk:"redistribute_connected"`
	RedistributeConnectedTag              types.Int64                     `tfsdk:"redistribute_connected_tag"`
	RedistributeConnectedMetricType       types.String                    `tfsdk:"redistribute_connected_metric_type"`
	RedistributeStatic                    types.Bool                      `tfsdk:"redistribute_static"`
	RedistributeStaticTag                 types.Int64                     `tfsdk:"redistribute_static_tag"`
	RedistributeStaticMetricType          types.String                    `tfsdk:"redistribute_static_metric_type"`
	BfdFastDetect                         types.Bool                      `tfsdk:"bfd_fast_detect"`
	BfdMinimumInterval                    types.Int64                     `tfsdk:"bfd_minimum_interval"`
	BfdMultiplier                         types.Int64                     `tfsdk:"bfd_multiplier"`
	DefaultInformationOriginate           types.Bool                      `tfsdk:"default_information_originate"`
	DefaultInformationOriginateAlways     types.Bool                      `tfsdk:"default_information_originate_always"`
	DefaultInformationOriginateMetricType types.Int64                     `tfsdk:"default_information_originate_metric_type"`
	Areas                                 []RouterOSPFVRFAreas            `tfsdk:"areas"`
	RedistributeBgp                       []RouterOSPFVRFRedistributeBgp  `tfsdk:"redistribute_bgp"`
	RedistributeIsis                      []RouterOSPFVRFRedistributeIsis `tfsdk:"redistribute_isis"`
	RedistributeOspf                      []RouterOSPFVRFRedistributeOspf `tfsdk:"redistribute_ospf"`
}

type RouterOSPFVRFAreaInterface

type RouterOSPFVRFAreaInterface struct {
	Device                   types.String `tfsdk:"device"`
	Id                       types.String `tfsdk:"id"`
	ProcessName              types.String `tfsdk:"process_name"`
	VrfName                  types.String `tfsdk:"vrf_name"`
	AreaId                   types.String `tfsdk:"area_id"`
	InterfaceName            types.String `tfsdk:"interface_name"`
	NetworkBroadcast         types.Bool   `tfsdk:"network_broadcast"`
	NetworkNonBroadcast      types.Bool   `tfsdk:"network_non_broadcast"`
	NetworkPointToPoint      types.Bool   `tfsdk:"network_point_to_point"`
	NetworkPointToMultipoint types.Bool   `tfsdk:"network_point_to_multipoint"`
	Cost                     types.Int64  `tfsdk:"cost"`
	Priority                 types.Int64  `tfsdk:"priority"`
	PassiveEnable            types.Bool   `tfsdk:"passive_enable"`
	PassiveDisable           types.Bool   `tfsdk:"passive_disable"`
}

type RouterOSPFVRFAreas added in v0.1.1

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

type RouterOSPFVRFRedistributeBgp added in v0.1.1

type RouterOSPFVRFRedistributeBgp struct {
	AsNumber   types.String `tfsdk:"as_number"`
	Tag        types.Int64  `tfsdk:"tag"`
	MetricType types.String `tfsdk:"metric_type"`
}

type RouterOSPFVRFRedistributeIsis added in v0.1.1

type RouterOSPFVRFRedistributeIsis struct {
	InstanceName types.String `tfsdk:"instance_name"`
	Level1       types.Bool   `tfsdk:"level_1"`
	Level2       types.Bool   `tfsdk:"level_2"`
	Level12      types.Bool   `tfsdk:"level_1_2"`
	Tag          types.Int64  `tfsdk:"tag"`
	MetricType   types.String `tfsdk:"metric_type"`
}

type RouterOSPFVRFRedistributeOspf added in v0.1.1

type RouterOSPFVRFRedistributeOspf struct {
	InstanceName      types.String `tfsdk:"instance_name"`
	MatchInternal     types.Bool   `tfsdk:"match_internal"`
	MatchExternal     types.Bool   `tfsdk:"match_external"`
	MatchNssaExternal types.Bool   `tfsdk:"match_nssa_external"`
	Tag               types.Int64  `tfsdk:"tag"`
	MetricType        types.String `tfsdk:"metric_type"`
}

type VRF

type VRF struct {
	Device                                                    types.String                                                   `tfsdk:"device"`
	Id                                                        types.String                                                   `tfsdk:"id"`
	VrfName                                                   types.String                                                   `tfsdk:"vrf_name"`
	Description                                               types.String                                                   `tfsdk:"description"`
	VpnId                                                     types.String                                                   `tfsdk:"vpn_id"`
	AddressFamilyIpv4Unicast                                  types.Bool                                                     `tfsdk:"address_family_ipv4_unicast"`
	AddressFamilyIpv4Multicast                                types.Bool                                                     `tfsdk:"address_family_ipv4_multicast"`
	AddressFamilyIpv4Flowspec                                 types.Bool                                                     `tfsdk:"address_family_ipv4_flowspec"`
	AddressFamilyIpv6Unicast                                  types.Bool                                                     `tfsdk:"address_family_ipv6_unicast"`
	AddressFamilyIpv6Multicast                                types.Bool                                                     `tfsdk:"address_family_ipv6_multicast"`
	AddressFamilyIpv6Flowspec                                 types.Bool                                                     `tfsdk:"address_family_ipv6_flowspec"`
	RdTwoByteAsAsNumber                                       types.String                                                   `tfsdk:"rd_two_byte_as_as_number"`
	RdTwoByteAsIndex                                          types.Int64                                                    `tfsdk:"rd_two_byte_as_index"`
	RdFourByteAsAsNumber                                      types.String                                                   `tfsdk:"rd_four_byte_as_as_number"`
	RdFourByteAsIndex                                         types.Int64                                                    `tfsdk:"rd_four_byte_as_index"`
	RdIpAddressIpv4Address                                    types.String                                                   `tfsdk:"rd_ip_address_ipv4_address"`
	RdIpAddressIndex                                          types.Int64                                                    `tfsdk:"rd_ip_address_index"`
	AddressFamilyIpv4UnicastImportRouteTargetTwoByteAsFormat  []VRFAddressFamilyIpv4UnicastImportRouteTargetTwoByteAsFormat  `tfsdk:"address_family_ipv4_unicast_import_route_target_two_byte_as_format"`
	AddressFamilyIpv4UnicastImportRouteTargetFourByteAsFormat []VRFAddressFamilyIpv4UnicastImportRouteTargetFourByteAsFormat `tfsdk:"address_family_ipv4_unicast_import_route_target_four_byte_as_format"`
	AddressFamilyIpv4UnicastImportRouteTargetIpAddressFormat  []VRFAddressFamilyIpv4UnicastImportRouteTargetIpAddressFormat  `tfsdk:"address_family_ipv4_unicast_import_route_target_ip_address_format"`
	AddressFamilyIpv4UnicastExportRouteTargetTwoByteAsFormat  []VRFAddressFamilyIpv4UnicastExportRouteTargetTwoByteAsFormat  `tfsdk:"address_family_ipv4_unicast_export_route_target_two_byte_as_format"`
	AddressFamilyIpv4UnicastExportRouteTargetFourByteAsFormat []VRFAddressFamilyIpv4UnicastExportRouteTargetFourByteAsFormat `tfsdk:"address_family_ipv4_unicast_export_route_target_four_byte_as_format"`
	AddressFamilyIpv4UnicastExportRouteTargetIpAddressFormat  []VRFAddressFamilyIpv4UnicastExportRouteTargetIpAddressFormat  `tfsdk:"address_family_ipv4_unicast_export_route_target_ip_address_format"`
	AddressFamilyIpv6UnicastImportRouteTargetTwoByteAsFormat  []VRFAddressFamilyIpv6UnicastImportRouteTargetTwoByteAsFormat  `tfsdk:"address_family_ipv6_unicast_import_route_target_two_byte_as_format"`
	AddressFamilyIpv6UnicastImportRouteTargetFourByteAsFormat []VRFAddressFamilyIpv6UnicastImportRouteTargetFourByteAsFormat `tfsdk:"address_family_ipv6_unicast_import_route_target_four_byte_as_format"`
	AddressFamilyIpv6UnicastImportRouteTargetIpAddressFormat  []VRFAddressFamilyIpv6UnicastImportRouteTargetIpAddressFormat  `tfsdk:"address_family_ipv6_unicast_import_route_target_ip_address_format"`
	AddressFamilyIpv6UnicastExportRouteTargetTwoByteAsFormat  []VRFAddressFamilyIpv6UnicastExportRouteTargetTwoByteAsFormat  `tfsdk:"address_family_ipv6_unicast_export_route_target_two_byte_as_format"`
	AddressFamilyIpv6UnicastExportRouteTargetFourByteAsFormat []VRFAddressFamilyIpv6UnicastExportRouteTargetFourByteAsFormat `tfsdk:"address_family_ipv6_unicast_export_route_target_four_byte_as_format"`
	AddressFamilyIpv6UnicastExportRouteTargetIpAddressFormat  []VRFAddressFamilyIpv6UnicastExportRouteTargetIpAddressFormat  `tfsdk:"address_family_ipv6_unicast_export_route_target_ip_address_format"`
}

type VRFAddressFamilyIpv4UnicastExportRouteTargetFourByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastExportRouteTargetFourByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv4UnicastExportRouteTargetIpAddressFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastExportRouteTargetIpAddressFormat struct {
	IpAddress types.String `tfsdk:"ip_address"`
	Index     types.Int64  `tfsdk:"index"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv4UnicastExportRouteTargetTwoByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastExportRouteTargetTwoByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv4UnicastImportRouteTargetFourByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastImportRouteTargetFourByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv4UnicastImportRouteTargetIpAddressFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastImportRouteTargetIpAddressFormat struct {
	IpAddress types.String `tfsdk:"ip_address"`
	Index     types.Int64  `tfsdk:"index"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv4UnicastImportRouteTargetTwoByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv4UnicastImportRouteTargetTwoByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastExportRouteTargetFourByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastExportRouteTargetFourByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastExportRouteTargetIpAddressFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastExportRouteTargetIpAddressFormat struct {
	IpAddress types.String `tfsdk:"ip_address"`
	Index     types.Int64  `tfsdk:"index"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastExportRouteTargetTwoByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastExportRouteTargetTwoByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastImportRouteTargetFourByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastImportRouteTargetFourByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	Stitching types.Bool  `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastImportRouteTargetIpAddressFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastImportRouteTargetIpAddressFormat struct {
	IpAddress types.String `tfsdk:"ip_address"`
	Index     types.Int64  `tfsdk:"index"`
	Stitching types.Bool   `tfsdk:"stitching"`
}

type VRFAddressFamilyIpv6UnicastImportRouteTargetTwoByteAsFormat added in v0.1.1

type VRFAddressFamilyIpv6UnicastImportRouteTargetTwoByteAsFormat struct {
	AsNumber  types.Int64 `tfsdk:"as_number"`
	Index     types.Int64 `tfsdk:"index"`
	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