infra_objmgr_cfg

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: 0

Documentation

Overview

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

This module contains definitions for the following management objects:

object-group: Object-group configuration

Copyright (c) 2013-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 EndPort

type EndPort string

EndPort represents End port

const (
	// Echo (7)
	EndPort_echo EndPort = "echo"

	// Discard (9)
	EndPort_discard EndPort = "discard"

	// Daytime (13)
	EndPort_daytime EndPort = "daytime"

	// Character generator (19)
	EndPort_chargen EndPort = "chargen"

	// FTP data connections (used infrequently, 20)
	EndPort_ftp_data EndPort = "ftp-data"

	// File Transfer Protocol (21)
	EndPort_ftp EndPort = "ftp"

	// Secure Shell (22)
	EndPort_ssh EndPort = "ssh"

	// Telnet (23)
	EndPort_telnet EndPort = "telnet"

	// Simple Mail Transport Protocol (25)
	EndPort_smtp EndPort = "smtp"

	// Time (37)
	EndPort_time EndPort = "time"

	// Nicname (43)
	EndPort_nicname EndPort = "nicname"

	// TAC Access Control System (49)
	EndPort_tacacs EndPort = "tacacs"

	// Domain Name Service (53)
	EndPort_domain EndPort = "domain"

	// Gopher (70)
	EndPort_gopher EndPort = "gopher"

	// Finger (79)
	EndPort_finger EndPort = "finger"

	// World Wide Web (HTTP, 80)
	EndPort_www EndPort = "www"

	// NIC hostname server (101)
	EndPort_host_name EndPort = "host-name"

	// Post Office Protocol v2 (109)
	EndPort_pop2 EndPort = "pop2"

	// Post Office Protocol v3 (110)
	EndPort_pop3 EndPort = "pop3"

	// Sun Remote Procedure Call (111)
	EndPort_sun_rpc EndPort = "sun-rpc"

	// Ident Protocol (113)
	EndPort_ident EndPort = "ident"

	// Network News Transport Protocol (119)
	EndPort_nntp EndPort = "nntp"

	// Border Gateway Protocol (179)
	EndPort_bgp EndPort = "bgp"

	// Internet Relay Chat (194)
	EndPort_irc EndPort = "irc"

	// PIM Auto-RP (496)
	EndPort_pim_auto_rp EndPort = "pim-auto-rp"

	// Exec (rsh, 512)
	EndPort_exec EndPort = "exec"

	// Login (rlogin, 513)
	EndPort_login EndPort = "login"

	// Remote commands (rcmd, 514)
	EndPort_cmd EndPort = "cmd"

	// Printer service (515)
	EndPort_lpd EndPort = "lpd"

	// Unix-to-Unix Copy Program (540)
	EndPort_uucp EndPort = "uucp"

	// Kerberos login (543)
	EndPort_klogin EndPort = "klogin"

	// Kerberos shell (544)
	EndPort_kshell EndPort = "kshell"

	// Talk (517)
	EndPort_talk EndPort = "talk"

	// LDP session connection attempts (MPLS, 646)
	EndPort_ldp EndPort = "ldp"
)

type ObjectGroup

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

	// Port object group.
	Port ObjectGroup_Port

	// Network object group.
	Network ObjectGroup_Network
}

ObjectGroup Object-group configuration

func (*ObjectGroup) GetEntityData

func (objectGroup *ObjectGroup) GetEntityData() *types.CommonEntityData

type ObjectGroup_Network

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

	// IPv6 object group.
	Ipv6 ObjectGroup_Network_Ipv6

	// IPv4 object group.
	Ipv4 ObjectGroup_Network_Ipv4
}

ObjectGroup_Network Network object group

func (*ObjectGroup_Network) GetEntityData

func (network *ObjectGroup_Network) GetEntityData() *types.CommonEntityData

type ObjectGroup_Network_Ipv4

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

	// Table of ipv4 object groups.
	UdfObjects ObjectGroup_Network_Ipv4_UdfObjects
}

ObjectGroup_Network_Ipv4 IPv4 object group

