Fixes #1

Adds integer casting around the IP in CIDR check in
attempt_to_reallocate_ip.
Fixes #3

Adds VIF attachment to the NVP driver.
Merge pull request #2 from Cerberus98/master

Fixes #1
Merge pull request #4 from Cerberus98/master

Fixes #3
Fixes RM3256

Fixes an accidental regression in network deletion caused when trying to
fix IPAM. More specifically, the allocated_ips relationship was being
improperly used earlier and was thus modified to only count IP addresses
that had actually been allocated previously but weren't currently
allocated. Unfortunately, we missed the case in network delete where the
plugin code checks to see if any previously generated IP addresses are
currently allocated. The tests passed because we stub out any database
access, side-stepping the check.

The fix reverts the allocated_ips relationship and adds a new
"generated_ips" relationship for IPAM to utilize instead. Additionally,
adds three tests and a new "functional" subfolder, as the only way to
test these relationships is to actually hit the database.
Merge pull request #5 from Cerberus98/r3256

Fixes RM3256
Fixes #6

Quotas were being applied to all networks, and the Openstack quota system doesn't
support any kind of hierarchical quotas out of the box. The fix, then,
is to prevent checking on shared networks.
Merge pull request #7 from Cerberus98/master

Fixes #6
Fixes #8

New switches now setting the default transport zone on creation.
Merge pull request #9 from Cerberus98/master

Fixes #8
Updated models for melange migration
Merge pull request #10 from rackerlabs/updated_models

Updated models for melange migration
Added optimized NVP driver to registry
Merge pull request #11 from roaet/RM3363_OptimizedDriverUpdate

Added optimized NVP driver to registry
Allows network plugin to be include on net create
Merge pull request #12 from Cerberus98/master

Allows network plugin to be include on net create
Prevents deletion of last switch on network
Merge pull request #13 from roaet/RM3455_optnvp_lswitchdelete

Prevents deletion of last switch on network
RM3473 added max_allocation column
Merge pull request #15 from roaet/RM3473_maxallocation_migration

RM3473 added max_allocation column