func (p *lxdBridgePlugin) PodNetwork(id string, annotations map[string]string) (PodNetwork, error) {
	return &lxdBridgePodNetwork{
		plugin:      p,
		podID:       id,
		annotations: annotations,
	}, nil
}
PodNetwork enters a pod network environment context
package network  
import (
	"context"
	"errors"
	"fmt"
	"net"
	"strconv"
	"github.com/automaticserver/lxe/lxf/device"
	"github.com/automaticserver/lxe/network/cloudinit"
	"github.com/automaticserver/lxe/shared"
	lxd "github.com/lxc/lxd/client"
	"github.com/lxc/lxd/shared/api"
	rtApi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
)
const (
	DefaultLXDBridge = "lxebr0"
)
var (
	ErrNotBridge = errors.New("not a bridge")
)
type ConfLXDBridge struct {
	LXDBridge  string
	Cidr       string
	Nat        bool
	CreateOnly bool
}
func (c *ConfLXDBridge) setDefaults() {
	if c.LXDBridge == "" {
		c.LXDBridge = DefaultLXDBridge
	}
}
type lxdBridgePlugin struct {
	noopPlugin  
	server     lxd.ContainerServer
	conf       ConfLXDBridge
}
func InitPluginLXDBridge(server lxd.ContainerServer, conf ConfLXDBridge) (*lxdBridgePlugin, error) {  
	conf.setDefaults()
	p := &lxdBridgePlugin{
		server: server,
		conf:   conf,
	}
	err := p.ensureBridge()
	if err != nil {
		return nil, err
	}
	return p, nil
}