-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add bsn_counter request reply #149
Conversation
High level questions:
I'd prefer the input file be split into "bsn_port_counters" and "bsn_vlan_counters" since the messages are disjoint. |
Also, all the counters need to be uint64_t. A 32-bit counter could overflow in less than a second. |
They are already 64bit :) Xin On Wed, Dec 4, 2013 at 5:30 PM, Rich Lane notifications@github.com wrote:
|
Ok, I was only looking at the first commit. |
OFP_TX_PACKETS_BROADCAST = 8, | ||
OFP_TX_PACKETS_MULTICAST = 9, | ||
OFP_TX_DROPPED = 10, | ||
OFP_TX_ERRORS = 11, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These names should be prefixed to avoid name collisions - how about OFP_BSN_COUNTER_* ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it'll have to be OFP_BSN_PORT_COUNTER_* to avoid collisions with the VLAN counter enum.
ACK |
ABAT: START_MERGE: Log file at http://sbs2/abat/2013.12.09.1836-m.loxigen.master/abat.log |
Loxigen Head commit floodlight/loxigen@06b5b31 commit 06b5b3194220f8ed337b9b5a0cc94a9086cf6b75 Merge: d0c6860 9b8989c Author: abat <abat@bigswitch.com> Date: Mon Dec 9 10:36:43 2013 -0800 Merge into master from pull request #149: add bsn_counter request reply (floodlight/loxigen#149) commit 9b8989cb74907fb14f230f5be7a914256c1f4bd7 Author: xinwu <xin.wu@bigswitch.com> Date: Fri Dec 6 16:01:32 2013 -0800 replace tabs with spaces commit 4f6987f6509a3ebd1fedacee7ad3d0c869febcb4 Author: xinwu <xin.wu@bigswitch.com> Date: Fri Dec 6 13:39:57 2013 -0800 add prefix to avoid name collision commit 7e2f382eb4cf4a00c524bc7af9561ad9626b4017 Author: xinwu <xin.wu@bigswitch.com> Date: Thu Dec 5 18:48:22 2013 -0800 add test data bsn_port_counter_stats_reply.data commit 37aaed5f6acd776f52d731787dbd43ddf60417cb Author: xinwu <xin.wu@bigswitch.com> Date: Thu Dec 5 18:37:35 2013 -0800 simplify variable names commit f08ef687300b03ced9336bd8f63e2f0c8e8a064e Author: xinwu <xin.wu@bigswitch.com> Date: Thu Dec 5 18:29:20 2013 -0800 add bsn_port/vlan_counter_stats_request/reply commit 54ceacaff4bb954369d0d91ae5579f190b208a58 Author: xinwu <xin.wu@bigswitch.com> Date: Wed Dec 4 17:02:27 2013 -0800 fix typos commit 358e6162420f94770872bf5c4c4949df35ccd8fd Author: xinwu <xin.wu@bigswitch.com> Date: Wed Dec 4 16:49:48 2013 -0800 separate bsn_port_counter from bsn_vlan_counter commit 122ea6c633cc4c91ebb0813b8c5155ba648c6aa6 Author: xinwu <xin.wu@bigswitch.com> Date: Wed Dec 4 14:15:46 2013 -0800 add bsn_counter request reply
add bsn_counter request reply (#149)
ABAT: ACCEPT: Successfully merged In case you want to see the build log, check out : |
Reviewer: @rlane @kenchiang