func (*ObjectGroup_Network_Ipv4) GetEntityData

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

type ObjectGroup_Network_Ipv4_UdfObjects

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

	// IPv4 object group. The type is slice of
	// ObjectGroup_Network_Ipv4_UdfObjects_UdfObject.
	UdfObject []*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject
}

ObjectGroup_Network_Ipv4_UdfObjects Table of ipv4 object groups

func (*ObjectGroup_Network_Ipv4_UdfObjects) GetEntityData

func (udfObjects *ObjectGroup_Network_Ipv4_UdfObjects) GetEntityData() *types.CommonEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject

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

	// This attribute is a key. IPv4 object group name - maximum 64 characters.
	// The type is string with length: 1..64.
	ObjectName interface{}

	// Up to 100 characters describing this object. The type is string with
	// length: 1..100.
	Description interface{}

	// Table of nested ipv4 object groups.
	NestedGroups ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups

	// Table of ipv4 host address ranges.
	AddressRanges ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges

	// Table of addresses.
	Addresses ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses

	// Table of host addresses.
	Hosts ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject IPv4 object group

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges

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

	// Range of host addresses. The type is slice of
	// ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges_AddressRange.
	AddressRange []*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges_AddressRange
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges Table of ipv4 host address ranges

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges_AddressRange

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

	// This attribute is a key. IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	StartAddress interface{}

	// This attribute is a key. IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	EndAddress interface{}
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges_AddressRange Range of host addresses

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_AddressRanges_AddressRange) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses

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

	// IPv4 address. The type is slice of
	// ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses_Address.
	Address []*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses_Address
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses Table of addresses

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses_Address

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

	// This attribute is a key. IPv4 address/prefix. The type is string with
	// pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Prefix interface{}

	// This attribute is a key. Prefix of the IP Address. The type is interface{}
	// with range: 0..32.
	PrefixLength interface{}
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses_Address IPv4 address

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Addresses_Address) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts

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

	// A single host address. The type is slice of
	// ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts_Host.
	Host []*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts_Host
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts Table of host addresses

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts_Host

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

	// This attribute is a key. Host ipv4 address. The type is string with
	// pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	HostAddress interface{}
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts_Host A single host address

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_Hosts_Host) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups

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

	// Nested object group. The type is slice of
	// ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups_NestedGroup.
	NestedGroup []*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups_NestedGroup
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups Table of nested ipv4 object groups

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups) GetEntityData

type ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups_NestedGroup

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

	// This attribute is a key. Nested object group. The type is string with
	// length: 1..64.
	NestedGroupName interface{}
}

ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups_NestedGroup Nested object group

func (*ObjectGroup_Network_Ipv4_UdfObjects_UdfObject_NestedGroups_NestedGroup) GetEntityData

type ObjectGroup_Network_Ipv6

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

	// Table of ipv6 object groups.
	UdfObjects ObjectGroup_Network_Ipv6_UdfObjects
}

ObjectGroup_Network_Ipv6 IPv6 object group

func (*ObjectGroup_Network_Ipv6) GetEntityData

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

type ObjectGroup_Network_Ipv6_UdfObjects

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

	// IPv6 object group. The type is slice of
	// ObjectGroup_Network_Ipv6_UdfObjects_UdfObject.
	UdfObject []*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject
}

ObjectGroup_Network_Ipv6_UdfObjects Table of ipv6 object groups

func (*ObjectGroup_Network_Ipv6_UdfObjects) GetEntityData

