Re: [Need Help] Arbitrary connection port is part of the node-id
Prateek Garg (prategar) <prategar@...>
Hi Ed,
The way I am implementing this is:
In OvsdbConnectionManager’s connected method, I’ll set system-Id from external_ids of open_Vswitch table in ConnectionInfo key (I’ll modify yang to add systemId field in connectionInfo to add system-id). Therefore to get the system-id in OvsdbConnectionManager’s
connected method, I need to execute select operation on open_Vswitch table.
So later when OvsdbNodeCreateCommand is called with ConnectionInfo, I’ll have the systemId to write to operation store.
Please let me know your thoughts on this approach.
Regards
Prateek
From: Edward Warnicke <hagbard@...>
Date: Wednesday, April 22, 2015 at 2:58 PM To: Prateek Garg <prategar@...> Cc: "ovsdb-dev@..." <ovsdb-dev@...>, "ffernand@..." <ffernand@...> Subject: Re: [ovsdb-dev] [Need Help] Arbitrary connection port is part of the node-id Prateek,
Why are you doing a select? (curious) :)
Ed
On Wed, Apr 22, 2015 at 2:54 PM, Prateek Garg (prategar)
<prategar@...> wrote:
|
|