summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 13:19:17 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 13:19:17 +0900
commit311324fab8bf7d9e39365d53f7e810af90476d85 (patch)
tree6a32784d484f30bb0abebbc393c7f8b9f270da97 /server
parent051621bf3aecbe0fd6292a3b4ee41ab42169eea1 (diff)
move packet/*.go to packet/bgp/*.go for Go's convention
Later, we move non-bgp protocol stuff like mrt under their own direcotries. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r--server/bmp.go2
-rw-r--r--server/fsm.go2
-rw-r--r--server/fsm_test.go2
-rw-r--r--server/grpc_server.go2
-rw-r--r--server/monitor.go2
-rw-r--r--server/peer.go2
-rw-r--r--server/rpki.go2
-rw-r--r--server/rpki_test.go2
-rw-r--r--server/server.go2
-rw-r--r--server/watcher.go2
-rw-r--r--server/zclient.go2
11 files changed, 11 insertions, 11 deletions
diff --git a/server/bmp.go b/server/bmp.go
index bd748ed9..7ac79ada 100644
--- a/server/bmp.go
+++ b/server/bmp.go
@@ -19,7 +19,7 @@ import (
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"gopkg.in/tomb.v2"
"net"
diff --git a/server/fsm.go b/server/fsm.go
index 5fa12484..b5530f52 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -20,7 +20,7 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"gopkg.in/tomb.v2"
"io"
diff --git a/server/fsm_test.go b/server/fsm_test.go
index 2cfce644..8d98d751 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -20,7 +20,7 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"github.com/stretchr/testify/assert"
"net"
diff --git a/server/grpc_server.go b/server/grpc_server.go
index 1cce90bb..38b52f07 100644
--- a/server/grpc_server.go
+++ b/server/grpc_server.go
@@ -19,7 +19,7 @@ import (
"fmt"
log "github.com/Sirupsen/logrus"
api "github.com/osrg/gobgp/api"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"golang.org/x/net/context"
"google.golang.org/grpc"
"io"
diff --git a/server/monitor.go b/server/monitor.go
index 4849f1eb..ac9c775b 100644
--- a/server/monitor.go
+++ b/server/monitor.go
@@ -17,7 +17,7 @@ package server
import (
api "github.com/osrg/gobgp/api"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"gopkg.in/tomb.v2"
)
diff --git a/server/peer.go b/server/peer.go
index 57994bcd..a8b67b63 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -21,7 +21,7 @@ import (
"github.com/eapache/channels"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"net"
"time"
diff --git a/server/rpki.go b/server/rpki.go
index d019b0e8..329ee053 100644
--- a/server/rpki.go
+++ b/server/rpki.go
@@ -28,7 +28,7 @@ import (
"github.com/armon/go-radix"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"gopkg.in/tomb.v2"
)
diff --git a/server/rpki_test.go b/server/rpki_test.go
index c51ba1ae..fb270cf7 100644
--- a/server/rpki_test.go
+++ b/server/rpki_test.go
@@ -23,7 +23,7 @@ import (
"github.com/armon/go-radix"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/stretchr/testify/assert"
)
diff --git a/server/server.go b/server/server.go
index d510ca7f..532a7416 100644
--- a/server/server.go
+++ b/server/server.go
@@ -29,7 +29,7 @@ import (
"github.com/eapache/channels"
api "github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"github.com/osrg/gobgp/zebra"
"github.com/satori/go.uuid"
diff --git a/server/watcher.go b/server/watcher.go
index 4294d358..d3befa0e 100644
--- a/server/watcher.go
+++ b/server/watcher.go
@@ -18,7 +18,7 @@ package server
import (
"bytes"
log "github.com/Sirupsen/logrus"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"gopkg.in/tomb.v2"
"net"
diff --git a/server/zclient.go b/server/zclient.go
index b380e90e..e9116b2e 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -19,7 +19,7 @@ import (
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
+ "github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"github.com/osrg/gobgp/zebra"
"net"