Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ cd ~/routing/trellis
$ onos-netcfg localhost trellisp4.json

(Optional) Decrease flow and group polling time

ONOS use polling mechanism to sync table entries from P4 devices

We can manually setup polling frequency in ONOS shell so ONOS can poll flow entries and groups from devices more frequently. (default: 30 seconds)

Code Block
onos> cfg set org.onosproject.net.flow.impl.FlowRuleManager fallbackFlowPollFrequency 5
onos> cfg set org.onosproject.net.group.impl.GroupManager fallbackGroupPollFrequency 5


Start mininet topology on new terminal using trellisp4.py python script
trellisp4.py creates:

...