def METHOD_NAME(self, in_path, out_path):
    """ put a file from local to lxd """
    super(Connection, self).METHOD_NAME(in_path, out_path)
    self._display.vvv(u"PUT {0} TO {1}".format(in_path, out_path), host=self.get_option('remote_addr'))
    if not os.path.isfile(to_bytes(in_path, errors='surrogate_or_strict')):
        raise AnsibleFileNotFound("input path is not a file: %s" % in_path)
    local_cmd = [self._lxc_cmd]
    if self.get_option("project"):
        local_cmd.extend(["--project", self.get_option("project")])
    local_cmd.extend([
        "file", "push",
        in_path,
        "%s:%s/%s" % (self.get_option("remote"), self.get_option("remote_addr"), out_path)
    ])
    local_cmd = [to_bytes(i, errors='surrogate_or_strict') for i in local_cmd]
    process = Popen(local_cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
    process.communicate()