ping_act

package
v0.0.0-...-50def94 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR ping action package configuration.

Copyright (c) 2016, 2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ping

type Ping struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	Input Ping_Input

	Output Ping_Output
}

Ping Send echo messages

func (*Ping) GetEntityData

func (ping *Ping) GetEntityData() *types.CommonEntityData

type Ping_Input

type Ping_Input struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	Destination Ping_Input_Destination

	// The type is slice of Ping_Input_Ipv4.
	Ipv4 []*Ping_Input_Ipv4

	Ipv6 Ping_Input_Ipv6
}

Ping_Input

func (*Ping_Input) GetEntityData

func (input *Ping_Input) GetEntityData() *types.CommonEntityData

type Ping_Input_Destination

type Ping_Input_Destination struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Ping destination address or hostname. The type is string. This attribute is
	// mandatory.
	Destination interface{}

	// Number of ping packets to be sent out. The type is interface{} with range:
	// 1..64. The default value is 5.
	RepeatCount interface{}

	// Size of ping packet. The type is interface{} with range: 36..18024. The
	// default value is 100.
	DataSize interface{}

	// Timeout in seconds. The type is interface{} with range: 0..36. The default
	// value is 2.
	Timeout interface{}

	// Ping interval in milli seconds. The type is interface{} with range:
	// 0..3600. The default value is 10.
	Interval interface{}

	// Pattern of payload data. The type is string with pattern: [0-9a-fA-F]{1,8}.
	Pattern interface{}

	// Sweep is enabled. The type is bool.
	Sweep interface{}

	// VRF name. The type is string.
	VrfName interface{}

	// Source address or interface. The type is string.
	Source interface{}

	// Validate return packet. The type is bool.
	Verbose interface{}

	// Type of Service. The type is interface{} with range: 0..255.
	TypeOfService interface{}

	// Do Not Fragment. The type is bool.
	DoNotFrag interface{}

	// Validate return packet. The type is bool.
	Validate interface{}

	// Priority of the packet. The type is interface{} with range: 0..15.
	Priority interface{}

	// Outgoing interface, needed in case of ping to link local address. The type
	// is string.
	OutgoingInterface interface{}
}

Ping_Input_Destination This type is a presence type.

func (*Ping_Input_Destination) GetEntityData

func (destination *Ping_Input_Destination) GetEntityData() *types.CommonEntityData

type Ping_Input_Ipv4

type Ping_Input_Ipv4 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Ping destination address or hostname. The type is
	// string. This attribute is mandatory.
	Destination interface{}

	// Number of ping packets to be sent out. The type is interface{} with range:
	// 1..64. The default value is 5.
	RepeatCount interface{}

	// Size of ping packet. The type is interface{} with range: 36..18024. The
	// default value is 100.
	DataSize interface{}

	// Timeout in seconds. The type is interface{} with range: 0..36. The default
	// value is 2.
	Timeout interface{}

	// Ping interval in milli seconds. The type is interface{} with range:
	// 0..3600. The default value is 10.
	Interval interface{}

	// Pattern of payload data. The type is string with pattern: [0-9a-fA-F]{1,8}.
	Pattern interface{}

	// Sweep is enabled. The type is bool.
	Sweep interface{}

	// VRF name. The type is string.
	VrfName interface{}

	// Source address or interface. The type is string.
	Source interface{}

	// Validate return packet. The type is bool.
	Verbose interface{}

	// Type of Service. The type is interface{} with range: 0..255.
	TypeOfService interface{}

	// Do Not Fragment. The type is bool.
	DoNotFrag interface{}

	// Validate return packet. The type is bool.
	Validate interface{}
}

Ping_Input_Ipv4

func (*Ping_Input_Ipv4) GetEntityData

func (ipv4 *Ping_Input_Ipv4) GetEntityData() *types.CommonEntityData

type Ping_Input_Ipv6

