support stats for multiple links reported by APBR Midstream

Bug #1719563 reported by Prashanth Nageshappa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Undecided
Prashanth Nageshappa
R4.1
Fix Committed
Undecided
Prashanth Nageshappa
Trunk
Fix Committed
Undecided
Prashanth Nageshappa

Bug Description

support stats for multiple links reported by APBR Midstream
Syslogs will have multiple links against which bytes needs to accounted

RT_FLOW - APPTRACK_SESSION_CLOSE [junos@2636.1.1.1.2.137 reason="TCP FIN" source-address="4.0.0.1" source-port="40297" destination-address="5.0.0.1" destination-port="110" service-name="junos-pop3" application="POP3" nested-application="UNKNOWN" nat-source-address="4.0.0.1" nat-source-port="40297" nat-destination-address="5.0.0.1" nat-destination-port="110" src-nat-rule-name="N/A" dst-nat-rule-name="N/A" protocol-id="6" policy-name="permit-all" source-zone-name="UNTRUST" destination-zone-name="TRUST" session-id-32="81" packets-from-client="7" bytes-from-client="387" packets-from-server="6" bytes-from-server="362" elapsed-time="130" username="N/A" roles="N/A" encrypted="No" profile-name=”pf1” rule-name=”facebook1” routing-instance=”instance1” destination-interface-name="gr-0/0/0.0" uplink-tx-bytes="1959" uplink-rx-bytes="68643" uplink-incoming-interface-name="gr-0/0/0.0"]

RT_FLOW - RT_FLOW_NEXTHOP_CHANGE [junos@2636.1.1.1.2.129 source-address="4.0.0.1" source-port="33040" destination-address="5.0.0.1" destination-port="80" service-name="junos-http" application="HTTP" nested-application="FACEBOOK-SOCIALRSS" nat-source-address="4.0.0.1" nat-source-port="33040" nat-destination-address="5.0.0.1" nat-destination-port="80" src-nat-rule-name="N/A" dst-nat-rule-name="N/A" protocol-id="6" policy-name="permit-all" source-zone-name="trust" destination-zone-name="untrust" session-id-32="28" packets-from-client="371" bytes-from-client="19592" packets-from-server="584" bytes-from-server="686432" elapsed-time="130" username="user1" roles="DEPT1" encrypted="No" profile-name=”pf1” rule-name=”facebook1” routing-instance=”instance1” destination-interface-name="gr-0/0/0.1" last-destination-interface-name="gr-0/0/0.0" uplink-incoming-interface-name="gr-0/0/0.0" last-incoming-interface-name="gr-0/0/0.0" uplink-tx-bytes="68643" uplink-rx-bytes="19592"]

Tags: analytics
information type: Proprietary → Public
Changed in juniperopenstack:
assignee: nobody → Prashanth Nageshappa (nprashanth)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35947
Submitter: Prashanth Nageshappa (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/36180
Submitter: Prashanth Nageshappa (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/36181
Submitter: Prashanth Nageshappa (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35947
Committed: http://github.com/Juniper/contrail-controller/commit/2beb265ad227644dcdf90f420e5ca7e63eade1e2
Submitter: Zuul (<email address hidden>)
Branch: master

commit 2beb265ad227644dcdf90f420e5ca7e63eade1e2
Author: Prashanth Nageshappa <email address hidden>
Date: Tue Sep 26 03:43:22 2017 -0700

support multiple links by in APBR Midstream logs

handle APBR Midstream structured syslog messages
which now has bytes info for multiple interfaces used
for the session

Change-Id: I8ba8ff76b5b55e7c6e72aaa956aed9d3eaacf41a
Closes-Bug: #1719563

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

Reviewed: https://review.opencontrail.org/36180
Committed: http://github.com/Juniper/contrail-controller/commit/21e9867c199d5203ee37938e76138aa0d6e41751
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 21e9867c199d5203ee37938e76138aa0d6e41751
Author: Prashanth Nageshappa <email address hidden>
Date: Tue Sep 26 03:43:22 2017 -0700

support multiple links by in APBR Midstream logs

handle APBR Midstream structured syslog messages
which now has bytes info for multiple interfaces used
for the session

Change-Id: I8ba8ff76b5b55e7c6e72aaa956aed9d3eaacf41a
Closes-Bug: #1719563

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

Reviewed: https://review.opencontrail.org/36181
Committed: http://github.com/Juniper/contrail-controller/commit/15065d772fc9933a6df5230796580734c23e6504
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 15065d772fc9933a6df5230796580734c23e6504
Author: Prashanth Nageshappa <email address hidden>
Date: Tue Sep 26 03:43:22 2017 -0700

support multiple links by in APBR Midstream logs

handle APBR Midstream structured syslog messages
which now has bytes info for multiple interfaces used
for the session

Change-Id: I8ba8ff76b5b55e7c6e72aaa956aed9d3eaacf41a
Closes-Bug: #1719563

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.