def start(self):
if  self._status != netsnmpAgentStatus.CONNECTEDand self._status != netsnmpAgentStatus.RECONNECTING:<EOL><INDENT>self._status = netsnmpAgentStatus.FIRSTCONNECT<EOL>libnsa.init_snmp(b(self.AgentName))<EOL>if self._status == netsnmpAgentStatus.CONNECTFAILED:<EOL><INDENT>msg = "<STR_LIT>""<STR_LIT>"<EOL>msg = msg.format(self.MasterSocket)<EOL>raise netsnmpAgentException(msg)<EOL><DEDENT><DEDENT>
Starts the agent. Among other things, this means connecting
            to the master agent, if configured that way.