Commit 81931542 authored by Spiros Koulouzis's avatar Spiros Koulouzis

slolved cap error

parent 9551f6d6
......@@ -31,8 +31,12 @@ class Planner:
return self.template
def set_infrastructure_specifications(self, required_nodes):
required_nodes = self.set_vm_specifications(required_nodes)
required_nodes = self.set_topology_specifications(required_nodes)
# Start bottom up and (node without requirements leaf) and find the root of the graph.
# Get root performance, version requirements and set specs to required node
# required_nodes = self.set_vm_specifications(required_nodes)
# required_nodes = self.set_topology_specifications(required_nodes)
return required_nodes
def set_vm_specifications(self, required_nodes):
......
......@@ -2,7 +2,7 @@ from toscaparser.nodetemplate import NodeTemplate
from utils.TOSCA_parser import TOSCAParser
node_type_key_names_to_remove = ['capabilities', 'requirements', 'derived_from']
node_type_key_names_to_remove = ['capabilities', 'derived_from']
def get_node_type_name(node):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment