def node_group_template_create(self, context, values):
        values = copy.deepcopy(values)
        values = _apply_defaults(values, NODE_GROUP_TEMPLATE_DEFAULTS)
        values['tenant_id'] = context.tenant_id

        return self.db.node_group_template_create(context, values)
Create a Node Group Template from the values dictionary.
dataset/ETHPy150Open openstack/sahara/sahara/conductor/manager.py/ConductorManager.node_group_template_create