provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MPL-2.0 Imports: 14 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 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 OSPF

type OSPF struct {
	Device                            types.String         `tfsdk:"device"`
	Id                                types.String         `tfsdk:"id"`
	YangId                            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"`
	DistanceDistance                  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"`
	YangId                            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"`
	DistanceDistance                  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 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"`
}

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 StaticRoute

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

type StaticRouteFwdList

type StaticRouteFwdList struct {
	Fwd       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"`
}

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"`
	PasswordPassword   types.String `tfsdk:"password"`
	SecretEncryption   types.String `tfsdk:"secret_encryption"`
	SecretSecret       types.String `tfsdk:"secret"`
}

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"`
}

type VRFRouteTargetExport

type VRFRouteTargetExport struct {
	AsnIp types.String `tfsdk:"value"`
}

type VRFRouteTargetImport

type VRFRouteTargetImport struct {
	AsnIp types.String `tfsdk:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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