aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/resource/lxd/lxd_hypervisor.py
diff options
context:
space:
mode:
authorMarcel Enguehard <mengueha+fdio@cisco.com>2017-05-29 15:54:39 +0200
committerMarcel Enguehard <mengueha+fdio@cisco.com>2017-05-29 15:54:39 +0200
commit97c6a8bb1847febe8bda5f95e19f527cabc060b9 (patch)
treeeef5bd3a9c10179d59205f11240535d8be20f5ee /vicn/resource/lxd/lxd_hypervisor.py
parenta836e5c16ea7df38646c46f2e9ffc6163ab05f06 (diff)
Misc bug fixes: VPP, deb package detection, lxd
Change-Id: Ib3d339e636c0ec62dc0fe3227af85bcc167445cf Signed-off-by: Marcel Enguehard <mengueha+fdio@cisco.com>
Diffstat (limited to 'vicn/resource/lxd/lxd_hypervisor.py')
-rw-r--r--vicn/resource/lxd/lxd_hypervisor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vicn/resource/lxd/lxd_hypervisor.py b/vicn/resource/lxd/lxd_hypervisor.py
index f9952e4f..bbdba7c6 100644
--- a/vicn/resource/lxd/lxd_hypervisor.py
+++ b/vicn/resource/lxd/lxd_hypervisor.py
@@ -52,7 +52,6 @@ DEFAULT_CERT_PATH = os.path.expanduser(os.path.join(
DEFAULT_KEY_PATH = os.path.expanduser(os.path.join(
'~', '.vicn', 'lxd_client_cert', 'client_key.pem'))
-# FIXME hardcoded password for LXD server
LXD_TRUST_PWD_DEFAULT = 'vicn'
LXD_STORAGE_SIZE_DEFAULT = 100 # GB
@@ -199,6 +198,8 @@ class LxdHypervisor(Service):
owner = self)
lxd_cert_install = LxdInstallCert(certificate = lxd_local_cert,
owner = self)
+ # XXX BUG network has to exist before profile, although as an attribute it
+ # will be setup after
lxd_vicn_profile = LxdProfile(name=LXD_PROFILE_NAME_DEFAULT,
node=self.node,
description='vICN profile',