class ConfigFileType(Enum):
    """
    ConfigFileType (Enum Class)

    The various types of files on which a config\-copy

    operation can be performed.

    networkFile\:       file on another network device, 

                       e.g. a file\-server on the 

                       network.

    iosFile\:           a file on the local agent, other

                       than startup or running config.

    startupConfig\:     a startup config file.

    runningConfig\:     a running config file.

    terminal\:          a terminal (e.g. the console 

                       window) on which the config is 

                       to be displayed.

    fabricStartupConfig\:   a file type which can be

                           used for a destination file;

                           when a running\-config is to

                           copied to a destination of

                           this type, the file is copied

                           to the startup config on all

                           devices in the fabric. Such

                           a fabric could, for example,

                           be a Fibre Channel fabric,

                           or even a MAC\-based fabric.

    .. data:: networkFile = 1

    .. data:: iosFile = 2

    .. data:: startupConfig = 3

    .. data:: runningConfig = 4

    .. data:: terminal = 5

    .. data:: fabricStartupConfig = 6

    """

    networkFile = Enum.YLeaf(1, "networkFile")

    iosFile = Enum.YLeaf(2, "iosFile")

    startupConfig = Enum.YLeaf(3, "startupConfig")

    runningConfig = Enum.YLeaf(4, "runningConfig")

    terminal = Enum.YLeaf(5, "terminal")

    fabricStartupConfig = Enum.YLeaf(6, "fabricStartupConfig")
Exemple #2
0
class ClockMonth(Enum):
    """
    ClockMonth (Enum Class)

    Clock month

    .. data:: january = 0

    	January

    .. data:: february = 1

    	February

    .. data:: march = 2

    	March

    .. data:: april = 3

    	April

    .. data:: may = 4

    	May

    .. data:: june = 5

    	June

    .. data:: july = 6

    	July

    .. data:: august = 7

    	August

    .. data:: september = 8

    	September

    .. data:: october = 9

    	October

    .. data:: november = 10

    	November

    .. data:: december = 11

    	December

    """

    january = Enum.YLeaf(0, "january")

    february = Enum.YLeaf(1, "february")

    march = Enum.YLeaf(2, "march")

    april = Enum.YLeaf(3, "april")

    may = Enum.YLeaf(4, "may")

    june = Enum.YLeaf(5, "june")

    july = Enum.YLeaf(6, "july")

    august = Enum.YLeaf(7, "august")

    september = Enum.YLeaf(8, "september")

    october = Enum.YLeaf(9, "october")

    november = Enum.YLeaf(10, "november")

    december = Enum.YLeaf(11, "december")
class LptsFlow(Enum):
    """
    LptsFlow

    Lpts flow

    .. data:: config_default = 0

    	Invalid flow type used for fallback

    	configuration

    .. data:: l2tpv2_fragment = 1

    	L2TPv2 Fragments

    .. data:: fragment = 2

    	Fragments

    .. data:: ospf_multicast_known = 3

    	OSPF multicast packets on configured interfaces

    .. data:: ospf_multicast_default = 4

    	OSPF multicast packets on unconfigured (or

    	newly-configured) interfaces

    .. data:: ospf_unicast_known = 5

    	OSPF unicast packets

    .. data:: ospf_unicast_default = 6

    	OSPF unicast packets

    .. data:: isis_known = 7

    	IS-IS packets on configured interfaces

    .. data:: isis_default = 8

    	IS-IS packets on unconfigured (or

    	newly-configured) interfaces

    .. data:: bfd_known = 9

    	BFD packets on configured interfaces

    .. data:: bfd_default = 10

    	BFD packets on unconfigured (or

    	newly-configured) interfaces

    .. data:: bfd_multipath_known = 11

    	BFD multipath packets on configured interfaces

    .. data:: bfd_multipath0 = 12

    	BFD multipath packets on multiple configured

    	interfaces

    .. data:: bfd_blb_known = 13

    	BFD packets over Logical Bundle on configured

    	interfaces

    .. data:: bfd_blb0 = 14

    	BFD packets over Logical Bundle 0

    .. data:: bfd_sp0 = 15

    	BFD packets over Single Path 0

    .. data:: bgp_known = 16

    	Packets from established BGP peering sessions

    .. data:: bgp_config_peer = 17

    	Packets from a configured BGP peer (SYNs or

    	newly-established sessions)

    .. data:: bgp_default = 18

    	Packets from unconfigured, newly-configured, or

    	wild-card BGP peer

    .. data:: pim_multicast_default = 19

    	PIM multicast packets on configured interfaces

    .. data:: pim_multicast_known = 20

    	PIM multicast packets on unconfigured (or

    	newly-configured) interfaces

    .. data:: pim_unicast = 21

    	PIM unicast packets

    .. data:: igmp = 22

    	IGMP packets

    .. data:: icmp_local = 23

    	ICMP or ICMPv6 packets with local interest

    .. data:: icmp_app = 24

    	ICMP or ICMPv6 packets of interest to

    	applications

    .. data:: icmp_control = 25

    	ICMP or ICMPv6 packets that are used for

    	control/signalling purpose

    .. data:: icmp_default = 26

    	Other ICMP or ICMPv6 packets (may be of recent

    	interest to applications)

    .. data:: icmp_app_default = 27

    	ICMP or ICMPv6 echo reply packets (when

    	specific entry not present)

    .. data:: ldp_tcp_known = 28

    	Packets from an established LDP TCP peering

    	session

    .. data:: ldp_tcp_config_peer = 29

    	Packets from a configured LDP TCP peer (SYNs or

    	newly-established sessions)

    .. data:: ldp_tcp_default = 30

    	Packets from an unconfigured, newly-configured

    	or wild-card LDP TCP peer

    .. data:: ldp_udp = 31

    	Unicast LDP UDP packets

    .. data:: all_routers = 32

    	Packets sent to the all-routers multicast

    	address (includes LDP UDP multicast)

    .. data:: lmp_tcp_known = 33

    	Packets from an established LMP TCP peering

    	session

    .. data:: lmp_tcp_config_peer = 34

    	Packets from a configured LMP TCP peer (SYNs or

    	newly-established sessions)

    .. data:: lmp_tcp_default = 35

    	Packets from an unconfigured, newly-configured

    	or wild-card LMP TCP peer

    .. data:: lmp_udp = 36

    	Unicast LMP UDP packets

    .. data:: rsvp_udp = 37

    	RSVP-over-UDP packets

    .. data:: rsvp_default = 38

    	RSVP (IP protocol 46) packets

    .. data:: rsvp_known = 39

    	RSVP (IP protocol 46) packets

    .. data:: ike = 40

    	IKE packets

    .. data:: ipsec_known = 41

    	AH or ESP packets with known SPIs

    .. data:: ipsec_default = 42

    	AH or ESP packets with unknown or

    	newly-configured SPIs

    .. data:: ipsec_fragment = 43

    	AH or ESP fragmented packets

    .. data:: msdp_known = 44

    	Packets from an established MSDP session

    .. data:: msdp_config_peer = 45

    	Packets from a configured MSDP peer

    .. data:: msdp_default = 46

    	Packets from an uncofigured, newly-configured

    	or wild-card MSDP peer

    .. data:: snmp = 47

    	SNMP packets

    .. data:: ssh_known = 48

    	Packets from an established SSH session

    .. data:: ssh_default = 49

    	Packets from a new or newly-established SSH

    	session

    .. data:: http_known = 50

    	Packets from an established HTTP session

    .. data:: http_default = 51

    	Packets from a new or newly-established HTTP

    	session

    .. data:: shttp_known = 52

    	Packets from an established SHTTP session

    .. data:: shttp_default = 53

    	Packets from a new or newly-established SSHTP

    	session

    .. data:: telnet_known = 54

    	Packets from an established TELNET session

    .. data:: telnet_default = 55

    	Packets from a new or newly-established TELNET

    	session

    .. data:: css_known = 56

    	Packets from an established CSS session

    .. data:: css_default = 57

    	Packets from a new or newly-established CSS

    	session

    .. data:: rsh_known = 58

    	Packets from an established rsh session

    .. data:: rsh_default = 59

    	Packets from a new or newly-established rsh

    	session

    .. data:: udp_known = 60

    	Packets for established UDP sessions

    .. data:: udp_listen = 61

    	Packets for configured UDP services

    .. data:: udp_config_peer = 62

    	Packets for configured UDP-based protocol

    	sessions

    .. data:: udp_default = 63

    	Packets for unconfigured or newly-configured

    	UDP services

    .. data:: tcp_known = 64

    	Packets for established TCP sessions

    .. data:: tcp_listen = 65

    	Packets for configured TCP services

    .. data:: tcp_config_peer = 66

    	Packets for configured TCP peers

    .. data:: tcp_default = 67

    	Packets for unconfigured or newly-configured

    	TCP services

    .. data:: multicast_known = 68

    	Packets for configured multicast groups

    .. data:: multicast_default = 69

    	Packets for unconfigured or newly-configured

    	multicast groups

    .. data:: raw_listen = 70

    	Packets for configured IP protocols

    .. data:: raw_default = 71

    	Packets for unconfigured or newly-configured

    	IPv4 or IPv6 protocols

    .. data:: ipsla = 72

    	IP SLA packets destined to squid Q #4 for

    	timestamping by squid driver

    .. data:: eigrp = 73

    	EIGRP packets.

    .. data:: rip = 74

    	RIP packets.

    .. data:: l2tpv3 = 75

    	L2TPv3 packets.

    .. data:: pcep_tcp_default = 76

    	PCEP packets.

    .. data:: gre = 77

    	GRE packets.

    .. data:: vrrp = 78

    	VRRP Packets.

    .. data:: hsrp = 79

    	HSRP Packets.

    .. data:: mpls_ping = 80

    	MPLS ping packet coming or arriving from 3503

    	port

    .. data:: l2tpv2_default = 81

    	L2TPv2 default packets.

    .. data:: l2tpv2_known = 82

    	L2TPv2 known packets.

    .. data:: dns = 83

    	DNS packets.

    .. data:: radius = 84

    	RADIUS packets.

    .. data:: tacacs = 85

    	TACACS packets.

    .. data:: ntp_default = 86

    	NTP packets received at 123 port number any

    	address.

    .. data:: ntp_known = 87

    	NTP packets received at 123 port number known

    	address.

    .. data:: mobile_ipv6 = 88

    	Mobile IPV6 packets.

    .. data:: amt = 89

    	AMT packets received at UDP port number 2268.

    .. data:: sdac_tcp = 90

    	SDAC TCP packets.

    .. data:: radius_coa = 91

    	RADIUS Change of Authorization packets.

    .. data:: rel_udp = 92

    	REL UDP packets.

    .. data:: dhcp4 = 93

    	DHCP IPV4 packets.

    .. data:: dhcp6 = 94

    	DHCP IPV6 packets.

    .. data:: onepk = 95

    	ONEPK packets.

    .. data:: exr = 96

    	EXR packets.

    """

    config_default = Enum.YLeaf(0, "config-default")

    l2tpv2_fragment = Enum.YLeaf(1, "l2tpv2-fragment")

    fragment = Enum.YLeaf(2, "fragment")

    ospf_multicast_known = Enum.YLeaf(3, "ospf-multicast-known")

    ospf_multicast_default = Enum.YLeaf(4, "ospf-multicast-default")

    ospf_unicast_known = Enum.YLeaf(5, "ospf-unicast-known")

    ospf_unicast_default = Enum.YLeaf(6, "ospf-unicast-default")

    isis_known = Enum.YLeaf(7, "isis-known")

    isis_default = Enum.YLeaf(8, "isis-default")

    bfd_known = Enum.YLeaf(9, "bfd-known")

    bfd_default = Enum.YLeaf(10, "bfd-default")

    bfd_multipath_known = Enum.YLeaf(11, "bfd-multipath-known")

    bfd_multipath0 = Enum.YLeaf(12, "bfd-multipath0")

    bfd_blb_known = Enum.YLeaf(13, "bfd-blb-known")

    bfd_blb0 = Enum.YLeaf(14, "bfd-blb0")

    bfd_sp0 = Enum.YLeaf(15, "bfd-sp0")

    bgp_known = Enum.YLeaf(16, "bgp-known")

    bgp_config_peer = Enum.YLeaf(17, "bgp-config-peer")

    bgp_default = Enum.YLeaf(18, "bgp-default")

    pim_multicast_default = Enum.YLeaf(19, "pim-multicast-default")

    pim_multicast_known = Enum.YLeaf(20, "pim-multicast-known")

    pim_unicast = Enum.YLeaf(21, "pim-unicast")

    igmp = Enum.YLeaf(22, "igmp")

    icmp_local = Enum.YLeaf(23, "icmp-local")

    icmp_app = Enum.YLeaf(24, "icmp-app")

    icmp_control = Enum.YLeaf(25, "icmp-control")

    icmp_default = Enum.YLeaf(26, "icmp-default")

    icmp_app_default = Enum.YLeaf(27, "icmp-app-default")

    ldp_tcp_known = Enum.YLeaf(28, "ldp-tcp-known")

    ldp_tcp_config_peer = Enum.YLeaf(29, "ldp-tcp-config-peer")

    ldp_tcp_default = Enum.YLeaf(30, "ldp-tcp-default")

    ldp_udp = Enum.YLeaf(31, "ldp-udp")

    all_routers = Enum.YLeaf(32, "all-routers")

    lmp_tcp_known = Enum.YLeaf(33, "lmp-tcp-known")

    lmp_tcp_config_peer = Enum.YLeaf(34, "lmp-tcp-config-peer")

    lmp_tcp_default = Enum.YLeaf(35, "lmp-tcp-default")

    lmp_udp = Enum.YLeaf(36, "lmp-udp")

    rsvp_udp = Enum.YLeaf(37, "rsvp-udp")

    rsvp_default = Enum.YLeaf(38, "rsvp-default")

    rsvp_known = Enum.YLeaf(39, "rsvp-known")

    ike = Enum.YLeaf(40, "ike")

    ipsec_known = Enum.YLeaf(41, "ipsec-known")

    ipsec_default = Enum.YLeaf(42, "ipsec-default")

    ipsec_fragment = Enum.YLeaf(43, "ipsec-fragment")

    msdp_known = Enum.YLeaf(44, "msdp-known")

    msdp_config_peer = Enum.YLeaf(45, "msdp-config-peer")

    msdp_default = Enum.YLeaf(46, "msdp-default")

    snmp = Enum.YLeaf(47, "snmp")

    ssh_known = Enum.YLeaf(48, "ssh-known")

    ssh_default = Enum.YLeaf(49, "ssh-default")

    http_known = Enum.YLeaf(50, "http-known")

    http_default = Enum.YLeaf(51, "http-default")

    shttp_known = Enum.YLeaf(52, "shttp-known")

    shttp_default = Enum.YLeaf(53, "shttp-default")

    telnet_known = Enum.YLeaf(54, "telnet-known")

    telnet_default = Enum.YLeaf(55, "telnet-default")

    css_known = Enum.YLeaf(56, "css-known")

    css_default = Enum.YLeaf(57, "css-default")

    rsh_known = Enum.YLeaf(58, "rsh-known")

    rsh_default = Enum.YLeaf(59, "rsh-default")

    udp_known = Enum.YLeaf(60, "udp-known")

    udp_listen = Enum.YLeaf(61, "udp-listen")

    udp_config_peer = Enum.YLeaf(62, "udp-config-peer")

    udp_default = Enum.YLeaf(63, "udp-default")

    tcp_known = Enum.YLeaf(64, "tcp-known")

    tcp_listen = Enum.YLeaf(65, "tcp-listen")

    tcp_config_peer = Enum.YLeaf(66, "tcp-config-peer")

    tcp_default = Enum.YLeaf(67, "tcp-default")

    multicast_known = Enum.YLeaf(68, "multicast-known")

    multicast_default = Enum.YLeaf(69, "multicast-default")

    raw_listen = Enum.YLeaf(70, "raw-listen")

    raw_default = Enum.YLeaf(71, "raw-default")

    ipsla = Enum.YLeaf(72, "ipsla")

    eigrp = Enum.YLeaf(73, "eigrp")

    rip = Enum.YLeaf(74, "rip")

    l2tpv3 = Enum.YLeaf(75, "l2tpv3")

    pcep_tcp_default = Enum.YLeaf(76, "pcep-tcp-default")

    gre = Enum.YLeaf(77, "gre")

    vrrp = Enum.YLeaf(78, "vrrp")

    hsrp = Enum.YLeaf(79, "hsrp")

    mpls_ping = Enum.YLeaf(80, "mpls-ping")

    l2tpv2_default = Enum.YLeaf(81, "l2tpv2-default")

    l2tpv2_known = Enum.YLeaf(82, "l2tpv2-known")

    dns = Enum.YLeaf(83, "dns")

    radius = Enum.YLeaf(84, "radius")

    tacacs = Enum.YLeaf(85, "tacacs")

    ntp_default = Enum.YLeaf(86, "ntp-default")

    ntp_known = Enum.YLeaf(87, "ntp-known")

    mobile_ipv6 = Enum.YLeaf(88, "mobile-ipv6")

    amt = Enum.YLeaf(89, "amt")

    sdac_tcp = Enum.YLeaf(90, "sdac-tcp")

    radius_coa = Enum.YLeaf(91, "radius-coa")

    rel_udp = Enum.YLeaf(92, "rel-udp")

    dhcp4 = Enum.YLeaf(93, "dhcp4")

    dhcp6 = Enum.YLeaf(94, "dhcp6")

    onepk = Enum.YLeaf(95, "onepk")

    exr = Enum.YLeaf(96, "exr")
