code: def blacklist(self, src, dst, duration=3600, **kw):
          
          self.make_request(
              method='create',
              resource='blacklist',
              json=prepare_blacklist(src, dst, duration, **kw))
docs: Add blacklist to all defined engines.
          Use the cidr netmask at the end of src and dst, such as:
          1.1.1.1/32, etc.
  
          :param src: source of the entry
          :param dst: destination of blacklist entry
          :raises ActionCommandFailed: blacklist apply failed with reason
          :return: None
  
          .. seealso:: :class:`smc.core.engine.Engine.blacklist`. Applying
              a blacklist at the system level will be a global blacklist entry
              versus an engine specific entry.
          
          .. note:: If more advanced blacklist is required using source/destination
              ports and protocols (udp/tcp), use kw to provide these arguments. See
              :py:func:`smc.elements.other.prepare_blacklist` for more details.