gretunnelinfo

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 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 {
	TunID             int    `json:"tunID,omitempty"`
	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"`
	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