import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.models import _yang_ns

_meta_table = {
    'ArpEntryEnum' : _MetaInfoEnum('ArpEntryEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_arp_cfg',
        {
            'static':'STATIC',
            'alias':'ALIAS',
        }, 'Cisco-IOS-XR-ipv4-arp-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv4-arp-cfg']),
    'ArpEncapEnum' : _MetaInfoEnum('ArpEncapEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_arp_cfg',
        {
            'arpa':'ARPA',
            'srp':'SRP',
            'srpa':'SRPA',
            'srpb':'SRPB',
        }, 'Cisco-IOS-XR-ipv4-arp-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv4-arp-cfg']),
    'Arp' : {
        'meta_info' : _MetaInfoClass('Arp',
            False, 
            [
            _MetaInfoClassMember('inner-cos', ATTRIBUTE, 'int' , None, None, 
                [(0, 7)], [], 


import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'UsageAddressFamilyEnum' : _MetaInfoEnum('UsageAddressFamilyEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_platform_pifib_oper',
        {
            'ipv4':'IPV4',
            'ipv6':'IPV6',
        }, 'Cisco-IOS-XR-platform-pifib-oper', _yang_ns._namespaces['Cisco-IOS-XR-platform-pifib-oper']),
}
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'KexNameEnum' : _MetaInfoEnum('KexNameEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'diffie-hellman':'DIFFIE_HELLMAN',
            'password-authenticated':'PASSWORD_AUTHENTICATED',
        }, 'Cisco-IOS-XR-crypto-ssh-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-ssh-oper']),
    'CipherEnum' : _MetaInfoEnum('CipherEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'aes128-cbc':'AES128_CBC',
            'aes192-cbc':'AES192_CBC',
            'aes256-cbc':'AES256_CBC',
            'triple-des-cbc':'TRIPLE_DES_CBC',
        }, 'Cisco-IOS-XR-crypto-ssh-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-ssh-oper']),
    'HostkeyEnum' : _MetaInfoEnum('HostkeyEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'ssh-dss':'SSH_DSS',
            'ssh-rsa':'SSH_RSA',
        }, 'Cisco-IOS-XR-crypto-ssh-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-ssh-oper']),
    'MacEnum' : _MetaInfoEnum('MacEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'TimeSourceEnum' : _MetaInfoEnum('TimeSourceEnum', 'ydk.models.shellutil.Cisco_IOS_XR_shellutil_oper',
        {
            'error':'ERROR',
            'none':'NONE',
            'ntp':'NTP',
            'manual':'MANUAL',
            'calendar':'CALENDAR',
        }, 'Cisco-IOS-XR-shellutil-oper', _yang_ns._namespaces['Cisco-IOS-XR-shellutil-oper']),
    'SystemTime.Clock' : {
        'meta_info' : _MetaInfoClass('SystemTime.Clock',
            False, 
            [
            _MetaInfoClassMember('year', ATTRIBUTE, 'int' , None, None, 
                [(0, 65535)], [], 
                '''                Year [0..65535]
                ''',
                'year',
                'Cisco-IOS-XR-shellutil-oper', False),
            _MetaInfoClassMember('month', ATTRIBUTE, 'int' , None, None, 
                [(0, 255)], [], 
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'ClientDataRateEnum' : _MetaInfoEnum('ClientDataRateEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ncs1k_mxp_cfg',
        {
            'ten-gig':'TEN_GIG',
            'forty-gig':'FORTY_GIG',
            'hundred-gig':'HUNDRED_GIG',
        }, 'Cisco-IOS-XR-ncs1k-mxp-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ncs1k-mxp-cfg']),
    'TrunkDataRateEnum' : _MetaInfoEnum('TrunkDataRateEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ncs1k_mxp_cfg',
        {
            'hundred-gig':'HUNDRED_GIG',
            'two-hundred-gig':'TWO_HUNDRED_GIG',
            'two-hundred-fifty-gig':'TWO_HUNDRED_FIFTY_GIG',
        }, 'Cisco-IOS-XR-ncs1k-mxp-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ncs1k-mxp-cfg']),
    'FecEnum' : _MetaInfoEnum('FecEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ncs1k_mxp_cfg',
        {
            'sd7':'SD7',
            'sd20':'SD20',
        }, 'Cisco-IOS-XR-ncs1k-mxp-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ncs1k-mxp-cfg']),
    'HardwareModule.Node.Values.Value' : {
        'meta_info' : _MetaInfoClass('HardwareModule.Node.Values.Value',
Example #6
0
         _MetaInfoClassMember('port', ATTRIBUTE, 'int' , None, None, 
             [(0, 65535)], [], 
             '''                The port number of the NTP server.
             ''',
             'port',
             'ietf-system', False),
         ],
         'ietf-system',
         'udp',
         _yang_ns._namespaces['ietf-system'],
     'ydk.models.ietf.ietf_system'
     ),
 },
 'System.Ntp.Server.AssociationTypeEnum' : _MetaInfoEnum('AssociationTypeEnum', 'ydk.models.ietf.ietf_system',
     {
         'server':'SERVER',
         'peer':'PEER',
         'pool':'POOL',
     }, 'ietf-system', _yang_ns._namespaces['ietf-system']),
 'System.Ntp.Server' : {
     'meta_info' : _MetaInfoClass('System.Ntp.Server',
         False, 
         [
         _MetaInfoClassMember('name', ATTRIBUTE, 'str' , None, None, 
             [], [], 
             '''                An arbitrary name for the NTP server.
             ''',
             'name',
             'ietf-system', True),
         _MetaInfoClassMember('udp', REFERENCE_CLASS, 'Udp' , 'ydk.models.ietf.ietf_system', 'System.Ntp.Server.Udp', 
             [], [], 
             '''                Contains UDP-specific configuration parameters
Example #7
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'NtpAccessAfEnum':
    _MetaInfoEnum('NtpAccessAfEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_ntp_cfg', {
        'ipv4': 'IPV4',
        'ipv6': 'IPV6',
    }, 'Cisco-IOS-XR-ip-ntp-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-ip-ntp-cfg']),
    'NtpPeerEnum':
    _MetaInfoEnum('NtpPeerEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_ntp_cfg', {
        'peer': 'PEER',
        'server': 'SERVER',
    }, 'Cisco-IOS-XR-ip-ntp-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-ip-ntp-cfg']),
    'NtpdscpEnum':
    _MetaInfoEnum('NtpdscpEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_ntp_cfg', {
        'ntp-precedence': 'NTP_PRECEDENCE',
        'ntpdscp': 'NTPDSCP',
    }, 'Cisco-IOS-XR-ip-ntp-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-ip-ntp-cfg']),
    'NtpAccessEnum':
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'BundleMaximumActiveLinksModeEnum':
    _MetaInfoEnum('BundleMaximumActiveLinksModeEnum',
                  'ydk.models.bundlemgr.Cisco_IOS_XR_bundlemgr_cfg', {
                      'default': 'DEFAULT',
                      'hot-standby': 'HOT_STANDBY',
                  }, 'Cisco-IOS-XR-bundlemgr-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-bundlemgr-cfg']),
    'BundleCiscoExtTypesEnum':
    _MetaInfoEnum(
        'BundleCiscoExtTypesEnum',
        'ydk.models.bundlemgr.Cisco_IOS_XR_bundlemgr_cfg', {
            'lon-signaling-off': 'LON_SIGNALING_OFF',
            'lon-signaling-on': 'LON_SIGNALING_ON',
        }, 'Cisco-IOS-XR-bundlemgr-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-bundlemgr-cfg']),
    'BundleLoadBalanceEnum':
    _MetaInfoEnum(
        'BundleLoadBalanceEnum',
        'ydk.models.bundlemgr.Cisco_IOS_XR_bundlemgr_cfg', {
            'default': 'DEFAULT',
from ydk.models import _yang_ns

_meta_table = {
    'OpticsThresholdEnum' : _MetaInfoEnum('OpticsThresholdEnum', 'ydk.models.pmengine.Cisco_IOS_XR_pmengine_cfg',
        {
            'thresh-opt-min':'THRESH_OPT_MIN',
            'thresh-opr-min':'THRESH_OPR_MIN',
            'thresh-lbc-min':'THRESH_LBC_MIN',
            'thresh-lbc-pc-min':'THRESH_LBC_PC_MIN',
            'thresh-cd-min':'THRESH_CD_MIN',
            'thresh-dgd-min':'THRESH_DGD_MIN',
            'thresh-pmd-min':'THRESH_PMD_MIN',
            'thresh-osnr-min':'THRESH_OSNR_MIN',
            'thresh-pdl-min':'THRESH_PDL_MIN',
            'thresh-pcr-min':'THRESH_PCR_MIN',
            'thresh-pn-min':'THRESH_PN_MIN',
            'thresh-opt-max':'THRESH_OPT_MAX',
            'thresh-opr-max':'THRESH_OPR_MAX',
            'thresh-lbc-max':'THRESH_LBC_MAX',
            'thresh-lbc-pc-max':'THRESH_LBC_PC_MAX',
            'thresh-cd-max':'THRESH_CD_MAX',
            'thresh-dgd-max':'THRESH_DGD_MAX',
            'thresh-pmd-max':'THRESH_PMD_MAX',
            'thresh-osnr-max':'THRESH_OSNR_MAX',
            'thresh-pdl-max':'THRESH_PDL_MAX',
            'thresh-pcr-max':'THRESH_PCR_MAX',
            'thresh-pn-max':'THRESH_PN_MAX',
        }, 'Cisco-IOS-XR-pmengine-cfg', _yang_ns._namespaces['Cisco-IOS-XR-pmengine-cfg']),
    'OtnThresholdEnum' : _MetaInfoEnum('OtnThresholdEnum', 'ydk.models.pmengine.Cisco_IOS_XR_pmengine_cfg',
        {
            'thresh-es-sm-ne':'THRESH_ES_SM_NE',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'IepStatusEnum' : _MetaInfoEnum('IepStatusEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_iep_oper',
        {
            'enabled':'ENABLED',
            'disabled':'DISABLED',
        }, 'Cisco-IOS-XR-ip-iep-oper', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-oper']),
    'IepAddressEnum' : _MetaInfoEnum('IepAddressEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_iep_oper',
        {
            'next':'NEXT',
            'exclude':'EXCLUDE',
            'exclude-srlg':'EXCLUDE_SRLG',
        }, 'Cisco-IOS-XR-ip-iep-oper', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-oper']),
    'IepHopEnum' : _MetaInfoEnum('IepHopEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_iep_oper',
        {
            'strict':'STRICT',
            'loose':'LOOSE',
        }, 'Cisco-IOS-XR-ip-iep-oper', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-oper']),
    'ExplicitPaths.Identifiers.Identifier.Address' : {
        'meta_info' : _MetaInfoClass('ExplicitPaths.Identifiers.Identifier.Address',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.models import _yang_ns

_meta_table = {
    'BandwidthNotificationStateEnum' : _MetaInfoEnum('BandwidthNotificationStateEnum', 'ydk.models.ethernet.Cisco_IOS_XR_ethernet_cfm_datatypes',
        {
            'ok':'OK',
            'degraded':'DEGRADED',
        }, 'Cisco-IOS-XR-ethernet-cfm-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-ethernet-cfm-datatypes']),
    'CfmMepDirEnum' : _MetaInfoEnum('CfmMepDirEnum', 'ydk.models.ethernet.Cisco_IOS_XR_ethernet_cfm_datatypes',
        {
            'up':'UP',
            'down':'DOWN',
        }, 'Cisco-IOS-XR-ethernet-cfm-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-ethernet-cfm-datatypes']),
    'CfmCcmIntervalEnum' : _MetaInfoEnum('CfmCcmIntervalEnum', 'ydk.models.ethernet.Cisco_IOS_XR_ethernet_cfm_datatypes',
        {
            '3.3ms':'Y_3__DOT__3MS',
            '10ms':'Y_10MS',
            '100ms':'Y_100MS',
            '1s':'Y_1S',
            '10s':'Y_10S',
            '1m':'Y_1M',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'LogErrorEnum' : _MetaInfoEnum('LogErrorEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_sam_oper',
        {
            'unknown':'UNKNOWN',
            'log-message-error':'LOG_MESSAGE_ERROR',
            'get-issuer-name-failed':'GET_ISSUER_NAME_FAILED',
        }, 'Cisco-IOS-XR-crypto-sam-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-sam-oper']),
    'LogCodeEnum' : _MetaInfoEnum('LogCodeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_sam_oper',
        {
            'unknown':'UNKNOWN',
            'sam-server-restared-router-reboot':'SAM_SERVER_RESTARED_ROUTER_REBOOT',
            'sam-server-restared':'SAM_SERVER_RESTARED',
            'added-certificate-in-table':'ADDED_CERTIFICATE_IN_TABLE',
            'copied-certificate-in-table':'COPIED_CERTIFICATE_IN_TABLE',
            'certificate-flag-changed':'CERTIFICATE_FLAG_CHANGED',
            'validated-certificate':'VALIDATED_CERTIFICATE',
            'certificate-expired-detected':'CERTIFICATE_EXPIRED_DETECTED',
            'certificate-revoked-detected':'CERTIFICATE_REVOKED_DETECTED',
            'ca-certificate-expired-detected':'CA_CERTIFICATE_EXPIRED_DETECTED',
            'ca-certificate-revoked-detected':'CA_CERTIFICATE_REVOKED_DETECTED',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'RemovePrivateAsOptionEnum' : _MetaInfoEnum('RemovePrivateAsOptionEnum', 'ydk.models.openconfig.openconfig_bgp_types',
        {
            'ALL':'ALL',
            'REPLACE':'REPLACE',
        }, 'openconfig-bgp-types', _yang_ns._namespaces['openconfig-bgp-types']),
    'CommunityTypeEnum' : _MetaInfoEnum('CommunityTypeEnum', 'ydk.models.openconfig.openconfig_bgp_types',
        {
            'STANDARD':'STANDARD',
            'EXTENDED':'EXTENDED',
            'BOTH':'BOTH',
            'NONE':'NONE',
        }, 'openconfig-bgp-types', _yang_ns._namespaces['openconfig-bgp-types']),
    'PeerTypeEnum' : _MetaInfoEnum('PeerTypeEnum', 'ydk.models.openconfig.openconfig_bgp_types',
        {
            'INTERNAL':'INTERNAL',
            'EXTERNAL':'EXTERNAL',
        }, 'openconfig-bgp-types', _yang_ns._namespaces['openconfig-bgp-types']),
    'BgpSessionDirectionEnum' : _MetaInfoEnum('BgpSessionDirectionEnum', 'ydk.models.openconfig.openconfig_bgp_types',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'MplsLdpNbrPasswordEnum' : _MetaInfoEnum('MplsLdpNbrPasswordEnum', 'ydk.models.mpls.Cisco_IOS_XR_mpls_ldp_cfg_datatypes',
        {
            'disable':'DISABLE',
            'specified':'SPECIFIED',
        }, 'Cisco-IOS-XR-mpls-ldp-cfg-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-mpls-ldp-cfg-datatypes']),
    'MplsLdpDownstreamOnDemandEnum' : _MetaInfoEnum('MplsLdpDownstreamOnDemandEnum', 'ydk.models.mpls.Cisco_IOS_XR_mpls_ldp_cfg_datatypes',
        {
            'peer-acl':'PEER_ACL',
        }, 'Cisco-IOS-XR-mpls-ldp-cfg-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-mpls-ldp-cfg-datatypes']),
    'MplsLdpRouterIdEnum' : _MetaInfoEnum('MplsLdpRouterIdEnum', 'ydk.models.mpls.Cisco_IOS_XR_mpls_ldp_cfg_datatypes',
        {
            'address':'ADDRESS',
        }, 'Cisco-IOS-XR-mpls-ldp-cfg-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-mpls-ldp-cfg-datatypes']),
    'MplsLdpafNameEnum' : _MetaInfoEnum('MplsLdpafNameEnum', 'ydk.models.mpls.Cisco_IOS_XR_mpls_ldp_cfg_datatypes',
        {
            'ipv4':'IPV4',
            'ipv6':'IPV6',
        }, 'Cisco-IOS-XR-mpls-ldp-cfg-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-mpls-ldp-cfg-datatypes']),
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'AaaAuthenticationEnum' : _MetaInfoEnum('AaaAuthenticationEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_cfg',
        {
            'all':'ALL',
            'any':'ANY',
            'session-key':'SESSION_KEY',
        }, 'Cisco-IOS-XR-aaa-protocol-radius-cfg', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-cfg']),
    'AaaConfigEnum' : _MetaInfoEnum('AaaConfigEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_cfg',
        {
            'false':'FALSE',
            'true':'TRUE',
        }, 'Cisco-IOS-XR-aaa-protocol-radius-cfg', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-cfg']),
    'AaaActionEnum' : _MetaInfoEnum('AaaActionEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_cfg',
        {
            'accept':'ACCEPT',
            'reject':'REJECT',
        }, 'Cisco-IOS-XR-aaa-protocol-radius-cfg', _yang_ns._namespaces['Cisco-IOS-XR-aaa-protocol-radius-cfg']),
    'AaaDscpValueEnum' : _MetaInfoEnum('AaaDscpValueEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_cfg',
        {
            'af11':'AF11',


import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'Ipv6ReachableViaEnum' : _MetaInfoEnum('Ipv6ReachableViaEnum', 'ydk.models.ipv6.Cisco_IOS_XR_ipv6_ma_subscriber_cfg',
        {
            'received':'RECEIVED',
        }, 'Cisco-IOS-XR-ipv6-ma-subscriber-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ma-subscriber-cfg']),
}
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'AlAlarmBistateEnum':
    _MetaInfoEnum(
        'AlAlarmBistateEnum',
        'ydk.models.infra.Cisco_IOS_XR_infra_alarm_logger_oper', {
            'not-available': 'NOT_AVAILABLE',
            'active': 'ACTIVE',
            'clear': 'CLEAR',
        }, 'Cisco-IOS-XR-infra-alarm-logger-oper',
        _yang_ns._namespaces['Cisco-IOS-XR-infra-alarm-logger-oper']),
    'AlAlarmSeverityEnum':
    _MetaInfoEnum(
        'AlAlarmSeverityEnum',
        'ydk.models.infra.Cisco_IOS_XR_infra_alarm_logger_oper', {
            'unknown': 'UNKNOWN',
            'emergency': 'EMERGENCY',
            'alert': 'ALERT',
            'critical': 'CRITICAL',
            'error': 'ERROR',
            'warning': 'WARNING',
            'notice': 'NOTICE',
            'informational': 'INFORMATIONAL',
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'MgmtMplsStaticLabelStatusEnum' : _MetaInfoEnum('MgmtMplsStaticLabelStatusEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_static_oper',
        {
            'not-created':'NOT_CREATED',
            'vrf-down':'VRF_DOWN',
            'rewrite-vrf-down':'REWRITE_VRF_DOWN',
            'lsd-disconnected':'LSD_DISCONNECTED',
            'lsd-failed':'LSD_FAILED',
            'wait-for-lsd-reply':'WAIT_FOR_LSD_REPLY',
            'label-created':'LABEL_CREATED',
            'label-create-failed':'LABEL_CREATE_FAILED',
            'label-rewrite-failed':'LABEL_REWRITE_FAILED',
            'rewrite-next-hop-interface-missing':'REWRITE_NEXT_HOP_INTERFACE_MISSING',
            'label-discrepancy':'LABEL_DISCREPANCY',
            'rewrite-discrepancy':'REWRITE_DISCREPANCY',
            'label-status-unknown':'LABEL_STATUS_UNKNOWN',
        }, 'Cisco-IOS-XR-mpls-static-oper', _yang_ns._namespaces['Cisco-IOS-XR-mpls-static-oper']),
    'MgmtStaticPathEnum' : _MetaInfoEnum('MgmtStaticPathEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_static_oper',
        {
            'cross-connect-path':'CROSS_CONNECT_PATH',
            'pop-lookup-path':'POP_LOOKUP_PATH',
        }, 'Cisco-IOS-XR-mpls-static-oper', _yang_ns._namespaces['Cisco-IOS-XR-mpls-static-oper']),
    'MgmtStaticNhLblEnum' : _MetaInfoEnum('MgmtStaticNhLblEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_static_oper',
        {
            'out-label':'OUT_LABEL',


import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'WithDefaultsModeEnum' : _MetaInfoEnum('WithDefaultsModeEnum', 'ydk.models.ietf.ietf_netconf_with_defaults',
        {
            'report-all':'REPORT_ALL',
            'report-all-tagged':'REPORT_ALL_TAGGED',
            'trim':'TRIM',
            'explicit':'EXPLICIT',
        }, 'ietf-netconf-with-defaults', _yang_ns._namespaces['ietf-netconf-with-defaults']),
}
Example #20
0
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'SpanTrafficDirectionEnum':
    _MetaInfoEnum(
        'SpanTrafficDirectionEnum',
        'ydk.models.ethernet.Cisco_IOS_XR_Ethernet_SPAN_subscriber_cfg', {
            'rx-only': 'RX_ONLY',
            'tx-only': 'TX_ONLY',
        }, 'Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg']),
    'SpanMirrorIntervalEnum':
    _MetaInfoEnum(
        'SpanMirrorIntervalEnum',
        'ydk.models.ethernet.Cisco_IOS_XR_Ethernet_SPAN_subscriber_cfg', {
            '512': 'Y_512',
            '1k': 'Y_1K',
            '2k': 'Y_2K',
            '4k': 'Y_4K',
            '8k': 'Y_8K',
            '16k': 'Y_16K',
        }, 'Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-Ethernet-SPAN-subscriber-cfg']),
Example #21
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'YdkEnumTestEnum' : _MetaInfoEnum('YdkEnumTestEnum', 'ydk.models.ydktest.ydktest_union',
        {
            'not-set':'NOT_SET',
            'none':'NONE',
            'local':'LOCAL',
            'remote':'REMOTE',
        }, 'ydktest-union', _yang_ns._namespaces['ydktest-union']),
    'BuiltInT' : {
        'meta_info' : _MetaInfoClass('BuiltInT',
            False, 
            [
            _MetaInfoClassMember('younion', REFERENCE_UNION, 'str' , None, None, 
                [], [], 
                '''                ''',
                'younion',
                'ydktest-union', False, [
                    _MetaInfoClassMember('younion', REFERENCE_ENUM_CLASS, 'YdkEnumTestEnum' , 'ydk.models.ydktest.ydktest_union', 'YdkEnumTestEnum', 
                        [], [], 
                        '''                        ''',
Example #22
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'LogicalProtocolEnum':
    _MetaInfoEnum(
        'LogicalProtocolEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_terminal_device_oper', {
            'proto-type-unknown': 'proto_type_unknown',
            'proto-type-ethernet': 'proto_type_ethernet',
            'proto-type-otn': 'proto_type_otn',
        }, 'Cisco-IOS-XR-terminal-device-oper',
        _yang_ns._namespaces['Cisco-IOS-XR-terminal-device-oper']),
    'TribProtocolEnum':
    _MetaInfoEnum(
        'TribProtocolEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_terminal_device_oper', {
            'trib-proto-type-unknown': 'trib_proto_type_unknown',
            'trib-proto-type1ge': 'trib_proto_type1ge',
            'trib-proto-type-oc48': 'trib_proto_type_oc48',
            'trib-proto-type-stm16': 'trib_proto_type_stm16',
            'trib-proto-type10gelan': 'trib_proto_type10gelan',
            'trib-proto-type10gewan': 'trib_proto_type10gewan',
            'trib-proto-type-oc192': 'trib_proto_type_oc192',
            'trib-proto-type-stm64': 'trib_proto_type_stm64',
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'NtpPeerStatusEnum' : _MetaInfoEnum('NtpPeerStatusEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_ntp_oper',
        {
            'ntp-ctl-pst-sel-reject':'NTP_CTL_PST_SEL_REJECT',
            'ntp-ctl-pst-sel-sane':'NTP_CTL_PST_SEL_SANE',
            'ntp-ctl-pst-sel-correct':'NTP_CTL_PST_SEL_CORRECT',
            'ntp-ctl-pst-sel-selcand':'NTP_CTL_PST_SEL_SELCAND',
            'ntp-ctl-pst-sel-sync-cand':'NTP_CTL_PST_SEL_SYNC_CAND',
            'ntp-ctl-pst-sel-distsys-peer':'NTP_CTL_PST_SEL_DISTSYS_PEER',
            'ntp-ctl-pst-sel-sys-peer':'NTP_CTL_PST_SEL_SYS_PEER',
            'ntp-ctl-pst-sel-pps':'NTP_CTL_PST_SEL_PPS',
        }, 'Cisco-IOS-XR-ip-ntp-oper', _yang_ns._namespaces['Cisco-IOS-XR-ip-ntp-oper']),
    'NtpModeEnum' : _MetaInfoEnum('NtpModeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_ntp_oper',
        {
            'ntp-mode-unspec':'NTP_MODE_UNSPEC',
            'ntp-mode-symetric-active':'NTP_MODE_SYMETRIC_ACTIVE',
            'ntp-mode-symetric-passive':'NTP_MODE_SYMETRIC_PASSIVE',
            'ntp-mode-client':'NTP_MODE_CLIENT',
            'ntp-mode-server':'NTP_MODE_SERVER',
            'ntp-mode-xcast-server':'NTP_MODE_XCAST_SERVER',
            'ntp-mode-control':'NTP_MODE_CONTROL',
            'ntp-mode-private':'NTP_MODE_PRIVATE',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'SpanTrafficDirectionEnum':
    _MetaInfoEnum('SpanTrafficDirectionEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_Ethernet_SPAN_cfg', {
                      'rx-only': 'rx_only',
                      'tx-only': 'tx_only',
                  }, 'Cisco-IOS-XR-Ethernet-SPAN-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-Ethernet-SPAN-cfg']),
    'SpanMirrorIntervalEnum':
    _MetaInfoEnum(
        'SpanMirrorIntervalEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_Ethernet_SPAN_cfg', {
            '512': 'Y_512',
            '1k': 'Y_1k',
            '2k': 'Y_2k',
            '4k': 'Y_4k',
            '8k': 'Y_8k',
            '16k': 'Y_16k',
        }, 'Cisco-IOS-XR-Ethernet-SPAN-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-Ethernet-SPAN-cfg']),
    'SpanDestinationEnum':
Example #25
0
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'BgpNextHopTypeEnum':
    _MetaInfoEnum('BgpNextHopTypeEnum', 'ydk.models.bgp.bgp_policy', {
        'SELF': 'SELF',
    }, 'bgp-policy', _yang_ns._namespaces['bgp-policy']),
    'BgpSetMedTypeEnum':
    _MetaInfoEnum('BgpSetMedTypeEnum', 'ydk.models.bgp.bgp_policy', {
        'IGP': 'IGP',
    }, 'bgp-policy', _yang_ns._namespaces['bgp-policy']),
    'BgpSetCommunityOptionTypeEnum':
    _MetaInfoEnum('BgpSetCommunityOptionTypeEnum', 'ydk.models.bgp.bgp_policy',
                  {
                      'ADD': 'ADD',
                      'REMOVE': 'REMOVE',
                      'REPLACE': 'REPLACE',
                  }, 'bgp-policy', _yang_ns._namespaces['bgp-policy']),
}
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'SfcSfTransportEnum' : _MetaInfoEnum('SfcSfTransportEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_vservice_cfg',
        {
            'vxlan-gpe':'vxlan_gpe',
        }, 'Cisco-IOS-XR-vservice-cfg', _yang_ns._namespaces['Cisco-IOS-XR-vservice-cfg']),
    'SfcMetadataDispositionMatchEnum' : _MetaInfoEnum('SfcMetadataDispositionMatchEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_vservice_cfg',
        {
            'type1-dcalloc-tenant-id':'type1_dcalloc_tenant_id',
        }, 'Cisco-IOS-XR-vservice-cfg', _yang_ns._namespaces['Cisco-IOS-XR-vservice-cfg']),
    'SfcMetadataAllocEnum' : _MetaInfoEnum('SfcMetadataAllocEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_vservice_cfg',
        {
            'type1':'type1',
        }, 'Cisco-IOS-XR-vservice-cfg', _yang_ns._namespaces['Cisco-IOS-XR-vservice-cfg']),
    'SfcMetadataType1AllocFormatEnum' : _MetaInfoEnum('SfcMetadataType1AllocFormatEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_vservice_cfg',
        {
            'dc-allocation':'dc_allocation',
        }, 'Cisco-IOS-XR-vservice-cfg', _yang_ns._namespaces['Cisco-IOS-XR-vservice-cfg']),
    'SfcMetadataDispositionActionEnum' : _MetaInfoEnum('SfcMetadataDispositionActionEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_vservice_cfg',
        {
Example #27
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'NetconfDatastoreTypeEnum':
    _MetaInfoEnum('NetconfDatastoreTypeEnum',
                  'ydk.models.ietf.ietf_netconf_monitoring', {
                      'running': 'running',
                      'candidate': 'candidate',
                      'startup': 'startup',
                  }, 'ietf-netconf-monitoring',
                  _yang_ns._namespaces['ietf-netconf-monitoring']),
    'SchemaFormatIdentity': {
        'meta_info':
        _MetaInfoClass('SchemaFormatIdentity', False, [],
                       'ietf-netconf-monitoring', 'schema-format',
                       _yang_ns._namespaces['ietf-netconf-monitoring'],
                       'ydk.models.ietf.ietf_netconf_monitoring'),
    },
    'TransportIdentity': {
        'meta_info':
        _MetaInfoClass('TransportIdentity', False, [],
                       'ietf-netconf-monitoring', 'transport',
                       _yang_ns._namespaces['ietf-netconf-monitoring'],
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'Ipv4DefaultPingEnum' : _MetaInfoEnum('Ipv4DefaultPingEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_io_cfg',
        {
            'disabled':'DISABLED',
            'enabled':'ENABLED',
        }, 'Cisco-IOS-XR-ipv4-io-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv4-io-cfg']),
    'Ipv4SelfPingEnum' : _MetaInfoEnum('Ipv4SelfPingEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_io_cfg',
        {
            'disabled':'DISABLED',
            'enabled':'ENABLED',
        }, 'Cisco-IOS-XR-ipv4-io-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv4-io-cfg']),
    'Ipv4ReachableEnum' : _MetaInfoEnum('Ipv4ReachableEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_io_cfg',
        {
            'any':'ANY',
            'received':'RECEIVED',
        }, 'Cisco-IOS-XR-ipv4-io-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ipv4-io-cfg']),
    'Ipv4InterfaceQppbEnum' : _MetaInfoEnum('Ipv4InterfaceQppbEnum', 'ydk.models.ipv4.Cisco_IOS_XR_ipv4_io_cfg',
        {
            'ip-precedence':'IP_PRECEDENCE',
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'SlaBurstIntervalUnitsEnumEnum' : _MetaInfoEnum('SlaBurstIntervalUnitsEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'once':'ONCE',
            'milliseconds':'MILLISECONDS',
            'seconds':'SECONDS',
            'minutes':'MINUTES',
            'hours':'HOURS',
        }, 'Cisco-IOS-XR-infra-sla-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-infra-sla-datatypes']),
    'SlaOnDemandStartTimeTypesEnumEnum' : _MetaInfoEnum('SlaOnDemandStartTimeTypesEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'now':'NOW',
            'absolute':'ABSOLUTE',
            'relative':'RELATIVE',
        }, 'Cisco-IOS-XR-infra-sla-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-infra-sla-datatypes']),
    'SlaPacketIntervalUnitsEnumEnum' : _MetaInfoEnum('SlaPacketIntervalUnitsEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'once':'ONCE',
            'milliseconds':'MILLISECONDS',
            'seconds':'SECONDS',
            'minutes':'MINUTES',
Example #30
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'IsisInternalLevelEnum':
    _MetaInfoEnum('IsisInternalLevelEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_clns_isis_datatypes', {
                      'not-set': 'not_set',
                      'level1': 'level1',
                      'level2': 'level2',
                  }, 'Cisco-IOS-XR-clns-isis-datatypes',
                  _yang_ns._namespaces['Cisco-IOS-XR-clns-isis-datatypes']),
    'IsisAddressFamilyEnum':
    _MetaInfoEnum('IsisAddressFamilyEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_clns_isis_datatypes', {
                      'ipv4': 'ipv4',
                      'ipv6': 'ipv6',
                  }, 'Cisco-IOS-XR-clns-isis-datatypes',
                  _yang_ns._namespaces['Cisco-IOS-XR-clns-isis-datatypes']),
    'IsisSubAddressFamilyEnum':
    _MetaInfoEnum('IsisSubAddressFamilyEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_clns_isis_datatypes', {
                      'unicast': 'unicast',
                      'multicast': 'multicast',
Example #31
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'SrmsMiFlagEnum':
    _MetaInfoEnum('SrmsMiFlagEnum',
                  'ydk.models.segment.Cisco_IOS_XR_segment_routing_ms_cfg', {
                      'disable': 'DISABLE',
                      'enable': 'ENABLE',
                  }, 'Cisco-IOS-XR-segment-routing-ms-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-segment-routing-ms-cfg']),
    'Sr.GlobalBlock': {
        'meta_info':
        _MetaInfoClass(
            'Sr.GlobalBlock', False, [
                _MetaInfoClassMember(
                    'lower-bound', ATTRIBUTE, 'int', None, None,
                    [(16000, 1048574)], [], '''                SRGB Lower Bound
                ''', 'lower_bound', 'Cisco-IOS-XR-segment-routing-ms-cfg',
                    False),
                _MetaInfoClassMember(
                    'upper-bound', ATTRIBUTE, 'int', None, None,
                    [(16001, 1048575)], [], '''                SRGB Upper Bound
                ''', 'upper_bound', 'Cisco-IOS-XR-segment-routing-ms-cfg',
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'ClockMonthEnum' : _MetaInfoEnum('ClockMonthEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_infra_clock_cfg',
        {
            'january':'january',
            'february':'february',
            'march':'march',
            'april':'april',
            'may':'may',
            'june':'june',
            'july':'july',
            'august':'august',
            'september':'september',
            'october':'october',
            'november':'november',
            'december':'december',
        }, 'Cisco-IOS-XR-infra-infra-clock-cfg', _yang_ns._namespaces['Cisco-IOS-XR-infra-infra-clock-cfg']),
    'ClockSummerTimeModeEnum' : _MetaInfoEnum('ClockSummerTimeModeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_infra_clock_cfg',
        {
            'recurring':'recurring',
            'date':'date',
        }, 'Cisco-IOS-XR-infra-infra-clock-cfg', _yang_ns._namespaces['Cisco-IOS-XR-infra-infra-clock-cfg']),
    'Clock.SummerTime' : {
        'meta_info' : _MetaInfoClass('Clock.SummerTime',
            False, 
Example #33
0


import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'EncryptionTypeEnum' : _MetaInfoEnum('EncryptionTypeEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_types',
        {
            'none':'NONE',
            'md5':'MD5',
            'proprietary':'PROPRIETARY',
        }, 'Cisco-IOS-XR-types', _yang_ns._namespaces['Cisco-IOS-XR-types']),
}
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'SlaBurstIntervalUnitsEnumEnum' : _MetaInfoEnum('SlaBurstIntervalUnitsEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'once':'once',
            'milliseconds':'milliseconds',
            'seconds':'seconds',
            'minutes':'minutes',
            'hours':'hours',
        }, 'Cisco-IOS-XR-infra-sla-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-infra-sla-datatypes']),
    'SlaOnDemandStartTimeTypesEnumEnum' : _MetaInfoEnum('SlaOnDemandStartTimeTypesEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'now':'now',
            'absolute':'absolute',
            'relative':'relative',
        }, 'Cisco-IOS-XR-infra-sla-datatypes', _yang_ns._namespaces['Cisco-IOS-XR-infra-sla-datatypes']),
    'SlaPacketIntervalUnitsEnumEnum' : _MetaInfoEnum('SlaPacketIntervalUnitsEnumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_sla_datatypes',
        {
            'once':'once',
            'milliseconds':'milliseconds',
            'seconds':'seconds',
            'minutes':'minutes',
Example #35
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'NeighborOriginEnum':
    _MetaInfoEnum('NeighborOriginEnum',
                  'ydk.models.openconfig.openconfig_if_ip', {
                      'OTHER': 'OTHER',
                      'STATIC': 'STATIC',
                      'DYNAMIC': 'DYNAMIC',
                  }, 'openconfig-if-ip',
                  _yang_ns._namespaces['openconfig-if-ip']),
    'IpAddressOriginEnum':
    _MetaInfoEnum(
        'IpAddressOriginEnum', 'ydk.models.openconfig.openconfig_if_ip', {
            'OTHER': 'OTHER',
            'STATIC': 'STATIC',
            'DHCP': 'DHCP',
            'LINK_LAYER': 'LINK_LAYER',
            'RANDOM': 'RANDOM',
        }, 'openconfig-if-ip', _yang_ns._namespaces['openconfig-if-ip']),
}
Example #36
0
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'AclUsageAppIdEnumEnum':
    _MetaInfoEnum('AclUsageAppIdEnumEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_common_acl_datatypes',
                  {
                      'pfilter': 'pfilter',
                      'bgp': 'bgp',
                      'ospf': 'ospf',
                  }, 'Cisco-IOS-XR-common-acl-datatypes',
                  _yang_ns._namespaces['Cisco-IOS-XR-common-acl-datatypes']),
}
Example #37
0
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'EncryptionTypeEnum':
    _MetaInfoEnum('EncryptionTypeEnum', 'ydk.models.types.Cisco_IOS_XR_types',
                  {
                      'none': 'NONE',
                      'md5': 'MD5',
                      'proprietary': 'PROPRIETARY',
                  }, 'Cisco-IOS-XR-types',
                  _yang_ns._namespaces['Cisco-IOS-XR-types']),
}
Example #38
0
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'ErrorSeverityTypeEnum' : _MetaInfoEnum('ErrorSeverityTypeEnum', 'ydk.models.ietf.ietf_netconf',
        {
            'error':'ERROR',
            'warning':'WARNING',
        }, 'ietf-netconf', _yang_ns._namespaces['ietf-netconf']),
    'ErrorTagTypeEnum' : _MetaInfoEnum('ErrorTagTypeEnum', 'ydk.models.ietf.ietf_netconf',
        {
            'in-use':'IN_USE',
            'invalid-value':'INVALID_VALUE',
            'too-big':'TOO_BIG',
            'missing-attribute':'MISSING_ATTRIBUTE',
            'bad-attribute':'BAD_ATTRIBUTE',
            'unknown-attribute':'UNKNOWN_ATTRIBUTE',
            'missing-element':'MISSING_ELEMENT',
            'bad-element':'BAD_ELEMENT',
            'unknown-element':'UNKNOWN_ELEMENT',
            'unknown-namespace':'UNKNOWN_NAMESPACE',
            'access-denied':'ACCESS_DENIED',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'CfmLmCountersCfgEnum' : _MetaInfoEnum('CfmLmCountersCfgEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ethernet_cfm_cfg',
        {
            'aggregate':'AGGREGATE',
            'list':'LIST',
            'range':'RANGE',
        }, 'Cisco-IOS-XR-ethernet-cfm-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ethernet-cfm-cfg']),
    'CfmMdidFormatEnum' : _MetaInfoEnum('CfmMdidFormatEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ethernet_cfm_cfg',
        {
            'null':'NULL',
            'dns-like':'DNS_LIKE',
            'mac-address':'MAC_ADDRESS',
            'string':'STRING',
        }, 'Cisco-IOS-XR-ethernet-cfm-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ethernet-cfm-cfg']),
    'CfmShortMaNameFormatEnum' : _MetaInfoEnum('CfmShortMaNameFormatEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ethernet_cfm_cfg',
        {
            'vlan-id':'VLAN_ID',
            'string':'STRING',
            'number':'NUMBER',
            'vpn-id':'VPN_ID',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'NetconfDatastoreTypeEnum' : _MetaInfoEnum('NetconfDatastoreTypeEnum', 'ydk.models.ietf.ietf_netconf_monitoring',
        {
            'running':'RUNNING',
            'candidate':'CANDIDATE',
            'startup':'STARTUP',
        }, 'ietf-netconf-monitoring', _yang_ns._namespaces['ietf-netconf-monitoring']),
    'SchemaFormatIdentity' : {
        'meta_info' : _MetaInfoClass('SchemaFormatIdentity',
            False, 
            [
            ],
            'ietf-netconf-monitoring',
            'schema-format',
            _yang_ns._namespaces['ietf-netconf-monitoring'],
        'ydk.models.ietf.ietf_netconf_monitoring'
        ),
    },
    'TransportIdentity' : {
        'meta_info' : _MetaInfoClass('TransportIdentity',
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'KeyChainMonthEnum':
    _MetaInfoEnum(
        'KeyChainMonthEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_lib_keychain_cfg', {
            'jan': 'jan',
            'feb': 'feb',
            'mar': 'mar',
            'apr': 'apr',
            'may': 'may',
            'jun': 'jun',
            'jul': 'jul',
            'aug': 'aug',
            'sep': 'sep',
            'oct': 'oct',
            'nov': 'nov',
            'dec': 'dec',
        }, 'Cisco-IOS-XR-lib-keychain-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-lib-keychain-cfg']),
    'CryptoAlgEnum':
    _MetaInfoEnum(
        'CryptoAlgEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_lib_keychain_cfg', {
            'alg-hmac-sha1-12': 'alg_hmac_sha1_12',
            'alg-md5-16': 'alg_md5_16',
            'alg-sha1-20': 'alg_sha1_20',
Example #42
0
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'KexNameEnum' : _MetaInfoEnum('KexNameEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'diffie-hellman-group1':'diffie_hellman_group1',
            'diffie-hellman-group14':'diffie_hellman_group14',
            'diffie-hellman-group15':'diffie_hellman_group15',
            'diffie-hellman-group16':'diffie_hellman_group16',
            'diffie-hellman-group17':'diffie_hellman_group17',
            'diffie-hellman-group18':'diffie_hellman_group18',
            'ecdh-nistp256':'ecdh_nistp256',
            'ecdh-nistp384':'ecdh_nistp384',
            'ecdh-nistp521':'ecdh_nistp521',
            'password-authenticated':'password_authenticated',
        }, 'Cisco-IOS-XR-crypto-ssh-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-ssh-oper']),
    'HostkeyEnum' : _MetaInfoEnum('HostkeyEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'ssh-dss':'ssh_dss',
            'ssh-rsa':'ssh_rsa',
        }, 'Cisco-IOS-XR-crypto-ssh-oper', _yang_ns._namespaces['Cisco-IOS-XR-crypto-ssh-oper']),
    'VersionEnum' : _MetaInfoEnum('VersionEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_crypto_ssh_oper',
        {
            'v2':'v2',
            'v1':'v1',
Example #43
0


import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYDataValidationError
from ydk.models import _yang_ns

_meta_table = {
    'IpVersionEnum' : _MetaInfoEnum('IpVersionEnum', 'ydk.models.ietf.ietf_inet_types',
        {
            'unknown':'UNKNOWN',
            'ipv4':'IPV4',
            'ipv6':'IPV6',
        }, 'ietf-inet-types', _yang_ns._namespaces['ietf-inet-types']),
}
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'Ipv6SelfPingEnum':
    _MetaInfoEnum('Ipv6SelfPingEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ma_cfg', {
                      'disabled': 'disabled',
                      'enabled': 'enabled',
                  }, 'Cisco-IOS-XR-ipv6-ma-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ma-cfg']),
    'Ipv6QppbEnum':
    _MetaInfoEnum(
        'Ipv6QppbEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ma_cfg', {
            'none': 'none',
            'ip-precedence': 'ip_precedence',
            'qos-group': 'qos_group',
            'both': 'both',
        }, 'Cisco-IOS-XR-ipv6-ma-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-ipv6-ma-cfg']),
    'Ipv6DefaultPingEnum':
    _MetaInfoEnum('Ipv6DefaultPingEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv6_ma_cfg', {
                      'disabled': 'disabled',
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'AlAlarmBistateEnum':
    _MetaInfoEnum(
        'AlAlarmBistateEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_correlator_oper', {
            'not-available': 'not_available',
            'active': 'active',
            'clear': 'clear',
        }, 'Cisco-IOS-XR-infra-correlator-oper',
        _yang_ns._namespaces['Cisco-IOS-XR-infra-correlator-oper']),
    'AlAlarmSeverityEnum':
    _MetaInfoEnum(
        'AlAlarmSeverityEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_correlator_oper', {
            'unknown': 'unknown',
            'emergency': 'emergency',
            'alert': 'alert',
            'critical': 'critical',
            'error': 'error',
            'warning': 'warning',
            'notice': 'notice',
            'informational': 'informational',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'QosFieldNotSupportedEnum' : _MetaInfoEnum('QosFieldNotSupportedEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_asr9k_qos_cfg',
        {
            'not-supported':'NOT_SUPPORTED',
        }, 'Cisco-IOS-XR-asr9k-qos-cfg', _yang_ns._namespaces['Cisco-IOS-XR-asr9k-qos-cfg']),
    'Qosl2DataLinkEnum' : _MetaInfoEnum('Qosl2DataLinkEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_asr9k_qos_cfg',
        {
            'aal5':'AAL5',
        }, 'Cisco-IOS-XR-asr9k-qos-cfg', _yang_ns._namespaces['Cisco-IOS-XR-asr9k-qos-cfg']),
    'QosPolicyAccountEnum' : _MetaInfoEnum('QosPolicyAccountEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_asr9k_qos_cfg',
        {
            'no-preference':'NO_PREFERENCE',
            'layer2':'LAYER2',
            'no-layer2':'NO_LAYER2',
            'user-defined':'USER_DEFINED',
            'layer1':'LAYER1',
        }, 'Cisco-IOS-XR-asr9k-qos-cfg', _yang_ns._namespaces['Cisco-IOS-XR-asr9k-qos-cfg']),
    'Qosl2EncapEnum' : _MetaInfoEnum('Qosl2EncapEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_asr9k_qos_cfg',
        {
Example #47
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'IccpModeEnum':
    _MetaInfoEnum('IccpModeEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_rgmgr_cfg', {
                      'singleton': 'singleton',
                  }, 'Cisco-IOS-XR-rgmgr-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-rgmgr-cfg']),
    'RedundancyGroupManager.Aps.DefaultRedundancyGroup': {
        'meta_info':
        _MetaInfoClass(
            'RedundancyGroupManager.Aps.DefaultRedundancyGroup', False, [
                _MetaInfoClassMember(
                    'backup-interface-name', ATTRIBUTE, 'str', None, None, [],
                    [
                        '(([a-zA-Z0-9_]*\\d+/){3,4}\\d+)|(([a-zA-Z0-9_]*\\d+/){3,4}\\d+\\.\\d+)|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]*\\d+))|(([a-zA-Z0-9_]*\\d+/){2}([a-zA-Z0-9_]+))|([a-zA-Z0-9_-]*\\d+)|([a-zA-Z0-9_-]*\\d+\\.\\d+)|(mpls)|(dwdm)'
                    ], '''                Backup interface name
                ''', 'backup_interface_name', 'Cisco-IOS-XR-rgmgr-cfg', False),
                _MetaInfoClassMember(
                    'next-hop-address', ATTRIBUTE, 'str', None, None, [], [
                        '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\\p{N}\\p{L}]+)?'
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'WaveChannelNumEnum' : _MetaInfoEnum('WaveChannelNumEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg',
        {
            'default':'DEFAULT',
            'channel-wavelength':'CHANNEL_WAVELENGTH',
            'channel-frequency':'CHANNEL_FREQUENCY',
            '100mhz-frequency':'Y_100MHZ_FREQUENCY',
        }, 'Cisco-IOS-XR-dwdm-ui-cfg', _yang_ns._namespaces['Cisco-IOS-XR-dwdm-ui-cfg']),
    'DwdmLoopbackEnum' : _MetaInfoEnum('DwdmLoopbackEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg',
        {
            'none':'NONE',
            'line':'LINE',
            'internal':'INTERNAL',
        }, 'Cisco-IOS-XR-dwdm-ui-cfg', _yang_ns._namespaces['Cisco-IOS-XR-dwdm-ui-cfg']),
    'FecEnum' : _MetaInfoEnum('FecEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg',
        {
            'none':'NONE',
            'standard':'STANDARD',
            'enhanced':'ENHANCED',
            'high-gain-hd':'HIGH_GAIN_HD',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.models import _yang_ns

_meta_table = {
    'IpIepPathEnum' : _MetaInfoEnum('IpIepPathEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_iep_cfg',
        {
            'identifier':'IDENTIFIER',
            'name':'NAME',
        }, 'Cisco-IOS-XR-ip-iep-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-cfg']),
    'IpIepHopEnum' : _MetaInfoEnum('IpIepHopEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_iep_cfg',
        {
            'next-strict':'NEXT_STRICT',
            'next-loose':'NEXT_LOOSE',
            'exclude':'EXCLUDE',
            'exclude-srlg':'EXCLUDE_SRLG',
            'next-label':'NEXT_LABEL',
        }, 'Cisco-IOS-XR-ip-iep-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-cfg']),
    'IpIepNumEnum' : _MetaInfoEnum('IpIepNumEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_iep_cfg',
        {
            'unnumbered':'UNNUMBERED',
            'numbered':'NUMBERED',
        }, 'Cisco-IOS-XR-ip-iep-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-iep-cfg']),
Example #50
0
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'HistoryTimeoutEnum':
    _MetaInfoEnum('HistoryTimeoutEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_tc_cfg', {
                      'max': 'max',
                  }, 'Cisco-IOS-XR-infra-tc-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-infra-tc-cfg']),
    'HistorySizeEnum':
    _MetaInfoEnum('HistorySizeEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_tc_cfg', {
                      'max': 'max',
                  }, 'Cisco-IOS-XR-infra-tc-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-infra-tc-cfg']),
    'CollectIonIntervalEnum':
    _MetaInfoEnum(
        'CollectIonIntervalEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_tc_cfg', {
            '1-minute': 'Y_1_minute',
            '2-minutes': 'Y_2_minutes',
            '3-minutes': 'Y_3_minutes',
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'MppAllowEnum':
    _MetaInfoEnum(
        'MppAllowEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_lib_mpp_oper', {
            'ssh': 'ssh',
            'telnet': 'telnet',
            'snmp': 'snmp',
            'tftp': 'tftp',
            'http': 'http',
            'xr-xml': 'xr_xml',
            'netconf': 'netconf',
            'all': 'all',
        }, 'Cisco-IOS-XR-lib-mpp-oper',
        _yang_ns._namespaces['Cisco-IOS-XR-lib-mpp-oper']),
    'MppAfIdBaseIdentity': {
        'meta_info':
        _MetaInfoClass('MppAfIdBaseIdentity', False, [],
                       'Cisco-IOS-XR-lib-mpp-oper', 'Mpp-af-id-base',
                       _yang_ns._namespaces['Cisco-IOS-XR-lib-mpp-oper'],
                       'ydk.models.cisco_ios_xr.Cisco_IOS_XR_lib_mpp_oper'),
    },
    'ManagementPlaneProtection.Outband.Vrf': {
        'meta_info':
        _MetaInfoClass('ManagementPlaneProtection.Outband.Vrf', False, [
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'MplsVpnRtEnum':
    _MetaInfoEnum('MplsVpnRtEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_vpn_oper', {
                      'import': 'import_',
                      'export': 'export',
                      'both': 'both',
                  }, 'Cisco-IOS-XR-mpls-vpn-oper',
                  _yang_ns._namespaces['Cisco-IOS-XR-mpls-vpn-oper']),
    'MplsVpnAfiEnum':
    _MetaInfoEnum('MplsVpnAfiEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_vpn_oper', {
                      'ipv4': 'ipv4',
                      'ipv6': 'ipv6',
                  }, 'Cisco-IOS-XR-mpls-vpn-oper',
                  _yang_ns._namespaces['Cisco-IOS-XR-mpls-vpn-oper']),
    'MplsVpnSafiEnum':
    _MetaInfoEnum('MplsVpnSafiEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mpls_vpn_oper', {
                      'unicast': 'unicast',
                      'multicast': 'multicast',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'ServerDomainLkupEnum' : _MetaInfoEnum('ServerDomainLkupEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_domain_oper',
        {
            'static-mapping':'STATIC_MAPPING',
            'domain-service':'DOMAIN_SERVICE',
        }, 'Cisco-IOS-XR-ip-domain-oper', _yang_ns._namespaces['Cisco-IOS-XR-ip-domain-oper']),
    'HostAddressBaseIdentity' : {
        'meta_info' : _MetaInfoClass('HostAddressBaseIdentity',
            False, 
            [
            ],
            'Cisco-IOS-XR-ip-domain-oper',
            'Host-address-base',
            _yang_ns._namespaces['Cisco-IOS-XR-ip-domain-oper'],
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_ip_domain_oper'
        ),
    },
    'IpDomain.Vrfs.Vrf.Server.ServerAddress' : {
        'meta_info' : _MetaInfoClass('IpDomain.Vrfs.Vrf.Server.ServerAddress',
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'AlAlarmBistateEnum' : _MetaInfoEnum('AlAlarmBistateEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_alarm_logger_oper',
        {
            'not-available':'NOT_AVAILABLE',
            'active':'ACTIVE',
            'clear':'CLEAR',
        }, 'Cisco-IOS-XR-infra-alarm-logger-oper', _yang_ns._namespaces['Cisco-IOS-XR-infra-alarm-logger-oper']),
    'AlAlarmSeverityEnum' : _MetaInfoEnum('AlAlarmSeverityEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_infra_alarm_logger_oper',
        {
            'unknown':'UNKNOWN',
            'emergency':'EMERGENCY',
            'alert':'ALERT',
            'critical':'CRITICAL',
            'error':'ERROR',
            'warning':'WARNING',
            'notice':'NOTICE',
            'informational':'INFORMATIONAL',
            'debugging':'DEBUGGING',
        }, 'Cisco-IOS-XR-infra-alarm-logger-oper', _yang_ns._namespaces['Cisco-IOS-XR-infra-alarm-logger-oper']),
    'AlarmLogger.BufferStatus' : {
Example #55
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns

_meta_table = {
    'OtsPsmLockoutFromEnum':
    _MetaInfoEnum('OtsPsmLockoutFromEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mystique_ots_cfg', {
                      'working': 'working',
                      'protected': 'protected',
                  }, 'Cisco-IOS-XR-mystique-ots-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-mystique-ots-cfg']),
    'OtsAmplifierGridModeEnum':
    _MetaInfoEnum('OtsAmplifierGridModeEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mystique_ots_cfg', {
                      '100g-hz': 'Y_100g_hz',
                      '50g-hz': 'Y_50g_hz',
                      'gr-idle-ss': 'gr_idle_ss',
                  }, 'Cisco-IOS-XR-mystique-ots-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-mystique-ots-cfg']),
    'OtsPsmManualSwitchEnum':
    _MetaInfoEnum('OtsPsmManualSwitchEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_mystique_ots_cfg', {
                      'working': 'working',
                      'protected': 'protected',
Example #56
0
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'BgpOriginAttrTypeEnum':
    _MetaInfoEnum('BgpOriginAttrTypeEnum',
                  'ydk.models.openconfig.cisco_xr_openconfig_bgp_types', {
                      'IGP': 'IGP',
                      'EGP': 'EGP',
                      'INCOMPLETE': 'INCOMPLETE',
                  }, 'cisco-xr-openconfig-bgp-types',
                  _yang_ns._namespaces['cisco-xr-openconfig-bgp-types']),
    'Afi_Safi_TypeIdentity': {
        'meta_info':
        _MetaInfoClass('Afi_Safi_TypeIdentity', False, [],
                       'cisco-xr-openconfig-bgp-types', 'AFI_SAFI_TYPE',
                       _yang_ns._namespaces['cisco-xr-openconfig-bgp-types'],
                       'ydk.models.openconfig.cisco_xr_openconfig_bgp_types'),
    },
    'Ipv6_UnicastIdentity': {
        'meta_info':
        _MetaInfoClass('Ipv6_UnicastIdentity', False, [],
                       'cisco-xr-openconfig-bgp-types', 'IPV6_UNICAST',
                       _yang_ns._namespaces['cisco-xr-openconfig-bgp-types'],
from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST, REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION, ANYXML_CLASS

from ydk.errors import YPYError, YPYModelError
from ydk.providers._importer import _yang_ns
_meta_table = {
    'WaveChannelNumEnum':
    _MetaInfoEnum(
        'WaveChannelNumEnum',
        'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg', {
            'default': 'default',
            'channel-wavelength': 'channel_wavelength',
            'channel-frequency': 'channel_frequency',
            '100mhz-frequency': 'Y_100mhz_frequency',
        }, 'Cisco-IOS-XR-dwdm-ui-cfg',
        _yang_ns._namespaces['Cisco-IOS-XR-dwdm-ui-cfg']),
    'DwdmLoopbackEnum':
    _MetaInfoEnum('DwdmLoopbackEnum',
                  'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg', {
                      'none': 'none',
                      'line': 'line',
                      'internal': 'internal',
                  }, 'Cisco-IOS-XR-dwdm-ui-cfg',
                  _yang_ns._namespaces['Cisco-IOS-XR-dwdm-ui-cfg']),
    'FecEnum':
    _MetaInfoEnum(
        'FecEnum', 'ydk.models.cisco_ios_xr.Cisco_IOS_XR_dwdm_ui_cfg', {
import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.models import _yang_ns

_meta_table = {
    'BfdEchoStartupValidateEnum' : _MetaInfoEnum('BfdEchoStartupValidateEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_bfd_cfg',
        {
            'off':'OFF',
            'on':'ON',
            'force':'FORCE',
        }, 'Cisco-IOS-XR-ip-bfd-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-bfd-cfg']),
    'BfdIfIpv6ChecksumUsageEnum' : _MetaInfoEnum('BfdIfIpv6ChecksumUsageEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_bfd_cfg',
        {
            'disable':'DISABLE',
            'enable':'ENABLE',
        }, 'Cisco-IOS-XR-ip-bfd-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-bfd-cfg']),
    'BfdIfEchoUsageEnum' : _MetaInfoEnum('BfdIfEchoUsageEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_bfd_cfg',
        {
            'enable':'ENABLE',
            'disable':'DISABLE',
        }, 'Cisco-IOS-XR-ip-bfd-cfg', _yang_ns._namespaces['Cisco-IOS-XR-ip-bfd-cfg']),
    'BfdBundleCoexistenceBobBlbEnum' : _MetaInfoEnum('BfdBundleCoexistenceBobBlbEnum', 'ydk.models.ip.Cisco_IOS_XR_ip_bfd_cfg',
        {
            'inherited':'INHERITED',
Example #59
0

import re
import collections

from enum import Enum

from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLIST,     REFERENCE_IDENTITY_CLASS, REFERENCE_ENUM_CLASS, REFERENCE_BITS, REFERENCE_UNION

from ydk.errors import YPYError, YPYModelError
from ydk.models import _yang_ns

_meta_table = {
    'NeighborOriginEnum' : _MetaInfoEnum('NeighborOriginEnum', 'ydk.models.openconfig.openconfig_if_ip',
        {
            'OTHER':'OTHER',
            'STATIC':'STATIC',
            'DYNAMIC':'DYNAMIC',
        }, 'openconfig-if-ip', _yang_ns._namespaces['openconfig-if-ip']),
    'IpAddressOriginEnum' : _MetaInfoEnum('IpAddressOriginEnum', 'ydk.models.openconfig.openconfig_if_ip',
        {
            'OTHER':'OTHER',
            'STATIC':'STATIC',
            'DHCP':'DHCP',
            'LINK_LAYER':'LINK_LAYER',
            'RANDOM':'RANDOM',
        }, 'openconfig-if-ip', _yang_ns._namespaces['openconfig-if-ip']),
}