Skip to content

Commit

Permalink
Merge pull request #13 from grycap/devel
Browse files Browse the repository at this point in the history
Add extra-ports to FogBow connector
  • Loading branch information
micafer committed Mar 11, 2016
2 parents 4aa1827 + 34b9c81 commit 7206d3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IM/connectors/FogBow.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ def updateVMInfo(self, vm, auth_data):
if len(parts) > 1:
vm.setSSHPort(int(parts[1]))

extra_ports = self.get_occi_attribute_value(output, 'org.fogbowcloud.request.extra-ports')
if extra_ports:
vm.info.systems[0].addFeature(Feature("fogbow.extra-ports", "=", extra_ports), conflict="other", missing="other")

ssh_user = self.get_occi_attribute_value(output, 'org.fogbowcloud.request.ssh-username')
if ssh_user:
vm.info.systems[0].addFeature(Feature("disk.0.os.credentials.username", "=", ssh_user), conflict="other", missing="other")
Expand Down
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,4 @@ IM 1.4.3
* Extract RADL as an external package
* Bugfix in the ctxt_agent
* Add logger messages to REST API
* Add extra-ports to FogBow connector

0 comments on commit 7206d3c

Please sign in to comment.