vmware-nsx/neutron/plugins/brocade/tests
Chang Bo Guo a37b4133b7 Use built-in print() instead of print statement
In python 3 print statement is not supported, so we should use
only print() functions.

This patch also removes print in unit test, left by accident

Fixes bug 1226943

Change-Id: I5ace50cb9e149682344b4c986ef9318f8dc50f72
2013-09-21 07:30:33 -07:00
..
noscli.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
nostest.py Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00

Start the neutron-server with IP address of switch configured in brocade.ini:
(for configuration instruction please see README.md in the above directory)

nostest.py:
This tests two things:
     1. Creates port-profile on the physical switch when a neutron 'network' is created
     2. Associates the MAC address with the created port-profile

noscli.py:
    CLI interface to create/delete/associate MAC/dissociate MAC
    Commands:
        % noscli.py create <network>
          (after running check that PP is created on the switch)

        % noscli.py delete <network>
          (after running check that PP is deleted from the switch)

        % noscli.py associate <network> <mac>
          (after running check that MAC is associated with PP)

        % noscli.py dissociate <network> <mac>
          (after running check that MAC is dissociated from the PP)