Documentation ¶
Overview ¶
Package neighbor is the client.Network.Ipv6NeighborDiscovery namespace.
PAN-OS 8.0+
When configuring the neighbor discovery for iType=TypeVlan, the iName param should be an empty string.
Normalized object: Config
Index ¶
- Constants
- type Config
- type Firewall
- func (c *Firewall) Delete(iType, iName, subName string) error
- func (c *Firewall) Edit(iType, iName, subName string, e Config) error
- func (c *Firewall) FromPanosConfig(iType, iName, subName string) (Config, error)
- func (c *Firewall) Get(iType, iName, subName string) (Config, error)
- func (c *Firewall) Set(iType, iName, subName string, e Config) error
- func (c *Firewall) Show(iType, iName, subName string) (Config, error)
- type Neighbor
- type Panorama
- func (c *Panorama) Delete(tmpl, ts, iType, iName, subName string) error
- func (c *Panorama) Edit(tmpl, ts, iType, iName, subName string, e Config) error
- func (c *Panorama) FromPanosConfig(tmpl, ts, iType, iName, subName string) (Config, error)
- func (c *Panorama) Get(tmpl, ts, iType, iName, subName string) (Config, error)
- func (c *Panorama) Set(tmpl, ts, iType, iName, subName string, e Config) error
- func (c *Panorama) Show(tmpl, ts, iType, iName, subName string) (Config, error)
- type RaDnsServer
- type RaDnsSuffix
Constants ¶
const ( RaRouterPreferenceHigh = "High" RaRouterPreferenceMedium = "Medium" RaRouterPreferenceLow = "Low" )
Valid values for RaRouterPreference.
const ( TypeEthernet = "ethernet" TypeAggregate = "aggregate-ethernet" TypeVlan = "vlan" )
Valid values for the iType param.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EnableRa bool RaMaxInterval int RaMinInterval int RaManagedFlag bool RaOtherFlag bool RaLinkMtu string RaReachableTime string RaRetransmissionTimer string RaHopLimit string RaLifetime int RaRouterPreference string RaEnableConsistencyCheck bool RaEnableDnsSupport bool RaDnsServers []RaDnsServer RaDnsSuffixes []RaDnsSuffix EnableNdpMonitor bool EnableDuplicateAddressDetection bool DuplicateAddressDetectionAttempts int NeighborSolicitationInterval int ReachableTime int Neighbors []Neighbor }
Config is a normalized, version independent representation of an IPv6 neighbor discovery configuration.
Due to the fact that RaLifetime is a rangedint field where not only is 0 a valid value, but the default is 1800, this field will always be present in the marshalled XML sent to PAN-OS if either of the following is true:
* another Ra* field is non-zero * this field is a value other than 1800
PAN-OS 8.0+
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall is the client.Network.Ipv6NeighborDiscovery namespace.
func FirewallNamespace ¶
func FirewallNamespace(client util.XapiClient) *Firewall
FirewallNamespace returns an initialized namespace.
func (*Firewall) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves the object stored in the retrieved config.
type Panorama ¶
type Panorama struct {
// contains filtered or unexported fields
}
Panorama is the client.Network.Ipv6NeighborDiscovery namespace.
func PanoramaNamespace ¶
func PanoramaNamespace(client util.XapiClient) *Panorama
PanoramaNamespace returns an initialized namespace.
func (*Panorama) FromPanosConfig ¶ added in v0.7.0
FromPanosConfig retrieves object stored in the retrieved config.