func (l *client) GetSandbox(id string) (*Sandbox, error) {
	p, ETag, err := l.server.GetProfile(id)
	if err != nil {
		return nil, err
	}
	if !IsCRI(p) {
		return nil, fmt.Errorf("sandbox %w: %s", shared.NewErrNotFound(), id)
	}
	return l.toSandbox(p, ETag)
}
GetSandbox will find a sandbox by id and return it.
package lxf  
import (
	"fmt"
	"strconv"
	"strings"
	"time"
	"github.com/automaticserver/lxe/lxf/device"
	"github.com/automaticserver/lxe/shared"
	"github.com/lxc/lxd/shared/api"
	yaml "gopkg.in/yaml.v2"
)
func (l *client) NewSandbox() *Sandbox {
	s := &Sandbox{}
	s.client = l
	s.Config = make(map[string]string)
	s.NetworkConfig.Mode = NetworkNone
	s.NetworkConfig.ModeData = make(map[string]string)
	return s
}