Пример #1
0
    def testFlowSnapshotMatch(self):
        cls = self.__class__

        assert_bridge_snapshot_match(self, self.UPLINK_BRIDGE,
                                     self.service_manager)
        self.assertIn(cls.SGi_IP, get_iface_ipv4(cls.BRIDGE_ETH_PORT),
                      "ip not found")
Пример #2
0
    def testFlowSnapshotMatch(self):
        cls = self.__class__
        assert_bridge_snapshot_match(self, self.UPLINK_BRIDGE, self.service_manager,
                                     include_stats=False)
        self.assertEqual(get_ovsdb_port_tag(cls.UPLINK_BRIDGE), cls.VLAN_TAG)

        self.assertIn(cls.SGi_IP, get_iface_ipv4(cls.UPLINK_BRIDGE), "ip not found")
Пример #3
0
    def testFlowSnapshotMatch(self):
        cls = self.__class__
        assert_bridge_snapshot_match(
            self, self.UPLINK_BRIDGE, self.service_manager,
            include_stats=False,
        )

        self.assertIn(cls.SGi_IP, get_iface_ipv4(cls.UPLINK_BRIDGE), "ip not found")
        self.assertIn(cls.SGi_IPv6, get_iface_ipv6(cls.UPLINK_BRIDGE), "ipv6 not found")