type Ping_Input_Ipv6 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Ping destination address or hostname. The type is string. This attribute is
	// mandatory.
	Destination interface{}

	// Number of ping packets to be sent out. The type is interface{} with range:
	// 1..64. The default value is 5.
	RepeatCount interface{}

	// Size of ping packet. The type is interface{} with range: 36..18024. The
	// default value is 100.
	DataSize interface{}

	// Timeout in seconds. The type is interface{} with range: 0..36. The default
	// value is 2.
	Timeout interface{}

	// Ping interval in milli seconds. The type is interface{} with range:
	// 0..3600. The default value is 10.
	Interval interface{}

	// Pattern of payload data. The type is string with pattern: [0-9a-fA-F]{1,8}.
	Pattern interface{}

	// Sweep is enabled. The type is bool.
	Sweep interface{}

	// VRF name. The type is string.
	VrfName interface{}

	// Source address or interface. The type is string.
	Source interface{}

	// Validate return packet. The type is bool.
	Verbose interface{}

	// Priority of the packet. The type is interface{} with range: 0..15.
	Priority interface{}

	// Outgoing interface, needed in case of ping to link local address. The type
	// is string.
	OutgoingInterface interface{}
}

Ping_Input_Ipv6 This type is a presence type.

func (*Ping_Input_Ipv6) GetEntityData

func (ipv6 *Ping_Input_Ipv6) GetEntityData() *types.CommonEntityData

type Ping_Output

type Ping_Output struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	PingResponse Ping_Output_PingResponse
}

Ping_Output

func (*Ping_Output) GetEntityData

func (output *Ping_Output) GetEntityData() *types.CommonEntityData

type Ping_Output_PingResponse

type Ping_Output_PingResponse struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The type is slice of Ping_Output_PingResponse_Ipv4.
	Ipv4 []*Ping_Output_PingResponse_Ipv4

	Ipv6 Ping_Output_PingResponse_Ipv6
}

Ping_Output_PingResponse

func (*Ping_Output_PingResponse) GetEntityData

func (pingResponse *Ping_Output_PingResponse) GetEntityData() *types.CommonEntityData

type Ping_Output_PingResponse_Ipv4

type Ping_Output_PingResponse_Ipv4 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Ping destination address or hostname. The type is
	// string. This attribute is mandatory.
	Destination interface{}

	// Number of ping packets to be sent out. The type is interface{} with range:
	// 1..64. The default value is 5.
	RepeatCount interface{}

	// Size of ping packet. The type is interface{} with range: 36..18024. The
	// default value is 100.
	DataSize interface{}

	// Timeout in seconds. The type is interface{} with range: 0..36. The default
	// value is 2.
	Timeout interface{}

	// Ping interval in milli seconds. The type is interface{} with range:
	// 0..3600. The default value is 10.
	Interval interface{}

	// Pattern of payload data. The type is string with pattern: [0-9a-fA-F]{1,8}.
	Pattern interface{}

	// Sweep is enabled. The type is bool.
	Sweep interface{}

	// Number of packets reach to destination and get reply back. The type is
	// interface{} with range: 0..18446744073709551615.
	Hits interface{}

	// Total number of packets sent out. The type is interface{} with range:
	// 0..18446744073709551615.
	Total interface{}

	// Successful rate of ping. The type is interface{} with range:
	// 0..18446744073709551615.
	SuccessRate interface{}

	// Minimum value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttMin interface{}

	// Average value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttAvg interface{}

	// Maximum value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttMax interface{}

	// Minimum value of sweep size. The type is interface{} with range:
	// 0..4294967295.
	SweepMin interface{}

	// Maximum value of sweep size. The type is interface{} with range:
	// 0..18446744073709551615.
	SweepMax interface{}

	// Rotate Pattern is enabled. The type is bool.
	RotatePattern interface{}

	// Error response for each ping, in case of bulk ping. The type is string.
	PingErrorResponse interface{}

	Replies Ping_Output_PingResponse_Ipv4_Replies
}

Ping_Output_PingResponse_Ipv4

func (*Ping_Output_PingResponse_Ipv4) GetEntityData

func (ipv4 *Ping_Output_PingResponse_Ipv4) GetEntityData() *types.CommonEntityData

type Ping_Output_PingResponse_Ipv4_Replies

type Ping_Output_PingResponse_Ipv4_Replies struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The type is slice of Ping_Output_PingResponse_Ipv4_Replies_Reply.
	Reply []*Ping_Output_PingResponse_Ipv4_Replies_Reply
}