func (udfObjects *ObjectGroup_Network_Ipv6_UdfObjects) GetEntityData() *types.CommonEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject

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

	// This attribute is a key. IPv6 object group name - maximum 64 characters.
	// The type is string with length: 1..64.
	ObjectName interface{}

	// Up to 100 characters describing this object. The type is string with
	// length: 1..100.
	Description interface{}

	// Table of nested ipv6 object groups.
	NestedGroups ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups

	// Table of ipv6 address ranges.
	AddressRanges ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges

	// Table of ipv6 addresses.
	Addresses ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses

	// Table of ipv6 host addresses.
	Hosts ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject IPv6 object group

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges

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

	// Range of host addresses. The type is slice of
	// ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges_AddressRange.
	AddressRange []*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges_AddressRange
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges Table of ipv6 address ranges

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges_AddressRange

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

	// This attribute is a key. IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	StartAddress interface{}

	// This attribute is a key. IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	EndAddress interface{}
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges_AddressRange Range of host addresses

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_AddressRanges_AddressRange) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses

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

	// IPv6 address. The type is slice of
	// ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses_Address.
	Address []*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses_Address
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses Table of ipv6 addresses

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses_Address

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

	// This attribute is a key. IPv6 prefix x:x::x/y. The type is string with
	// pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	Prefix interface{}

	// This attribute is a key. Prefix of the IP Address. The type is interface{}
	// with range: 0..128.
	PrefixLength interface{}
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses_Address IPv6 address

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Addresses_Address) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts

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

	// A single host address. The type is slice of
	// ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts_Host.
	Host []*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts_Host
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts Table of ipv6 host addresses

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts_Host

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

	// This attribute is a key. host ipv6 address. The type is string with
	// pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	HostAddress interface{}
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts_Host A single host address

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_Hosts_Host) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups

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

	// nested object group. The type is slice of
	// ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups_NestedGroup.
	NestedGroup []*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups_NestedGroup
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups Table of nested ipv6 object groups

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups) GetEntityData

type ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups_NestedGroup

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

	// This attribute is a key. Enter the name of a nested object group. The type
	// is string with length: 1..64.
	NestedGroupName interface{}
}

ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups_NestedGroup nested object group

func (*ObjectGroup_Network_Ipv6_UdfObjects_UdfObject_NestedGroups_NestedGroup) GetEntityData

type ObjectGroup_Port

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

	// Table of port objects groups.
	UdfObjects ObjectGroup_Port_UdfObjects
}

ObjectGroup_Port Port object group

func (*ObjectGroup_Port) GetEntityData

func (port *ObjectGroup_Port) GetEntityData() *types.CommonEntityData

type ObjectGroup_Port_UdfObjects

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

	// Port object group. The type is slice of
	// ObjectGroup_Port_UdfObjects_UdfObject.
	UdfObject []*ObjectGroup_Port_UdfObjects_UdfObject
}

ObjectGroup_Port_UdfObjects Table of port objects groups

func (*ObjectGroup_Port_UdfObjects) GetEntityData

func (udfObjects *ObjectGroup_Port_UdfObjects) GetEntityData() *types.CommonEntityData

type ObjectGroup_Port_UdfObjects_UdfObject

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

	// This attribute is a key. Port object group name - maximum 64 characters.
	// The type is string with length: 1..64.
	ObjectName interface{}

	// Up to 100 characters describing this object. The type is string with
	// length: 1..100.
	Description interface{}

	// Table of port operators.
	Operators ObjectGroup_Port_UdfObjects_UdfObject_Operators

	// Table of nested port object groups.
	NestedGroups ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups

	// Table of port range addresses.
	PortRanges ObjectGroup_Port_UdfObjects_UdfObject_PortRanges
}

ObjectGroup_Port_UdfObjects_UdfObject Port object group

func (*ObjectGroup_Port_UdfObjects_UdfObject) GetEntityData

func (udfObject *ObjectGroup_Port_UdfObjects_UdfObject) GetEntityData() *types.CommonEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups

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

	// nested object group. The type is slice of
	// ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups_NestedGroup.
	NestedGroup []*ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups_NestedGroup
}

ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups Table of nested port object groups

func (*ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups) GetEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups_NestedGroup

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

	// This attribute is a key. Name of a nested object group. The type is string
	// with length: 1..64.
	NestedGroupName interface{}
}

ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups_NestedGroup nested object group

