bring BFD session up
(self)
| 1166 | super(BFD4TestCase, self).tearDown() |
| 1167 | |
| 1168 | def test_session_up(self): |
| 1169 | """bring BFD session up""" |
| 1170 | bfd_session_up(self) |
| 1171 | if self.multihop: |
| 1172 | bfd_udp4_sessions = self.statistics[BFD_STATS_V4_MH_PATH] |
| 1173 | bfd_udp6_sessions = self.statistics[BFD_STATS_V6_MH_PATH] |
| 1174 | else: |
| 1175 | bfd_udp4_sessions = self.statistics[BFD_STATS_V4_SH_PATH] |
| 1176 | bfd_udp6_sessions = self.statistics[BFD_STATS_V6_SH_PATH] |
| 1177 | |
| 1178 | self.assert_equal(bfd_udp4_sessions - self.bfd_udp4_sessions, 1) |
| 1179 | self.assert_equal(bfd_udp6_sessions, self.bfd_udp6_sessions) |
| 1180 | |
| 1181 | def test_session_up_by_ip(self): |
| 1182 | """bring BFD session up - first frame looked up by address pair""" |
nothing calls this directly
no test coverage detected