flow command enhancements

Bug #1513001 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Wishlist
Anand H. Krishnan
R3.1
Won't Fix
Wishlist
Anand H. Krishnan
Trunk
Fix Committed
Wishlist
Anand H. Krishnan

Bug Description

Can we have the below flow cmd enhancements which is helpful for automation ?

* Having each flow entry in two rows is hard to parse. An xml version of the same flow data would be very helpful, irrespective of the display format
* Flow cmd to match src or dest ip would put less load on the system and would be easier to read. People would ask for protocol/direction/state etc…its upto you :)
* A flow cmd option to just show the number of entries without showing all the flows would help
* By default, lets not show eviction candidate and dead flows .

Tags: vrouter
Changed in juniperopenstack:
importance: Medium → Wishlist
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/17346
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17346
Committed: http://github.org/Juniper/contrail-vrouter/commit/195c6432ffe9fd41262cec2c0e8248edbcafd3ce
Submitter: Zuul
Branch: master

commit 195c6432ffe9fd41262cec2c0e8248edbcafd3ce
Author: Anand H. Krishnan <email address hidden>
Date: Thu Feb 18 12:37:20 2016 +0530

List flows based on match criteria

Add a new option "--match" to match flows based on certain criteria.
With the match option, one will be able to match based on source ip
or destination ip (with or without ports) or vrf or protocol or any
of them together with any other of them.

e.g.:
--match 1.1.1.1:20
--match "1.1.1.1:20,2.2.2.2:22"
--match "[fe80::225:90ff:fec3:afa]:22
--match "10.204.217.10:56910 & vrf 0 & proto tcp"
--match "10.204.217.10:56910,169.254.0.3:22 & vrf 0 & proto tcp"

Change-Id: Id70e6d60950babe44612e6aded036c5d1bec6f92
Partial-BUG: #1513001

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/17727
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17727
Committed: http://github.org/Juniper/contrail-vrouter/commit/d40be293589a228140743fef5be1faed8f444aa6
Submitter: Zuul
Branch: R3.0

commit d40be293589a228140743fef5be1faed8f444aa6
Author: Anand H. Krishnan <email address hidden>
Date: Thu Feb 18 12:37:20 2016 +0530

List flows based on match criteria

Add a new option "--match" to match flows based on certain criteria.
With the match option, one will be able to match based on source ip
or destination ip (with or without ports) or vrf or protocol or any
of them together with any other of them.

e.g.:
--match 1.1.1.1:20
--match "1.1.1.1:20,2.2.2.2:22"
--match "[fe80::225:90ff:fec3:afa]:22
--match "10.204.217.10:56910 & vrf 0 & proto tcp"
--match "10.204.217.10:56910,169.254.0.3:22 & vrf 0 & proto tcp"

Change-Id: Id70e6d60950babe44612e6aded036c5d1bec6f92
Partial-BUG: #1513001

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/18095
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/18095
Committed: http://github.org/Juniper/contrail-vrouter/commit/1f384ef735a2e74ef68cce182c1f01a040efb542
Submitter: Zuul
Branch: master

commit 1f384ef735a2e74ef68cce182c1f01a040efb542
Author: Anand H. Krishnan <email address hidden>
Date: Wed Mar 2 15:05:32 2016 +0530

Add a GET option to flow command

With the --get <index> option, flow command will now dump a specific
entry. Along with the entry, the get option will also dump details of
the source nexthop, source and destination routes in the layer 3 table
and the layer 2 table, the corresponding nexthops, system wide dropstats
and flow block and reverse path failures.

Change-Id: I32226c591e541f91960e67a16610705b92cbe18b
Partial-BUG: #1513001

Changed in juniperopenstack:
milestone: r3.0-fcs → r3.1.0.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/19304
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19305
Submitter: Anand H. Krishnan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19305
Committed: http://github.org/Juniper/contrail-vrouter/commit/50d17351b460f941ead9724b66f150bb1451ed2a
Submitter: Zuul
Branch: master

commit 50d17351b460f941ead9724b66f150bb1451ed2a
Author: Anand H. Krishnan <email address hidden>
Date: Fri Apr 15 10:22:36 2016 +0530

Match source and destination when both are given

Change-Id: Id75ee6dc4f739f78073e72fae08bbbcffcde1618
Partial-BUG: #1513001

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/19304
Committed: http://github.org/Juniper/contrail-vrouter/commit/4af463f177442ed0069e34c429207ce59f0cddfb
Submitter: Zuul
Branch: R3.0

commit 4af463f177442ed0069e34c429207ce59f0cddfb
Author: Anand H. Krishnan <email address hidden>
Date: Fri Apr 15 10:22:36 2016 +0530

Match source and destination when both are given

Change-Id: Id75ee6dc4f739f78073e72fae08bbbcffcde1618
Partial-BUG: #1513001

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.