gretunnelinfo

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRETunnelInfo

type GRETunnelInfo struct {
	IPaddress         string `json:"ipAddress,omitempty"`
	GREEnabled        bool   `json:"greEnabled,omitempty"`
	GREtunnelIP       string `json:"greTunnelIP,omitempty"`
	PrimaryGW         string `json:"primaryGW,omitempty"`
	SecondaryGW       string `json:"secondaryGW,omitempty"`
	TunID             int    `json:"tunID,omitempty"`
	GRERangePrimary   string `json:"greRangePrimary,omitempty"`
	GRERangeSecondary string `json:"greRangeSecondary,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) GetGRETunnelInfo

func (service *Service) GetGRETunnelInfo(ipAddress string) (*GRETunnelInfo, error)

Gets a list of IP addresses with GRE tunnel details.

Jump to

Keyboard shortcuts

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