os-ken/ryu/lib
Shinpei Muraoka d23c07054e stplib: Fix to compare MAC address and Bridge ID
cmp() func was introduced for Python 3 compatibility before,
but this implementation is not enough, because a MAC address
can not be compared with a Bridge ID (integer value) by com() func.

This patch fixes to convert the MAC address into an integer value
before comparing with Bridge ID and fixes this problem.

Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-10-01 20:46:28 +09:00
..
netconf Remove duplicated definitions 2015-06-30 17:00:24 +09:00
of_config python3: Apply "2to3 -f map" 2015-06-26 21:21:49 +09:00
ovs python 3: Replace deprecated logging.warn with logging.warning 2016-06-18 13:53:50 +09:00
packet BGPSpeaker: Extend to advertise VNI for EVPN routes 2016-09-07 10:01:20 +09:00
xflow Reduce logging overhead by cleaning up logging calls 2015-03-16 21:11:10 +09:00
__init__.py initial commit 2011-12-09 15:56:05 +09:00
addrconv.py addrconv: remove embedded test code 2013-07-25 05:16:36 +09:00
alert.py Snort integrate: Add the snort lib supporting snort integration. Add an sample application simple_switch_snort.py which can dump alert message. 2014-09-01 15:16:05 +09:00
bfdlib.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
dpid.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
hub.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
igmplib.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
ip.py of10: Support human readable MAC/IPv4 address in OFPMatch 2015-10-11 21:51:37 +09:00
lacplib.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
mac.py stplib: Fix to compare MAC address and Bridge ID 2016-10-01 20:46:28 +09:00
ofctl_nicira_ext.py ofctl_nicira_ext: Fix not enough arguments for format string 2016-08-19 17:48:53 +09:00
ofctl_utils.py add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
ofctl_v1_0.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
ofctl_v1_2.py add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
ofctl_v1_3.py add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
ofctl_v1_4.py add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
ofctl_v1_5.py add modify role API in ofctl_rest 2016-09-07 09:37:46 +09:00
ofp_pktinfilter.py Reduce logging overhead by cleaning up logging calls 2015-03-16 21:11:10 +09:00
pack_utils.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
pcaplib.py doc: Add PCAP file library reference 2016-06-01 20:40:04 +09:00
port_no.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
rpc.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
snortlib.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
sockaddr.py Add a small library to deal with TCP-MD5 socket option 2014-06-29 08:19:49 +09:00
sockopt.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
stplib.py stplib: Fix to compare MAC address and Bridge ID 2016-10-01 20:46:28 +09:00
stringify.py lib: Reduce Pylint warnings 2016-08-19 17:49:01 +09:00
type_desc.py BGPSpeaker: Support Ethernet VPN update messages 2016-08-25 13:33:10 +09:00