func (*ObjectGroup_Port_UdfObjects_UdfObject_NestedGroups_NestedGroup) GetEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_Operators

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

	// op class. The type is slice of
	// ObjectGroup_Port_UdfObjects_UdfObject_Operators_Operator.
	Operator []*ObjectGroup_Port_UdfObjects_UdfObject_Operators_Operator
}

ObjectGroup_Port_UdfObjects_UdfObject_Operators Table of port operators

func (*ObjectGroup_Port_UdfObjects_UdfObject_Operators) GetEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_Operators_Operator

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

	// This attribute is a key. operation for ports. The type is PortOperator.
	OperatorType interface{}

	// This attribute is a key. Port number. The type is one of the following
	// types: enumeration Port, or int with range: 0..65535.
	Port interface{}
}

ObjectGroup_Port_UdfObjects_UdfObject_Operators_Operator op class

func (*ObjectGroup_Port_UdfObjects_UdfObject_Operators_Operator) GetEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_PortRanges

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

	// Match only packets on a given port range. The type is slice of
	// ObjectGroup_Port_UdfObjects_UdfObject_PortRanges_PortRange.
	PortRange []*ObjectGroup_Port_UdfObjects_UdfObject_PortRanges_PortRange
}

ObjectGroup_Port_UdfObjects_UdfObject_PortRanges Table of port range addresses

func (*ObjectGroup_Port_UdfObjects_UdfObject_PortRanges) GetEntityData

type ObjectGroup_Port_UdfObjects_UdfObject_PortRanges_PortRange

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

	// This attribute is a key. Port number. The type is one of the following
	// types: enumeration StartPort, or int with range: 0..65535.
	StartPort interface{}

	// This attribute is a key. Port number. The type is one of the following
	// types: enumeration EndPort, or int with range: 0..65535.
	EndPort interface{}
}

ObjectGroup_Port_UdfObjects_UdfObject_PortRanges_PortRange Match only packets on a given port range

func (*ObjectGroup_Port_UdfObjects_UdfObject_PortRanges_PortRange) GetEntityData

type Port

type Port string

Port represents Port

const (
	// Echo (7)
	Port_echo Port = "echo"

	// Discard (9)
	Port_discard Port = "discard"

	// Daytime (13)
	Port_daytime Port = "daytime"

	// Character generator (19)
	Port_chargen Port = "chargen"

	// FTP data connections (used infrequently, 20)
	Port_ftp_data Port = "ftp-data"

	// File Transfer Protocol (21)
	Port_ftp Port = "ftp"

	// Secure Shell (22)
	Port_ssh Port = "ssh"

	// Telnet (23)
	Port_telnet Port = "telnet"

	// Simple Mail Transport Protocol (25)
	Port_smtp Port = "smtp"

	// Time (37)
	Port_time Port = "time"

	// Nicname (43)
	Port_nicname Port = "nicname"

	// TAC Access Control System (49)
	Port_tacacs Port = "tacacs"

	// Domain Name Service (53)
	Port_domain Port = "domain"

	// Gopher (70)
	Port_gopher Port = "gopher"

	// Finger (79)
	Port_finger Port = "finger"

	// World Wide Web (HTTP, 80)
	Port_www Port = "www"

	// NIC hostname server (101)
	Port_host_name Port = "host-name"

	// Post Office Protocol v2 (109)
	Port_pop2 Port = "pop2"

	// Post Office Protocol v3 (110)
	Port_pop3 Port = "pop3"

	// Sun Remote Procedure Call (111)
	Port_sun_rpc Port = "sun-rpc"

	// Ident Protocol (113)
	Port_ident Port = "ident"

	// Network News Transport Protocol (119)
	Port_nntp Port = "nntp"

	// Border Gateway Protocol (179)
	Port_bgp Port = "bgp"

	// Internet Relay Chat (194)
	Port_irc Port = "irc"

	// PIM Auto-RP (496)
	Port_pim_auto_rp Port = "pim-auto-rp"

	// Exec (rsh, 512)
	Port_exec Port = "exec"

	// Login (rlogin, 513)
	Port_login Port = "login"

	// Remote commands (rcmd, 514)
	Port_cmd Port = "cmd"

	// Printer service (515)
	Port_lpd Port = "lpd"

	// Unix-to-Unix Copy Program (540)
	Port_uucp Port = "uucp"

	// Kerberos login (543)
	Port_klogin Port = "klogin"

	// Kerberos shell (544)
	Port_kshell Port = "kshell"

	// Talk (517)
	Port_talk Port = "talk"

	// LDP session connection attempts (MPLS, 646)
	Port_ldp Port = "ldp"
)

