projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Juju/k8s fixes
[osm/N2VC.git]
/
n2vc
/
n2vc_conn.py
diff --git
a/n2vc/n2vc_conn.py
b/n2vc/n2vc_conn.py
index
97b6188
..
d3aaf35
100644
(file)
--- a/
n2vc/n2vc_conn.py
+++ b/
n2vc/n2vc_conn.py
@@
-106,6
+106,8
@@
class N2VCConnector(abc.ABC, Loggable):
self.on_update_db = on_update_db
# generate private/public key-pair
self.on_update_db = on_update_db
# generate private/public key-pair
+ self.private_key_path = None
+ self.public_key_path = None
self.get_public_key()
@abc.abstractmethod
self.get_public_key()
@abc.abstractmethod
@@
-116,7
+118,7
@@
class N2VCConnector(abc.ABC, Loggable):
"""
# TODO: review which public key
"""
# TODO: review which public key
-
async
def get_public_key(self) -> str:
+ def get_public_key(self) -> str:
"""Get the VCA ssh-public-key
Returns the SSH public key from local mahine, to be injected into virtual machines to
"""Get the VCA ssh-public-key
Returns the SSH public key from local mahine, to be injected into virtual machines to