jclouds/jclouds-labs-openstack — pull request #44 by KrisSterckx (2013-10-23 07:20:28+00:00)
Title: OS Neutron v2.0 Extensions

Hello, I've added some Neutron v2.0 Extensions :
* Router
* FloatingIP
* LBaaS
- Pool
- PoolMember
- VIP
- HealthMonitor

I've run the live tests against a DevStack setup which is using the Grizzly version of OpenStack.
Find below the contents of my localrc file :

ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=token
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-meta
enable_service quantum
enable_service q-lbaas
OVS_ENABLE_TUNNELING=False
NOVA_BRANCH=stable/grizzly
CINDER_BRANCH=stable/grizzly
GLANCE_BRANCH=stable/grizzly
HORIZON_BRANCH=stable/grizzly
KEYSTONE_BRANCH=stable/grizzly
NEUTRON_BRANCH=stable/grizzly
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs
OVS_VLAN_RANGES=RegionOne:1:4000

To remove all resources, run the following commands :

neutron lb-vip-list | awk '{print $2}' | xargs -I{} neutron lb-vip-delete "{}"
neutron lb-healthmonitor-list | awk '{print $2}' | xargs -I{} neutron lb-healthmonitor-delete "{}"
neutron lb-member-list | awk '{print $2}' | xargs -I{} neutron lb-member-delete "{}"
neutron lb-pool-list | awk '{print $2}' | xargs -I{} neutron lb-pool-delete "{}"
neutron floatingip-list | awk '{print $2}' | xargs -I{} neutron floatingip-delete "{}"
neutron router-list | awk '{print $2}' | xargs -I{} neutron router-delete "{}"
neutron port-list | awk '{print $2}' | xargs -I{} neutron port-delete "{}"
neutron subnet-list | awk '{print $2}' | xargs -I{} neutron subnet-delete "{}"
neutron net-list | awk '{print $2}' | xargs -I{} neutron net-delete "{}"