Tunnel zones: add vxlan support, drop capwap

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
MidoNet CLI support for license management

Adds the following object types to the CLI:
- License to show the information for a license bean
- LicenseStatus to show the information for the license
  status

Adds the following commands to the CLI:
- Install to allow the installation of a license object
  from a file
- Status to show the status of an object type, such as
  a license

Includes support for a POST method to the MidoNet API,
where the request media type is binary data (octet stream).

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@midokura.com>
Update the media type for license management

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@midokura.com>
Merge pull request #180 from gontanon/m/vxlan

Tunnel zones: add vxlan support, drop capwap
Change Pools to be able to clear healthMonitor property

This patch changes healthMonitor property of Pool unsettable.

This fixes MN-2375.

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Add the description about type of Health Monitor

This patch adds the description about type property of Health Monitor in
the CLI doc.

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Merge pull request #184 from tfukushima/mn2375-master

Change Pools to be able to clear healthMonitor property
Update Bridge and Bridge collection media types to V2

Signed-off-by: Brandon Berg <bberg@midokura.jp>
Removes the Status command for license mgmt

This patch substitues the previous Status command with the
the Show command in order to display the license status. This
changes the syntax of the Show command to allow a pattern
show <TYPE> where type is a CollectionByType, and the command
calls the collection getter without any parameters. With this
patch, the command for checking the license status becomes:

show license_status

This patch also fixes a bug in the Install command, where
the command would always return a License object, regardless
of the collection type used in the command.

Signed-off-by: Alex Bikfalvi <alex.bikfalvi@midokura.com>
Merge pull request #182 from alexbikfalvi/master

MidoNet CLI support for license management
Introduce cleart command

This patch adds "cleart" command to the top level commands. "cleart"
cleart the current tenant ID pushing None to the stack of the tenant
ID. You can pop the previous tenant ID with "popt" as well as "pusht".

This fixes MN-2384.

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Merge pull request #188 from tfukushima/mn-2384-master

Introduce cleart command
Merge pull request #189 from brandon-berg/bridge_v2

Update Bridge and Bridge collection media types to V2
Add the description about "cleart" comand

This patch adds the description about "cleart" command in the
documentation.

Signed-off-by: Taku Fukushima <tfukushima@midokura.com>
Merge pull request #190 from tfukushima/mn-2384-master-doc

Add the description about "cleart" comand
Revert "Update Bridge and Bridge collection media types to V2"

This reverts commit 4f21a44e63ce52853f6c7425813528cfefa43824 for
v1.5 code freeze.
Merge pull request #192 from tomoe/revert-v2-bridge

Revert "Update Bridge and Bridge collection media types to V2"
Hides the vlan attribute for a VxLAN port.

The Vlan ID is not part of the original bridge port attributes. The
current CLI shows "VLAN: -1" for a VxLAN port when we list ports for a
bridge with a VxLAN port, which is useless and misleading. This patch
hides the Vlan attribute for a VxLAN port.

**Old CLI output**
midonet> bridge bridge5 list port
port port0 device bridge5 state up vlan -1 management-ip 119.15.112.22 vni 12304763

**New CLI output**
midonet> bridge bridge5 list port
port port0 device bridge5 state up management-ip 119.15.112.22 vni 12304763

Fix MN-2386
Merge pull request #186 from midokura/dev/tomohiko/vxlan-port-vlan/20140618

Hides the vlan attribute for a VxLAN port.
CLI Delete/Show grammar extension for collection.

Extends the grammar for the CLI Delete and Show commands to handle
- show a field for object collection, and
- delete elements in a sub-collection under a top-level collection.

-Sample CLI inputs-
**To show the VTEP name**
> vtep management-ip 119.15.112.22 show name

**To delete bindings**
> vtep management-ip 119.15.112.22 delete binding vlan XXX
> vtep management-ip 119.15.112.22 binding delete network-id YYY

Note:
- The above delete commands can delete multiple resources (bindings).

Fix MN-1824