Ping_Output_PingResponse_Ipv4_Replies

func (*Ping_Output_PingResponse_Ipv4_Replies) GetEntityData

type Ping_Output_PingResponse_Ipv4_Replies_Reply

type Ping_Output_PingResponse_Ipv4_Replies_Reply struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Index of the reply list. The type is interface{}
	// with range: 1..2147483647.
	ReplyIndex interface{}

	// Response for each packet. The type is string.
	Result interface{}

	BroadcastReplyAddresses Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses
}

Ping_Output_PingResponse_Ipv4_Replies_Reply

func (*Ping_Output_PingResponse_Ipv4_Replies_Reply) GetEntityData

type Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses

type Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The type is slice of
	// Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress.
	BroadcastReplyAddress []*Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress
}

Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses

func (*Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses) GetEntityData

type Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress

type Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Broadcast reply address. The type is string.
	ReplyAddress interface{}

	// Sign for each reply packet. The type is string.
	Result interface{}
}

Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress

func (*Ping_Output_PingResponse_Ipv4_Replies_Reply_BroadcastReplyAddresses_BroadcastReplyAddress) GetEntityData

type Ping_Output_PingResponse_Ipv6

type Ping_Output_PingResponse_Ipv6 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Ping destination address or hostname. The type is string. This attribute is
	// mandatory.
	Destination interface{}

	// Number of ping packets to be sent out. The type is interface{} with range:
	// 1..64. The default value is 5.
	RepeatCount interface{}

	// Size of ping packet. The type is interface{} with range: 36..18024. The
	// default value is 100.
	DataSize interface{}

	// Timeout in seconds. The type is interface{} with range: 0..36. The default
	// value is 2.
	Timeout interface{}

	// Ping interval in milli seconds. The type is interface{} with range:
	// 0..3600. The default value is 10.
	Interval interface{}

	// Pattern of payload data. The type is string with pattern: [0-9a-fA-F]{1,8}.
	Pattern interface{}

	// Sweep is enabled. The type is bool.
	Sweep interface{}

	// Minimum value of sweep size. The type is interface{} with range:
	// 0..4294967295.
	SweepMin interface{}

	// Maximum value of sweep size. The type is interface{} with range:
	// 0..18446744073709551615.
	SweepMax interface{}

	// Rotate Pattern is enabled. The type is bool.
	RotatePattern interface{}

	// Number of packets reach to destination and get reply back. The type is
	// interface{} with range: 0..18446744073709551615.
	Hits interface{}

	// Total number of packets sent out. The type is interface{} with range:
	// 0..18446744073709551615.
	Total interface{}

	// Successful rate of ping. The type is interface{} with range:
	// 0..18446744073709551615.
	SuccessRate interface{}

	// Minimum value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttMin interface{}

	// Average value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttAvg interface{}

	// Maximum value of Round Trip Time. The type is interface{} with range:
	// 0..18446744073709551615.
	RttMax interface{}

	Replies Ping_Output_PingResponse_Ipv6_Replies
}

Ping_Output_PingResponse_Ipv6 This type is a presence type.

func (*Ping_Output_PingResponse_Ipv6) GetEntityData

func (ipv6 *Ping_Output_PingResponse_Ipv6) GetEntityData() *types.CommonEntityData

type Ping_Output_PingResponse_Ipv6_Replies

type Ping_Output_PingResponse_Ipv6_Replies struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The type is slice of Ping_Output_PingResponse_Ipv6_Replies_Reply.
	Reply []*Ping_Output_PingResponse_Ipv6_Replies_Reply
}

Ping_Output_PingResponse_Ipv6_Replies

func (*Ping_Output_PingResponse_Ipv6_Replies) GetEntityData

type Ping_Output_PingResponse_Ipv6_Replies_Reply

type Ping_Output_PingResponse_Ipv6_Replies_Reply struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Index of the reply list. The type is interface{}
	// with range: 1..2147483647.
	ReplyIndex interface{}

	// Response for each packet. The type is string.
	Result interface{}
}

Ping_Output_PingResponse_Ipv6_Replies_Reply

func (*Ping_Output_PingResponse_Ipv6_Replies_Reply) GetEntityData

Jump to

Keyboard shortcuts

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