Lines Matching defs:mcast_name
349 mcast_name = None
353 mcast_name = entry_attr.as_strz()
356 if mcast_name and mcast_id is not None:
357 fam['mcast'][mcast_name] = mcast_id
404 def get_mcast_id(self, mcast_name, mcast_groups):
405 if mcast_name not in mcast_groups:
406 raise Exception(f'Multicast group "{mcast_name}" not present in the spec')
407 return mcast_groups[mcast_name].value
432 def get_mcast_id(self, mcast_name, mcast_groups):
433 if mcast_name not in self.genl_family['mcast']:
434 raise Exception(f'Multicast group "{mcast_name}" not present in the family')
435 return self.genl_family['mcast'][mcast_name]
510 def ntf_subscribe(self, mcast_name):
511 mcast_id = self.nlproto.get_mcast_id(mcast_name, self.mcast_groups)