-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import socket
class TestSRMPLS(VppTestCase):
""" SR-MPLS Test Case """
+ @classmethod
+ def setUpClass(cls):
+ super(TestSRMPLS, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestSRMPLS, cls).tearDownClass()
+
def setUp(self):
super(TestSRMPLS, self).setUp()
for i in self.pg_interfaces:
i.unconfig_ip4()
i.unconfig_ip6()
- i.ip6_disable()
i.disable_mpls()
i.admin_down()
super(TestSRMPLS, self).tearDown()