• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python _dm_meta_info._MetaInfoEnum函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中ydk._core._dm_meta_info._MetaInfoEnum函数的典型用法代码示例。如果您正苦于以下问题:Python _MetaInfoEnum函数的具体用法?Python _MetaInfoEnum怎么用?Python _MetaInfoEnum使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了_MetaInfoEnum函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: _MetaInfoEnum



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']),
}
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:19,代码来源:_Cisco_IOS_XR_platform_pifib_oper.py


示例2: _MetaInfoEnum

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' : {
开发者ID:abhikeshav,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_infra_alarm_logger_oper.py


示例3: _MetaInfoEnum

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',
开发者ID:montgok,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_ipv4_io_cfg.py


示例4: _MetaInfoEnum

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',
        {
开发者ID:abhikeshav,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_asr9k_qos_cfg.py


示例5: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_dwdm_ui_cfg.py


示例6: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_mpls_static_oper.py


示例7: _MetaInfoEnum

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',
开发者ID:abhikeshav,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_ncs1k_mxp_cfg.py


示例8: _MetaInfoEnum

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',
开发者ID:abhikeshav,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_aaa_protocol_radius_cfg.py


示例9: _MetaInfoEnum



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']),
}
开发者ID:ReignInChaos,项目名称:ydk-gen,代码行数:21,代码来源:_ietf_netconf_with_defaults.py


示例10: _MetaInfoEnum

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',
开发者ID:montgok,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_pmengine_cfg.py


示例11: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_ip_iep_oper.py


示例12: _MetaInfoEnum

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',
开发者ID:mirceaulinic,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_ethernet_cfm_datatypes.py


示例13: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_crypto_sam_oper.py


示例14: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:31,代码来源:_openconfig_bgp_types.py


示例15: _MetaInfoEnum

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']),
开发者ID:montgok,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_mpls_ldp_cfg_datatypes.py


示例16: _MetaInfoEnum

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', 
                        [], [], 
                        '''                        ''',
开发者ID:josearsenio,项目名称:ydk-gen,代码行数:31,代码来源:_ydktest_union.py


示例17: _MetaInfoEnum



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']),
}
开发者ID:montgok,项目名称:ydk-py,代码行数:18,代码来源:_Cisco_IOS_XR_ipv6_ma_subscriber_cfg.py


示例18: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:31,代码来源:_Cisco_IOS_XR_ip_ntp_oper.py


示例19: _MetaInfoEnum

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',
开发者ID:ReignInChaos,项目名称:ydk-gen,代码行数:31,代码来源:_ietf_netconf.py


示例20: _MetaInfoEnum

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',
开发者ID:CiscoDevNet,项目名称:ydk-py,代码行数:32,代码来源:_Cisco_IOS_XR_infra_sla_datatypes.py



注:本文中的ydk._core._dm_meta_info._MetaInfoEnum函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python providers.NetconfServiceProvider类代码示例发布时间:2022-05-27
下一篇:
Python common.check_vtens_part函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap