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

    YANG Description:  bridge_domain_counter

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

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

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