mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Merge pull request openziti/fabric#96 from openziti/openziti
netfoundry/ziti-fabric -> openziti/fabric
This commit is contained in:
+10
-10
@@ -20,16 +20,16 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/config"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/netfoundry/ziti-foundation/transport"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/config"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/transport"
|
||||
"gopkg.in/yaml.v2"
|
||||
"io/ioutil"
|
||||
"time"
|
||||
|
||||
+14
-14
@@ -20,20 +20,20 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_ctrl"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_mgmt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl_example"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xmgmt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_ha"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_random"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_smartrouting"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_weighted"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/profiler"
|
||||
"github.com/netfoundry/ziti-foundation/util/concurrenz"
|
||||
"github.com/openziti/fabric/controller/handler_ctrl"
|
||||
"github.com/openziti/fabric/controller/handler_mgmt"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/fabric/controller/xctrl_example"
|
||||
"github.com/openziti/fabric/controller/xmgmt"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_ha"
|
||||
"github.com/openziti/fabric/controller/xt_random"
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/fabric/controller/xt_weighted"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/profiler"
|
||||
"github.com/openziti/foundation/util/concurrenz"
|
||||
)
|
||||
|
||||
type Controller struct {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
)
|
||||
|
||||
type store interface {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_smartrouting"
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/pkg/errors"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
)
|
||||
|
||||
import (
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_smartrouting"
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_smartrouting"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ package db
|
||||
import (
|
||||
"encoding/binary"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/netfoundry/ziti-foundation/util/sequence"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/util/sequence"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ package db
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/google/uuid"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-foundation/util/stringz"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/util/stringz"
|
||||
"go.etcd.io/bbolt"
|
||||
"math"
|
||||
"testing"
|
||||
|
||||
@@ -3,7 +3,7 @@ package db
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@ package handler_common
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
func SendSuccess(request *channel2.Message, ch channel2.Channel, message string) {
|
||||
|
||||
@@ -18,9 +18,9 @@ package handler_ctrl
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type CtrlAccepter struct {
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
package handler_ctrl
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type bindHandler struct {
|
||||
|
||||
@@ -18,8 +18,8 @@ package handler_ctrl
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type closeHandler struct {
|
||||
|
||||
@@ -22,9 +22,9 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type ConnectHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type createTerminatorHandler struct {
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"errors"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type faultHandler struct {
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type inspectHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type linkHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/netfoundry/ziti-foundation/metrics/metrics_pb"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/metrics/metrics_pb"
|
||||
)
|
||||
|
||||
type metricsHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type removeTerminatorHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/ctrl_msg"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/ctrl_msg"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@ package handler_ctrl
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ package handler_mgmt
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type MgmtAccepter struct {
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
package handler_mgmt
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xmgmt"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xmgmt"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type BindHandler struct {
|
||||
|
||||
@@ -18,7 +18,7 @@ package handler_mgmt
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type xmgmtCloseHandler struct {
|
||||
|
||||
@@ -18,8 +18,8 @@ package handler_mgmt
|
||||
|
||||
import (
|
||||
"crypto/x509"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type ConnectHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type createRouterHandler struct {
|
||||
|
||||
@@ -18,11 +18,11 @@ package handler_mgmt
|
||||
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type createServiceHandler struct {
|
||||
|
||||
@@ -18,11 +18,11 @@ package handler_mgmt
|
||||
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type getServiceHandler struct {
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/golang/protobuf/ptypes"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type getTerminatorHandler struct {
|
||||
|
||||
@@ -20,11 +20,11 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/util/debugz"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/util/debugz"
|
||||
"regexp"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type listLinksHandler struct {
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type listSessionsHandler struct {
|
||||
|
||||
@@ -20,10 +20,10 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type removeRouterHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type removeServiceHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type removeSessionHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type removeTerminatorHandler struct {
|
||||
|
||||
@@ -20,11 +20,11 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type setLinkCostHandler struct {
|
||||
|
||||
@@ -20,11 +20,11 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type setLinkDownHandler struct {
|
||||
|
||||
@@ -19,12 +19,12 @@ package handler_mgmt
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
||||
@@ -20,12 +20,12 @@ import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/golang/protobuf/ptypes/timestamp"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/netfoundry/ziti-foundation/metrics/metrics_pb"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/metrics/metrics_pb"
|
||||
"regexp"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type streamSessionsHandler struct {
|
||||
|
||||
@@ -19,13 +19,13 @@ package handler_mgmt
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
trace_pb "github.com/netfoundry/ziti-foundation/trace/pb"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
trace_pb "github.com/openziti/foundation/trace/pb"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -19,12 +19,12 @@ package handler_mgmt
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/handler_common"
|
||||
"github.com/netfoundry/ziti-fabric/controller/network"
|
||||
"github.com/netfoundry/ziti-fabric/pb/mgmt_pb"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/trace/pb"
|
||||
"github.com/openziti/fabric/controller/handler_common"
|
||||
"github.com/openziti/fabric/controller/network"
|
||||
"github.com/openziti/fabric/pb/mgmt_pb"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/trace/pb"
|
||||
)
|
||||
|
||||
type streamTracesHandler struct {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
"time"
|
||||
|
||||
@@ -19,9 +19,9 @@ package network
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/util/info"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/util/info"
|
||||
)
|
||||
|
||||
func (network *Network) assemble() {
|
||||
|
||||
@@ -18,8 +18,8 @@ package network
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type Circuit struct {
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/transport"
|
||||
"github.com/netfoundry/ziti-foundation/transport/tcp"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/transport"
|
||||
"github.com/openziti/foundation/transport/tcp"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-foundation/storage/ast"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/storage/ast"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/util/info"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/util/info"
|
||||
)
|
||||
|
||||
type Link struct {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/util/sequence"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/util/sequence"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
"math"
|
||||
)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -22,17 +22,17 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/netfoundry/ziti-foundation/metrics/metrics_pb"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/netfoundry/ziti-foundation/util/concurrenz"
|
||||
"github.com/netfoundry/ziti-foundation/util/sequence"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/metrics/metrics_pb"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/util/concurrenz"
|
||||
"github.com/openziti/foundation/util/sequence"
|
||||
errors2 "github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"sort"
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/transport/tcp"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/transport/tcp"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/netfoundry/ziti-foundation/util/concurrenz"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/util/concurrenz"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -18,9 +18,9 @@ package network
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type SessionLifeCycleListener interface {
|
||||
|
||||
@@ -18,7 +18,7 @@ package network
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"sort"
|
||||
)
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/db"
|
||||
"github.com/netfoundry/ziti-fabric/controller/models"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/db"
|
||||
"github.com/openziti/fabric/controller/models"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"github.com/pkg/errors"
|
||||
"go.etcd.io/bbolt"
|
||||
"reflect"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package xctrl
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
package xctrl
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/config"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/config"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
)
|
||||
|
||||
type Xctrl interface {
|
||||
|
||||
@@ -21,9 +21,9 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type receiveHandler struct{}
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package xmgmt
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/config"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/config"
|
||||
)
|
||||
|
||||
type Xmgmt interface {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package xt
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/storage/boltz"
|
||||
"github.com/openziti/foundation/storage/boltz"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package xt_common
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"math"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package xt_ha
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package xt_random
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package xt_smartrouting
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_common"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_common"
|
||||
"math"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package xt_weighted
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
"github.com/netfoundry/ziti-fabric/controller/xt_common"
|
||||
"github.com/openziti/fabric/controller/xt"
|
||||
"github.com/openziti/fabric/controller/xt_common"
|
||||
"math"
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package ctrl_msg
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Launch the `ziti-fabric-gw` like this:
|
||||
|
||||
$ bin/ziti-fabric-gw run src/github.com/netfoundry/ziti-fabric/fabric/etc/gw.yml
|
||||
$ bin/ziti-fabric-gw run src/github.com/openziti/fabric/fabric/etc/gw.yml
|
||||
|
||||
Client access like this:
|
||||
|
||||
@@ -49,8 +49,8 @@ Client access like this:
|
||||
To use `ziti-fabric-gw` with a plain HTTP listener (without TLS), comment out the `certPath` and `keyPath` lines in `gw.yml`:
|
||||
|
||||
# Comment out the following lines to disable the TLS listener
|
||||
#certPath: src/github.com/netfoundry/ziti-fabric/fabric/etc/ca/intermediate/certs/mgmt-gw.cert.pem
|
||||
#keyPath: src/github.com/netfoundry/ziti-fabric/fabric/etc/ca/intermediate/private/mgmt-gw.key.pem
|
||||
#certPath: src/github.com/openziti/fabric/fabric/etc/ca/intermediate/certs/mgmt-gw.cert.pem
|
||||
#keyPath: src/github.com/openziti/fabric/fabric/etc/ca/intermediate/private/mgmt-gw.key.pem
|
||||
|
||||
And then the listener can be accessed with plain HTTP:
|
||||
|
||||
|
||||
+14
-14
@@ -4,13 +4,13 @@ If you're going to be working on the Ziti fabric, or just want to track the late
|
||||
|
||||
First, install the golang environment for your platform. Visit http://golang.org to download your installer.
|
||||
|
||||
As of this update, we're currently using version `1.13` of golang.
|
||||
As of this update, we're currently using version `1.14` of golang.
|
||||
|
||||
Make sure that `go` is in your path:
|
||||
|
||||
```
|
||||
$ go version
|
||||
go version go1.13.4 linux/amd64
|
||||
go version go1.14.3 linux/amd64
|
||||
```
|
||||
|
||||
Consider using a separate directory to contain the `GOPATH` for your `ziti-fabric` development (instead of just using `~/go`). I like to put mine in `~/local/ziti-fabric`, but you can root it wherever you'd like. This will contain the dependent package sources, and built binaries.
|
||||
@@ -18,8 +18,8 @@ Consider using a separate directory to contain the `GOPATH` for your `ziti-fabri
|
||||
Essentially:
|
||||
|
||||
```
|
||||
mkdir -p ~/local/ziti-fabric
|
||||
export GOPATH=~/local/ziti-fabric
|
||||
mkdir -p ~/local/ziti
|
||||
export GOPATH=~/local/ziti
|
||||
```
|
||||
|
||||
Include `GOPATH/bin` in your shell's `PATH`:
|
||||
@@ -33,21 +33,21 @@ When you've got your `GOPATH` ready, you'll want to clone the repositories. I li
|
||||
```
|
||||
mkdir ~/repos
|
||||
cd ~/repos
|
||||
git clone https://github.com/netfoundry/ziti-cmd.git
|
||||
git clone https://github.com/netfoundry/ziti-fabric.git
|
||||
git clone https://github.com/openziti/ziti.git
|
||||
git clone https://github.com/openziti/fabric.git
|
||||
```
|
||||
|
||||
We're going to need to update the `go.mod` file in the root of `ziti-cmd`, using the `replace` directive to point the `ziti-cmd` build at our local `ziti-fabric` development tree.
|
||||
|
||||
```
|
||||
cd ~/repos/ziti-cmd
|
||||
cd ~/repos/ziti
|
||||
vi go.mod
|
||||
```
|
||||
|
||||
The top of the file should look like this:
|
||||
|
||||
```
|
||||
module github.com/netfoundry/ziti-cmd
|
||||
module github.com/openziti/ziti
|
||||
|
||||
go 1.13
|
||||
|
||||
@@ -57,11 +57,11 @@ require (
|
||||
We're going to add a `replace` line, like this:
|
||||
|
||||
```
|
||||
module github.com/netfoundry/ziti-cmd
|
||||
module github.com/openziti/ziti
|
||||
|
||||
go 1.13
|
||||
|
||||
replace github.com/netfoundry/ziti-fabric => ../ziti-fabric
|
||||
replace github.com/openziti/fabric => ../fabric
|
||||
|
||||
require (
|
||||
```
|
||||
@@ -71,13 +71,13 @@ With that change made, you can alter the contents of your local clone of `ziti-f
|
||||
Build the tree:
|
||||
|
||||
```
|
||||
$ cd ~/repos/ziti-cmd
|
||||
$ cd ~/repos/ziti
|
||||
$ go install ./...
|
||||
```
|
||||
|
||||
The binaries will be placed in `$GOPATH/bin`.
|
||||
|
||||
The development configuration files live in `ziti-fabric/etc`, and contain relative paths, which expect the executables to be started from the root of `ziti-fabric` (ensure that `~/local/ziti-fabric/bin` (`$GOPATH/bin`) is in your shell's `PATH`).
|
||||
The development configuration files live in `fabric/etc`, and contain relative paths, which expect the executables to be started from the root of `ziti-fabric` (ensure that `~/local/ziti-fabric/bin` (`$GOPATH/bin`) is in your shell's `PATH`).
|
||||
|
||||
```
|
||||
$ cd ~repos/ziti-cmd
|
||||
@@ -91,7 +91,7 @@ You'll want to open a number of terminal windows. All commands are executed rela
|
||||
### Launch The Controller
|
||||
|
||||
```
|
||||
$ cd ~repos/ziti-cmd
|
||||
$ cd ~repos/ziti
|
||||
$ ziti-controller run etc/ctrl.yml
|
||||
```
|
||||
|
||||
@@ -175,7 +175,7 @@ $ ziti-fabric-test loop2 listener
|
||||
Launch a `loop2` dialer (begin generating load):
|
||||
|
||||
```
|
||||
$ ziti-fabric-test loop2 dialer src/github.com/netfoundry/ziti-fabric/fabric/etc/loop2/10-ambient.loop2.yml
|
||||
$ ziti-fabric-test loop2 dialer src/github.com/openziti/fabric/fabric/etc/loop2/10-ambient.loop2.yml
|
||||
```
|
||||
|
||||
Take a look at the various `loop2` scenario configurations in `etc/loop2` for examples illustrating different workloads.
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/ctrl_msg"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/metrics/metrics_pb"
|
||||
"github.com/openziti/fabric/ctrl_msg"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/metrics/metrics_pb"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
package ctrl_pb
|
||||
|
||||
import "github.com/netfoundry/ziti-fabric/controller/xt"
|
||||
import "github.com/openziti/fabric/controller/xt"
|
||||
|
||||
func (request *InspectRequest) GetContentType() int32 {
|
||||
return int32(ContentType_InspectRequestType)
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type Decoder struct{}
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
forwarder2 "github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
forwarder2 "github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
||||
+7
-7
@@ -20,13 +20,13 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/config"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/transport"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/config"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/transport"
|
||||
"github.com/spf13/pflag"
|
||||
"gopkg.in/yaml.v2"
|
||||
"io/ioutil"
|
||||
|
||||
@@ -19,13 +19,13 @@ package forwarder
|
||||
import (
|
||||
"errors"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/netfoundry/ziti-foundation/util/info"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
"github.com/openziti/foundation/util/info"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ package forwarder
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/util/info"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/util/info"
|
||||
"github.com/orcaman/concurrent-map"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
package handler_ctrl
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/controller/xctrl"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/controller/xctrl"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type bindHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_ctrl
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/netfoundry/ziti-foundation/util/debugz"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
"github.com/openziti/foundation/util/debugz"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
@@ -20,12 +20,12 @@ import (
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/handler_xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/handler_xgress"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type routeHandler struct {
|
||||
|
||||
@@ -18,10 +18,10 @@ package handler_ctrl
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type startXgressHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
trace_pb "github.com/netfoundry/ziti-foundation/trace/pb"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
trace_pb "github.com/openziti/foundation/trace/pb"
|
||||
)
|
||||
|
||||
func newTraceHandler(appId *identity.TokenId, controller trace.Controller) *traceHandler {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type unrouteHandler struct {
|
||||
|
||||
@@ -19,9 +19,9 @@ package handler_ctrl
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type validateTerminatorsHandler struct {
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package handler_link
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
metrics2 "github.com/netfoundry/ziti-fabric/router/metrics"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink_transport"
|
||||
"github.com/netfoundry/ziti-fabric/trace"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/metrics"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
metrics2 "github.com/openziti/fabric/router/metrics"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/fabric/router/xlink_transport"
|
||||
"github.com/openziti/fabric/trace"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/metrics"
|
||||
)
|
||||
|
||||
func NewChannelAccepter(c xgress.CtrlChannel, f *forwarder.Forwarder, fo *forwarder.Options, mr metrics.Registry) xlink_transport.ChannelAccepter {
|
||||
|
||||
@@ -18,10 +18,10 @@ package handler_link
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type ackHandler struct {
|
||||
|
||||
@@ -19,11 +19,11 @@ package handler_link
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type closeHandler struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ package handler_link
|
||||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/pb/ctrl_pb"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/openziti/fabric/pb/ctrl_pb"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
)
|
||||
|
||||
type errorHandler struct {
|
||||
|
||||
@@ -18,11 +18,11 @@ package handler_link
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-fabric/router/xlink"
|
||||
"github.com/netfoundry/ziti-foundation/channel2"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/fabric/router/xlink"
|
||||
"github.com/openziti/foundation/channel2"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type payloadHandler struct {
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
package handler_xgress
|
||||
|
||||
import (
|
||||
"github.com/netfoundry/ziti-fabric/router/forwarder"
|
||||
"github.com/netfoundry/ziti-fabric/router/metrics"
|
||||
"github.com/netfoundry/ziti-fabric/router/xgress"
|
||||
"github.com/netfoundry/ziti-foundation/identity/identity"
|
||||
"github.com/openziti/fabric/router/forwarder"
|
||||
"github.com/openziti/fabric/router/metrics"
|
||||
"github.com/openziti/fabric/router/xgress"
|
||||
"github.com/openziti/foundation/identity/identity"
|
||||
)
|
||||
|
||||
type bindHandler struct {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user