Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Code Block | ||
---|---|---|
| ||
$ 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:
...