Exemple #4
0
class AclTcpPortType(Enum):
    """
    AclTcpPortType

    .. data:: bgp = 179

    .. data:: chargen = 19

    .. data:: cmd = 514

    .. data:: daytime = 13

    .. data:: discard = 9

    .. data:: domain = 53

    .. data:: echo = 7

    .. data:: exec_ = 512

    .. data:: finger = 79

    .. data:: ftp = 21

    .. data:: ftp_data = 20

    .. data:: gopher = 70

    .. data:: hostname = 101

    .. data:: ident = 113

    .. data:: irc = 194

    .. data:: klogin = 543

    .. data:: kshell = 544

    .. data:: login = 513

    .. data:: lpd = 515

    .. data:: msrpc = 135

    .. data:: nntp = 119

    .. data:: pim_auto_rp = 496

    .. data:: pop2 = 109

    .. data:: pop3 = 110

    .. data:: smtp = 25

    .. data:: sunrpc = 111

    .. data:: tacacs = 49

    .. data:: talk = 517

    .. data:: telnet = 23

    .. data:: time = 37

    .. data:: uucp = 540

    .. data:: whois = 43

    .. data:: www = 80

    """

    bgp = Enum.YLeaf(179, "bgp")

    chargen = Enum.YLeaf(19, "chargen")

    cmd = Enum.YLeaf(514, "cmd")

    daytime = Enum.YLeaf(13, "daytime")

    discard = Enum.YLeaf(9, "discard")

    domain = Enum.YLeaf(53, "domain")

    echo = Enum.YLeaf(7, "echo")

    exec_ = Enum.YLeaf(512, "exec")

    finger = Enum.YLeaf(79, "finger")

    ftp = Enum.YLeaf(21, "ftp")

    ftp_data = Enum.YLeaf(20, "ftp-data")

    gopher = Enum.YLeaf(70, "gopher")

    hostname = Enum.YLeaf(101, "hostname")

    ident = Enum.YLeaf(113, "ident")

    irc = Enum.YLeaf(194, "irc")

    klogin = Enum.YLeaf(543, "klogin")

    kshell = Enum.YLeaf(544, "kshell")

    login = Enum.YLeaf(513, "login")

    lpd = Enum.YLeaf(515, "lpd")

    msrpc = Enum.YLeaf(135, "msrpc")

    nntp = Enum.YLeaf(119, "nntp")

    pim_auto_rp = Enum.YLeaf(496, "pim-auto-rp")

    pop2 = Enum.YLeaf(109, "pop2")

    pop3 = Enum.YLeaf(110, "pop3")

    smtp = Enum.YLeaf(25, "smtp")

    sunrpc = Enum.YLeaf(111, "sunrpc")

    tacacs = Enum.YLeaf(49, "tacacs")

    talk = Enum.YLeaf(517, "talk")

    telnet = Enum.YLeaf(23, "telnet")

    time = Enum.YLeaf(37, "time")

    uucp = Enum.YLeaf(540, "uucp")

    whois = Enum.YLeaf(43, "whois")

    www = Enum.YLeaf(80, "www")
Exemple #5
0
class MonthType(Enum):
    """
    MonthType

    .. data:: Jan = 0

    .. data:: Feb = 1

    .. data:: Mar = 2

    .. data:: Apr = 3

    .. data:: May = 4

    .. data:: Jun = 5

    .. data:: Jul = 6

    .. data:: Aug = 7

    .. data:: Sep = 8

    .. data:: Oct = 9

    .. data:: Nov = 10

    .. data:: Dec = 11

    """

    Jan = Enum.YLeaf(0, "Jan")

    Feb = Enum.YLeaf(1, "Feb")

    Mar = Enum.YLeaf(2, "Mar")

    Apr = Enum.YLeaf(3, "Apr")

    May = Enum.YLeaf(4, "May")

    Jun = Enum.YLeaf(5, "Jun")

    Jul = Enum.YLeaf(6, "Jul")

    Aug = Enum.YLeaf(7, "Aug")

    Sep = Enum.YLeaf(8, "Sep")

    Oct = Enum.YLeaf(9, "Oct")

    Nov = Enum.YLeaf(10, "Nov")

    Dec = Enum.YLeaf(11, "Dec")
Exemple #6
0
class Ipv4AclIgmpNumber(Enum):
    """
    Ipv4AclIgmpNumber (Enum Class)

    Ipv4 acl igmp number

    .. data:: host_query = 17

    	Host query

    .. data:: host_report = 18

    	Host report

    .. data:: dvmrp = 19

    	Distance Vector Multicast Routing Protocol

    .. data:: pim = 20

    	Portocol Independent Multicast

    .. data:: trace = 21

    	Multicast Trace

    .. data:: v2_report = 22

    	Version 2 report

    .. data:: v2_leave = 23

    	Version 2 leave

    .. data:: mtrace_response = 30

    	MTrace response

    .. data:: mtrace = 31

    	MTrace

    .. data:: v3_report = 34

    	Version 3 report

    """

    host_query = Enum.YLeaf(17, "host-query")

    host_report = Enum.YLeaf(18, "host-report")

    dvmrp = Enum.YLeaf(19, "dvmrp")

    pim = Enum.YLeaf(20, "pim")

    trace = Enum.YLeaf(21, "trace")

    v2_report = Enum.YLeaf(22, "v2-report")

    v2_leave = Enum.YLeaf(23, "v2-leave")

    mtrace_response = Enum.YLeaf(30, "mtrace-response")

    mtrace = Enum.YLeaf(31, "mtrace")

    v3_report = Enum.YLeaf(34, "v3-report")
Exemple #7
0
class AaaDscpValue(Enum):
    """
    AaaDscpValue

    Aaa dscp value

    .. data:: af11 = 10

    	Match packets with AF11 DSCP

    .. data:: af12 = 12

    	Match packets with AF12 DSCP

    .. data:: af13 = 14

    	Match packets with AF13 DSCP

    .. data:: af21 = 18

    	Match packets with AF21 DSCP

    .. data:: af22 = 20

    	Match packets with AF22 DSCP

    .. data:: af23 = 22

    	Match packets with AF23 DSCP

    .. data:: af31 = 26

    	Match packets with AF31 DSCP

    .. data:: af32 = 28

    	Match packets with AF32 DSCP

    .. data:: af33 = 30

    	Match packets with AF33 DSCP

    .. data:: af41 = 34

    	Match packets with AF41 DSCP

    .. data:: af42 = 36

    	Match packets with AF42 DSCP

    .. data:: af43 = 38

    	Match packets with AF43 DSCP

    .. data:: cs1 = 8

    	Match packets with CS1 DSCP

    .. data:: cs2 = 16

    	Match packets with CS2 DSCP

    .. data:: cs3 = 24

    	Match packets with CS3 DSCP

    .. data:: cs4 = 32

    	Match packets with CS4 DSCP

    .. data:: cs5 = 40

    	Match packets with CS5 DSCP

    .. data:: cs6 = 48

    	Match packets with CS6 DSCP

    .. data:: cs7 = 56

    	Match packets with CS7 DSCP

    .. data:: default = 0

    	Match packets with 0000 DSCP

    .. data:: ef = 46

    	Match packets with EF DSCP

    """

    af11 = Enum.YLeaf(10, "af11")

    af12 = Enum.YLeaf(12, "af12")

    af13 = Enum.YLeaf(14, "af13")

    af21 = Enum.YLeaf(18, "af21")

    af22 = Enum.YLeaf(20, "af22")

    af23 = Enum.YLeaf(22, "af23")

    af31 = Enum.YLeaf(26, "af31")

    af32 = Enum.YLeaf(28, "af32")

    af33 = Enum.YLeaf(30, "af33")

    af41 = Enum.YLeaf(34, "af41")

    af42 = Enum.YLeaf(36, "af42")

    af43 = Enum.YLeaf(38, "af43")

    cs1 = Enum.YLeaf(8, "cs1")

    cs2 = Enum.YLeaf(16, "cs2")

    cs3 = Enum.YLeaf(24, "cs3")

    cs4 = Enum.YLeaf(32, "cs4")

    cs5 = Enum.YLeaf(40, "cs5")

    cs6 = Enum.YLeaf(48, "cs6")

    cs7 = Enum.YLeaf(56, "cs7")

    default = Enum.YLeaf(0, "default")

    ef = Enum.YLeaf(46, "ef")
Exemple #8
0
class Ccbpttargettype(Enum):
    """
    Ccbpttargettype

    A Textual Convention that represents a type of target.

    genIf(1)    A target of type interface defined by 

                CcbptTargetIdIf Textual Convention.

    atmPvc(2)   A target of type ATM PVC defined 

                by the CcbptTargetIdAtmPvc Textual Convention.

    frDlci(3)   A target of type Frame Relay DLCI 

                defined by the CcbptTargetIdFrDlci Textual 

                Convention.

    entity(4) A target of type entity defined by the 

              CcbptTargetIdEntity Textual Convention.  This target

              type is used to indicate the attachment of a Class 

              Based Policy to a physical entity.

    fwZone(5)   A target of type Firewall Security Zone

                defined by the CcbptTargetIdNameString 

                Textual Convention.

    fwZonePair(6) A target of type Firewall Security Zone 

                  defined by the CcbptTargetIdNameString

                  Textual Convention.

    aaaSession(7) A target of type AAA Session define by the

                  CcbptTargetIdAaaSession Textual Convention.

    .. data:: genIf = 1

    .. data:: atmPvc = 2

    .. data:: frDlci = 3

    .. data:: entity_ = 4

    .. data:: fwZone = 5

    .. data:: fwZonePair = 6

    .. data:: aaaSession = 7

    """

    genIf = Enum.YLeaf(1, "genIf")

    atmPvc = Enum.YLeaf(2, "atmPvc")

    frDlci = Enum.YLeaf(3, "frDlci")

    entity_ = Enum.YLeaf(4, "entity")

    fwZone = Enum.YLeaf(5, "fwZone")

    fwZonePair = Enum.YLeaf(6, "fwZonePair")

    aaaSession = Enum.YLeaf(7, "aaaSession")
