def METHOD_NAME(self, sshsession):
    c = sshsession._channel = sshsession._transport.open_channel(
        kind="session")
    c.set_name("netconf-command-" + str(sshsession._channel_id))
    c.exec_command("xml-mode netconf need-trailer")
    return True