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 | ||
---|---|---|
| ||
clone -b onos-spring ssh://<username>@gerrit.onosproject.org:29418/ONOS |
Compile the codes.
Code Block | ||
---|---|---|
| ||
cd ~/ONOS mvn clean mvn complie |
...
Controller-CLI
Dell Hardware Switches
...
How to configure openflow
Setup CAM
Code Block language text #configure (conf)#cam-acl l2acl 2 ipv4acl 2 ipv6acl 0 ipv4qos 0 l2qos 1 l2pt 0 ipmacacl 0 vman-qos 0 ecfmacl 0 openflow 8 (conf)#cam-acl-vlan vlanopenflow 1 vlaniscsi 1 vlanaclopt 0 (conf)#exit
Reboot the switch
Code Block language text #reload
Create openflow instance
Code Block language text #configure (conf)#openflow of-instance 1 (conf-of-instance-1)#controller 1 10.11.44.5 tcp [ change to your controller ip ] (conf-of-instance-1)#flow-map l2 enable (conf-of-instance-1)#flow-map l3 enable (conf-of-instance-1)#interface-type any (conf-of-instance-1)#multiple-fwd-table enable (conf-of-instance-1)#of-version 1.3 (conf)#exit
Setup interfaces
Code Block language text (conf)#interface TenGigabitEthernet 0/0 [ change to your network ports] (conf-if-te-0/0)#of-instance 1 (conf-if-te-0/0)#no switch-port (conf-if-te-0/0)#no shutdown (conf)#exit
Enable the openflow instance
Code Block language text (conf)#openflow of-instance 1 (conf-of-instance-1)#not shutdown (conf-of-instance-1)#exit
CPqD Software Switches
The CPqD 1.3 software switch cannot be compiled out of the box on recent versions of Ubuntu (>= 13.10 I believe).
...