class LptsPuntFlowtrapProtoId(Enum):
    """
    LptsPuntFlowtrapProtoId (Enum Class)

    Lpts punt flowtrap proto id

    .. data:: arp = 1

    	ARP

    .. data:: icmp = 2

    	Internet Control Message Protocol

    .. data:: dhcp = 3

    	Dynamic Host Configuration Protocol

    .. data:: pppoe = 4

    	PPP over Ethernet

    .. data:: ppp = 5

    	Point to point Protocol

    .. data:: igmp = 6

    	Internet Gateway Message Protocol

    .. data:: ipv4 = 7

    	IPv4

    .. data:: l2tp = 8

    	Layer2 Tunneling Protocol

    .. data:: unclassified = 9

    	Unclassified Source

    .. data:: ospf = 10

    	OSPF

    .. data:: bgp = 11

    	BGP

    .. data:: default = 12

    	All protocols

    """

    arp = Enum.YLeaf(1, "arp")

    icmp = Enum.YLeaf(2, "icmp")

    dhcp = Enum.YLeaf(3, "dhcp")

    pppoe = Enum.YLeaf(4, "pppoe")

    ppp = Enum.YLeaf(5, "ppp")

    igmp = Enum.YLeaf(6, "igmp")

    ipv4 = Enum.YLeaf(7, "ipv4")

    l2tp = Enum.YLeaf(8, "l2tp")

    unclassified = Enum.YLeaf(9, "unclassified")

    ospf = Enum.YLeaf(10, "ospf")

    bgp = Enum.YLeaf(11, "bgp")

    default = Enum.YLeaf(12, "default")


    @staticmethod
    def _meta_info():
        from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_lpts_punt_flowtrap_cfg as meta
        return meta._meta_table['LptsPuntFlowtrapProtoId']
Exemple #10
0
            class Dot5Commands(Enum):
                """
                Dot5Commands (Enum Class)

                When this object is set to the value of

                open(2), the station should go into the

                open state.  The progress and success of

                the open is given by the values of the

                objects dot5RingState and

                dot5RingOpenStatus.

                    When this object is set to the value

                of reset(3), then the station should do

                a reset.  On a reset, all MIB counters

                should retain their values, if possible.

                Other side affects are dependent on the

                hardware chip set.

                    When this object is set to the value

                of close(4), the station should go into

                the stopped state by removing itself

                from the ring.

                    Setting this object to a value of

                noop(1) has no effect.

                    When read, this object always has a

                value of noop(1).

                    The open(2) and close(4) values

                correspond to the up(1) and down(2) values

                of MIB\-II's ifAdminStatus and ifOperStatus,

                i.e., the setting of ifAdminStatus and

                dot5Commands affects the values of both

                dot5Commands and ifOperStatus.

                .. data:: noop = 1

                .. data:: open = 2

                .. data:: reset = 3

                .. data:: close = 4

                """

                noop = Enum.YLeaf(1, "noop")

                open = Enum.YLeaf(2, "open")

                reset = Enum.YLeaf(3, "reset")

                close = Enum.YLeaf(4, "close")
Exemple #11
0
            class Dot5RingOpenStatus(Enum):
                """
                Dot5RingOpenStatus (Enum Class)

                This object indicates the success, or the

                reason for failure, of the station's most

                recent attempt to enter the ring.

                .. data:: noOpen = 1

                .. data:: badParam = 2

                .. data:: lobeFailed = 3

                .. data:: signalLoss = 4

                .. data:: insertionTimeout = 5

                .. data:: ringFailed = 6

                .. data:: beaconing = 7

                .. data:: duplicateMAC = 8

                .. data:: requestFailed = 9

                .. data:: removeReceived = 10

                .. data:: open = 11

                """

                noOpen = Enum.YLeaf(1, "noOpen")

                badParam = Enum.YLeaf(2, "badParam")

                lobeFailed = Enum.YLeaf(3, "lobeFailed")

                signalLoss = Enum.YLeaf(4, "signalLoss")

                insertionTimeout = Enum.YLeaf(5, "insertionTimeout")

                ringFailed = Enum.YLeaf(6, "ringFailed")

                beaconing = Enum.YLeaf(7, "beaconing")

                duplicateMAC = Enum.YLeaf(8, "duplicateMAC")

                requestFailed = Enum.YLeaf(9, "requestFailed")

                removeReceived = Enum.YLeaf(10, "removeReceived")

                open = Enum.YLeaf(11, "open")
        class Cospfconfigerrortype(Enum):
            """
            Cospfconfigerrortype

            Potential types of configuration conflicts.

            Used  by the cospfConfigError and cospfConfigVirtError

            traps. When the last value of a trap

            using this object is needed, but no traps of

            that type have been sent, this value pertaining

            to this object should be returned as noError.

            .. data:: badVersion = 1

            .. data:: areaMismatch = 2

            .. data:: unknownNbmaNbr = 3

            .. data:: unknownVirtualNbr = 4

            .. data:: authTypeMismatch = 5

            .. data:: authFailure = 6

            .. data:: netMaskMismatch = 7

            .. data:: helloIntervalMismatch = 8

            .. data:: deadIntervalMismatch = 9

            .. data:: optionMismatch = 10

            .. data:: mtuMismatch = 11

            .. data:: noError = 12

            .. data:: unknownShamLinkNbr = 13

            """

            badVersion = Enum.YLeaf(1, "badVersion")

            areaMismatch = Enum.YLeaf(2, "areaMismatch")

            unknownNbmaNbr = Enum.YLeaf(3, "unknownNbmaNbr")

            unknownVirtualNbr = Enum.YLeaf(4, "unknownVirtualNbr")

            authTypeMismatch = Enum.YLeaf(5, "authTypeMismatch")

            authFailure = Enum.YLeaf(6, "authFailure")

            netMaskMismatch = Enum.YLeaf(7, "netMaskMismatch")

            helloIntervalMismatch = Enum.YLeaf(8, "helloIntervalMismatch")

            deadIntervalMismatch = Enum.YLeaf(9, "deadIntervalMismatch")

            optionMismatch = Enum.YLeaf(10, "optionMismatch")

            mtuMismatch = Enum.YLeaf(11, "mtuMismatch")

            noError = Enum.YLeaf(12, "noError")

            unknownShamLinkNbr = Enum.YLeaf(13, "unknownShamLinkNbr")
Exemple #13
0
class SubSessionType(Enum):
    """
    SubSessionType

    An enumerated integer\-value describing the type of subscriber

    session.  This value has the intent of refining the interface

    type assigned to a subscriber session.  The interface type

    assigned to a subscriber session groups those types of

    subscriber sessions with similar interface semantics.

    A PPP subscriber session consists of a PPP connection

    (RFC\-1661)

    and has an interface type of 'ppp'.  The following subscriber

    types refine PPP subscriber sessions\:

        'pppSubscriber'

            A PPP connection initiated over a circuit (e.g., an

    ISDN

            line or ATM VC) using the LCP (RFC\-1661).

        'pppoeSubscriber'

            A PPP connection over Ethernet (RFC\-2516), initiated

            by a PADI (PPPoE Active Discovery Initiation) packet.

        'l2tpSubscriber'

            A PPP connection over an L2TP tunnel (RFC\-2661),

            initiated by an Incoming\-Call\-Request control message.

        'l2fSubscriber'

            A PPP connection over an L2F tunnel (RFC\-2341),

            initiated by a L2F\_OPEN message with a non\-zero MID.

    An IP subscriber session consists of the routed traffic

    associated with a subscriber IP address having an interface

    type of 'ipSubscriber'.  Routed traffic describes IP traffic

    that transits at least one router.  If a subscriber's IP

    address

    is not unique to the system, further distinguishing

    characteristics, such as VRF or MAC address, form part of the

    subscriber's identity.  The following subscriber types refine

    IP

    subscriber sessions\:

        'ipInterfaceSubscriber'

            An IP subcriber session provisioned by the system's

            configuration which consists of all traffic received by

            the interface to which the provisioning applies.

        'ipPktSubscriber'

            An IP subscriber session initiated by the receipt of

    the

            first packet received with an unclassified source IP

            address.

        'ipDhcpv4Subscriber'

            An IP subscriber session initiated by the receipt of a

            DHCPv4 DISCOVER packet (RFC\-2131).

        'ipRadiusSubscriber'

            An IP subscriber session initiated by the receipt of a

            RADIUS Access\-Request packet (RFC\-2865).

    An L2 subscriber session consists of the non\-routed traffic

    associated with a subscriber IP address having an interface

    type of 'l2Subscriber'.  Non\-routed traffic describes IP

    traffic

    that doesn't transit a router, meaning that the subscriber must

    be directly connected to the system or have a connection

    through

    an L2 access network (e.g., bridges, switches, and tunnels).

    The

    following subscriber types refine L2 subscriber sessions\:

        'l2MacPacketSubscriber'

            An L2 subscriber session initiated by the receipt of

    the

            first layer 2 packet with an unclassified source MAC

            address.

        'l2Dhcpv4Subscriber'

            An L2 subscriber session initiated by the receipt of a

            DHCPv4 DISCOVER packet (RFC\-2131).

        'l2RadiusSucriber'

            An L2 subscriber session initiated by the receipt of a

            RADIUS Access\-Request packet (RFC\-2865).

    The system should assign the value 'other' to any subscriber

    session not recognized by the implementation of a MIB module

    using this textual convention.

    The value 'all' represents a special value used to indicate all

    subscriber session types.  For example, a scope of aggregation

    that includes all subscriber session types uses this value to

    indicate this fact.

    .. data:: all = 1

    .. data:: other = 2

    .. data:: pppSubscriber = 3

    .. data:: pppoeSubscriber = 4

    .. data:: l2tpSubscriber = 5

    .. data:: l2fSubscriber = 6

    .. data:: ipInterfaceSubscriber = 7

    .. data:: ipPktSubscriber = 8

    .. data:: ipDhcpv4Subscriber = 9

    .. data:: ipRadiusSubscriber = 10

    .. data:: l2MacSubscriber = 11

    .. data:: l2Dhcpv4Subscriber = 12

    .. data:: l2RadiusSubscriber = 13

    """

    all = Enum.YLeaf(1, "all")

    other = Enum.YLeaf(2, "other")

    pppSubscriber = Enum.YLeaf(3, "pppSubscriber")

    pppoeSubscriber = Enum.YLeaf(4, "pppoeSubscriber")

    l2tpSubscriber = Enum.YLeaf(5, "l2tpSubscriber")

    l2fSubscriber = Enum.YLeaf(6, "l2fSubscriber")

    ipInterfaceSubscriber = Enum.YLeaf(7, "ipInterfaceSubscriber")

    ipPktSubscriber = Enum.YLeaf(8, "ipPktSubscriber")

    ipDhcpv4Subscriber = Enum.YLeaf(9, "ipDhcpv4Subscriber")

    ipRadiusSubscriber = Enum.YLeaf(10, "ipRadiusSubscriber")

    l2MacSubscriber = Enum.YLeaf(11, "l2MacSubscriber")

    l2Dhcpv4Subscriber = Enum.YLeaf(12, "l2Dhcpv4Subscriber")

    l2RadiusSubscriber = Enum.YLeaf(13, "l2RadiusSubscriber")
class FlowExporterIpwriteStatsType(Enum):
    """
    FlowExporterIpwriteStatsType (Enum Class)

    The Netflow export statistics

    .. data:: flow_exporter_ipwrite_stats_ok = 0

    	Normal Statistics event

    .. data:: flow_exporter_ipwrite_stats_no_fib = 1

    	No Forwarding Information Base event

    .. data:: flow_exporter_ipwrite_stats_fail_event = 2

    	Adjacency failed event

    .. data:: flow_exporter_ipwrite_stats_process = 3

    	Process switch event

    .. data:: flow_exporter_ipwrite_stats_enqueue_failed = 4

    	Enqueue Failed event

    .. data:: flow_exporter_ipwrite_stats_ipc_failed = 5

    	IPC failed event

    .. data:: flow_exporter_ipwrite_stats_output_failed = 6

    	Output failed event

    .. data:: flow_exporter_ipwrite_stats_mtu_failed = 7

    	Maximum Transmission Unit failed event

    .. data:: flow_exporter_ipwrite_stats_encapfix_failed = 8

    	Encapsulation Fixup failed event

    .. data:: flow_exporter_ipwrite_stats_cef_off = 9

    	Cisco Express Forwarding off event

    .. data:: flow_exporter_ipwrite_stats_other = 10

    	Other event

    .. data:: flow_exporter_ipwrite_stats_rate_limit = 11

    	Rate Limit event

    .. data:: flow_exporter_ipwrite_stats_no_destination = 12

    	No destination event

    """

    flow_exporter_ipwrite_stats_ok = Enum.YLeaf(0, "flow-exporter-ipwrite-stats-ok")

    flow_exporter_ipwrite_stats_no_fib = Enum.YLeaf(1, "flow-exporter-ipwrite-stats-no-fib")

    flow_exporter_ipwrite_stats_fail_event = Enum.YLeaf(2, "flow-exporter-ipwrite-stats-fail-event")

    flow_exporter_ipwrite_stats_process = Enum.YLeaf(3, "flow-exporter-ipwrite-stats-process")

    flow_exporter_ipwrite_stats_enqueue_failed = Enum.YLeaf(4, "flow-exporter-ipwrite-stats-enqueue-failed")

    flow_exporter_ipwrite_stats_ipc_failed = Enum.YLeaf(5, "flow-exporter-ipwrite-stats-ipc-failed")

    flow_exporter_ipwrite_stats_output_failed = Enum.YLeaf(6, "flow-exporter-ipwrite-stats-output-failed")

    flow_exporter_ipwrite_stats_mtu_failed = Enum.YLeaf(7, "flow-exporter-ipwrite-stats-mtu-failed")

    flow_exporter_ipwrite_stats_encapfix_failed = Enum.YLeaf(8, "flow-exporter-ipwrite-stats-encapfix-failed")

    flow_exporter_ipwrite_stats_cef_off = Enum.YLeaf(9, "flow-exporter-ipwrite-stats-cef-off")

    flow_exporter_ipwrite_stats_other = Enum.YLeaf(10, "flow-exporter-ipwrite-stats-other")

    flow_exporter_ipwrite_stats_rate_limit = Enum.YLeaf(11, "flow-exporter-ipwrite-stats-rate-limit")

    flow_exporter_ipwrite_stats_no_destination = Enum.YLeaf(12, "flow-exporter-ipwrite-stats-no-destination")
