code: def add_route(self, gateway, network):
          
          self.make_request(
              EngineCommandFailed,
              method='create',
              resource='add_route',
              params={'gateway': gateway,
                      'network': network})
docs: Add a route to engine. Specify gateway and network.
          If this is the default gateway, use a network address of
          0.0.0.0/0.
  
          .. note: This will fail if the gateway provided does not have a
                   corresponding interface on the network.
  
          :param str gateway: gateway of an existing interface
          :param str network: network address in cidr format
          :raises EngineCommandFailed: invalid route, possibly no network
          :return: None