class Node(dict, Remote):
fields = {
- 'plc': None,
+ 'plcs': ['TestPLC'],
'hostname': None, # Node Hostname
'host': 'localhost', # host where node lives
'redir_port': None, # Port on host where ssh is redirected to virtual node
'vserver': None, # vserver where this node lives
'type': 'vm', # type of node
+ 'model': '/minhw',
'nodenetworks': [], # node networks
'homedir': '/var/VirtualMachines/',
'rootkey': None # path to root ssh key
import os
+from Remote import Remote
from Table import Table
-class Slice(dict):
+class Slice(dict, Remote):
fields = {
- 'plc': None,
+ 'plcs': ['TestPLC'],
'name': None,
'instantiation': 'plc-instantiated',
'max_nodes': 1000,