Adds IVS unit tests for new VIF firewall logic

Adds new unit tests for the IVS VIF driver to
cover the various possible plugging behaviors
added by the vif_details based logic introduced
in change I3bbcfc67036ab7389c82720add0bc0fc627bfee0.

Closes-Bug: #1301087
Change-Id: I7f0a1460b948a852c2d61d24217bbf27a4d85859
Drop support for conductor 1.x rpc interface

In commit 330ce897c14f66a39426e716f02a620453035c15, a part of
Icehouse, we added support for the 2.x interface.  Now that Juno
development is open, we can drop support for the old API, 1.x.

For more information on this change, see:

    https://wiki.openstack.org/wiki/RpcMajorVersionUpdates

UpgradeImpact

Change-Id: Id7e605d493a53eaaa2a9afa0c99ac721f590ca3f
Don't store duplicate policies for server_group

It doesn't make sense to store same policies in a server_group.
We need to deny this usage in server_group creation.

Change-Id: I4f3ad544aef78cbbc076c7a47cca04832a2f5b4b
Closes-Bug: #1324348
Set reasonable defaults for new network values

Partially-implements blueprint better-support-for-multiple-networks

Change-Id: Ic9c60071480abc5fced04dab5fc79ea44db1e10d
Determine shared ip from table instead of flag

Partially-implements blueprint better-support-for-multiple-networks

Change-Id: Id7c6620704fef504d23cb42c5218251fa9e2dba7
VMware: remove unused code in vm_util.py

Remove a few functions not used anymore and not tested. This increases
the code coverage and decreases the time devs scrolls through the file.

Change-Id: I8398bceb8771d9c180bcd6cbafbf1f3e839f9307
Correct the variable name in trusted filter

Rename instance to instance_type to avoid misunderstanding

Change-Id: I88f8d31074d7547649c242a023b18143a0092fea
Fix bug in TestObjectVersions

The object version hash trap test was incorrectly hashing over
None instead of the list of object fields. This patch fixes
that and updates the hashes accordingly.

Change-Id: I217b65e7dfee7b77c5ab7b0b7c8bf06cafe8bcca
Merge "Fix bug in TestObjectVersions"
Merge "VMware: remove unused code in vm_util.py"
Merge "Correct the variable name in trusted filter"
Merge "Drop support for conductor 1.x rpc interface"
Merge "Don't store duplicate policies for server_group"
Merge "Adds IVS unit tests for new VIF firewall logic"
Merge "Set reasonable defaults for new network values"
Merge "Determine shared ip from table instead of flag"