Luis, I think openflowplugin reconciliation guarantees that it will
reconcile any flow that is present in the config data store for a specific
switch/node, it does not guarantees that it will try to sync the switch
state with whatever it has in config data store. There is possibility that
user installs few flows manually and don't want controller to interfere
with those flows. Jozef,shuva - correct me if i am wrong.

I think we should add an option that user can configure if they want to
start with the clean state. In that case controller will delete all the
flows from the switch and install the flows present in the data store,
otherwise it will do the reconciliation which it's currently doing.

On Wed, Nov 23, 2016 at 7:27 AM, Luis Gomez <[email protected]> wrote:

> Actually I pushed the config via REST:
>
> PUT http://192.168.0.1:8181/restconf/config/forwarding-
> rules-manager-config:forwarding-rules-manager-config
> {
>   "forwarding-rules-manager-config": {
>     "stale-marking-enabled": true,
>     "reconciliation-retry-count": 5
>   }
> }
>
> I see some log in karaf:
>
> 2016-11-22 17:16:47,632 | INFO  | on-dispatcher-40 |
> FlowNodeReconciliationImpl       | 217 - org.opendaylight.
> openflowplugin.applications.forwardingrules-manager - 0.3.2.SNAPSHOT |
> Stale-Marking is ENABLED and proceeding with deletion of stale-marked
> entities on switch InstanceIdentifier{targetType=interface
> org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode,
> path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes,
> org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.
> rev130819.nodes.Node[key=NodeKey [_id=Uri 
> [_value=openflow:18088224186126241907]]],
> org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.
> FlowCapableNode]}
>
> But no flows are being deleted from the switch so I will open a bug
> shortly.
>
> BR/Luis
>
>
>
> On Nov 22, 2016, at 12:02 PM, Luis Gomez <[email protected]> wrote:
>
> Shuva, I do not think this is enough, if I connect a switch with flows to
> controller loaded with odl-openflowplugin-flow-services, the existing
> flows do not get deleted. I am looking for the setting that deletes any
> existing flow in the switch if controller for example does not have any
> flow programmed.
>
> BR/Luis
>
>
> On Nov 22, 2016, at 10:05 AM, Shuva Jyoti Kar <
> [email protected]> wrote:
>
> Luis,
>
> On the older model of the openflowplugin :
>
> Feature : odl-openflowplugin-flow-services-he // feature:install
> odl-openflowplugin-flow-services-he
>
> On the current model of the openflowplugin :
>
> Feature: odl-openflowplugin-flow-services // feature:install
> odl-openflowplugin-flow-services
>
> cheers,
> shuva
>
> From: Luis Gomez [mailto:[email protected] <[email protected]>]
> Sent: Tuesday, November 22, 2016 11:01 PM
> To: Shuva Jyoti Kar
> Cc: Anil Vishnoi; [email protected]
> Subject: Re: [openflowplugin-dev] Bugzilla components for OpenFlow Plugin?
>
> Hi Shuva, I am looking for the feature that automatically adjusts groups
> and flows in the switch when this connects to the controller. I sent
> separate thread:
>
> https://lists.opendaylight.org/pipermail/openflowplugin-
> dev/2016-November/006375.html
>
> And got some answer from Alexis but it would be good if you can provide an
> example on how to enable the feature as I am not that familiar with
> blueprint.
>
> BR/Luis
>
>
> On Nov 21, 2016, at 8:55 PM, Shuva Jyoti Kar <[email protected]>
> wrote:
>
> Apologies for replying to an older email, but there is no “reconciliation”
> mode, just a switch/controller/node(controller instance) restart would
> trigger it .
> What is the exact flag/setting that you are looking for ? Maybe I could
> help you with that
>
> Thanks
> Shuva
>
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Luis Gomez
> Sent: Wednesday, November 16, 2016 11:33 PM
> To: Anil Vishnoi; [email protected]
> Subject: Re: [openflowplugin-dev] Bugzilla components for OpenFlow Plugin?
>
> Talking about reconciliation, I was thinking in pushing some test to
> verify this feature, can anyone point me to the instruction to enable
> "reconciliation" mode (switch flows = controller flows)?
>
> On Nov 15, 2016, at 10:29 PM, Anil Vishnoi <[email protected]> wrote:
>
> List looks good, probably we want to add reconciliation also in the
> component list. I think for features, we have Enhancement / Improvement
> that you can select for specific bug.
>
> On Tue, Nov 15, 2016 at 6:54 PM, Abhijit Kumbhare <[email protected]>
> wrote:
> We are currently using bugzilla with bugs title starting with "MILESTONE:
> " for new features.
>
> On Tue, Nov 15, 2016 at 8:09 AM, Shuva Jyoti Kar <
> [email protected]> wrote:
> +1, sounds really good.
> Also I was thinking of a template to track new features In ofplugin. Any
> thoughts ?
>
> -shuva
>
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Abhijit
> Kumbhare
> Sent: Tuesday, November 15, 2016 12:35 AM
> To: [email protected]
> Subject: [openflowplugin-dev] Bugzilla components for OpenFlow Plugin?
>
> Hi folks,
>
> We only have a single component for bugzilla in OpenFlow plugin. In
> bugzilla, we used to also have a feature of default assignees for
> components. I think it would be a good idea to have more components like
> for better searching as well as bug assignment:
>
> • Stats
> • FRM
> • FRS
> • Clustering
> • Connection Manager
> • Topology / Inventory
> • Helium design stats
> • Helium design FRM
> • Helium design clustering
> • Helium design topology/inventory
> What do you folks think?
>
> Thanks,
> Abhijit
>
>
>
> _______________________________________________
> openflowplugin-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
>
>
>
>
> --
> Thanks
> Anil
> _______________________________________________
> openflowplugin-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
>
>
>
>


-- 
Thanks
Anil
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to