Created
May 27, 2016 16:59
-
-
Save Ladas/adb588464aaa42019871ada3ca27962d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:vnf=>{:name=>"paramtest", | |
:vnfd_id=>"ba49e22e-1d85-491f-859f-2d9afa2ab952", | |
:attributes=>{:param_values => {:flavor_name => 'm1.tiny', :image_name => 'cirros'}} | |
}} | |
service.vnfs.create(create_options) | |
2016-05-27 16:58:43.447 25787 TRACE tacker.api.v1.resource DBError: (_mysql_exceptions.ProgrammingError) (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \': "\'m1.tiny\'", u\'image_name\': "\'cirros\'"})\' at line 1') [SQL: u'INSERT INTO deviceattributes (id, device_id, `key`, value) VALUES (%s, %s, %s, %s)'] [parameters: ('a7e429ac-29ad-49d0-9a8e-8e6d58d1bca0', '8525ded5-1524-4d06-8a48-ed3a42364d5f', 'param_values', {u'flavor_name': u'm1.tiny', u'image_name': u'cirros'})] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 | |
description: OpenWRT with services, parametrized, by Ladas | |
metadata: | |
template_name: OpenWRT | |
topology_template: | |
inputs: | |
image_name: | |
type: string | |
description: Image Name | |
flavor_name: | |
type: string | |
description: Flavor Name | |
node_templates: | |
VDU1: | |
type: tosca.nodes.nfv.VDU.Tacker | |
properties: | |
image: { get_input: image_name } | |
flavor: { get_input: flavor_name } | |
config: | | |
param0: key1 | |
param1: key2 | |
mgmt_driver: openwrt | |
monitoring_policy: | |
name: ping | |
actions: | |
- {trigger: failure, action: respawn} | |
parameters: | |
count: "3" | |
interval: "10" | |
CP1: | |
type: tosca.nodes.nfv.CP.Tacker | |
properties: | |
management: true | |
requirements: | |
- virtualLink: | |
node: VL1 | |
- virtualBinding: | |
node: VDU1 | |
CP2: | |
type: tosca.nodes.nfv.CP.Tacker | |
requirements: | |
- virtualLink: | |
node: VL2 | |
- virtualBinding: | |
node: VDU1 | |
CP3: | |
type: tosca.nodes.nfv.CP.Tacker | |
requirements: | |
- virtualLink: | |
node: VL3 | |
- virtualBinding: | |
node: VDU1 | |
VL1: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: net_mgmt | |
vendor: Tacker | |
VL2: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: pkt_in | |
vendor: Tacker | |
VL3: | |
type: tosca.nodes.nfv.VL | |
properties: | |
network_name: pkt_out | |
vendor: Tacker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment