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

def _set_bd_pim(self, v, load=False):
    """
    Setter method for bd_pim, mapped from YANG variable /bridge_domain/ip/bd_pim (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_bd_pim is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_bd_pim() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=bd_pim.bd_pim, is_container='container', presence=False, yang_name="bd-pim", rest_name="pim", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'IP PIM Snooping', u'alt-name': u'pim', u'cli-incomplete-no': None, u'cli-incomplete-command': None, u'sort-priority': u'131', u'callpoint': u'BDIgmps'}}, namespace='urn:brocade.com:mgmt:brocade-igmp-snooping', defining_module='brocade-igmp-snooping', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """bd_pim must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=bd_pim.bd_pim, is_container='container', presence=False, yang_name="bd-pim", rest_name="pim", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'IP PIM Snooping', u'alt-name': u'pim', u'cli-incomplete-no': None, u'cli-incomplete-command': None, u'sort-priority': u'131', u'callpoint': u'BDIgmps'}}, namespace='urn:brocade.com:mgmt:brocade-igmp-snooping', defining_module='brocade-igmp-snooping', yang_type='container', is_config=True)""",
        })

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