You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Kuang-Ching Wang <ku...@gmail.com> on 2015/02/26 15:47:09 UTC
adding Firewall Service to a network element
Hi - this is a network plugin implementation question.
I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
Any network guru here can help point out what I might have missed?
Thanks!
KC
Re: adding Firewall Service to a network element
Posted by Kuang-Ching Wang <ku...@gmail.com>.
Thanks a bunch Suresh, this solves my problem!
KC
On Feb 27, 2015, at 4:33 PM, Suresh Ramamurthy <su...@nuagenetworks.net> wrote:
> Hi Kuang
>
> You need add a line to include your provider for firewall service. Please find below the git diff to get an idea...
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=server/src/com/cloud/api/ApiResponseHelper.java;h=013da0b70bd49a3a5260db3c2578f570103f9e71;hp=51122e0c9e94040bd340a2f5cdea59644083d63e;hb=03de9cc;hpb=43dffaad5fd197c87a8dab087066f677a095dee7
>
> Let me know if this works??
>
> Thanks
> Suresh
>
> On Fri, Feb 27, 2015 at 5:23 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
> Thanks Jeff and Daan! I will try your suggestions!
>
> KC
>
> On Feb 27, 2015, at 3:05 AM, Jeff Hair <je...@greenqloud.com> wrote:
>
> > When I did something similar, I had to use some API calls:
> > updateNetworkServiceProvider to enable it, and then
> > addNetworkServiceProvider to put it on the physical network.
> >
> > On Thu, Feb 26, 2015 at 3:54 PM, Kuang-Ching Wang
> > <ku...@gmail.com> wrote:
> >> Oh I also added Service.Firewall to its capabilities. Any tips are appreciated!
> >>
> >> KC
> >>
> >>> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
> >>>
> >>> Hi - this is a network plugin implementation question.
> >>>
> >>> I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
> >>>
> >>> Any network guru here can help point out what I might have missed?
> >>>
> >>> Thanks!
> >>> KC
> >>
> >
> >
> >
> > --
> > Jeff Hair
> > Core Systems Developer
> >
> > Tel: (+354) 415 0200
> > jeff@greenqloud.com
> > www.greenqloud.com
>
>
Re: adding Firewall Service to a network element
Posted by Suresh Ramamurthy <su...@nuagenetworks.net>.
Hi Kuang
You need add a line to include your provider for firewall service. Please
find below the git diff to get an idea...
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=server/src/com/cloud/api/ApiResponseHelper.java;h=013da0b70bd49a3a5260db3c2578f570103f9e71;hp=51122e0c9e94040bd340a2f5cdea59644083d63e;hb=03de9cc;hpb=43dffaad5fd197c87a8dab087066f677a095dee7
Let me know if this works??
Thanks
Suresh
On Fri, Feb 27, 2015 at 5:23 AM, Kuang-Ching Wang <kuangching.wang@gmail.com
> wrote:
> Thanks Jeff and Daan! I will try your suggestions!
>
> KC
>
> On Feb 27, 2015, at 3:05 AM, Jeff Hair <je...@greenqloud.com> wrote:
>
> > When I did something similar, I had to use some API calls:
> > updateNetworkServiceProvider to enable it, and then
> > addNetworkServiceProvider to put it on the physical network.
> >
> > On Thu, Feb 26, 2015 at 3:54 PM, Kuang-Ching Wang
> > <ku...@gmail.com> wrote:
> >> Oh I also added Service.Firewall to its capabilities. Any tips are
> appreciated!
> >>
> >> KC
> >>
> >>> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <
> kuangching.wang@gmail.com> wrote:
> >>>
> >>> Hi - this is a network plugin implementation question.
> >>>
> >>> I’d like to extend the BigSwitch networking plugin with Firewall
> Service. In the plugin Element class I implement the
> FirewallServiceProvider interface, as well as included
> FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding
> the management server, I still do not see the plugin showing in the
> Firewall Provider drop down menu when adding a network offering.
> >>>
> >>> Any network guru here can help point out what I might have missed?
> >>>
> >>> Thanks!
> >>> KC
> >>
> >
> >
> >
> > --
> > Jeff Hair
> > Core Systems Developer
> >
> > Tel: (+354) 415 0200
> > jeff@greenqloud.com
> > www.greenqloud.com
>
>
Re: adding Firewall Service to a network element
Posted by Kuang-Ching Wang <ku...@gmail.com>.
Thanks Jeff and Daan! I will try your suggestions!
KC
On Feb 27, 2015, at 3:05 AM, Jeff Hair <je...@greenqloud.com> wrote:
> When I did something similar, I had to use some API calls:
> updateNetworkServiceProvider to enable it, and then
> addNetworkServiceProvider to put it on the physical network.
>
> On Thu, Feb 26, 2015 at 3:54 PM, Kuang-Ching Wang
> <ku...@gmail.com> wrote:
>> Oh I also added Service.Firewall to its capabilities. Any tips are appreciated!
>>
>> KC
>>
>>> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
>>>
>>> Hi - this is a network plugin implementation question.
>>>
>>> I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
>>>
>>> Any network guru here can help point out what I might have missed?
>>>
>>> Thanks!
>>> KC
>>
>
>
>
> --
> Jeff Hair
> Core Systems Developer
>
> Tel: (+354) 415 0200
> jeff@greenqloud.com
> www.greenqloud.com
Re: adding Firewall Service to a network element
Posted by Jeff Hair <je...@greenqloud.com>.
When I did something similar, I had to use some API calls:
updateNetworkServiceProvider to enable it, and then
addNetworkServiceProvider to put it on the physical network.
On Thu, Feb 26, 2015 at 3:54 PM, Kuang-Ching Wang
<ku...@gmail.com> wrote:
> Oh I also added Service.Firewall to its capabilities. Any tips are appreciated!
>
> KC
>
>> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
>>
>> Hi - this is a network plugin implementation question.
>>
>> I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
>>
>> Any network guru here can help point out what I might have missed?
>>
>> Thanks!
>> KC
>
--
Jeff Hair
Core Systems Developer
Tel: (+354) 415 0200
jeff@greenqloud.com
www.greenqloud.com
Re: adding Firewall Service to a network element
Posted by Daan Hoogland <da...@gmail.com>.
Did you enable it in the zone? register the provider? (I would think
it is more of a orchestration problem then a network problem)
---------- Forwarded message ----------
From: Kuang-Ching Wang <ku...@gmail.com>
Date: Thu, Feb 26, 2015 at 4:54 PM
Subject: Re: adding Firewall Service to a network element
To: dev@cloudstack.apache.org
Cc: kuangching.wang@gmail.com
Oh I also added Service.Firewall to its capabilities. Any tips are appreciated!
KC
> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
>
> Hi - this is a network plugin implementation question.
>
> I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
>
> Any network guru here can help point out what I might have missed?
>
> Thanks!
> KC
--
Daan
Re: adding Firewall Service to a network element
Posted by Kuang-Ching Wang <ku...@gmail.com>.
Oh I also added Service.Firewall to its capabilities. Any tips are appreciated!
KC
> On Feb 26, 2015, at 6:47 AM, Kuang-Ching Wang <ku...@gmail.com> wrote:
>
> Hi - this is a network plugin implementation question.
>
> I’d like to extend the BigSwitch networking plugin with Firewall Service. In the plugin Element class I implement the FirewallServiceProvider interface, as well as included FirewallServiceProvider.class in its ‘Local’ notation. After rebuilding the management server, I still do not see the plugin showing in the Firewall Provider drop down menu when adding a network offering.
>
> Any network guru here can help point out what I might have missed?
>
> Thanks!
> KC