[MidoNet-dev] InterfaceManagement, HostCommands, etc

Ishimoto, Ryu ryu at midokura.com
Tue Feb 5 16:29:11 UTC 2013


Hey Guillermo,

Nice find.  I don't really see much benefit in exposing API to set the MAC
address of an interface via REST API.  Perhaps internally useful for
testing, but I don't really see any value exposing it to our users.  I
think we can hide it from the API as well.  That's my vote.

Ryu


On Wed, Feb 6, 2013 at 1:25 AM, Guillermo Ontañón <guillermo at midokura.jp>wrote:

> Hi guys,
>
> A related question, the REST API allows setting an interface's mac
> address:
> https://github.com/midokura/midonet/blob/master/docs/rest-api-specification.md#interface.
> However midonet-client does not expose that functionality:
> https://github.com/midokura/midonet/blob/master/midonet-client/src/main/java/org/midonet/client/resource/HostInterface.java
> .
>
> Should we do the same thing here?
>
> Regards
>
>
> On Tue, Feb 5, 2013 at 5:22 PM, Ishimoto, Ryu <ryu at midokura.com> wrote:
>
>>
>> I agree with you and Tomoe.  We can keep it in the code but remove from
>> the API doc.
>>
>>
>> On Wed, Feb 6, 2013 at 1:03 AM, Tomoe Sugihara <tomoe at midokura.com>wrote:
>>
>>> Hi Pino,
>>>
>>> OS integration code doesn't use that. My vote is removing that API
>>> since it's not used or tested at all.
>>>
>>> Thanks,
>>> Tomoe
>>>
>>> On Wed, Feb 6, 2013 at 12:47 AM, Pino de Candia <gdecandia at midokura.com>
>>> wrote:
>>> > Hi Ryu, Tomoe, devs,
>>> >
>>> > are we using the Host Commands feature of MidoNet? These are included
>>> in the
>>> > REST API documentation, but I don't actually know whether anyone is
>>> using
>>> > them, or if they were properly productized.
>>> >
>>> >
>>> https://github.com/midokura/midonet/blob/master/docs/rest-api-specification.md#hostcommand
>>> >
>>> > Does anyone remember? I vaguely remember we were intending to use
>>> these to
>>> > automate plugging taps into datapath when we were still using OVS
>>> daemon/DB.
>>> > Has the HostInterfacePort binding made the Host Command useless (a
>>> feature
>>> > looking for a use-case?).
>>> >
>>> > thanks,
>>> > Pino
>>> >
>>> > --
>>> > Pino de Candia
>>> > Software Engineer, Midokura.com
>>> >
>>>
>>>
>>> On Wed, Feb 6, 2013 at 12:47 AM, Pino de Candia <gdecandia at midokura.com>
>>> wrote:
>>> > Hi Ryu, Tomoe, devs,
>>> >
>>> > are we using the Host Commands feature of MidoNet? These are included
>>> in the
>>> > REST API documentation, but I don't actually know whether anyone is
>>> using
>>> > them, or if they were properly productized.
>>> >
>>> >
>>> https://github.com/midokura/midonet/blob/master/docs/rest-api-specification.md#hostcommand
>>> >
>>> > Does anyone remember? I vaguely remember we were intending to use
>>> these to
>>> > automate plugging taps into datapath when we were still using OVS
>>> daemon/DB.
>>> > Has the HostInterfacePort binding made the Host Command useless (a
>>> feature
>>> > looking for a use-case?).
>>> >
>>> > thanks,
>>> > Pino
>>> >
>>> > --
>>> > Pino de Candia
>>> > Software Engineer, Midokura.com
>>> >
>>>
>>
>>
>
>
> --
> -- Guillermo Ontañón
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midonet.org/pipermail/midonet-dev/attachments/20130206/92610a05/attachment.html>


More information about the MidoNet-dev mailing list