[ 
https://issues.apache.org/jira/browse/DTACLOUD-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700633#comment-13700633
 ] 

Ilkka Tengvall commented on DTACLOUD-563:
-----------------------------------------

Hi,

we finally had time to setup and do this, it seems to work:

----------------------------------------------------------------------------
Output from command:
irb(main):001:0> require 'openstack'
=> true
irb(main):002:0> os = OpenStack::Connection.create({:username => "user", 
:api_key=>"badabing", :auth_method=>"password", :auth_url => 
"http://10.10.10.10:5000/v2.0/";, :authtenant_name =>"our-devel", 
:service_type=>"compute"})
=> #<OpenStack::Compute::Connection:0x00000001b6abd8 @extensions=nil, 
@connection=#<OpenStack::Connection:0x00000001b6c0f0 @authuser="user", 
@authkey="badabing", @auth_url="http://10.10.10.10:5000/v2.0/";, 
@authtenant={:type=>"tenantName", :value=>"our-devel"}, 
@auth_method="password", @service_name=nil, @service_type="compute", 
@region=nil, @regions_list={"RegionOne"=>[{:service=>"volume", 
:versionId=>nil}, {:service=>"image", :versionId=>nil}, {:service=>"compute", 
:versionId=>nil}, {:service=>"ec2", :versionId=>nil}, {:service=>"identity", 
:versionId=>nil}]}, @is_debug=nil, @auth_host="10.10.10.10", @auth_port=5000, 
@auth_scheme="http", @auth_path="/v2.0/", @retry_auth=nil, @proxy_host=nil, 
@proxy_port=nil, @authok=true, @http={}, 
@authtoken="20ceaa274fc84046aedf2d7b35e8d540", @service_host="10.10.10.10", 
@service_path="/v2/fdb596b36b6745518ccd43c9f75696c7", @service_port=8774, 
@service_scheme="http">>
irb(main):003:0> os.get_floating_ips
=> [#<OpenStack::Compute::FloatingIPAddress:0x00000001bd37a0 @fixed_ip=nil, 
@id=1, @instance_id=nil, @ip="8.8.8.169", @pool="nova">, 
#<OpenStack::Compute::FloatingIPAddress:0x00000001bd32f0 
@fixed_ip="10.10.41.8", @id=5, 
@instance_id="626dab42-a5fd-4221-b184-e20fce0bcaa2", @ip="8.8.8.8", 
@pool="nova">, #<OpenStack::Compute::FloatingIPAddress:0x00000001bd2f80 
@fixed_ip=nil, @id=6, @instance_id=nil, @ip="8.8.8.174", @pool="nova">]
irb(main):004:0> os.get_floating_ip(1)
=> #<OpenStack::Compute::FloatingIPAddress:0x00000001c7b298 @fixed_ip=nil, 
@id=1, @instance_id=nil, @ip="8.8.8.169", @pool="nova">
irb(main):006:0> addr = os.create_floating_ip
=> #<OpenStack::Compute::FloatingIPAddress:0x00000001d858a0 @fixed_ip=nil, 
@id=3, @instance_id=nil, @ip="8.8.8.171", @pool="nova">
irb(main):007:0> os.delete_floating_ip(3)
=> true
irb(main):008:0> 
os.attach_floating_ip({:server_id=>"8aeff298-a170-48ac-88b7-d60e4266fa55", 
:ip_id=>"1"})
=> true
irb(main):009:0> 
os.detach_floating_ip({:server_id=>"8aeff298-a170-48ac-88b7-d60e4266fa55", 
:ip_id=>"1"})
=> true
----------------------------------------------------------------------------


BR,
Ilkka
                
> openstack driver lacks firewall and addresses functionality
> -----------------------------------------------------------
>
>                 Key: DTACLOUD-563
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-563
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Server
>         Environment: fedora 18 deltacloud-core-openstack-1.1.2-3.fc18.noarch, 
> also the upstream latest as of 3rd Jun 2013
>            Reporter: Ilkka Tengvall
>
> We are implementing a service that connects to different clouds via 
> deltacloud. We run to an issue that we can't handle security groups and 
> floating addresses via deltacloud. The feature is missing, see the irclog for 
> background with marios:
> {quote}
> <ikke-t> hi, does anyone here know the status of  firewalls and addresses on 
> openstack driver?
> <ikke-t> it seems  they are not implemented at least in F18 version of 
> deltacloud:
> <ikke-t> "The required capability to execute this operation is missing"
> <marios> ikke-t: hi - yeah looks like they aren't implemented yet
> <ikke-t> this seems to be a bit behind of upstream: 
> deltacloud-core-1.1.2-3.fc18.noarch
> <ikke-t> any idea if upstream has them, mario?
> <ikke-t> release notes doesn't mention them
> <marios> ikke-t: no, that's what i meant, they aren't implemented at all yet 
> for the openstack driver
> <ikke-t> ok. would you know if anyone is actively developing the 
> deltacloud-openstack driver?
> <ikke-t> if there would be e.g. blueprint or similar for the features
> <ikke-t> perhaps ec2 driver would have them, and it could be used towards 
> openstack?
> <marios> ikke-t: so i don't know of someone currently working on that. the 
> ec2 driver has firewalls. but one problem i believe is that the 
> ruby-openstack rubygem doesn't currently have firewall support so it will 
> need to be added there. if this is something you can work on, please go 
> ahead. otherwise can you please file a jira request for that and i or someone 
> else will get to it asap.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to