Exemple #15
0
class Ipv4AclDscpNumber(Enum):
    """
    Ipv4AclDscpNumber (Enum Class)

    Ipv4 acl dscp number

    .. data:: default = 0

    	Default DSCP

    .. data:: af11 = 10

    	Match packets with AF11 DSCP

    .. data:: af12 = 12

    	Match packets with AF12 DSCP

    .. data:: af13 = 14

    	Match packets with AF13 DSCP

    .. data:: af21 = 18

    	Match packets with AF21 DSCP

    .. data:: af22 = 20

    	Match packets with AF22 DSCP

    .. data:: af23 = 22

    	Match packets with AF23 DSCP

    .. data:: af31 = 26

    	Match packets with AF31 DSCP

    .. data:: af32 = 28

    	Match packets with AF32 DSCP

    .. data:: af33 = 30

    	Match packets with AF33 DSCP

    .. data:: af41 = 34

    	Match packets with AF41 DSCP

    .. data:: af42 = 36

    	Match packets with AF42 DSCP

    .. data:: af43 = 38

    	Match packets with AF43 DSCP

    .. data:: cs1 = 8

    	Match packets with CS1 (precedence 1) DSCP

    .. data:: cs2 = 16

    	Match packets with CS2 (precedence 2) DSCP

    .. data:: cs3 = 24

    	Match packets with CS3 (precedence 3) DSCP

    .. data:: cs4 = 32

    	Match packets with CS4 (precedence 4) DSCP

    .. data:: cs5 = 40

    	Match packets with CS5 (precedence 5) DSCP

    .. data:: cs6 = 48

    	Match packets with CS6 (precedence 6) DSCP

    .. data:: cs7 = 56

    	Match packets with CS7 (precedence 7) DSCP

    .. data:: ef = 46

    	Match packets with EF DSCP

    """

    default = Enum.YLeaf(0, "default")

    af11 = Enum.YLeaf(10, "af11")

    af12 = Enum.YLeaf(12, "af12")

    af13 = Enum.YLeaf(14, "af13")

    af21 = Enum.YLeaf(18, "af21")

    af22 = Enum.YLeaf(20, "af22")

    af23 = Enum.YLeaf(22, "af23")

    af31 = Enum.YLeaf(26, "af31")

    af32 = Enum.YLeaf(28, "af32")

    af33 = Enum.YLeaf(30, "af33")

    af41 = Enum.YLeaf(34, "af41")

    af42 = Enum.YLeaf(36, "af42")

    af43 = Enum.YLeaf(38, "af43")

    cs1 = Enum.YLeaf(8, "cs1")

    cs2 = Enum.YLeaf(16, "cs2")

    cs3 = Enum.YLeaf(24, "cs3")

    cs4 = Enum.YLeaf(32, "cs4")

    cs5 = Enum.YLeaf(40, "cs5")

    cs6 = Enum.YLeaf(48, "cs6")

    cs7 = Enum.YLeaf(56, "cs7")

    ef = Enum.YLeaf(46, "ef")
Exemple #16
0
            class Cntppeersmode(Enum):
                """
                Cntppeersmode (Enum Class)

                The association mode of the NTP server, with values

                coded as follows,

                0, unspecified

                1, symmetric active \- A host operating in this mode

                        sends periodic messages regardless of the

                        reachability state or stratum of its peer.  By

                        operating in this mode the host announces its

                        willingness to synchronize and be synchronized

                        by the peer

                2, symmetric passive \- This type of association is

                        ordinarily created upon arrival of a message

                        from a peer operating in the symmetric active

                        mode and persists only as long as the peer is

                        reachable and operating at a stratum level

                        less than or equal to the host; otherwise, the

                        association is dissolved.  However, the

                        association will always persist until at least

                        one message has been sent in reply.  By

                        operating in this mode the host announces its

                        willingness to synchronize and be synchronized

                        by the peer

                3, client \-  A host operating in this mode sends

                        periodic messages regardless of the

                        reachability state or stratum of its peer.  By

                        operating in this mode the host, usually a LAN

                        workstation, announces its willingness to be

                        synchronized by, but not to synchronize the peer

                4, server \- This type of association is ordinarily

                        created upon arrival of a client request message

                        and exists only in order to reply to that

                        request, after which the association is

                        dissolved.  By operating in this mode the host,

                        usually a LAN time server, announces its

                        willingness to synchronize, but not to be

                        synchronized by the peer

                5, broadcast \- A host operating in this mode sends

                        periodic messages regardless of the

                        reachability state or stratum of the peers.

                        By operating in this mode the host, usually a

                        LAN time server operating on a high\-speed

                        broadcast medium, announces its willingness to

                        synchronize all of the peers, but not to be

                        synchronized by any of them

                6, reserved for NTP control messages

                7, reserved for private use.

                When creating a new peer association, if no value

                is specified for this object, it defaults to

                symmetricActive(1).

                .. data:: unspecified = 0

                .. data:: symmetricActive = 1

                .. data:: symmetricPassive = 2

                .. data:: client = 3

                .. data:: server = 4

                .. data:: broadcast = 5

                .. data:: reservedControl = 6

                .. data:: reservedPrivate = 7

                """

                unspecified = Enum.YLeaf(0, "unspecified")

                symmetricActive = Enum.YLeaf(1, "symmetricActive")

                symmetricPassive = Enum.YLeaf(2, "symmetricPassive")

                client = Enum.YLeaf(3, "client")

                server = Enum.YLeaf(4, "server")

                broadcast = Enum.YLeaf(5, "broadcast")

                reservedControl = Enum.YLeaf(6, "reservedControl")

                reservedPrivate = Enum.YLeaf(7, "reservedPrivate")
Exemple #17
0
class Ipv4AclIcmpTypeCodeEnum(Enum):
    """
    Ipv4AclIcmpTypeCodeEnum (Enum Class)

    Ipv4 acl icmp type code enum

    .. data:: echo_reply = 65535

    	Echo reply

    .. data:: network_unreachable = 196608

    	Network unreachable

    .. data:: host_unreachable = 196609

    	Host unreachable

    .. data:: protocol_unreachable = 196610

    	Protocol unreachable

    .. data:: port_unreachable = 196611

    	Port unreachable

    .. data:: packet_too_big = 196612

    	Fragmentation needed and DF set

    .. data:: source_route_failed = 196613

    	Source route failed

    .. data:: network_unknown = 196614

    	Network unknown

    .. data:: host_unknown = 196615

    	Host unknown

    .. data:: host_isolated = 196616

    	Host isolated

    .. data:: dod_net_prohibited = 196617

    	Network prohibited

    .. data:: dod_host_prohibited = 196618

    	Host prohibited

    .. data:: host_tos_unreachable = 196619

    	Host unreachable for TOS

    .. data:: net_tos_unreachable = 196620

    	Network unreachable for TOS

    .. data:: administratively_prohibited = 196621

    	Administratively prohibited

    .. data:: host_precedence_unreachable = 196622

    	Host unreachable for precedence

    .. data:: precedence_unreachable = 196623

    	Precedence cutoff

    .. data:: unreachable = 262143

    	All unreachables

    .. data:: source_quench = 327679

    	Source quenches

    .. data:: network_redirect = 327680

    	Network redirect

    .. data:: host_redirect = 327681

    	Host redirect

    .. data:: net_tos_redirect = 327682

    	Network redirect for TOS

    .. data:: host_tos_redirect = 327683

    	Host redirect for TOS

    .. data:: redirect = 393215

    	All redirects

    .. data:: alternate_address = 458751

    	Alternate address

    .. data:: echo = 589823

    	Echo (ping)

    .. data:: router_advertisement = 655359

    	Router discovery advertisements

    .. data:: router_solicitation = 720895

    	Router discovery solicitations

    .. data:: ttl_exceeded = 720896

    	TTL exceeded

    .. data:: reassembly_timeout = 720897

    	Reassembly timeout

    .. data:: time_exceeded = 786431

    	All time exceeds

    .. data:: general_parameter_problem = 786432

    	Parameter problem

    .. data:: option_missing = 786433

    	Parameter required but not present

    .. data:: no_room_for_option = 786434

    	Parameter required but no room

    .. data:: parameter_problem = 851967

    	All parameter problems

    .. data:: timestamp_request = 917503

    	Timestamp requests

    .. data:: timestamp_reply = 983039

    	Timestamp replies

    .. data:: information_request = 1048575

    	Information request

    .. data:: information_reply = 1114111

    	Information replies

    .. data:: mask_request = 1179647

    	Mask requests

    .. data:: mask_reply = 1245183

    	Mask replies

    .. data:: traceroute = 2031615

    	Traceroute

    .. data:: conversion_error = 2097151

    	Datagram conversion

    .. data:: mobile_redirect = 2162687

    	Mobile host redirect

    """

    echo_reply = Enum.YLeaf(65535, "echo-reply")

    network_unreachable = Enum.YLeaf(196608, "network-unreachable")

    host_unreachable = Enum.YLeaf(196609, "host-unreachable")

    protocol_unreachable = Enum.YLeaf(196610, "protocol-unreachable")

    port_unreachable = Enum.YLeaf(196611, "port-unreachable")

    packet_too_big = Enum.YLeaf(196612, "packet-too-big")

    source_route_failed = Enum.YLeaf(196613, "source-route-failed")

    network_unknown = Enum.YLeaf(196614, "network-unknown")

    host_unknown = Enum.YLeaf(196615, "host-unknown")

    host_isolated = Enum.YLeaf(196616, "host-isolated")

    dod_net_prohibited = Enum.YLeaf(196617, "dod-net-prohibited")

    dod_host_prohibited = Enum.YLeaf(196618, "dod-host-prohibited")

    host_tos_unreachable = Enum.YLeaf(196619, "host-tos-unreachable")

    net_tos_unreachable = Enum.YLeaf(196620, "net-tos-unreachable")

    administratively_prohibited = Enum.YLeaf(196621,
                                             "administratively-prohibited")

    host_precedence_unreachable = Enum.YLeaf(196622,
                                             "host-precedence-unreachable")

    precedence_unreachable = Enum.YLeaf(196623, "precedence-unreachable")

    unreachable = Enum.YLeaf(262143, "unreachable")

    source_quench = Enum.YLeaf(327679, "source-quench")

    network_redirect = Enum.YLeaf(327680, "network-redirect")

    host_redirect = Enum.YLeaf(327681, "host-redirect")

    net_tos_redirect = Enum.YLeaf(327682, "net-tos-redirect")

    host_tos_redirect = Enum.YLeaf(327683, "host-tos-redirect")

    redirect = Enum.YLeaf(393215, "redirect")

    alternate_address = Enum.YLeaf(458751, "alternate-address")

    echo = Enum.YLeaf(589823, "echo")

    router_advertisement = Enum.YLeaf(655359, "router-advertisement")

    router_solicitation = Enum.YLeaf(720895, "router-solicitation")

    ttl_exceeded = Enum.YLeaf(720896, "ttl-exceeded")

    reassembly_timeout = Enum.YLeaf(720897, "reassembly-timeout")

    time_exceeded = Enum.YLeaf(786431, "time-exceeded")

    general_parameter_problem = Enum.YLeaf(786432, "general-parameter-problem")

    option_missing = Enum.YLeaf(786433, "option-missing")

    no_room_for_option = Enum.YLeaf(786434, "no-room-for-option")

    parameter_problem = Enum.YLeaf(851967, "parameter-problem")

    timestamp_request = Enum.YLeaf(917503, "timestamp-request")

    timestamp_reply = Enum.YLeaf(983039, "timestamp-reply")

    information_request = Enum.YLeaf(1048575, "information-request")

    information_reply = Enum.YLeaf(1114111, "information-reply")

    mask_request = Enum.YLeaf(1179647, "mask-request")

    mask_reply = Enum.YLeaf(1245183, "mask-reply")

    traceroute = Enum.YLeaf(2031615, "traceroute")

    conversion_error = Enum.YLeaf(2097151, "conversion-error")

    mobile_redirect = Enum.YLeaf(2162687, "mobile-redirect")
class KeyChainMonth(Enum):
    """
    KeyChainMonth (Enum Class)

    Key chain month

    .. data:: jan = 0

    	January

    .. data:: feb = 1

    	February

    .. data:: mar = 2

    	March

    .. data:: apr = 3

    	April

    .. data:: may = 4

    	May

    .. data:: jun = 5

    	June

    .. data:: jul = 6

    	July

    .. data:: aug = 7

    	August

    .. data:: sep = 8

    	September

    .. data:: oct = 9

    	October

    .. data:: nov = 10

    	November

    .. data:: dec = 11

    	December

    """

    jan = Enum.YLeaf(0, "jan")

    feb = Enum.YLeaf(1, "feb")

    mar = Enum.YLeaf(2, "mar")

    apr = Enum.YLeaf(3, "apr")

    may = Enum.YLeaf(4, "may")

    jun = Enum.YLeaf(5, "jun")

    jul = Enum.YLeaf(6, "jul")

    aug = Enum.YLeaf(7, "aug")

    sep = Enum.YLeaf(8, "sep")

    oct = Enum.YLeaf(9, "oct")

    nov = Enum.YLeaf(10, "nov")

    dec = Enum.YLeaf(11, "dec")
