@classmethod<EOL><INDENT>def setUpClass(cls):<DEDENT>
ip_addr = '<STR_LIT:127.0.0.1>'<EOL>username = '<STR_LIT>'<EOL>password = '<STR_LIT>'<EOL>cls.vendor = '<STR_LIT>'<EOL>optional_args = {'<STR_LIT:port>': <NUM_LIT>, '<STR_LIT>': '<STR_LIT>'}<EOL>cls.device = ios.IOSDriver(ip_addr, username, password, optional_args=optional_args)<EOL>cls.device.open()<EOL>cls.device.load_replace_candidate(filename='<STR_LIT>' % cls.vendor)<EOL>cls.device.commit_config()<EOL>
Executed when the class is instantiated.