def open(self):
device_type = "<STR_LIT>"<EOL>if self.transport == "<STR_LIT>":<EOL><INDENT>device_type = "<STR_LIT>"<EOL><DEDENT>self.device = self._netmiko_open(<EOL>device_type, netmiko_optional_args=self.netmiko_optional_args<EOL>)<EOL>
Open a connection to the device.