Exemple #19
0
class Ipv4AclPortNumber(Enum):
    """
    Ipv4AclPortNumber (Enum Class)

    Ipv4 acl port number

    .. data:: echo = 7

    	Match on the 'echo' port number

    .. data:: discard = 9

    	Match on the 'discard' port number

    .. data:: daytime = 13

    	Match on the 'daytime' port number (TCP/SCTP

    	only)

    .. data:: char_gen = 19

    	Match on the 'chargen' port number (TCP/SCTP

    	only)

    .. data:: ftp_data = 20

    	Match on the FTP data connections port number

    	(TCP/SCTP only)

    .. data:: ftp = 21

    	Match on the 'ftp' port number (TCP/SCTP only)

    .. data:: telnet = 23

    	Match on the 'telnet' port number (TCP/SCTP

    	only)

    .. data:: smtp = 25

    	Match on the 'smtp' port number (TCP/SCTP

    	only)

    .. data:: time = 37

    	Match on the 'time' port number

    .. data:: name_server = 42

    	Match on the IEN116 name service port number

    	(UDP only)

    .. data:: who_is = 43

    	Match on the 'nicname' port number (TCP/SCTP

    	only)

    .. data:: tacacs = 49

    	Match on the 'tacacs' port number

    .. data:: dns = 53

    	Match on the 'dns' port number

    .. data:: boot_ps = 67

    	Match on the Bootstrap Protocol server port

    	number (UDP only)

    .. data:: boot_pc = 68

    	Match on the Bootstrap Protocol client port

    	number (UDP only)

    .. data:: tftp = 69

    	Match on the 'tftp' port number (UDP only)

    .. data:: gopher = 70

    	Match on the 'gopher' port number (TCP/SCTP

    	only)

    .. data:: finger = 79

    	Match on the 'finger' port number (TCP/SCTP

    	only)

    .. data:: www = 80

    	Match on the 'http' port number (TCP/SCTP

    	only)

    .. data:: host_name = 101

    	Match on the NIC hostname server port number

    	(TCP/SCTP only)

    .. data:: pop2 = 109

    	Match on the 'pop2' port number (TCP/SCTP

    	only)

    .. data:: pop3 = 110

    	Match on the 'pop3' port number (TCP/SCTP

    	only)

    .. data:: sun_rpc = 111

    	Match on the Sun RPC port number

    .. data:: ident = 113

    	Match on the 'ident' port number (TCP/SCTP

    	only)

    .. data:: nntp = 119

    	Match on the 'nntp' port number (TCP/SCTP

    	only)

    .. data:: ntp = 123

    	Match on the 'ntp' port number (UDP only)

    .. data:: net_bios_ns = 137

    	Match on the NetBIOS name service port number

    	(UDP only)

    .. data:: net_bios_dgs = 138

    	Match on the NetBIOS datagram service port

    	number (UDP only)

    .. data:: net_bios_ss = 139

    	Match on the NetBIOS session service port

    	number (UDP only)

    .. data:: snmp = 161

    	Match on the 'snmp' port number (UDP only)

    .. data:: snmp_trap = 162

    	Match on the SNMP traps port number (UDP only)

    .. data:: xdmcp = 177

    	Match on the 'xdmcp' port number (UDP only)

    .. data:: bgp = 179

    	Match on the 'bgp' port number (TCP/SCTP only)

    .. data:: irc = 194

    	Match on the 'irc' port number (TCP/SCTP only)

    .. data:: dnsix = 195

    	Match on the DNSIX security protocol auditing

    	port number (UDP only)

    .. data:: mobile_ip = 434

    	Match on the mobile IP registration port

    	number (UDP only)

    .. data:: pim_auto_rp = 496

    	Match on the PIM Auto-RP port number

    .. data:: isakmp = 500

    	Match on the 'isakmp' port number (UDP only)

    .. data:: exec_or_biff = 512

    	Match on the port used by TCP/SCTP for 'exec'

    	and by UDP for 'biff'

    .. data:: login_or_who = 513

    	Match on the port used by TCP/SCTP for 'login'

    	and by UDP for 'rwho'

    .. data:: cmd_or_syslog = 514

    	Match on the port used by TCP/SCTP for 'rcmd'

    	and by UDP for 'syslog'

    .. data:: lpd = 515

    	Match on the 'lpd' port number (TCP/SCTP only)

    .. data:: talk = 517

    	Match on the 'talk' port number

    .. data:: rip = 520

    	Match on the 'rip' port number (UDP only)

    .. data:: uucp = 540

    	Match on the 'uucp' port number (TCP/SCTP

    	only)

    .. data:: klogin = 543

    	Match on the Kerberos login port number

    	(TCP/SCTP only)

    .. data:: kshell = 544

    	Match on the Kerberos shell port number

    	(TCP/SCTP only)

    .. data:: ldp = 646

    	Match on the LDP port

    """

    echo = Enum.YLeaf(7, "echo")

    discard = Enum.YLeaf(9, "discard")

    daytime = Enum.YLeaf(13, "daytime")

    char_gen = Enum.YLeaf(19, "char-gen")

    ftp_data = Enum.YLeaf(20, "ftp-data")

    ftp = Enum.YLeaf(21, "ftp")

    telnet = Enum.YLeaf(23, "telnet")

    smtp = Enum.YLeaf(25, "smtp")

    time = Enum.YLeaf(37, "time")

    name_server = Enum.YLeaf(42, "name-server")

    who_is = Enum.YLeaf(43, "who-is")

    tacacs = Enum.YLeaf(49, "tacacs")

    dns = Enum.YLeaf(53, "dns")

    boot_ps = Enum.YLeaf(67, "boot-ps")

    boot_pc = Enum.YLeaf(68, "boot-pc")

    tftp = Enum.YLeaf(69, "tftp")

    gopher = Enum.YLeaf(70, "gopher")

    finger = Enum.YLeaf(79, "finger")

    www = Enum.YLeaf(80, "www")

    host_name = Enum.YLeaf(101, "host-name")

    pop2 = Enum.YLeaf(109, "pop2")

    pop3 = Enum.YLeaf(110, "pop3")

    sun_rpc = Enum.YLeaf(111, "sun-rpc")

    ident = Enum.YLeaf(113, "ident")

    nntp = Enum.YLeaf(119, "nntp")

    ntp = Enum.YLeaf(123, "ntp")

    net_bios_ns = Enum.YLeaf(137, "net-bios-ns")

    net_bios_dgs = Enum.YLeaf(138, "net-bios-dgs")

    net_bios_ss = Enum.YLeaf(139, "net-bios-ss")

    snmp = Enum.YLeaf(161, "snmp")

    snmp_trap = Enum.YLeaf(162, "snmp-trap")

    xdmcp = Enum.YLeaf(177, "xdmcp")

    bgp = Enum.YLeaf(179, "bgp")

    irc = Enum.YLeaf(194, "irc")

    dnsix = Enum.YLeaf(195, "dnsix")

    mobile_ip = Enum.YLeaf(434, "mobile-ip")

    pim_auto_rp = Enum.YLeaf(496, "pim-auto-rp")

    isakmp = Enum.YLeaf(500, "isakmp")

    exec_or_biff = Enum.YLeaf(512, "exec-or-biff")

    login_or_who = Enum.YLeaf(513, "login-or-who")

    cmd_or_syslog = Enum.YLeaf(514, "cmd-or-syslog")

    lpd = Enum.YLeaf(515, "lpd")

    talk = Enum.YLeaf(517, "talk")

    rip = Enum.YLeaf(520, "rip")

    uucp = Enum.YLeaf(540, "uucp")

    klogin = Enum.YLeaf(543, "klogin")

    kshell = Enum.YLeaf(544, "kshell")

    ldp = Enum.YLeaf(646, "ldp")
