Skip to content

Commit 51bd374

Browse files
authored
Merge pull request #365 from cloudify-cosmo/fix-issue-in-no-networks
update to fix no networks
2 parents 834d93c + dc6e8ca commit 51bd374

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
3.2.18: Fix issue in no networks.
12
3.2.17: Support no networks.
23
3.2.16:
34
- Update wagon builder to py2py3 wagon.

openstack_plugin/resources/network/port.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ def create_server_interface(openstack_resource, port_id, **_):
430430
for interface_attachments in openstack_resource.server_interfaces():
431431
if port_id in interface_attachments:
432432
return
433-
openstack_resource.create_server_interface(port_id=port_id)
433+
openstack_resource.create_server_interface(
434+
interface_config={'port_id': port_id})
434435

435436

436437
@with_compat_node

plugin.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ plugins:
22

33
openstack:
44
executor: central_deployment_agent
5-
source: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/3.2.17.zip
5+
source: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/3.2.18.zip
66
package_name: cloudify-openstack-plugin
7-
package_version: '3.2.17'
7+
package_version: '3.2.18'
88

99
dsl_definitions:
1010

@@ -1730,7 +1730,7 @@ relationships:
17301730
source_interfaces:
17311731
cloudify.interfaces.relationship_lifecycle:
17321732
establish:
1733-
implementation: openstack.openstack_plugin.resources.network.port.attach
1733+
implementation: openstack.openstack_plugin.resources.network.port.attach_to_server
17341734
inputs:
17351735
device_id:
17361736
default: { get_attribute: [ TARGET, id ] }

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name='cloudify-openstack-plugin',
23-
version='3.2.17',
23+
version='3.2.18',
2424
author='Cloudify',
2525
author_email='info@cloudify.co',
2626
license='LICENSE',

0 commit comments

Comments
 (0)