from spl.control import *

#import os
#import os.path
#
#db_filename = 'spl17.db'
#
#if os.path.exists(db_filename):
#    os.remove(db_filename)

load_resources()
query_db(Node)
query_db(VM)
query_db(Network)
create_group("group1","vlan-head-108",101)
query_db(Group)
add_node_to_group(1,"group1")
add_node_to_group(4,"group1")
add_node_to_group(6,"group1")
deploy_group("group1")
query_db(Group)
