add default node map configuration, to avoid the need to set this up every time
This commit is contained in:
parent
afb6af5f87
commit
42bcb1c79d
14 changed files with 38 additions and 63 deletions
|
@ -35,6 +35,7 @@ from core.enumerations import MessageFlags
|
|||
from core.enumerations import NodeTypes
|
||||
from core.enumerations import RegisterTlvs
|
||||
from core.location import CoreLocation
|
||||
from core.misc import nodemaps
|
||||
from core.misc import nodeutils
|
||||
from core.misc import utils
|
||||
from core.misc.event import EventLoop
|
||||
|
@ -49,6 +50,11 @@ from core.xen.xenconfig import XenConfigManager
|
|||
from core.xml.xmlsession import save_session_xml
|
||||
|
||||
|
||||
# set default node map
|
||||
node_map = nodemaps.NODES
|
||||
nodeutils.set_node_map(node_map)
|
||||
|
||||
|
||||
class SessionManager(object):
|
||||
"""
|
||||
Manages currently known sessions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue