Multiple output formats in list and show commands for OKA and KSU

Change-Id: If962b7d539aae178a1bcc3a0a9bfc3496b0603a2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osmclient/cli_commands/ksu.py b/osmclient/cli_commands/ksu.py
index a66571a..8fddacb 100755
--- a/osmclient/cli_commands/ksu.py
+++ b/osmclient/cli_commands/ksu.py
@@ -288,7 +288,7 @@
 def ksu_list(ctx, filter, output):
     """list all Kubernetes SW Units (KSU)"""
     logger.debug("")
-    common.generic_list(callback=ctx.obj.ksu.list, filter=filter)
+    common.generic_list(callback=ctx.obj.ksu.list, filter=filter, format=output)
 
 
 @click.command(name="ksu-show", short_help="shows the details of a KSU")
@@ -301,7 +301,7 @@
     NAME: name or ID of the KSU
     """
     logger.debug("")
-    common.generic_show(callback=ctx.obj.ksu.get, name=name)
+    common.generic_show(callback=ctx.obj.ksu.get, name=name, format=output)
 
 
 @click.command(
diff --git a/osmclient/cli_commands/oka.py b/osmclient/cli_commands/oka.py
index 74cdc70..a6457d9 100755
--- a/osmclient/cli_commands/oka.py
+++ b/osmclient/cli_commands/oka.py
@@ -165,7 +165,7 @@
 def oka_list(ctx, filter, output):
     """list all OSM Kubernetes Application (OKA)"""
     logger.debug("")
-    common.generic_list(callback=ctx.obj.oka.list, filter=filter)
+    common.generic_list(callback=ctx.obj.oka.list, filter=filter, format=output)
 
 
 @click.command(
@@ -181,7 +181,7 @@
     NAME: name or ID of the OKA
     """
     logger.debug("")
-    common.generic_show(callback=ctx.obj.oka.get, name=name)
+    common.generic_show(callback=ctx.obj.oka.get, name=name, format=output)
 
 
 @click.command(