Setter method for dynamic_bypass_global, mapped from YANG variable /mpls_state/dynamic_bypass/dynamic_bypass_global (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_dynamic_bypass_global is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_dynamic_bypass_global() directly.

    YANG Description: MPLS dynamic bypass

def _set_dynamic_bypass_global(self, v, load=False):
    """
    Setter method for dynamic_bypass_global, mapped from YANG variable /mpls_state/dynamic_bypass/dynamic_bypass_global (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_dynamic_bypass_global is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_dynamic_bypass_global() directly.

    YANG Description: MPLS dynamic bypass
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=dynamic_bypass_global.dynamic_bypass_global, is_container='container', presence=False, yang_name="dynamic-bypass-global", rest_name="dynamic-bypass-global", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'mpls-dynamic-bypass-global', u'cli-suppress-show-path': None}}, namespace='urn:brocade.com:mgmt:brocade-mpls-operational', defining_module='brocade-mpls-operational', yang_type='container', is_config=False)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """dynamic_bypass_global must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=dynamic_bypass_global.dynamic_bypass_global, is_container='container', presence=False, yang_name="dynamic-bypass-global", rest_name="dynamic-bypass-global", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'mpls-dynamic-bypass-global', u'cli-suppress-show-path': None}}, namespace='urn:brocade.com:mgmt:brocade-mpls-operational', defining_module='brocade-mpls-operational', yang_type='container', is_config=False)""",
        })

    self.__dynamic_bypass_global = t
    if hasattr(self, '_set'):
      self._set()