add method to set the port type()

allows the cli to use a single method to create a port and then set the
type before calling create()

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
host.get_interfaces(): make query optional

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
fix two typos

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Router: add set_type() method

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Midonet CLI: initial implementation

Includes:

  * design doc.
  * feature-complete CLI framework
  * partially implemented mappings to API objects/methods

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
CLI: update authentication code

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Ignore dpkg-buildpackage byproducts

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Validate UUIDs before querying API

Prevents extra queries and error msgs on the console.

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
mn-ctl: rule object definition

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Add debug option

Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
Merge pull request #1 from tomoe/cli

Add debug option
popt/pusht: new commands to set the session's tenant id

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Validate literal types

Add validation for ip addresses, ip subnets, l4 ports, and uuids.

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Remove obsolete API mocks

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
new debug command: toggles DEBUG log level

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Resolve relative object refs

This commit add support for object refs to objects that
can only be found relative another one, in a child namespace.
Examples of this are refs to router and bridge ports, such as
those found in interface-to-port bindings.

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Fix typo in -e option parsing

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
fix set command for object refs

...and add the peer field to router/bridge ports

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
New object definitions: Bgp, AdRoute

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Fix get_bgp() method

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>