type PortOperator

type PortOperator string

PortOperator represents Port operator

const (
	// Match packets on ports equal to entered port
	// number
	PortOperator_equal PortOperator = "equal"

	// Match packets on ports not equal to entered
	// port number
	PortOperator_not_equal PortOperator = "not-equal"

	// Match packets on ports greater than entered
	// port number
	PortOperator_greater_than PortOperator = "greater-than"

	// Match packets on ports less than entered port
	// number
	PortOperator_less_than PortOperator = "less-than"
)

type StartPort

type StartPort string

StartPort represents Start port

const (
	// Echo (7)
	StartPort_echo StartPort = "echo"

	// Discard (9)
	StartPort_discard StartPort = "discard"

	// Daytime (13)
	StartPort_daytime StartPort = "daytime"

	// Character generator (19)
	StartPort_chargen StartPort = "chargen"

	// FTP data connections (used infrequently, 20)
	StartPort_ftp_data StartPort = "ftp-data"

	// File Transfer Protocol (21)
	StartPort_ftp StartPort = "ftp"

	// Secure Shell (22)
	StartPort_ssh StartPort = "ssh"

	// Telnet (23)
	StartPort_telnet StartPort = "telnet"

	// Simple Mail Transport Protocol (25)
	StartPort_smtp StartPort = "smtp"

	// Time (37)
	StartPort_time StartPort = "time"

	// Nicname (43)
	StartPort_nicname StartPort = "nicname"

	// TAC Access Control System (49)
	StartPort_tacacs StartPort = "tacacs"

	// Domain Name Service (53)
	StartPort_domain StartPort = "domain"

	// Gopher (70)
	StartPort_gopher StartPort = "gopher"

	// Finger (79)
	StartPort_finger StartPort = "finger"

	// World Wide Web (HTTP, 80)
	StartPort_www StartPort = "www"

	// NIC hostname server (101)
	StartPort_host_name StartPort = "host-name"

	// Post Office Protocol v2 (109)
	StartPort_pop2 StartPort = "pop2"

	// Post Office Protocol v3 (110)
	StartPort_pop3 StartPort = "pop3"

	// Sun Remote Procedure Call (111)
	StartPort_sun_rpc StartPort = "sun-rpc"

	// Ident Protocol (113)
	StartPort_ident StartPort = "ident"

	// Network News Transport Protocol (119)
	StartPort_nntp StartPort = "nntp"

	// Border Gateway Protocol (179)
	StartPort_bgp StartPort = "bgp"

	// Internet Relay Chat (194)
	StartPort_irc StartPort = "irc"

	// PIM Auto-RP (496)
	StartPort_pim_auto_rp StartPort = "pim-auto-rp"

	// Exec (rsh, 512)
	StartPort_exec StartPort = "exec"

	// Login (rlogin, 513)
	StartPort_login StartPort = "login"

	// Remote commands (rcmd, 514)
	StartPort_cmd StartPort = "cmd"

	// Printer service (515)
	StartPort_lpd StartPort = "lpd"

	// Unix-to-Unix Copy Program (540)
	StartPort_uucp StartPort = "uucp"

	// Kerberos login (543)
	StartPort_klogin StartPort = "klogin"

	// Kerberos shell (544)
	StartPort_kshell StartPort = "kshell"

	// Talk (517)
	StartPort_talk StartPort = "talk"

	// LDP session connection attempts (MPLS, 646)
	StartPort_ldp StartPort = "ldp"
)

Jump to

Keyboard shortcuts

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