Versions Compared

Key

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

...

Code Block
languagetext
clone -b onos-spring ssh://<username>@gerrit.onosproject.org:29418/ONOS

 

Compile the codes.

Code Block
languagetext
cd ~/ONOS
mvn clean
mvn complie

...

 

Controller-CLI

 

 

 

 

Dell Hardware Switches

 

...

How to configure openflow 

  1. Setup CAM

    Code Block
    languagetext
    #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
  2. Reboot the switch

    Code Block
    languagetext
    #reload
  3. Create openflow instance

    Code Block
    languagetext
    #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
  4. Setup interfaces

    Code Block
    languagetext
    (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
  5. Enable the openflow instance

    Code Block
    languagetext
    (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).

...