summaryrefslogtreecommitdiffhomepage
path: root/ryu/tests/unit/packet/test_mpls.py
AgeCommit message (Collapse)Author
2017-06-30Revert "tests: Separate test files from Ryu module"FUJITA Tomonori
This reverts commit a67ed2858417b9d795460f05126c01fb0cd344f9. The commit breaks OpenStack neutron dynamic routing.
2017-06-26tests: Separate test files from Ryu moduleIWASE Yusuke
To prevent redundant files (e.g., pcap files, json files for tests, packet data generator) to be installed, this patch separates test directory from Ryu module. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-10-29packet/mpls: Add method to convert the format of labelShinpei Muraoka
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-03-17UT: Remove unused importsYAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-12-12packet lib: add unittests for reversibility about jsonYuichi Ito
this patch adds tests that examine reversibility about json for all packet library. the test codes are written as: jsondict = msg1.to_jsondict() msg2 = cls.from_jsondict(jsondict['msg']) eq_(str(msg1), str(msg2)) TODO: make VRRP reversible. since VRRP has an unusual construction method, VRRP is not reversible about json. Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-08-06packet lib to string: unit testswatanabe.fumitaka
Signed-off-by: WATANABE Fumitaka <watanabe.fumitaka@nttcom.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>