Exemple #20
0
class RowStatus(Enum):
    """
    RowStatus

    The RowStatus textual convention is used to manage the

    creation and deletion of conceptual rows, and is used as the

    value of the SYNTAX clause for the status column of a

    conceptual row (as described in Section 7.7.1 of [2].)

    The status column has six defined values\:

         \- `active', which indicates that the conceptual row is

         available for use by the managed device;

         \- `notInService', which indicates that the conceptual

         row exists in the agent, but is unavailable for use by

         the managed device (see NOTE below);

         \- `notReady', which indicates that the conceptual row

         exists in the agent, but is missing information

         necessary in order to be available for use by the

         managed device;

         \- `createAndGo', which is supplied by a management

         station wishing to create a new instance of a

         conceptual row and to have its status automatically set

         to active, making it available for use by the managed

         device;

         \- `createAndWait', which is supplied by a management

         station wishing to create a new instance of a

         conceptual row (but not make it available for use by

         the managed device); and,

         \- `destroy', which is supplied by a management station

         wishing to delete all of the instances associated with

         an existing conceptual row.

    Whereas five of the six values (all except `notReady') may

    be specified in a management protocol set operation, only

    three values will be returned in response to a management

    protocol retrieval operation\:  `notReady', `notInService' or

    `active'.  That is, when queried, an existing conceptual row

    has only three states\:  it is either available for use by

    the managed device (the status column has value `active');

    it is not available for use by the managed device, though

    the agent has sufficient information to make it so (the

    status column has value `notInService'); or, it is not

    available for use by the managed device, and an attempt to

    make it so would fail because the agent has insufficient

    information (the state column has value `notReady').

                             NOTE WELL

         This textual convention may be used for a MIB table,

         irrespective of whether the values of that table's

         conceptual rows are able to be modified while it is

         active, or whether its conceptual rows must be taken

         out of service in order to be modified.  That is, it is

         the responsibility of the DESCRIPTION clause of the

         status column to specify whether the status column must

         not be `active' in order for the value of some other

         column of the same conceptual row to be modified.  If

         such a specification is made, affected columns may be

         changed by an SNMP set PDU if the RowStatus would not

         be equal to `active' either immediately before or after

         processing the PDU.  In other words, if the PDU also

         contained a varbind that would change the RowStatus

         value, the column in question may be changed if the

         RowStatus was not equal to `active' as the PDU was

         received, or if the varbind sets the status to a value

         other than 'active'.

    Also note that whenever any elements of a row exist, the

    RowStatus column must also exist.

    To summarize the effect of having a conceptual row with a

    status column having a SYNTAX clause value of RowStatus,

    consider the following state diagram\:

                                 STATE

      +\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

      \|      A       \|     B     \|      C      \|      D

      \|              \|status col.\|status column\|

      \|status column \|    is     \|      is     \|status column

    ACTION    \|does not exist\|  notReady \| notInService\|  is active

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set status    \|noError    \->D\|inconsist\- \|inconsistent\-\|inconsistent\-

    column to     \|       or     \|   entValue\|        Value\|        Value

    createAndGo   \|inconsistent\- \|           \|             \|

      \|         Value\|           \|             \|

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set status    \|noError  see 1\|inconsist\- \|inconsistent\-\|inconsistent\-

    column to     \|       or     \|   entValue\|        Value\|        Value

    createAndWait \|wrongValue    \|           \|             \|

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set status    \|inconsistent\- \|inconsist\- \|noError      \|noError

    column to     \|         Value\|   entValue\|             \|

    active        \|              \|           \|             \|

      \|              \|     or    \|             \|

      \|              \|           \|             \|

      \|              \|see 2   \->D\|          \->D\|          \->D

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set status    \|inconsistent\- \|inconsist\- \|noError      \|noError   \->C

    column to     \|         Value\|   entValue\|             \|

    notInService  \|              \|           \|             \|

      \|              \|     or    \|             \|      or

      \|              \|           \|             \|

      \|              \|see 3   \->C\|          \->C\|wrongValue

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set status    \|noError       \|noError    \|noError      \|noError

    column to     \|              \|           \|             \|

    destroy       \|           \->A\|        \->A\|          \->A\|          \->A

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    set any other \|see 4         \|noError    \|noError      \|see 5

    column to some\|              \|           \|             \|

    value         \|              \|      see 1\|          \->C\|          \->D

    \-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-

    (1) goto B or C, depending on information available to the

    agent.

    (2) if other variable bindings included in the same PDU,

    provide values for all columns which are missing but

    required, then return noError and goto D.

    (3) if other variable bindings included in the same PDU,

    provide values for all columns which are missing but

    required, then return noError and goto C.

    (4) at the discretion of the agent, the return value may be

    either\:

         inconsistentName\:  because the agent does not choose to

         create such an instance when the corresponding

         RowStatus instance does not exist, or

         inconsistentValue\:  if the supplied value is

         inconsistent with the state of some other MIB object's

         value, or

         noError\: because the agent chooses to create the

         instance.

    If noError is returned, then the instance of the status

    column must also be created, and the new state is B or C,

    depending on the information available to the agent.  If

    inconsistentName or inconsistentValue is returned, the row

    remains in state A.

    (5) depending on the MIB definition for the column/table,

    either noError or inconsistentValue may be returned.

    NOTE\: Other processing of the set request may result in a

    response other than noError being returned, e.g.,

    wrongValue, noCreation, etc.

                      Conceptual Row Creation

    There are four potential interactions when creating a

    conceptual row\:  selecting an instance\-identifier which is

    not in use; creating the conceptual row; initializing any

    objects for which the agent does not supply a default; and,

    making the conceptual row available for use by the managed

    device.

    Interaction 1\: Selecting an Instance\-Identifier

    The algorithm used to select an instance\-identifier varies

    for each conceptual row.  In some cases, the instance\-

    identifier is semantically significant, e.g., the

    destination address of a route, and a management station

    selects the instance\-identifier according to the semantics.

    In other cases, the instance\-identifier is used solely to

    distinguish conceptual rows, and a management station

    without specific knowledge of the conceptual row might

    examine the instances present in order to determine an

    unused instance\-identifier.  (This approach may be used, but

    it is often highly sub\-optimal; however, it is also a

    questionable practice for a naive management station to

    attempt conceptual row creation.)

    Alternately, the MIB module which defines the conceptual row

    might provide one or more objects which provide assistance

    in determining an unused instance\-identifier.  For example,

    if the conceptual row is indexed by an integer\-value, then

    an object having an integer\-valued SYNTAX clause might be

    defined for such a purpose, allowing a management station to

    issue a management protocol retrieval operation.  In order

    to avoid unnecessary collisions between competing management

    stations, `adjacent' retrievals of this object should be

    different.

    Finally, the management station could select a pseudo\-random

    number to use as the index.  In the event that this index

    was already in use and an inconsistentValue was returned in

    response to the management protocol set operation, the

    management station should simply select a new pseudo\-random

    number and retry the operation.

    A MIB designer should choose between the two latter

    algorithms based on the size of the table (and therefore the

    efficiency of each algorithm).  For tables in which a large

    number of entries are expected, it is recommended that a MIB

    object be defined that returns an acceptable index for

    creation.  For tables with small numbers of entries, it is

    recommended that the latter pseudo\-random index mechanism be

    used.

    Interaction 2\: Creating the Conceptual Row

    Once an unused instance\-identifier has been selected, the

    management station determines if it wishes to create and

    activate the conceptual row in one transaction or in a

    negotiated set of interactions.

    Interaction 2a\: Creating and Activating the Conceptual Row

    The management station must first determine the column

    requirements, i.e., it must determine those columns for

    which it must or must not provide values.  Depending on the

    complexity of the table and the management station's

    knowledge of the agent's capabilities, this determination

    can be made locally by the management station.  Alternately,

    the management station issues a management protocol get

    operation to examine all columns in the conceptual row that

    it wishes to create.  In response, for each column, there

    are three possible outcomes\:

         \- a value is returned, indicating that some other

         management station has already created this conceptual

         row.  We return to interaction 1.

         \- the exception `noSuchInstance' is returned,

         indicating that the agent implements the object\-type

         associated with this column, and that this column in at

         least one conceptual row would be accessible in the MIB

         view used by the retrieval were it to exist. For those

         columns to which the agent provides read\-create access,

         the `noSuchInstance' exception tells the management

         station that it should supply a value for this column

         when the conceptual row is to be created.

         \- the exception `noSuchObject' is returned, indicating

         that the agent does not implement the object\-type

         associated with this column or that there is no

         conceptual row for which this column would be

         accessible in the MIB view used by the retrieval.  As

         such, the management station can not issue any

         management protocol set operations to create an

         instance of this column.

    Once the column requirements have been determined, a

    management protocol set operation is accordingly issued.

    This operation also sets the new instance of the status

    column to `createAndGo'.

    When the agent processes the set operation, it verifies that

    it has sufficient information to make the conceptual row

    available for use by the managed device.  The information

    available to the agent is provided by two sources\:  the

    management protocol set operation which creates the

    conceptual row, and, implementation\-specific defaults

    supplied by the agent (note that an agent must provide

    implementation\-specific defaults for at least those objects

    which it implements as read\-only).  If there is sufficient

    information available, then the conceptual row is created, a

    `noError' response is returned, the status column is set to

    `active', and no further interactions are necessary (i.e.,

    interactions 3 and 4 are skipped).  If there is insufficient

    information, then the conceptual row is not created, and the

    set operation fails with an error of `inconsistentValue'.

    On this error, the management station can issue a management

    protocol retrieval operation to determine if this was

    because it failed to specify a value for a required column,

    or, because the selected instance of the status column

    already existed.  In the latter case, we return to

    interaction 1.  In the former case, the management station

    can re\-issue the set operation with the additional

    information, or begin interaction 2 again using

    `createAndWait' in order to negotiate creation of the

    conceptual row.

                             NOTE WELL

         Regardless of the method used to determine the column

         requirements, it is possible that the management

         station might deem a column necessary when, in fact,

         the agent will not allow that particular columnar

         instance to be created or written.  In this case, the

         management protocol set operation will fail with an

         error such as `noCreation' or `notWritable'.  In this

         case, the management station decides whether it needs

         to be able to set a value for that particular columnar

         instance.  If not, the management station re\-issues the

         management protocol set operation, but without setting

         a value for that particular columnar instance;

         otherwise, the management station aborts the row

         creation algorithm.

    Interaction 2b\: Negotiating the Creation of the Conceptual

    Row

    The management station issues a management protocol set

    operation which sets the desired instance of the status

    column to `createAndWait'.  If the agent is unwilling to

    process a request of this sort, the set operation fails with

    an error of `wrongValue'.  (As a consequence, such an agent

    must be prepared to accept a single management protocol set

    operation, i.e., interaction 2a above, containing all of the

    columns indicated by its column requirements.)  Otherwise,

    the conceptual row is created, a `noError' response is

    returned, and the status column is immediately set to either

    `notInService' or `notReady', depending on whether it has

    sufficient information to make the conceptual row available

    for use by the managed device.  If there is sufficient

    information available, then the status column is set to

    `notInService'; otherwise, if there is insufficient

    information, then the status column is set to `notReady'.

    Regardless, we proceed to interaction 3.

    Interaction 3\: Initializing non\-defaulted Objects

    The management station must now determine the column

    requirements.  It issues a management protocol get operation

    to examine all columns in the created conceptual row.  In

    the response, for each column, there are three possible

    outcomes\:

         \- a value is returned, indicating that the agent

         implements the object\-type associated with this column

         and had sufficient information to provide a value.  For

         those columns to which the agent provides read\-create

         access (and for which the agent allows their values to

         be changed after their creation), a value return tells

         the management station that it may issue additional

         management protocol set operations, if it desires, in

         order to change the value associated with this column.

         \- the exception `noSuchInstance' is returned,

         indicating that the agent implements the object\-type

         associated with this column, and that this column in at

         least one conceptual row would be accessible in the MIB

         view used by the retrieval were it to exist. However,

         the agent does not have sufficient information to

         provide a value, and until a value is provided, the

         conceptual row may not be made available for use by the

         managed device.  For those columns to which the agent

         provides read\-create access, the `noSuchInstance'

         exception tells the management station that it must

         issue additional management protocol set operations, in

         order to provide a value associated with this column.

         \- the exception `noSuchObject' is returned, indicating

         that the agent does not implement the object\-type

         associated with this column or that there is no

         conceptual row for which this column would be

         accessible in the MIB view used by the retrieval.  As

         such, the management station can not issue any

         management protocol set operations to create an

         instance of this column.

    If the value associated with the status column is

    `notReady', then the management station must first deal with

    all `noSuchInstance' columns, if any.  Having done so, the

    value of the status column becomes `notInService', and we

    proceed to interaction 4.

    Interaction 4\: Making the Conceptual Row Available

    Once the management station is satisfied with the values

    associated with the columns of the conceptual row, it issues

    a management protocol set operation to set the status column

    to `active'.  If the agent has sufficient information to

    make the conceptual row available for use by the managed

    device, the management protocol set operation succeeds (a

    `noError' response is returned).  Otherwise, the management

    protocol set operation fails with an error of

    `inconsistentValue'.

                             NOTE WELL

         A conceptual row having a status column with value

         `notInService' or `notReady' is unavailable to the

         managed device.  As such, it is possible for the

         managed device to create its own instances during the

         time between the management protocol set operation

         which sets the status column to `createAndWait' and the

         management protocol set operation which sets the status

         column to `active'.  In this case, when the management

         protocol set operation is issued to set the status

         column to `active', the values held in the agent

         supersede those used by the managed device.

    If the management station is prevented from setting the

    status column to `active' (e.g., due to management station

    or network failure) the conceptual row will be left in the

    `notInService' or `notReady' state, consuming resources

    indefinitely.  The agent must detect conceptual rows that

    have been in either state for an abnormally long period of

    time and remove them.  It is the responsibility of the

    DESCRIPTION clause of the status column to indicate what an

    abnormally long period of time would be.  This period of

    time should be long enough to allow for human response time

    (including `think time') between the creation of the

    conceptual row and the setting of the status to `active'.

    In the absense of such information in the DESCRIPTION

    clause, it is suggested that this period be approximately 5

    minutes in length.  This removal action applies not only to

    newly\-created rows, but also to previously active rows which

    are set to, and left in, the notInService state for a

    prolonged period exceeding that which is considered normal

    for such a conceptual row.

                     Conceptual Row Suspension

    When a conceptual row is `active', the management station

    may issue a management protocol set operation which sets the

    instance of the status column to `notInService'.  If the

    agent is unwilling to do so, the set operation fails with an

    error of `wrongValue'.  Otherwise, the conceptual row is

    taken out of service, and a `noError' response is returned.

    It is the responsibility of the DESCRIPTION clause of the

    status column to indicate under what circumstances the

    status column should be taken out of service (e.g., in order

    for the value of some other column of the same conceptual

    row to be modified).

                      Conceptual Row Deletion

    For deletion of conceptual rows, a management protocol set

    operation is issued which sets the instance of the status

    column to `destroy'.  This request may be made regardless of

    the current value of the status column (e.g., it is possible

    to delete conceptual rows which are either `notReady',

    `notInService' or `active'.)  If the operation succeeds,

    then all instances associated with the conceptual row are

    immediately removed.

    .. data:: active = 1

    .. data:: notInService = 2

    .. data:: notReady = 3

    .. data:: createAndGo = 4

    .. data:: createAndWait = 5

    .. data:: destroy = 6

    """

    active = Enum.YLeaf(1, "active")

    notInService = Enum.YLeaf(2, "notInService")

    notReady = Enum.YLeaf(3, "notReady")

    createAndGo = Enum.YLeaf(4, "createAndGo")

    createAndWait = Enum.YLeaf(5, "createAndWait")

    destroy = Enum.YLeaf(6, "destroy")
Exemple #21
0
class AclUdpPortType(Enum):
    """
    AclUdpPortType

    .. data:: biff = 512

    .. data:: bootpc = 68

    .. data:: bootps = 67

    .. data:: discard = 9

    .. data:: dnsix = 195

    .. data:: domain = 53

    .. data:: echo = 7

    .. data:: isakmp = 500

    .. data:: mobile_ip = 434

    .. data:: nameserver = 42

    .. data:: netbios_dgm = 138

    .. data:: netbios_ns = 137

    .. data:: netbios_ss = 139

    .. data:: non500_isakmp = 4500

    .. data:: ntp = 123

    .. data:: pim_auto_rp = 496

    .. data:: rip = 520

    .. data:: ripv6 = 521

    .. data:: snmp = 161

    .. data:: snmptrap = 162

    .. data:: sunrpc = 111

    .. data:: syslog = 514

    .. data:: tacacs = 49

    .. data:: talk = 517

    .. data:: tftp = 69

    .. data:: time = 37

    .. data:: who = 513

    .. data:: xdmcp = 177

    """

    biff = Enum.YLeaf(512, "biff")

    bootpc = Enum.YLeaf(68, "bootpc")

    bootps = Enum.YLeaf(67, "bootps")

    discard = Enum.YLeaf(9, "discard")

    dnsix = Enum.YLeaf(195, "dnsix")

    domain = Enum.YLeaf(53, "domain")

    echo = Enum.YLeaf(7, "echo")

    isakmp = Enum.YLeaf(500, "isakmp")

    mobile_ip = Enum.YLeaf(434, "mobile-ip")

    nameserver = Enum.YLeaf(42, "nameserver")

    netbios_dgm = Enum.YLeaf(138, "netbios-dgm")

    netbios_ns = Enum.YLeaf(137, "netbios-ns")

    netbios_ss = Enum.YLeaf(139, "netbios-ss")

    non500_isakmp = Enum.YLeaf(4500, "non500-isakmp")

    ntp = Enum.YLeaf(123, "ntp")

    pim_auto_rp = Enum.YLeaf(496, "pim-auto-rp")

    rip = Enum.YLeaf(520, "rip")

    ripv6 = Enum.YLeaf(521, "ripv6")

    snmp = Enum.YLeaf(161, "snmp")

    snmptrap = Enum.YLeaf(162, "snmptrap")

    sunrpc = Enum.YLeaf(111, "sunrpc")

    syslog = Enum.YLeaf(514, "syslog")

    tacacs = Enum.YLeaf(49, "tacacs")

    talk = Enum.YLeaf(517, "talk")

    tftp = Enum.YLeaf(69, "tftp")

    time = Enum.YLeaf(37, "time")

    who = Enum.YLeaf(513, "who")

    xdmcp = Enum.YLeaf(177, "xdmcp")
class AlarmSeverity(Enum):
    """
    AlarmSeverity

    Each alarm type defined by a vendor type employed by the

    system has an associated severity.  Bellcore TR\-NWT\-000474

    defines these severities as follows\:

    'critical'  An alarm used to indicate a severe, service\-

                affecting condition has occurred and that immediate

                corrective action is imperative, regardless of the

                time of day or day of the week.

    'major'     An alarm used for hardware or software conditions

                that indicate a serious disruption of service or the

                malfunctioning or failure of important hardware.

                These troubles require the immediate attention and

                response of a technician to restore or maintain

                system capability.  The urgency is less than in

                critical situations because of a lesser immediate

                or impending effect on service or system

                performance.

    'minor'     An alarm used for troubles that do not have a

                serious effect on service to customers or for

                troubles in hardware that are not essential to

                the operation of the system.

    'info'      An indication used to raise attention to a condition

                that could possibly be an impending problem or to 

                notify the customer of an event that improves

                operation.

    .. data:: critical = 1

    .. data:: major = 2

    .. data:: minor = 3

    .. data:: info = 4

    """

    critical = Enum.YLeaf(1, "critical")

    major = Enum.YLeaf(2, "major")

    minor = Enum.YLeaf(3, "minor")

    info = Enum.YLeaf(4, "info")
Exemple #23
0
class DscpType(Enum):
    """
    DscpType

    .. data:: af11 = 10

    .. data:: af12 = 12

    .. data:: af13 = 14

    .. data:: af21 = 18

    .. data:: af22 = 20

    .. data:: af23 = 22

    .. data:: af31 = 26

    .. data:: af32 = 28

    .. data:: af33 = 30

    .. data:: af41 = 34

    .. data:: af42 = 36

    .. data:: af43 = 38

    .. data:: cs1 = 8

    .. data:: cs2 = 16

    .. data:: cs3 = 24

    .. data:: cs4 = 32

    .. data:: cs5 = 40

    .. data:: cs6 = 48

    .. data:: cs7 = 56

    .. data:: default = 0

    .. data:: dscp = 57

    .. data:: ef = 46

    .. data:: precedence = 58

    """

    af11 = Enum.YLeaf(10, "af11")

    af12 = Enum.YLeaf(12, "af12")

    af13 = Enum.YLeaf(14, "af13")

    af21 = Enum.YLeaf(18, "af21")

    af22 = Enum.YLeaf(20, "af22")

    af23 = Enum.YLeaf(22, "af23")

    af31 = Enum.YLeaf(26, "af31")

    af32 = Enum.YLeaf(28, "af32")

    af33 = Enum.YLeaf(30, "af33")

    af41 = Enum.YLeaf(34, "af41")

    af42 = Enum.YLeaf(36, "af42")

    af43 = Enum.YLeaf(38, "af43")

    cs1 = Enum.YLeaf(8, "cs1")

    cs2 = Enum.YLeaf(16, "cs2")

    cs3 = Enum.YLeaf(24, "cs3")

    cs4 = Enum.YLeaf(32, "cs4")

    cs5 = Enum.YLeaf(40, "cs5")

    cs6 = Enum.YLeaf(48, "cs6")

    cs7 = Enum.YLeaf(56, "cs7")

    default = Enum.YLeaf(0, "default")

    dscp = Enum.YLeaf(57, "dscp")

    ef = Enum.YLeaf(46, "ef")

    precedence = Enum.YLeaf(58, "precedence")
