def _set_igmps_static_group(self, v, load=False):
    """
    Setter method for igmps_static_group, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_static_group (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_igmps_static_group is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_igmps_static_group() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("igmps_mcast_address igmps_interface igmps_if_type igmps_value",igmps_static_group.igmps_static_group, yang_name="igmps_static-group", rest_name="static-group", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='igmps-mcast-address igmps-interface igmps-if-type igmps-value', extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}), is_container='list', yang_name="igmps_static-group", rest_name="static-group", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}, namespace='urn:brocade.com:mgmt:brocade-igmp-snooping', defining_module='brocade-igmp-snooping', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """igmps_static_group must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("igmps_mcast_address igmps_interface igmps_if_type igmps_value",igmps_static_group.igmps_static_group, yang_name="igmps_static-group", rest_name="static-group", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='igmps-mcast-address igmps-interface igmps-if-type igmps-value', extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}), is_container='list', yang_name="igmps_static-group", rest_name="static-group", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}, namespace='urn:brocade.com:mgmt:brocade-igmp-snooping', defining_module='brocade-igmp-snooping', yang_type='list', is_config=True)""",
        })

    self.__igmps_static_group = t
    if hasattr(self, '_set'):
      self._set()
def _set_igmps_static_group ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = YANGListType ( "igmps_mcast_address igmps_interface igmps_if_type igmps_value" , igmps_static_group . igmps_static_group , yang_name = "igmps_static-group" , rest_name = "static-group" , parent = self , is_container = 'list' , user_ordered = False , path_helper = self . _path_helper , yang_keys = 'igmps-mcast-address igmps-interface igmps-if-type igmps-value' , extensions = { u'tailf-common' : { u'callpoint' : u'BDIgmpsSg' , u'cli-suppress-mode' : None , u'alt-name' : u'static-group' , u'info' : u'Static Group to be Joined' , u'cli-suppress-list-no' : None } } ) , is_container = 'list' , yang_name = "igmps_static-group" , rest_name = "static-group" , parent = self , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = True , extensions = { u'tailf-common' : { u'callpoint' : u'BDIgmpsSg' , u'cli-suppress-mode' : None , u'alt-name' : u'static-group' , u'info' : u'Static Group to be Joined' , u'cli-suppress-list-no' : None } } , namespace = 'urn:brocade.com:mgmt:brocade-igmp-snooping' , defining_module = 'brocade-igmp-snooping' , yang_type = 'list' , is_config = True ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """igmps_static_group must be of a type compatible with list""" , 'defined-type' : "list" , 'generated-type' : """YANGDynClass(base=YANGListType("igmps_mcast_address igmps_interface igmps_if_type igmps_value",igmps_static_group.igmps_static_group, yang_name="igmps_static-group", rest_name="static-group", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='igmps-mcast-address igmps-interface igmps-if-type igmps-value', extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}), is_container='list', yang_name="igmps_static-group", rest_name="static-group", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'BDIgmpsSg', u'cli-suppress-mode': None, u'alt-name': u'static-group', u'info': u'Static Group to be Joined', u'cli-suppress-list-no': None}}, namespace='urn:brocade.com:mgmt:brocade-igmp-snooping', defining_module='brocade-igmp-snooping', yang_type='list', is_config=True)""" , } ) self . __igmps_static_group = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for igmps_static_group, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_static_group (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_igmps_static_group is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_igmps_static_group() directly.