summaryrefslogtreecommitdiffstats
path: root/domino-cli.py
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-06-17 15:07:16 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-06-17 15:07:16 -0700
commit53d9368829ef8212b27a7dbf5544ff68b085c695 (patch)
tree07f8cb7bdef2765dc4b1cd481d67a2dbf93df749 /domino-cli.py
parentf847eb857238315247ad3d074f77eacb12fae310 (diff)
added new tosca samples and fixed some small bugs
Change-Id: I936f12c0129711a234187cd285b2244af65a70b8 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'domino-cli.py')
-rwxr-xr-xdomino-cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/domino-cli.py b/domino-cli.py
index 5e55d38..1681139 100755
--- a/domino-cli.py
+++ b/domino-cli.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-#Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
+#Copyright 2016 Open Platform for NFV Project, Inc. and its contributors
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -34,7 +34,7 @@ def main(argv, cli_port):
try:
# Make socket
# NOTE that domino-cli.py and DominoClient.py are assumed to be run in the same machine
- transport = TSocket.TSocket('localhost', cli_port)
+ transport = TSocket.TSocket('localhost', int(cli_port))
# Buffering is critical. Raw sockets are very slow
transport = TTransport.TBufferedTransport(transport)
# Wrap in a protocol