Sorry, false alarm.. my tree was out of date :)

Thanks
Arvind

On 08/09/2011 04:03 PM, Dan Wendlandt wrote:
Is this code the latest from trunk? I believe that is one of the lines that was changed in the recently merged patch-set.

Dan


On Tue, Aug 9, 2011 at 1:03 PM, Arvind Somya <aso...@cisco.com <mailto:aso...@cisco.com>> wrote:

    Thanks Dan,

    Also noticed something weird in the ovs plugin, might be already
    fixed:

    def get_port_details(self, tenant_id, net_id, port_id):
            port = db.port_get(port_id)
            rv = {"port-id": port.uuid, "attachment": port.interface_id,
              "net-id": port.network_id, "port-state": "UP"}
            return rv

    Doesn't this imply the ovs_plugin will always return the port
    state as UP?

    Thanks
    Arvind


    On 08/09/2011 03:50 PM, Dan Wendlandt wrote:

    On Tue, Aug 9, 2011 at 10:20 AM, Arvind Somya <aso...@cisco.com
    <mailto:aso...@cisco.com>> wrote:

        Somik,
        Thanks for the info.. i'll file a bug.


    I actually fixed that a while back, but the fix had been stuck
    waiting reviews.  It just merged in the past day or so (though
    grep reveals a python comment that is still wrong)

    Dan


        -Arvind


        On 08/09/2011 01:16 PM, Somik Behera wrote:
        The active states from API definition perspective should be
        "ACTIVE" and "DOWN" If the OVS plugin has 'UP' thats a bug,
        please file one and we will bring it inline to API spec.
        Quantum currently just has 2 supported port-state "ACTIVE"
        and "DOWN" which map to admin up/down on a port.

        Thanks,
        Somik

        On Tue, Aug 9, 2011 at 10:09 AM, Arvind Somya
        <aso...@cisco.com <mailto:aso...@cisco.com>> wrote:

            Hello Netstackers,

            I'm trying to write this bit in the dashboard that
            allows users to toggle port states, my problem is that
            while the FakePlugin defines two states 'ACTIVE' and
            'DOWN'.. the ovs plugin defines them as 'UP' and 'DOWN'.

            Is there a way for the dashboard to find out what the
            supported states are from the plugin? I couldn't find
            any methods in the client or the plugin modules.

            Thanks
            Arvind

-- Mailing list: https://launchpad.net/~netstack
            <https://launchpad.net/%7Enetstack>
            Post to     : netstack@lists.launchpad.net
            <mailto:netstack@lists.launchpad.net>
            Unsubscribe : https://launchpad.net/~netstack
            <https://launchpad.net/%7Enetstack>
            More help   : https://help.launchpad.net/ListHelp




-- Somik Behera | Nicira Networks, Inc. | so...@nicira.com
        <mailto:sbeh...@nicira.com> | office: 650-390-6790
        <tel:650-390-6790> | cell: 512-577-6645 <tel:512-577-6645>


        --
        Mailing list: https://launchpad.net/~netstack
        <https://launchpad.net/%7Enetstack>
        Post to     : netstack@lists.launchpad.net
        <mailto:netstack@lists.launchpad.net>
        Unsubscribe : https://launchpad.net/~netstack
        <https://launchpad.net/%7Enetstack>
        More help   : https://help.launchpad.net/ListHelp




-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Dan Wendlandt
    Nicira Networks, Inc.
    www.nicira.com <http://www.nicira.com> | www.openvswitch.org
    <http://www.openvswitch.org>
    Sr. Product Manager
    cell: 650-906-2650 <tel:650-906-2650>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~





--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks, Inc.
www.nicira.com <http://www.nicira.com> | www.openvswitch.org <http://www.openvswitch.org>
Sr. Product Manager
cell: 650-906-2650
~~~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to