vmware-nsx/vmware_nsx/common
Aaron Rosen 86118f6692 nxv3: mass refactor of nsxlib
This patch refactors the current codebase to be more modular
and testable. The main changes are:

  - pull out all of the profile setup logic from the __init__
    method to it's own method _init_nsx_profiles method to make
    testing the code easier.

  - refactors the nsxlib.v3 code to break out all neutron related
    exceptions and cleans up the interface so we can make nsxlib.v3
    it's own standalone library eventually.

To improve:

  - Currently we have nsxlib.v3.dfw_api and nsxlib.v3.firewall,
    we should refactor this code and merge them into one file.

  - refactor nsxlib to section of each api component to it's own
    subclass. For example, nsxlib().port.create() rather than
    nsxlib().create_port(). I think this would be most useful
    for the security group/firewall integration as there are many
    methods there that are needed to interface with nsx as the security
    group feature is requires the most orchestration with nsx.
    Breaking them into a sub class will make things more easy to understand.

Change-Id: If2fe1e014b78703ff0a9cdff1e4e8d45f3a4a16d
2016-08-19 12:28:20 +00:00
..
__init__.py Move vmware_nsx/neutron/plugins/vmware to vmware_nsx 2015-09-14 18:51:57 -07:00
config.py Make it possible for DvsManager to manage its own DVS 2016-08-16 12:11:07 -07:00
exceptions.py nxv3: mass refactor of nsxlib 2016-08-19 12:28:20 +00:00
locking.py NSXv - log the call stack while locking 2016-07-27 16:01:40 +03:00
nsx_constants.py NSX|V3: Add support for native metadata proxy service 2016-06-23 08:45:47 +00:00
nsx_utils.py Remove deprecated warnings for neutron_lib 2016-05-11 19:26:04 -07:00
nsxv_constants.py NSXv: raise exception for reserved subnets 2016-02-07 11:53:03 +02:00
securitygroups.py Change imports for IP_PROTOCOL_MAP 2016-02-05 09:00:04 -07:00
sync.py Update gate logic 2016-07-12 09:05:22 -06:00
utils.py NSXv - Support provider security-groups 2016-08-12 07:14:49 +00:00