Application.set_flows#

Application.set_flows(ingress='gateway')[source]

Set the flows of the application, using the following rules.

  • If the flows are already set, do nothing.

  • If the flows are not set, use the ingress as the source and all

    the other nodes as the target.

  • If there is no ingress, set the flows to an empty list.

Parameters:

ingress (str) – The name of the ingress node. Defaults to “gateway”.