vmware-nsx/devstack
Tong Liu 4b641bc63e Cleanup utility for nsxt plugin
If there is any resource created by OpenStack left on the NSX
backend, we can use this utility to clean it up. The cleanup steps
are as follows:
    1. Cleanup firewall sections
    2. Cleanup NSGroups
    3. Cleanup logical router ports
    4. Cleanup logical routers
    5. Cleanup logical switch ports
    6. Cleanup logical switches

Usage:
    $ python nsxt_cleanup.py --mgr-ip <mgr_ip> -u <user> -p <pass>
    or
    >>> import nsxt_cleanup
    >>> nsxt = nsxt_cleanup.NSXClient('mgr_ip', 'user', 'pass')
    >>> nsxt.cleanup_os_logical_ports()
    >>> nsxt.cleanup_os_logical_switches()
    >>> nsxt.cleanup_all()

Change-Id: I5e5ff73d11ce791c323627dff55655fab9dbc09a
2015-10-20 23:15:48 +00:00
..
lib Set external ID for nsxvswitch bridge to "nsx-managed" 2015-10-06 17:37:45 +00:00
tools Cleanup utility for nsxt plugin 2015-10-20 23:15:48 +00:00
localrc_nsx_v3 Add sample localrc for nsx_v3 2015-09-15 14:11:49 -04:00
plugin.sh Cleanup utility for nsxt plugin 2015-10-20 23:15:48 +00:00
README.rst Fix plugin url in readme 2015-08-04 08:38:31 -07:00
settings Implement devstack external plugin 2015-02-24 08:46:13 -08:00

Devstack external plugin

Add and set the following in your local.conf/localrc file:

enable_plugin vmware-nsx https://git.openstack.org/openstack/vmware-nsx

For Nsx-mh:

Q_PLUGIN=vmware_nsx

PUBLIC_BRIDGE # bridge used for external connectivity, typically br-ex NSX_GATEWAY_NETWORK_INTERFACE # interface used to communicate with the NSX Gateway NSX_GATEWAY_NETWORK_CIDR # CIDR to configure $PUBLIC_BRIDGE, e.g. 172.24.4.211/24

For Nsx-v:

Q_PLUGIN=vmware_nsx_v

NSXV_MANAGER_URI # URL for NSXv manager (e.g - https://management_ip). NSXV_USER # NSXv username. NSXV_PASSWORD # NSXv password. NSXV_CLUSTER_MOID # clusters ids containing OpenStack hosts. NSXV_DATACENTER_MOID # datacenter id for edge deployment. NSXV_RESOURCE_POOL_ID # resource-pool id for edge deployment. NSXV_DATASTORE_ID # datastore id for edge deployment. NSXV_EXTERNAL_NETWORK # id of logic switch for physical network connectivity. NSXV_VDN_SCOPE_ID # network scope id for VXLAN virtual-wires. NSXV_DVS_ID # Dvs id for VLAN based networks. NSXV_BACKUP_POOL # backup edge pools management range, # <edge_type>:[edge_size]:<minimum_pooled_edges>:<maximum_pooled_edges>. # edge_type:'service'(service edge) or 'vdr'(distributed edge). # edge_size: 'compact', 'large'(by default), 'xlarge' or 'quadlarge'.

# To enable the metadata service, the following variables should be also set: NSXV_MGT_NET_PROXY_IPS # management network IP address for metadata proxy. NSXV_MGT_NET_PROXY_NETMASK # management network netmask for metadata proxy. NSXV_NOVA_METADATA_IPS # IP addresses used by Nova metadata service. NSXV_NOVA_METADATA_PORT # TCP Port used by Nova metadata server. NSXV_MGT_NET_MOID # Network ID for management network connectivity