[VTN-60] ODC Driver (VTN Coordiantor) sets hardtimeout attribute as 300 in VTN Configurations Created: 06/Mar/15  Updated: 08/Apr/19  Resolved: 17/Mar/15

Status: Resolved
Project: vtn
Component/s: ODC Driver
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: balakrishnan k Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2793

 Description   

ODC Driver sets hardtimeout to 300 by default while creating VTN configuration. It should be set to zero by default.
This hardtimeout is used to remove the flow entries in openflow switch flow table when no packet match occurred.



 Comments   
Comment by Hideyuki Tai [ 06/Mar/15 ]

(In reply to balakrishnan k from comment #0)
> ODC Driver sets hardtimeout to 300 by default while creating VTN
> configuration. It should be set to zero by default.

I think ODC Driver does not have to set any values into "hardTimeout" and "idleTimeout".
I think ODC driver should omit to set any values into these attributes, and should let VTN Manager use its default value.

> This hardtimeout is used to remove the flow entries in openflow switch flow
> table when no packet match occurred.

The above explanation is not about the "hardTimeout", but about the "idleTimeout".

The flow entries configured in switch by the VTN are removed after the specified time in "hardTimeout" attribute elapses, regardless of whether or not packets are hitting the entries.

For more detailed information, please see the following page.

https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-merge-master/lastSuccessfulBuild/artifact/manager/northbound/target/site/wsdocs/ns0_VTenantConfig.html

Also, I think OpenFlow specification helps you understand about "hardTimeout" and "idleTimeout".

https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-switch-v1.3.4.pdf

Comment by Hideyuki Tai [ 17/Mar/15 ]

Patches for the bug have been merged into the master branch and the stable/helium branch of the vtn.git.

[master]
https://git.opendaylight.org/gerrit/#/c/16132/

[stable/helium]
https://git.opendaylight.org/gerrit/#/c/16619/

Generated at Wed Feb 07 20:47:54 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.