neutron/neutron/plugins/brocade/tests
Ihar Hrachyshka 22328baf1f Migrate to oslo.log
It's mostly a matter of changing imports to a new location.

Non-obvious changes needed:
* pass overwrite= argument to oslo_context since oslo.log reads context
  from its thread local store and not local.store from incubator
* don't store context at local.store now that there is no code that
  would consume it
* LOG.deprecated() -> versionutils.report_deprecated_feature()
* dropped LOG.audit check from hacking rule since now the method does
  not exist
* WritableLogger is now located in oslo_log.loggers

Dropped log module from the tree. Also dropped local module that is now
of no use (and obsolete, as per oslo team).

Added versionutils back to openstack-common.conf since now we use the
module directly from neutron code and not just as a dependency of some
other oslo-incubator module.

Note: tempest tests are expected to be broken now, so instead of fixing
all the oslo.log related issues for the subtree in this patch, I only
added TODOs with directions for later fix.

Closes-Bug: #1425013
Change-Id: I310e059a815377579de6bb2aa204de168e72571e
2015-03-12 11:22:56 +01:00
..
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
noscli.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
nostest.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00

README

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)