dfilppi | 9981f55 | 2017-08-07 20:10:53 +0000 | [diff] [blame] | 1 | ################################################################################## |
| 2 | # Multi-vim built in types and plugins definitions. |
| 3 | ################################################################################## |
| 4 | |
| 5 | plugins: |
| 6 | multivim: |
| 7 | executor: central_deployment_agent |
| 8 | #source: https://github.com/cloudify-cosmo/onap-multivim-plugin/archive/2.2.0.zip |
| 9 | source: |
| 10 | package_name: onap-multivim-plugin |
| 11 | package_version: '2.2.0' |
| 12 | |
| 13 | node_types: |
| 14 | onap.multivim.nodes.Server: |
| 15 | derived_from: cloudify.nodes.Compute |
| 16 | properties: |
| 17 | server: |
| 18 | default: {} |
| 19 | description: > |
| 20 | key-value server configuration as described in OpenStack compute create server API. (DEPRECATED - Use the args input in create operation instead) |
| 21 | use_external_resource: |
| 22 | type: boolean |
| 23 | default: false |
| 24 | description: > |
| 25 | a boolean for setting whether to create the resource or use an existing one. |
| 26 | See the using existing resources section. |
| 27 | create_if_missing: |
| 28 | default: false |
| 29 | description: > |
| 30 | If use_external_resource is ``true`` and the resource is missing, |
| 31 | create it instead of failing. |
| 32 | resource_id: |
| 33 | default: '' |
| 34 | description: > |
| 35 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 36 | image: |
| 37 | default: '' |
| 38 | description: > |
| 39 | The image for the server. |
| 40 | May receive either the ID or the name of the image. |
| 41 | note: This property is currently optional for backwards compatibility, |
| 42 | but will be modified to become a required property in future versions |
| 43 | (Default: ''). |
| 44 | flavor: |
| 45 | default: '' |
| 46 | description: > |
| 47 | The flavor for the server. |
| 48 | May receive either the ID or the name of the flavor. |
| 49 | note: This property is currently optional for backwards compatibility, |
| 50 | but will be modified to become a required property in future versions |
| 51 | (Default: ''). |
| 52 | management_network_name: |
| 53 | default: '' |
| 54 | description: > |
| 55 | Cloudify's management network name. |
| 56 | Every server should be connected to the management network. |
| 57 | If the management network's name information is available in the Provider Context, |
| 58 | this connection is made automatically and there's no need to override this property |
| 59 | (See the Misc section for more information on the Openstack Provider Context). |
| 60 | Otherwise, it is required to set the value of this property to the management network name as it was set in the bootstrap process. |
| 61 | Note: When using Nova-net Openstack (see the Nova-net Support section), |
| 62 | don't set this property. Defaults to '' (empty string). |
| 63 | use_password: |
| 64 | default: false |
| 65 | description: > |
| 66 | A boolean describing whether this server image supports user-password authentication. |
| 67 | Images that do should post the administrator user's password to the Openstack metadata service (e.g. via cloudbase); |
| 68 | The password would then be retrieved by the plugin, |
| 69 | decrypted using the server's keypair and then saved in the server's runtime properties. |
| 70 | multivim_config: |
| 71 | default: {} |
| 72 | description: > |
| 73 | see Openstack Configuraion |
| 74 | interfaces: |
| 75 | cloudify.interfaces.lifecycle: |
| 76 | create: |
| 77 | implementation: openstack.nova_plugin.server.create |
| 78 | inputs: |
| 79 | args: |
| 80 | default: {} |
| 81 | multivim_config: |
| 82 | default: {} |
| 83 | start: |
| 84 | implementation: openstack.nova_plugin.server.start |
| 85 | inputs: |
| 86 | start_retry_interval: |
| 87 | description: Polling interval until the server is active in seconds |
| 88 | type: integer |
| 89 | default: 30 |
| 90 | private_key_path: |
| 91 | description: > |
| 92 | Path to private key which matches the server's |
| 93 | public key. Will be used to decrypt password in case |
| 94 | the "use_password" property is set to "true" |
| 95 | type: string |
| 96 | default: '' |
| 97 | multivim_config: |
| 98 | default: {} |
| 99 | stop: |
| 100 | implementation: openstack.nova_plugin.server.stop |
| 101 | inputs: |
| 102 | multivim_config: |
| 103 | default: {} |
| 104 | delete: |
| 105 | implementation: openstack.nova_plugin.server.delete |
| 106 | inputs: |
| 107 | multivim_config: |
| 108 | default: {} |
| 109 | cloudify.interfaces.validation: |
| 110 | creation: |
| 111 | implementation: openstack.nova_plugin.server.creation_validation |
| 112 | inputs: |
| 113 | args: |
| 114 | default: {} |
| 115 | multivim_config: |
| 116 | default: {} |
| 117 | |
| 118 | onap.multivim.nodes.WindowsServer: |
| 119 | derived_from: onap.multivim.nodes.Server |
| 120 | properties: |
| 121 | use_password: |
| 122 | default: true |
| 123 | description: > |
| 124 | Default changed for derived type |
| 125 | because Windows instances need a password for agent installation |
| 126 | os_family: |
| 127 | default: windows |
| 128 | description: > |
| 129 | (updates the os_family default as a convenience) |
| 130 | agent_config: |
| 131 | type: cloudify.datatypes.AgentConfig |
| 132 | default: |
| 133 | port: 5985 |
| 134 | description: > |
| 135 | (updates the defaults for the agent_config for Windows) |
| 136 | |
| 137 | onap.multivim.nodes.KeyPair: |
| 138 | derived_from: cloudify.nodes.Root |
| 139 | properties: |
| 140 | keypair: |
| 141 | default: {} |
| 142 | description: > |
| 143 | the keypair object as described by Openstack. This |
| 144 | parameter can be used to override and pass parameters |
| 145 | directly to Nova client. |
| 146 | Note that in the case of keypair, the only nested parameter |
| 147 | that can be used is "name". |
| 148 | private_key_path: |
| 149 | description: > |
| 150 | the path (on the machine the plugin is running on) to |
| 151 | where the private key should be stored. If |
| 152 | use_external_resource is set to "true", the existing |
| 153 | private key is expected to be at this path. |
| 154 | use_external_resource: |
| 155 | type: boolean |
| 156 | default: false |
| 157 | description: > |
| 158 | a boolean describing whether this resource should be |
| 159 | created or rather that it already exists on Openstack |
| 160 | and should be used as-is. |
| 161 | create_if_missing: |
| 162 | default: false |
| 163 | description: > |
| 164 | If use_external_resource is ``true`` and the resource is missing, |
| 165 | create it instead of failing. |
| 166 | resource_id: |
| 167 | default: '' |
| 168 | description: > |
| 169 | the name that will be given to the resource on Openstack (excluding optional prefix). |
| 170 | If not provided, a default name will be given instead. |
| 171 | If use_external_resource is set to "true", this exact |
| 172 | value (without any prefixes applied) will be looked for |
| 173 | as either the name or id of an existing keypair to be used. |
| 174 | multivim_config: |
| 175 | default: {} |
| 176 | description: > |
| 177 | endpoints and authentication configuration for Openstack. |
| 178 | Expected to contain the following nested fields: |
| 179 | username, password, tenant_name, auth_url, region. |
| 180 | interfaces: |
| 181 | cloudify.interfaces.lifecycle: |
| 182 | create: |
| 183 | implementation: openstack.nova_plugin.keypair.create |
| 184 | inputs: |
| 185 | args: |
| 186 | default: {} |
| 187 | multivim_config: |
| 188 | default: {} |
| 189 | delete: |
| 190 | implementation: openstack.nova_plugin.keypair.delete |
| 191 | inputs: |
| 192 | multivim_config: |
| 193 | default: {} |
| 194 | cloudify.interfaces.validation: |
| 195 | creation: |
| 196 | implementation: openstack.nova_plugin.keypair.creation_validation |
| 197 | inputs: |
| 198 | multivim_config: |
| 199 | default: {} |
| 200 | |
| 201 | onap.multivim.nodes.Subnet: |
| 202 | derived_from: cloudify.nodes.Subnet |
| 203 | properties: |
| 204 | subnet: |
| 205 | default: {} |
| 206 | description: > |
| 207 | key-value subnet configuration as described at http://developer.openstack.org/api-ref-networking-v2.html#subnets. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 208 | use_external_resource: |
| 209 | type: boolean |
| 210 | default: false |
| 211 | description: > |
| 212 | a boolean for setting whether to create the resource or use an existing one. |
| 213 | See the using existing resources section. |
| 214 | create_if_missing: |
| 215 | default: false |
| 216 | description: > |
| 217 | If use_external_resource is ``true`` and the resource is missing, |
| 218 | create it instead of failing. |
| 219 | resource_id: |
| 220 | default: '' |
| 221 | description: > |
| 222 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 223 | multivim_config: |
| 224 | default: {} |
| 225 | description: > |
| 226 | endpoints and authentication configuration for Openstack. |
| 227 | Expected to contain the following nested fields: |
| 228 | username, password, tenant_name, auth_url, region. |
| 229 | interfaces: |
| 230 | cloudify.interfaces.lifecycle: |
| 231 | create: |
| 232 | implementation: openstack.neutron_plugin.subnet.create |
| 233 | inputs: |
| 234 | args: |
| 235 | default: {} |
| 236 | multivim_config: |
| 237 | default: {} |
| 238 | delete: |
| 239 | implementation: openstack.neutron_plugin.subnet.delete |
| 240 | inputs: |
| 241 | multivim_config: |
| 242 | default: {} |
| 243 | cloudify.interfaces.validation: |
| 244 | creation: |
| 245 | implementation: openstack.neutron_plugin.subnet.creation_validation |
| 246 | inputs: |
| 247 | args: |
| 248 | default: {} |
| 249 | multivim_config: |
| 250 | default: {} |
| 251 | |
| 252 | onap.multivim.nodes.SecurityGroup: |
| 253 | derived_from: cloudify.nodes.SecurityGroup |
| 254 | properties: |
| 255 | security_group: |
| 256 | default: {} |
| 257 | description: > |
| 258 | key-value security_group configuration as described in http://developer.openstack.org/api-ref-networking-v2-ext.html#createSecGroup. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 259 | description: |
| 260 | type: string |
| 261 | default: '' |
| 262 | description: > |
| 263 | SecurityGroup description. |
| 264 | create_if_missing: |
| 265 | default: false |
| 266 | description: > |
| 267 | If use_external_resource is ``true`` and the resource is missing, |
| 268 | create it instead of failing. |
| 269 | use_external_resource: |
| 270 | type: boolean |
| 271 | default: false |
| 272 | description: > |
| 273 | a boolean for setting whether to create the resource or use an existing one. |
| 274 | See the using existing resources section. |
| 275 | resource_id: |
| 276 | default: '' |
| 277 | description: > |
| 278 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 279 | multivim_config: |
| 280 | default: {} |
| 281 | description: > |
| 282 | endpoints and authentication configuration for Openstack. |
| 283 | Expected to contain the following nested fields: |
| 284 | username, password, tenant_name, auth_url, region. |
| 285 | rules: |
| 286 | default: [] |
| 287 | description: > |
| 288 | key-value security_group_rule configuration as described in http://developer.openstack.org/api-ref-networking-v2.html#security_groups |
| 289 | disable_default_egress_rules: |
| 290 | default: false |
| 291 | description: > |
| 292 | a flag for removing the default rules which https://wiki.openstack.org/wiki/Neutron/SecurityGroups#Behavior. If not set to `true`, these rules will remain, and exist alongside any additional rules passed using the `rules` property. |
| 293 | interfaces: |
| 294 | cloudify.interfaces.lifecycle: |
| 295 | create: |
| 296 | implementation: openstack.neutron_plugin.security_group.create |
| 297 | inputs: |
| 298 | args: |
| 299 | default: {} |
| 300 | multivim_config: |
| 301 | default: {} |
| 302 | delete: |
| 303 | implementation: openstack.neutron_plugin.security_group.delete |
| 304 | inputs: |
| 305 | multivim_config: |
| 306 | default: {} |
| 307 | cloudify.interfaces.validation: |
| 308 | creation: |
| 309 | implementation: openstack.neutron_plugin.security_group.creation_validation |
| 310 | inputs: |
| 311 | multivim_config: |
| 312 | default: {} |
| 313 | |
| 314 | onap.multivim.nodes.Router: |
| 315 | derived_from: cloudify.nodes.Router |
| 316 | properties: |
| 317 | router: |
| 318 | default: {} |
| 319 | description: > |
| 320 | key-value router configuration as described in http://developer.openstack.org/api-ref-networking-v2.html#layer3. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 321 | external_network: |
| 322 | default: '' |
| 323 | description: > |
| 324 | An external network name or ID. |
| 325 | If given, the router will use this external network as a gateway. |
| 326 | default_to_managers_external_network: |
| 327 | default: true |
| 328 | description: > |
| 329 | A boolean which determines whether to use the Cloudify Manager's external network if no other external network was given (whether by a relationship, by the `external_network` property or by the nested `external_gateway_info` key in the `router` property). This is only relevant if the manager's external network appears in the Provider-context. Defaults to `true`. |
| 330 | use_external_resource: |
| 331 | type: boolean |
| 332 | default: false |
| 333 | description: > |
| 334 | a boolean for setting whether to create the resource or use an existing one. |
| 335 | See the using existing resources section. |
| 336 | create_if_missing: |
| 337 | default: false |
| 338 | description: > |
| 339 | If use_external_resource is ``true`` and the resource is missing, |
| 340 | create it instead of failing. |
| 341 | resource_id: |
| 342 | default: '' |
| 343 | description: > |
| 344 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 345 | multivim_config: |
| 346 | default: {} |
| 347 | description: > |
| 348 | endpoints and authentication configuration for Openstack. |
| 349 | Expected to contain the following nested fields: |
| 350 | username, password, tenant_name, auth_url, region. |
| 351 | interfaces: |
| 352 | cloudify.interfaces.lifecycle: |
| 353 | create: |
| 354 | implementation: openstack.neutron_plugin.router.create |
| 355 | inputs: |
| 356 | args: |
| 357 | default: {} |
| 358 | multivim_config: |
| 359 | default: {} |
| 360 | delete: |
| 361 | implementation: openstack.neutron_plugin.router.delete |
| 362 | inputs: |
| 363 | multivim_config: |
| 364 | default: {} |
| 365 | cloudify.interfaces.validation: |
| 366 | creation: |
| 367 | implementation: openstack.neutron_plugin.router.creation_validation |
| 368 | inputs: |
| 369 | multivim_config: |
| 370 | default: {} |
| 371 | |
| 372 | onap.multivim.nodes.Port: |
| 373 | derived_from: cloudify.nodes.Port |
| 374 | properties: |
| 375 | port: |
| 376 | default: {} |
| 377 | description: > |
| 378 | key-value port configuration as described in http://developer.openstack.org/api-ref-networking-v2.html#ports. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 379 | fixed_ip: |
| 380 | default: '' |
| 381 | description: > |
| 382 | may be used to request a specific fixed IP for the port. |
| 383 | If the IP is unavailable |
| 384 | (either already taken or does not belong to a subnet the port is on) |
| 385 | an error will be raised. |
| 386 | use_external_resource: |
| 387 | type: boolean |
| 388 | default: false |
| 389 | description: > |
| 390 | a boolean for setting whether to create the resource or use an existing one. |
| 391 | See the using existing resources section. |
| 392 | create_if_missing: |
| 393 | default: false |
| 394 | description: > |
| 395 | If use_external_resource is ``true`` and the resource is missing, |
| 396 | create it instead of failing. |
| 397 | resource_id: |
| 398 | default: '' |
| 399 | description: > |
| 400 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 401 | multivim_config: |
| 402 | default: {} |
| 403 | description: > |
| 404 | endpoints and authentication configuration for Openstack. |
| 405 | Expected to contain the following nested fields: |
| 406 | username, password, tenant_name, auth_url, region. |
| 407 | interfaces: |
| 408 | cloudify.interfaces.lifecycle: |
| 409 | create: |
| 410 | implementation: openstack.neutron_plugin.port.create |
| 411 | inputs: |
| 412 | args: |
| 413 | default: {} |
| 414 | multivim_config: |
| 415 | default: {} |
| 416 | delete: |
| 417 | implementation: openstack.neutron_plugin.port.delete |
| 418 | inputs: |
| 419 | multivim_config: |
| 420 | default: {} |
| 421 | cloudify.interfaces.validation: |
| 422 | creation: |
| 423 | implementation: openstack.neutron_plugin.port.creation_validation |
| 424 | inputs: |
| 425 | multivim_config: |
| 426 | default: {} |
| 427 | |
| 428 | onap.multivim.nodes.Network: |
| 429 | derived_from: cloudify.nodes.Network |
| 430 | properties: |
| 431 | network: |
| 432 | default: {} |
| 433 | description: > |
| 434 | key-value network configuration as described in http://developer.openstack.org/api-ref-networking-v2.html#networks. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 435 | use_external_resource: |
| 436 | type: boolean |
| 437 | default: false |
| 438 | description: > |
| 439 | a boolean for setting whether to create the resource or use an existing one. |
| 440 | See the using existing resources section. |
| 441 | create_if_missing: |
| 442 | default: false |
| 443 | description: > |
| 444 | If use_external_resource is ``true`` and the resource is missing, |
| 445 | create it instead of failing. |
| 446 | resource_id: |
| 447 | default: '' |
| 448 | description: > |
| 449 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 450 | multivim_config: |
| 451 | default: {} |
| 452 | description: > |
| 453 | endpoints and authentication configuration for Openstack. |
| 454 | Expected to contain the following nested fields: |
| 455 | username, password, tenant_name, auth_url, region. |
| 456 | interfaces: |
| 457 | cloudify.interfaces.lifecycle: |
| 458 | create: |
| 459 | implementation: openstack.neutron_plugin.network.create |
| 460 | inputs: |
| 461 | args: |
| 462 | default: {} |
| 463 | multivim_config: |
| 464 | default: {} |
| 465 | delete: |
| 466 | implementation: openstack.neutron_plugin.network.delete |
| 467 | inputs: |
| 468 | multivim_config: |
| 469 | default: {} |
| 470 | cloudify.interfaces.validation: |
| 471 | creation: |
| 472 | implementation: openstack.neutron_plugin.network.creation_validation |
| 473 | inputs: |
| 474 | multivim_config: |
| 475 | default: {} |
| 476 | |
| 477 | onap.multivim.nodes.FloatingIP: |
| 478 | derived_from: cloudify.nodes.VirtualIP |
| 479 | properties: |
| 480 | floatingip: |
| 481 | default: {} |
| 482 | description: > |
| 483 | key-value floatingip configuration as described in http://developer.openstack.org/api-ref-networking-v2.html#layer3. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 484 | use_external_resource: |
| 485 | type: boolean |
| 486 | default: false |
| 487 | description: > |
| 488 | a boolean for setting whether to create the resource or use an existing one. |
| 489 | See the using existing resources section. |
| 490 | create_if_missing: |
| 491 | default: false |
| 492 | description: > |
| 493 | If use_external_resource is ``true`` and the resource is missing, |
| 494 | create it instead of failing. |
| 495 | resource_id: |
| 496 | description: IP address of the floating IP |
| 497 | default: '' |
| 498 | multivim_config: |
| 499 | default: {} |
| 500 | description: > |
| 501 | endpoints and authentication configuration for Openstack. |
| 502 | Expected to contain the following nested fields: |
| 503 | username, password, tenant_name, auth_url, region. |
| 504 | interfaces: |
| 505 | cloudify.interfaces.lifecycle: |
| 506 | create: |
| 507 | implementation: openstack.neutron_plugin.floatingip.create |
| 508 | inputs: |
| 509 | args: |
| 510 | default: {} |
| 511 | multivim_config: |
| 512 | default: {} |
| 513 | delete: |
| 514 | implementation: openstack.neutron_plugin.floatingip.delete |
| 515 | inputs: |
| 516 | multivim_config: |
| 517 | default: {} |
| 518 | cloudify.interfaces.validation: |
| 519 | creation: |
| 520 | implementation: openstack.neutron_plugin.floatingip.creation_validation |
| 521 | inputs: |
| 522 | multivim_config: |
| 523 | default: {} |
| 524 | |
| 525 | onap.multivim.nodes.Volume: |
| 526 | derived_from: cloudify.nodes.Volume |
| 527 | properties: |
| 528 | volume: |
| 529 | default: {} |
| 530 | description: > |
| 531 | key-value volume configuration as described in http://developer.openstack.org/api-ref-blockstorage-v1.html#volumes-v1. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 532 | use_external_resource: |
| 533 | type: boolean |
| 534 | default: false |
| 535 | description: > |
| 536 | a boolean for setting whether to create the resource or use an existing one. |
| 537 | See the using existing resources section. |
| 538 | create_if_missing: |
| 539 | default: false |
| 540 | description: > |
| 541 | If use_external_resource is ``true`` and the resource is missing, |
| 542 | create it instead of failing. |
| 543 | resource_id: |
| 544 | default: '' |
| 545 | description: > |
| 546 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 547 | device_name: |
| 548 | default: auto |
| 549 | description: > |
| 550 | The device name this volume will be attached to. |
| 551 | Default value is *auto*, |
| 552 | which means openstack will auto-assign a device. |
| 553 | Note that if you do explicitly set a value, |
| 554 | this value may not be the actual device name assigned. |
| 555 | Sometimes the device requested will not be available and openstack will assign it to a different device, |
| 556 | this is why we recommend using *auto*. |
| 557 | multivim_config: |
| 558 | default: {} |
| 559 | description: > |
| 560 | endpoints and authentication configuration for Openstack. |
| 561 | Expected to contain the following nested fields: |
| 562 | username, password, tenant_name, auth_url, region. |
| 563 | boot: |
| 564 | type: boolean |
| 565 | default: false |
| 566 | description: > |
| 567 | If a Server instance is connected to this Volume by a relationship, |
| 568 | this volume will be used as the boot volume for that Server. |
| 569 | interfaces: |
| 570 | cloudify.interfaces.lifecycle: |
| 571 | create: |
| 572 | implementation: openstack.cinder_plugin.volume.create |
| 573 | inputs: |
| 574 | args: |
| 575 | default: {} |
| 576 | multivim_config: |
| 577 | default: {} |
| 578 | status_attempts: |
| 579 | description: > |
| 580 | Number of times to check for the creation's status before failing |
| 581 | type: integer |
| 582 | default: 20 |
| 583 | status_timeout: |
| 584 | description: > |
| 585 | Interval (in seconds) between subsequent inquiries of the creation's |
| 586 | status |
| 587 | type: integer |
| 588 | default: 15 |
| 589 | delete: |
| 590 | implementation: openstack.cinder_plugin.volume.delete |
| 591 | inputs: |
| 592 | multivim_config: |
| 593 | default: {} |
| 594 | cloudify.interfaces.validation: |
| 595 | creation: |
| 596 | implementation: openstack.cinder_plugin.volume.creation_validation |
| 597 | inputs: |
| 598 | multivim_config: |
| 599 | default: {} |
| 600 | |
| 601 | onap.multivim.nova_net.nodes.FloatingIP: |
| 602 | derived_from: cloudify.nodes.VirtualIP |
| 603 | properties: |
| 604 | floatingip: |
| 605 | default: {} |
| 606 | description: > |
| 607 | key-value floatingip configuration as described in http://developer.openstack.org/api-ref-compute-v2-ext.html#ext-os-floating-ips. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 608 | use_external_resource: |
| 609 | type: boolean |
| 610 | default: false |
| 611 | description: > |
| 612 | a boolean for setting whether to create the resource or use an existing one. |
| 613 | See the using existing resources section. |
| 614 | create_if_missing: |
| 615 | default: false |
| 616 | description: > |
| 617 | TODO: CREATE. THIS IS MISSING |
| 618 | resource_id: |
| 619 | default: '' |
| 620 | description: > |
| 621 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 622 | multivim_config: |
| 623 | default: {} |
| 624 | description: > |
| 625 | endpoints and authentication configuration for Openstack. |
| 626 | Expected to contain the following nested fields: |
| 627 | username, password, tenant_name, auth_url, region. |
| 628 | interfaces: |
| 629 | cloudify.interfaces.lifecycle: |
| 630 | create: |
| 631 | implementation: openstack.nova_plugin.floatingip.create |
| 632 | inputs: |
| 633 | args: |
| 634 | default: {} |
| 635 | multivim_config: |
| 636 | default: {} |
| 637 | delete: |
| 638 | implementation: openstack.nova_plugin.floatingip.delete |
| 639 | inputs: |
| 640 | multivim_config: |
| 641 | default: {} |
| 642 | cloudify.interfaces.validation: |
| 643 | creation: |
| 644 | implementation: openstack.nova_plugin.floatingip.creation_validation |
| 645 | inputs: |
| 646 | multivim_config: |
| 647 | default: {} |
| 648 | |
| 649 | onap.multivim.nova_net.nodes.SecurityGroup: |
| 650 | derived_from: cloudify.nodes.SecurityGroup |
| 651 | properties: |
| 652 | security_group: |
| 653 | default: {} |
| 654 | description: > |
| 655 | key-value security_group configuration as described in http://developer.openstack.org/api-ref-compute-v2-ext.html#ext-os-security-groups. (**DEPRECATED - Use the `args` input in create operation instead**) |
| 656 | use_external_resource: |
| 657 | type: boolean |
| 658 | default: false |
| 659 | description: > |
| 660 | a boolean for setting whether to create the resource or use an existing one. |
| 661 | See the using existing resources section. |
| 662 | create_if_missing: |
| 663 | default: false |
| 664 | description: > |
| 665 | TODO: CREATE. THIS IS MISSING |
| 666 | resource_id: |
| 667 | default: '' |
| 668 | description: > |
| 669 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 670 | multivim_config: |
| 671 | default: {} |
| 672 | description: > |
| 673 | endpoints and authentication configuration for Openstack. |
| 674 | Expected to contain the following nested fields: |
| 675 | username, password, tenant_name, auth_url, region. |
| 676 | rules: |
| 677 | default: [] |
| 678 | description: > |
| 679 | key-value security group rule as described in http://developer.openstack.org/api-ref-compute-v2-ext.html#ext-os-security-group-default-rules. |
| 680 | description: |
| 681 | description: security group description |
| 682 | interfaces: |
| 683 | cloudify.interfaces.lifecycle: |
| 684 | create: |
| 685 | implementation: openstack.nova_plugin.security_group.create |
| 686 | inputs: |
| 687 | args: |
| 688 | default: {} |
| 689 | multivim_config: |
| 690 | default: {} |
| 691 | status_attempts: |
| 692 | description: > |
| 693 | Number of times to check for the attachment's status before failing |
| 694 | type: integer |
| 695 | default: 10 |
| 696 | status_timeout: |
| 697 | description: > |
| 698 | Interval (in seconds) between subsequent inquiries of the attachment's |
| 699 | status |
| 700 | type: integer |
| 701 | default: 2 |
| 702 | delete: |
| 703 | implementation: openstack.nova_plugin.security_group.delete |
| 704 | inputs: |
| 705 | multivim_config: |
| 706 | default: {} |
| 707 | cloudify.interfaces.validation: |
| 708 | creation: |
| 709 | implementation: openstack.nova_plugin.security_group.creation_validation |
| 710 | inputs: |
| 711 | multivim_config: |
| 712 | default: {} |
| 713 | |
| 714 | onap.multivim.nodes.Image: |
| 715 | derived_from: cloudify.nodes.Root |
| 716 | properties: |
| 717 | image: |
| 718 | description: > |
| 719 | Required parameters are (container_format, disk_format). Accepted |
| 720 | types are available on |
| 721 | http://docs.openstack.org/developer/glance/formats.html |
| 722 | To create an image from the local file its path should be added |
| 723 | in data parameter. |
| 724 | default: {} |
| 725 | image_url: |
| 726 | default: '' |
| 727 | description: > |
| 728 | The openstack resource URL for the image. |
| 729 | use_external_resource: |
| 730 | default: false |
| 731 | description: > |
| 732 | a boolean for setting whether to create the resource or use an existing one. |
| 733 | See the using existing resources section. |
| 734 | create_if_missing: |
| 735 | default: false |
| 736 | description: > |
| 737 | If use_external_resource is ``true`` and the resource is missing, |
| 738 | create it instead of failing. |
| 739 | resource_id: |
| 740 | default: '' |
| 741 | description: > |
| 742 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 743 | multivim_config: |
| 744 | default: {} |
| 745 | description: > |
| 746 | endpoints and authentication configuration for Openstack. |
| 747 | Expected to contain the following nested fields: |
| 748 | username, password, tenant_name, auth_url, region. |
| 749 | interfaces: |
| 750 | cloudify.interfaces.lifecycle: |
| 751 | create: |
| 752 | implementation: openstack.glance_plugin.image.create |
| 753 | inputs: |
| 754 | multivim_config: |
| 755 | default: {} |
| 756 | start: |
| 757 | implementation: openstack.glance_plugin.image.start |
| 758 | inputs: |
| 759 | start_retry_interval: |
| 760 | default: 30 |
| 761 | multivim_config: |
| 762 | default: {} |
| 763 | delete: |
| 764 | implementation: openstack.glance_plugin.image.delete |
| 765 | inputs: |
| 766 | multivim_config: |
| 767 | default: {} |
| 768 | cloudify.interfaces.validation: |
| 769 | creation: |
| 770 | implementation: openstack.glance_plugin.image.creation_validation |
| 771 | inputs: |
| 772 | multivim_config: |
| 773 | default: {} |
| 774 | |
| 775 | |
| 776 | onap.multivim.nodes.Project: |
| 777 | derived_from: cloudify.nodes.Root |
| 778 | properties: |
| 779 | project: |
| 780 | default: {} |
| 781 | description: > |
| 782 | key-value project configuration. |
| 783 | users: |
| 784 | default: [] |
| 785 | description: > |
| 786 | List of users assigned to this project in the following format: |
| 787 | { name: string, roles: [string] } |
| 788 | quota: |
| 789 | default: {} |
| 790 | description: | |
| 791 | A dictionary mapping service names to quota definitions for a proejct |
| 792 | |
| 793 | e.g:: |
| 794 | |
| 795 | quota: |
| 796 | neutron: <quota> |
| 797 | nova: <quota> |
| 798 | use_external_resource: |
| 799 | default: false |
| 800 | description: > |
| 801 | a boolean for setting whether to create the resource or use an existing one. |
| 802 | See the using existing resources section. |
| 803 | create_if_missing: |
| 804 | default: false |
| 805 | description: > |
| 806 | If use_external_resource is ``true`` and the resource is missing, |
| 807 | create it instead of failing. |
| 808 | resource_id: |
| 809 | default: '' |
| 810 | description: > |
| 811 | name to give to the new resource or the name or ID of an existing resource when the ``use_external_resource`` property is set to ``true`` (see the using existing resources section). Defaults to '' (empty string). |
| 812 | multivim_config: |
| 813 | default: {} |
| 814 | description: > |
| 815 | endpoints and authentication configuration for Openstack. |
| 816 | Expected to contain the following nested fields: |
| 817 | username, password, tenant_name, auth_url, region. |
| 818 | interfaces: |
| 819 | cloudify.interfaces.lifecycle: |
| 820 | create: openstack.keystone_plugin.project.create |
| 821 | start: openstack.keystone_plugin.project.start |
| 822 | delete: openstack.keystone_plugin.project.delete |
| 823 | cloudify.interfaces.validation: |
| 824 | creation: openstack.keystone_plugin.project.creation_validation |
| 825 | |
| 826 | relationships: |
| 827 | onap.multivim.port_connected_to_security_group: |
| 828 | derived_from: cloudify.relationships.connected_to |
| 829 | source_interfaces: |
| 830 | cloudify.interfaces.relationship_lifecycle: |
| 831 | establish: |
| 832 | implementation: openstack.neutron_plugin.port.connect_security_group |
| 833 | inputs: |
| 834 | multivim_config: |
| 835 | default: {} |
| 836 | |
| 837 | onap.multivim.subnet_connected_to_router: |
| 838 | derived_from: cloudify.relationships.connected_to |
| 839 | target_interfaces: |
| 840 | cloudify.interfaces.relationship_lifecycle: |
| 841 | establish: |
| 842 | implementation: openstack.neutron_plugin.router.connect_subnet |
| 843 | inputs: |
| 844 | multivim_config: |
| 845 | default: {} |
| 846 | unlink: |
| 847 | implementation: openstack.neutron_plugin.router.disconnect_subnet |
| 848 | inputs: |
| 849 | multivim_config: |
| 850 | default: {} |
| 851 | |
| 852 | onap.multivim.server_connected_to_floating_ip: |
| 853 | derived_from: cloudify.relationships.connected_to |
| 854 | source_interfaces: |
| 855 | cloudify.interfaces.relationship_lifecycle: |
| 856 | establish: |
| 857 | implementation: openstack.nova_plugin.server.connect_floatingip |
| 858 | inputs: |
| 859 | fixed_ip: |
| 860 | description: > |
| 861 | The fixed IP to be associated with the floating IP. |
| 862 | If omitted, Openstack will choose which port to associate. |
| 863 | type: string |
| 864 | default: '' |
| 865 | multivim_config: |
| 866 | default: {} |
| 867 | unlink: |
| 868 | implementation: openstack.nova_plugin.server.disconnect_floatingip |
| 869 | inputs: |
| 870 | multivim_config: |
| 871 | default: {} |
| 872 | |
| 873 | onap.multivim.port_connected_to_floating_ip: |
| 874 | derived_from: cloudify.relationships.connected_to |
| 875 | source_interfaces: |
| 876 | cloudify.interfaces.relationship_lifecycle: |
| 877 | establish: |
| 878 | implementation: openstack.neutron_plugin.floatingip.connect_port |
| 879 | inputs: |
| 880 | multivim_config: |
| 881 | default: {} |
| 882 | unlink: |
| 883 | implementation: openstack.neutron_plugin.floatingip.disconnect_port |
| 884 | inputs: |
| 885 | multivim_config: |
| 886 | default: {} |
| 887 | |
| 888 | onap.multivim.server_connected_to_security_group: |
| 889 | derived_from: cloudify.relationships.connected_to |
| 890 | source_interfaces: |
| 891 | cloudify.interfaces.relationship_lifecycle: |
| 892 | establish: |
| 893 | implementation: openstack.nova_plugin.server.connect_security_group |
| 894 | inputs: |
| 895 | multivim_config: |
| 896 | default: {} |
| 897 | unlink: |
| 898 | implementation: openstack.nova_plugin.server.disconnect_security_group |
| 899 | inputs: |
| 900 | multivim_config: |
| 901 | default: {} |
| 902 | |
| 903 | onap.multivim.server_connected_to_port: |
| 904 | derived_from: cloudify.relationships.connected_to |
| 905 | source_interfaces: |
| 906 | cloudify.interfaces.relationship_lifecycle: |
| 907 | unlink: |
| 908 | implementation: openstack.neutron_plugin.port.detach |
| 909 | inputs: |
| 910 | multivim_config: |
| 911 | default: {} |
| 912 | |
| 913 | onap.multivim.server_connected_to_keypair: |
| 914 | derived_from: cloudify.relationships.connected_to |
| 915 | |
| 916 | onap.multivim.port_connected_to_subnet: |
| 917 | derived_from: cloudify.relationships.connected_to |
| 918 | |
| 919 | onap.multivim.volume_attached_to_server: |
| 920 | derived_from: cloudify.relationships.connected_to |
| 921 | target_interfaces: |
| 922 | cloudify.interfaces.relationship_lifecycle: |
| 923 | establish: |
| 924 | implementation: openstack.nova_plugin.server.attach_volume |
| 925 | inputs: |
| 926 | multivim_config: |
| 927 | default: {} |
| 928 | status_attempts: |
| 929 | description: > |
| 930 | Number of times to check for the attachment's status before failing |
| 931 | type: integer |
| 932 | default: 10 |
| 933 | status_timeout: |
| 934 | description: > |
| 935 | Interval (in seconds) between subsequent inquiries of the attachment's |
| 936 | status |
| 937 | type: integer |
| 938 | default: 2 |
| 939 | unlink: |
| 940 | implementation: openstack.nova_plugin.server.detach_volume |
| 941 | inputs: |
| 942 | multivim_config: |
| 943 | default: {} |
| 944 | status_attempts: |
| 945 | description: > |
| 946 | Number of times to check for the detachment's status before failing |
| 947 | type: integer |
| 948 | default: 10 |
| 949 | status_timeout: |
| 950 | description: > |
| 951 | Interval (in seconds) between subsequent inquiries of the detachment's |
| 952 | status |
| 953 | type: integer |
| 954 | default: 2 |