class DpaTable(Enum):
    """
    DpaTable (Enum Class)

    Dpa table

    .. data:: test_if = 0

    	test if

    .. data:: test_nhg = 1

    	test nhg

    .. data:: test_nh = 2

    	test nh

    .. data:: test_rt = 3

    	test rt

    .. data:: test_dynhg = 4

    	testdynhg

    .. data:: test_ip_punt_policy = 5

    	test ippuntpolicy

    .. data:: test_punt = 6

    	test punt

    .. data:: test_punt_policy_stats = 7

    	testpuntpolicystats

    .. data:: test_async_update = 8

    	testasyncupdate

    .. data:: test_ddel_q = 9

    	test ddel q

    .. data:: bdbvi = 10

    	bdbvi

    .. data:: sys = 11

    	sys

    .. data:: npu = 12

    	npu

    .. data:: npuhwid = 13

    	npuhwid

    .. data:: l1_port = 14

    	l1port

    .. data:: l2_port = 15

    	l2port

    .. data:: l2intf = 16

    	l2intf

    .. data:: mplspwe_port = 17

    	mplspweport

    .. data:: mhpwe_port = 18

    	mhpweport

    .. data:: l2xc = 19

    	l2xc

    .. data:: l2vpnstats = 20

    	l2vpnstats

    .. data:: l1_ports_tats = 21

    	l1portstats

    .. data:: l3intf = 22

    	l3intf

    .. data:: l3intfrxstats = 23

    	l3intfrxstats

    .. data:: ip_route = 24

    	iproute

    .. data:: ip6_route = 25

    	ip6route

    .. data:: punt_policy_stats = 26

    	puntpolicystats

    .. data:: ip_punt_policy = 27

    	ippuntpolicy

    .. data:: ip6_punt_policy = 28

    	ip6puntpolicy

    .. data:: isis_punt_policy = 29

    	isispuntpolicy

    .. data:: ipnh_group = 30

    	ipnhgroup

    .. data:: ip6nh_group = 31

    	ip6nhgroup

    .. data:: ipnh = 32

    	ipnh

    .. data:: ip6nh = 33

    	ip6nh

    .. data:: ipvrf = 34

    	ipvrf

    .. data:: mplsnh = 35

    	mplsnh

    .. data:: mpls_label = 36

    	mplslabel

    .. data:: dnx_trap = 37

    	dnx trap

    .. data:: punt = 38

    	punt

    .. data:: punt_police_r = 39

    	puntpolicer

    .. data:: punt_lpts_police_r = 40

    	puntlptspolicer

    .. data:: punt_stats = 41

    	puntstats

    .. data:: tm_port = 42

    	tmport

    .. data:: span_session = 43

    	spansession

    .. data:: police_rstats = 44

    	policerstats

    .. data:: tm_ports_tats = 45

    	tmportstats

    .. data:: l3intftxstats = 46

    	l3intftxstats

    .. data:: mplstetxstats = 47

    	mplstetxstats

    .. data:: mplslblstats = 48

    	mplslblstats

    .. data:: police_r = 49

    	policer

    .. data:: l2intfrxstats = 50

    	l2intfrxstats

    .. data:: l2intftxstats = 51

    	l2intftxstats

    .. data:: dnx_pbr_tt_ipv4 = 52

    	dnx pbr tt ipv4

    .. data:: dnx_pbr_tt_ipv6 = 53

    	dnx pbr tt ipv6

    .. data:: bfdhwoff = 54

    	bfdhwoff

    .. data:: global_ = 55

    	global

    .. data:: lag_port = 56

    	lagport

    .. data:: qos_profile = 57

    	qosprofile

    .. data:: tmrate_profile = 58

    	tmrateprofile

    .. data:: dnx_port_range = 59

    	dnx port range

    .. data:: ipacl = 60

    	ipacl

    .. data:: ip6acl = 61

    	ip6acl

    .. data:: sched_tree = 62

    	schedtree

    .. data:: tmcos = 63

    	tmcos

    .. data:: statsagg = 64

    	statsagg

    .. data:: nhprotect = 65

    	nhprotect

    .. data:: sampler = 66

    	sampler

    .. data:: l2qos = 67

    	l2qos

    .. data:: peer_qos = 68

    	peerqos

    .. data:: ipqos = 69

    	ipqos

    .. data:: ip6qos = 70

    	ip6qos

    .. data:: mplsqos = 71

    	mplsqos

    .. data:: qosid = 72

    	qosid

    .. data:: extlif = 73

    	extlif

    .. data:: elif_ = 74

    	elif

    .. data:: ingaclstats = 75

    	ingaclstats

    .. data:: egraclstats = 76

    	egraclstats

    .. data:: edpl = 77

    	edpl

    .. data:: cfmmaid = 78

    	cfmmaid

    .. data:: cfmdefmps = 79

    	cfmdefmps

    .. data:: cfmofflmep = 80

    	cfmofflmep

    .. data:: cfmoffrmep = 81

    	cfmoffrmep

    .. data:: cfmnonoff = 82

    	cfmnonoff

    .. data:: cfmhwoffrxstats = 83

    	cfmhwoffrxstats

    .. data:: ipmc_route = 84

    	ipmcroute

    .. data:: l2ipmc_route = 85

    	l2ipmcroute

    .. data:: ipmco_list = 86

    	ipmcolist

    .. data:: l2mco_list = 87

    	l2mcolist

    .. data:: ipmc_merge_do_list = 88

    	ipmcmergedolist

    .. data:: sgfgid_list = 89

    	sgfgidlist

    .. data:: meshmc = 90

    	meshmc

    .. data:: l2_bridge = 91

    	l2bridge

    .. data:: l2_bridge_port = 92

    	l2bridgeport

    .. data:: l2_bridge_mac = 93

    	l2bridgemac

    .. data:: l2brmac = 94

    	l2brmac

    .. data:: ip_tunnel_decap = 95

    	iptunneldecap

    .. data:: l2vlan_range = 96

    	l2vlanrange

    .. data:: ip_tunnel_encap = 97

    	iptunnelencap

    .. data:: rawget = 98

    	rawget

    .. data:: ip6mc_route = 99

    	ip6mcroute

    .. data:: l2evpnact_remote_peer_id = 100

    	l2evpnactremotepeerid

    .. data:: l2evpnact_local_shl = 101

    	l2evpnactlocalshl

    .. data:: l2evpnact_remote_shl = 102

    	l2evpnactremoteshl

    .. data:: evpn_iml_range = 103

    	evpn imlrange

    .. data:: l2_bridge_o_list = 104

    	l2bridgeolist

    .. data:: l2acl = 105

    	l2acl

    .. data:: l2evpn_nh = 106

    	l2evpn nh

    .. data:: l2_bridge_port_sc = 107

    	l2bridgeport sc

    .. data:: l3intfmctxstats = 108

    	l3intfmctxstats

    .. data:: tidl_sample = 109

    	tidl sample

    .. data:: tidl_ref_sample = 110

    	tidl ref sample

    .. data:: ipacl_prefix = 111

    	ipaclprefix

    .. data:: ip6acl_prefix = 112

    	ip6aclprefix

    .. data:: ipacl_port = 113

    	ipaclport

    .. data:: scaleacl = 114

    	scaleacl

    .. data:: ipmcf_hop = 115

    	ipmcfhop

    .. data:: bundle_swoff = 116

    	bundle swoff

    .. data:: mcidswoff = 117

    	mcidswoff

    .. data:: dest_map = 118

    	destmap

    .. data:: l2_bridge_port_pw = 119

    	l2bridgeport pw

    .. data:: l2evpnact_local_shlstats = 120

    	l2evpnactlocalshlstats

    .. data:: test_hidden = 121

    	testhidden

    .. data:: test_local = 122

    	testlocal

    .. data:: test_repeated = 123

    	testrepeated

    .. data:: limd = 124

    	limd

    .. data:: litap = 125

    	litap

    .. data:: test_xtf = 126

    	test xtf

    .. data:: ipmcrxstats = 127

    	ipmcrxstats

    """

    test_if = Enum.YLeaf(0, "test-if")

    test_nhg = Enum.YLeaf(1, "test-nhg")

    test_nh = Enum.YLeaf(2, "test-nh")

    test_rt = Enum.YLeaf(3, "test-rt")

    test_dynhg = Enum.YLeaf(4, "test-dynhg")

    test_ip_punt_policy = Enum.YLeaf(5, "test-ip-punt-policy")

    test_punt = Enum.YLeaf(6, "test-punt")

    test_punt_policy_stats = Enum.YLeaf(7, "test-punt-policy-stats")

    test_async_update = Enum.YLeaf(8, "test-async-update")

    test_ddel_q = Enum.YLeaf(9, "test-ddel-q")

    bdbvi = Enum.YLeaf(10, "bdbvi")

    sys = Enum.YLeaf(11, "sys")

    npu = Enum.YLeaf(12, "npu")

    npuhwid = Enum.YLeaf(13, "npuhwid")

    l1_port = Enum.YLeaf(14, "l1-port")

    l2_port = Enum.YLeaf(15, "l2-port")

    l2intf = Enum.YLeaf(16, "l2intf")

    mplspwe_port = Enum.YLeaf(17, "mplspwe-port")

    mhpwe_port = Enum.YLeaf(18, "mhpwe-port")

    l2xc = Enum.YLeaf(19, "l2xc")

    l2vpnstats = Enum.YLeaf(20, "l2vpnstats")

    l1_ports_tats = Enum.YLeaf(21, "l1-ports-tats")

    l3intf = Enum.YLeaf(22, "l3intf")

    l3intfrxstats = Enum.YLeaf(23, "l3intfrxstats")

    ip_route = Enum.YLeaf(24, "ip-route")

    ip6_route = Enum.YLeaf(25, "ip6-route")

    punt_policy_stats = Enum.YLeaf(26, "punt-policy-stats")

    ip_punt_policy = Enum.YLeaf(27, "ip-punt-policy")

    ip6_punt_policy = Enum.YLeaf(28, "ip6-punt-policy")

    isis_punt_policy = Enum.YLeaf(29, "isis-punt-policy")

    ipnh_group = Enum.YLeaf(30, "ipnh-group")

    ip6nh_group = Enum.YLeaf(31, "ip6nh-group")

    ipnh = Enum.YLeaf(32, "ipnh")

    ip6nh = Enum.YLeaf(33, "ip6nh")

    ipvrf = Enum.YLeaf(34, "ipvrf")

    mplsnh = Enum.YLeaf(35, "mplsnh")

    mpls_label = Enum.YLeaf(36, "mpls-label")

    dnx_trap = Enum.YLeaf(37, "dnx-trap")

    punt = Enum.YLeaf(38, "punt")

    punt_police_r = Enum.YLeaf(39, "punt-police-r")

    punt_lpts_police_r = Enum.YLeaf(40, "punt-lpts-police-r")

    punt_stats = Enum.YLeaf(41, "punt-stats")

    tm_port = Enum.YLeaf(42, "tm-port")

    span_session = Enum.YLeaf(43, "span-session")

    police_rstats = Enum.YLeaf(44, "police-rstats")

    tm_ports_tats = Enum.YLeaf(45, "tm-ports-tats")

    l3intftxstats = Enum.YLeaf(46, "l3intftxstats")

    mplstetxstats = Enum.YLeaf(47, "mplstetxstats")

    mplslblstats = Enum.YLeaf(48, "mplslblstats")

    police_r = Enum.YLeaf(49, "police-r")

    l2intfrxstats = Enum.YLeaf(50, "l2intfrxstats")

    l2intftxstats = Enum.YLeaf(51, "l2intftxstats")

    dnx_pbr_tt_ipv4 = Enum.YLeaf(52, "dnx-pbr-tt-ipv4")

    dnx_pbr_tt_ipv6 = Enum.YLeaf(53, "dnx-pbr-tt-ipv6")

    bfdhwoff = Enum.YLeaf(54, "bfdhwoff")

    global_ = Enum.YLeaf(55, "global")

    lag_port = Enum.YLeaf(56, "lag-port")

    qos_profile = Enum.YLeaf(57, "qos-profile")

    tmrate_profile = Enum.YLeaf(58, "tmrate-profile")

    dnx_port_range = Enum.YLeaf(59, "dnx-port-range")

    ipacl = Enum.YLeaf(60, "ipacl")

    ip6acl = Enum.YLeaf(61, "ip6acl")

    sched_tree = Enum.YLeaf(62, "sched-tree")

    tmcos = Enum.YLeaf(63, "tmcos")

    statsagg = Enum.YLeaf(64, "statsagg")

    nhprotect = Enum.YLeaf(65, "nhprotect")

    sampler = Enum.YLeaf(66, "sampler")

    l2qos = Enum.YLeaf(67, "l2qos")

    peer_qos = Enum.YLeaf(68, "peer-qos")

    ipqos = Enum.YLeaf(69, "ipqos")

    ip6qos = Enum.YLeaf(70, "ip6qos")

    mplsqos = Enum.YLeaf(71, "mplsqos")

    qosid = Enum.YLeaf(72, "qosid")

    extlif = Enum.YLeaf(73, "extlif")

    elif_ = Enum.YLeaf(74, "elif")

    ingaclstats = Enum.YLeaf(75, "ingaclstats")

    egraclstats = Enum.YLeaf(76, "egraclstats")

    edpl = Enum.YLeaf(77, "edpl")

    cfmmaid = Enum.YLeaf(78, "cfmmaid")

    cfmdefmps = Enum.YLeaf(79, "cfmdefmps")

    cfmofflmep = Enum.YLeaf(80, "cfmofflmep")

    cfmoffrmep = Enum.YLeaf(81, "cfmoffrmep")

    cfmnonoff = Enum.YLeaf(82, "cfmnonoff")

    cfmhwoffrxstats = Enum.YLeaf(83, "cfmhwoffrxstats")

    ipmc_route = Enum.YLeaf(84, "ipmc-route")

    l2ipmc_route = Enum.YLeaf(85, "l2ipmc-route")

    ipmco_list = Enum.YLeaf(86, "ipmco-list")

    l2mco_list = Enum.YLeaf(87, "l2mco-list")

    ipmc_merge_do_list = Enum.YLeaf(88, "ipmc-merge-do-list")

    sgfgid_list = Enum.YLeaf(89, "sgfgid-list")

    meshmc = Enum.YLeaf(90, "meshmc")

    l2_bridge = Enum.YLeaf(91, "l2-bridge")

    l2_bridge_port = Enum.YLeaf(92, "l2-bridge-port")

    l2_bridge_mac = Enum.YLeaf(93, "l2-bridge-mac")

    l2brmac = Enum.YLeaf(94, "l2brmac")

    ip_tunnel_decap = Enum.YLeaf(95, "ip-tunnel-decap")

    l2vlan_range = Enum.YLeaf(96, "l2vlan-range")

    ip_tunnel_encap = Enum.YLeaf(97, "ip-tunnel-encap")

    rawget = Enum.YLeaf(98, "rawget")

    ip6mc_route = Enum.YLeaf(99, "ip6mc-route")

    l2evpnact_remote_peer_id = Enum.YLeaf(100, "l2evpnact-remote-peer-id")

    l2evpnact_local_shl = Enum.YLeaf(101, "l2evpnact-local-shl")

    l2evpnact_remote_shl = Enum.YLeaf(102, "l2evpnact-remote-shl")

    evpn_iml_range = Enum.YLeaf(103, "evpn-iml-range")

    l2_bridge_o_list = Enum.YLeaf(104, "l2-bridge-o-list")

    l2acl = Enum.YLeaf(105, "l2acl")

    l2evpn_nh = Enum.YLeaf(106, "l2evpn-nh")

    l2_bridge_port_sc = Enum.YLeaf(107, "l2-bridge-port-sc")

    l3intfmctxstats = Enum.YLeaf(108, "l3intfmctxstats")

    tidl_sample = Enum.YLeaf(109, "tidl-sample")

    tidl_ref_sample = Enum.YLeaf(110, "tidl-ref-sample")

    ipacl_prefix = Enum.YLeaf(111, "ipacl-prefix")

    ip6acl_prefix = Enum.YLeaf(112, "ip6acl-prefix")

    ipacl_port = Enum.YLeaf(113, "ipacl-port")

    scaleacl = Enum.YLeaf(114, "scaleacl")

    ipmcf_hop = Enum.YLeaf(115, "ipmcf-hop")

    bundle_swoff = Enum.YLeaf(116, "bundle-swoff")

    mcidswoff = Enum.YLeaf(117, "mcidswoff")

    dest_map = Enum.YLeaf(118, "dest-map")

    l2_bridge_port_pw = Enum.YLeaf(119, "l2-bridge-port-pw")

    l2evpnact_local_shlstats = Enum.YLeaf(120, "l2evpnact-local-shlstats")

    test_hidden = Enum.YLeaf(121, "test-hidden")

    test_local = Enum.YLeaf(122, "test-local")

    test_repeated = Enum.YLeaf(123, "test-repeated")

    limd = Enum.YLeaf(124, "limd")

    litap = Enum.YLeaf(125, "litap")

    test_xtf = Enum.YLeaf(126, "test-xtf")

    ipmcrxstats = Enum.YLeaf(127, "ipmcrxstats")
class CollectIonInterval(Enum):
    """
    CollectIonInterval (Enum Class)

    Collect ion interval

    .. data:: Y_1_minute = 1

    	Interval1minute

    .. data:: Y_2_minutes = 2

    	Interval2minutes

    .. data:: Y_3_minutes = 3

    	Interval3minutes

    .. data:: Y_4_minutes = 4

    	Interval4minutes

    .. data:: Y_5_minutes = 5

    	Interval5minutes

    .. data:: Y_6_minutes = 6

    	Interval6minutes

    .. data:: Y_10_minutes = 10

    	Interval10minutes

    .. data:: Y_12_minutes = 12

    	Interval12minutes

    .. data:: Y_15_minutes = 15

    	Interval15inutes

    .. data:: Y_20_minutes = 20

    	Interval20minutes

    .. data:: Y_30_minutes = 30

    	Interval30minutes

    .. data:: Y_60_minutes = 60

    	Interval60minutes

    """

    Y_1_minute = Enum.YLeaf(1, "1-minute")

    Y_2_minutes = Enum.YLeaf(2, "2-minutes")

    Y_3_minutes = Enum.YLeaf(3, "3-minutes")

    Y_4_minutes = Enum.YLeaf(4, "4-minutes")

    Y_5_minutes = Enum.YLeaf(5, "5-minutes")

    Y_6_minutes = Enum.YLeaf(6, "6-minutes")

    Y_10_minutes = Enum.YLeaf(10, "10-minutes")

    Y_12_minutes = Enum.YLeaf(12, "12-minutes")

    Y_15_minutes = Enum.YLeaf(15, "15-minutes")

    Y_20_minutes = Enum.YLeaf(20, "20-minutes")

    Y_30_minutes = Enum.YLeaf(30, "30-minutes")

    Y_60_minutes = Enum.YLeaf(60, "60-minutes")

    @staticmethod
    def _meta_info():
        from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_infra_tc_cfg as meta
        return meta._meta_table['CollectIonInterval']
Exemple #26
0
class RackId(Enum):
    """
    RackId (Enum Class)

    Identifies the rack number of FCC/LCC.

    LCC racks are identified by numbers rack0..7

    FCC racks are identified by numbers F0..F3

    BSC racks are identified by numbers 128..129

    .. data:: L0 = 0

    .. data:: L1 = 1

    .. data:: L2 = 2

    .. data:: L3 = 3

    .. data:: L4 = 4

    .. data:: L5 = 5

    .. data:: L6 = 6

    .. data:: L7 = 7

    .. data:: L8 = 8

    .. data:: L9 = 9

    .. data:: L10 = 10

    .. data:: L11 = 11

    .. data:: L12 = 12

    .. data:: L13 = 13

    .. data:: L14 = 14

    .. data:: L15 = 15

    .. data:: F0 = 16

    .. data:: F1 = 17

    .. data:: F2 = 18

    .. data:: F3 = 19

    .. data:: B0 = 20

    .. data:: B1 = 21

    """

    L0 = Enum.YLeaf(0, "L0")

    L1 = Enum.YLeaf(1, "L1")

    L2 = Enum.YLeaf(2, "L2")

    L3 = Enum.YLeaf(3, "L3")

    L4 = Enum.YLeaf(4, "L4")

    L5 = Enum.YLeaf(5, "L5")

    L6 = Enum.YLeaf(6, "L6")

    L7 = Enum.YLeaf(7, "L7")

    L8 = Enum.YLeaf(8, "L8")

    L9 = Enum.YLeaf(9, "L9")

    L10 = Enum.YLeaf(10, "L10")

    L11 = Enum.YLeaf(11, "L11")

    L12 = Enum.YLeaf(12, "L12")

    L13 = Enum.YLeaf(13, "L13")

    L14 = Enum.YLeaf(14, "L14")

    L15 = Enum.YLeaf(15, "L15")

    F0 = Enum.YLeaf(16, "F0")

    F1 = Enum.YLeaf(17, "F1")

    F2 = Enum.YLeaf(18, "F2")

    F3 = Enum.YLeaf(19, "F3")

    B0 = Enum.YLeaf(20, "B0")

    B1 = Enum.YLeaf(21, "B1")
Exemple #27
0
            class IpCidrRouteProto(Enum):
                """
                IpCidrRouteProto (Enum Class)

                The routing mechanism via which this route was

                learned.  Inclusion of values for gateway rout\-

                ing protocols is not  intended  to  imply  that

                hosts should support those protocols.

                .. data:: other = 1

                .. data:: local = 2

                .. data:: netmgmt = 3

                .. data:: icmp = 4

                .. data:: egp = 5

                .. data:: ggp = 6

                .. data:: hello = 7

                .. data:: rip = 8

                .. data:: isIs = 9

                .. data:: esIs = 10

                .. data:: ciscoIgrp = 11

                .. data:: bbnSpfIgp = 12

                .. data:: ospf = 13

                .. data:: bgp = 14

                .. data:: idpr = 15

                .. data:: ciscoEigrp = 16

                """

                other = Enum.YLeaf(1, "other")

                local = Enum.YLeaf(2, "local")

                netmgmt = Enum.YLeaf(3, "netmgmt")

                icmp = Enum.YLeaf(4, "icmp")

                egp = Enum.YLeaf(5, "egp")

                ggp = Enum.YLeaf(6, "ggp")

                hello = Enum.YLeaf(7, "hello")

                rip = Enum.YLeaf(8, "rip")

                isIs = Enum.YLeaf(9, "isIs")

                esIs = Enum.YLeaf(10, "esIs")

                ciscoIgrp = Enum.YLeaf(11, "ciscoIgrp")

                bbnSpfIgp = Enum.YLeaf(12, "bbnSpfIgp")

                ospf = Enum.YLeaf(13, "ospf")

                bgp = Enum.YLeaf(14, "bgp")

                idpr = Enum.YLeaf(15, "idpr")

                ciscoEigrp = Enum.YLeaf(16, "ciscoEigrp")
Exemple #28
0
class Ipv4AclProtocolNumber(Enum):
    """
    Ipv4AclProtocolNumber (Enum Class)

    Ipv4 acl protocol number

    .. data:: ip = 0

    	Any IP protocol

    .. data:: icmp = 1

    	Internet Control Message Protocol

    .. data:: igmp = 2

    	Internet Gateway Message Protocol

    .. data:: ip_in_ip = 4

    	IP in IP tunneling

    .. data:: tcp = 6

    	Transport Control Protocol

    .. data:: igrp = 9

    	Cisco's IGRP Routing Protocol

    .. data:: udp = 17

    	User Datagram Protocol

    .. data:: gre = 47

    	Cisco's GRE tunneling

    .. data:: esp = 50

    	Encapsulation Security Protocol

    .. data:: ahp = 51

    	Authentication Header Protocol

    .. data:: eigrp = 88

    	Cisco's EIGRP Routing Protocol

    .. data:: ospf = 89

    	OSPF Routing Protocol

    .. data:: nos = 94

    	KA9Q NOS Compatible IP over IP tunneling

    .. data:: pim = 103

    	Protocol Independent Multicast

    .. data:: pcp = 108

    	Payload Compression Protocol

    .. data:: sctp = 132

    	Stream Control Transmission Protocol

    """

    ip = Enum.YLeaf(0, "ip")

    icmp = Enum.YLeaf(1, "icmp")

    igmp = Enum.YLeaf(2, "igmp")

    ip_in_ip = Enum.YLeaf(4, "ip-in-ip")

    tcp = Enum.YLeaf(6, "tcp")

    igrp = Enum.YLeaf(9, "igrp")

    udp = Enum.YLeaf(17, "udp")

    gre = Enum.YLeaf(47, "gre")

    esp = Enum.YLeaf(50, "esp")

    ahp = Enum.YLeaf(51, "ahp")

    eigrp = Enum.YLeaf(88, "eigrp")

    ospf = Enum.YLeaf(89, "ospf")

    nos = Enum.YLeaf(94, "nos")

    pim = Enum.YLeaf(103, "pim")

    pcp = Enum.YLeaf(108, "pcp")

    sctp = Enum.YLeaf(132, "sctp")
Exemple #29
0
class MplsTeAttrSet(Enum):
    """
    MplsTeAttrSet (Enum Class)

    Mpls te attr set

    .. data:: not_used = 0

    	Not used

    .. data:: static = 1

    	Static

    .. data:: lsp = 2

    	LSP

    .. data:: unassigned = 3

    	Unassigned

    .. data:: auto_backup = 4

    	Auto backup

    .. data:: auto_mesh = 5

    	Auto mesh

    .. data:: xro = 6

    	XRO

    .. data:: p2mp_te = 7

    	P2MP TE

    .. data:: otn_pp = 8

    	OTN Path Protection

    .. data:: p2p_te = 9

    	P2P TE

    """

    not_used = Enum.YLeaf(0, "not-used")

    static = Enum.YLeaf(1, "static")

    lsp = Enum.YLeaf(2, "lsp")

    unassigned = Enum.YLeaf(3, "unassigned")

    auto_backup = Enum.YLeaf(4, "auto-backup")

    auto_mesh = Enum.YLeaf(5, "auto-mesh")

    xro = Enum.YLeaf(6, "xro")

    p2mp_te = Enum.YLeaf(7, "p2mp-te")

    otn_pp = Enum.YLeaf(8, "otn-pp")

    p2p_te = Enum.YLeaf(9, "p2p-te")
class ConfigCopyFailCause(Enum):
    """
    ConfigCopyFailCause (Enum Class)

    The reason a config\-copy request failed.

    unknown\:        very descriptive.

    badFileName\:    check your file 

                    name/path/permissions.

    timeout\:        the network may be overloaded, 

                    or the remote file server may not

                    be responding.

    noMem\:          the Agent wasn't able to allocate 

                    memory for the config\-copy 

                    operation.

    noConfig\:       the agent\-config selected as the 

                    source was non\-existent.

    unsupportedProtocol\:    the protocol is not 

                            supported by the agent.

    someConfigApplyFailed\:  applying of some of the 

                            configuration commands 

                            failed.

    systemNotReady\: system is not ready to copy.

    requestAborted\: config copy operation aborted.

    .. data:: unknown = 1

    .. data:: badFileName = 2

    .. data:: timeout = 3

    .. data:: noMem = 4

    .. data:: noConfig = 5

    .. data:: unsupportedProtocol = 6

    .. data:: someConfigApplyFailed = 7

    .. data:: systemNotReady = 8

    .. data:: requestAborted = 9

    """

    unknown = Enum.YLeaf(1, "unknown")

    badFileName = Enum.YLeaf(2, "badFileName")

    timeout = Enum.YLeaf(3, "timeout")

    noMem = Enum.YLeaf(4, "noMem")

    noConfig = Enum.YLeaf(5, "noConfig")

    unsupportedProtocol = Enum.YLeaf(6, "unsupportedProtocol")

    someConfigApplyFailed = Enum.YLeaf(7, "someConfigApplyFailed")

    systemNotReady = Enum.YLeaf(8, "systemNotReady")

    requestAborted = Enum.YLeaf(9, "requestAborted")