Skip to content

Commit db703e8

Browse files
committed
*.go: update contivmodel import path to reference local netplugin directory
Signed-off-by: Bill Robinson <[email protected]>
1 parent e4c2c2b commit db703e8

29 files changed

+30
-30
lines changed

contivmodel/systemtests/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"time"
2323

2424
. "github.com/contiv/check"
25-
"github.com/contiv/contivmodel/client"
25+
"github.com/contiv/netplugin/contivmodel/client"
2626
)
2727

2828
func Test(t *testing.T) { TestingT(t) }

mgmtfn/dockplugin/netDriver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"strings"
2525

2626
log "github.com/Sirupsen/logrus"
27-
"github.com/contiv/contivmodel/client"
27+
"github.com/contiv/netplugin/contivmodel/client"
2828
"github.com/contiv/netplugin/netmaster/docknet"
2929
"github.com/contiv/netplugin/netmaster/intent"
3030
"github.com/contiv/netplugin/netmaster/master"

netctl/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010

1111
"github.com/codegangsta/cli"
12-
contivClient "github.com/contiv/contivmodel/client"
12+
contivClient "github.com/contiv/netplugin/contivmodel/client"
1313
)
1414

1515
// Config represents the contents of ~/.netctl/config.json

netctl/netctl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"golang.org/x/crypto/ssh/terminal"
1818

1919
"github.com/codegangsta/cli"
20-
contivClient "github.com/contiv/contivmodel/client"
20+
contivClient "github.com/contiv/netplugin/contivmodel/client"
2121
"github.com/contiv/netplugin/version"
2222
)
2323

netmaster/k8snetwork/networkpolicy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/contiv/client-go/pkg/api/v1"
99
"github.com/contiv/client-go/pkg/apis/extensions/v1beta1"
1010
"github.com/contiv/client-go/pkg/watch"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
"github.com/contiv/netplugin/utils/k8sutils"
1313
"reflect"
1414
"strings"

netmaster/k8snetwork/networkpolicy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package networkpolicy
33
import (
44
"fmt"
55
log "github.com/Sirupsen/logrus"
6-
"github.com/contiv/contivmodel/client"
6+
"github.com/contiv/netplugin/contivmodel/client"
77
"github.com/contiv/netplugin/core"
88
"github.com/contiv/netplugin/netmaster/mastercfg"
99
"github.com/contiv/netplugin/netmaster/objApi"

netmaster/master/policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
package master
1717

1818
import (
19-
"github.com/contiv/contivmodel"
19+
"github.com/contiv/netplugin/contivmodel"
2020
"github.com/contiv/netplugin/core"
2121
"github.com/contiv/netplugin/netmaster/mastercfg"
2222
"github.com/contiv/netplugin/utils"

netmaster/mastercfg/policyState.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
log "github.com/Sirupsen/logrus"
2525

26-
"github.com/contiv/contivmodel"
26+
"github.com/contiv/netplugin/contivmodel"
2727
"github.com/contiv/netplugin/core"
2828
"github.com/contiv/ofnet"
2929
)

netmaster/objApi/apiController.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"io/ioutil"
2626
"net/http"
2727

28-
contivModel "github.com/contiv/contivmodel"
28+
contivModel "github.com/contiv/netplugin/contivmodel"
2929
"github.com/contiv/netplugin/core"
3030
"github.com/contiv/netplugin/drivers"
3131
"github.com/contiv/netplugin/netmaster/docknet"

netmaster/objApi/extContracts.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package objApi
1818
import (
1919
"fmt"
2020
log "github.com/Sirupsen/logrus"
21-
"github.com/contiv/contivmodel"
21+
"github.com/contiv/netplugin/contivmodel"
2222
"github.com/contiv/netplugin/core"
2323
"github.com/contiv/netplugin/objdb/modeldb"
2424
)

netmaster/objApi/infraproxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
log "github.com/Sirupsen/logrus"
14-
"github.com/contiv/contivmodel"
14+
"github.com/contiv/netplugin/contivmodel"
1515
"github.com/contiv/netplugin/core"
1616
"github.com/contiv/netplugin/netmaster/master"
1717
"github.com/contiv/netplugin/netmaster/mastercfg"

netmaster/objApi/objapi_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
"testing"
2525
"time"
2626

27-
contivModel "github.com/contiv/contivmodel"
28-
"github.com/contiv/contivmodel/client"
27+
contivModel "github.com/contiv/netplugin/contivmodel"
28+
"github.com/contiv/netplugin/contivmodel/client"
2929
"github.com/contiv/netplugin/core"
3030
"github.com/contiv/netplugin/netmaster/gstate"
3131
"github.com/contiv/netplugin/netmaster/intent"

test/integration/app_prof_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package integration
1717

1818
import (
1919
log "github.com/Sirupsen/logrus"
20-
"github.com/contiv/contivmodel/client"
20+
"github.com/contiv/netplugin/contivmodel/client"
2121

2222
. "github.com/contiv/check"
2323
)

test/integration/endpoint_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"strings"
2121

2222
log "github.com/Sirupsen/logrus"
23-
"github.com/contiv/contivmodel/client"
23+
"github.com/contiv/netplugin/contivmodel/client"
2424
"github.com/contiv/netplugin/netmaster/mastercfg"
2525

2626
. "github.com/contiv/check"

test/integration/integ_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
. "testing"
2323

2424
log "github.com/Sirupsen/logrus"
25-
"github.com/contiv/contivmodel/client"
25+
"github.com/contiv/netplugin/contivmodel/client"
2626

2727
. "github.com/contiv/check"
2828
)

test/integration/mesos_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
log "github.com/Sirupsen/logrus"
3333
. "github.com/contiv/check"
34-
"github.com/contiv/contivmodel/client"
34+
"github.com/contiv/netplugin/contivmodel/client"
3535
"github.com/contiv/netplugin/mgmtfn/mesosplugin/cniapi"
3636
"github.com/docker/docker/api/types"
3737
"github.com/docker/docker/api/types/container"

test/integration/netprofile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package integration
1818
import (
1919
"time"
2020

21-
"github.com/contiv/contivmodel/client"
21+
"github.com/contiv/netplugin/contivmodel/client"
2222

2323
. "github.com/contiv/check"
2424
)

test/integration/npcluster_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
log "github.com/Sirupsen/logrus"
2424

25-
"github.com/contiv/contivmodel"
25+
"github.com/contiv/netplugin/contivmodel"
2626
"github.com/contiv/netplugin/core"
2727
"github.com/contiv/netplugin/netmaster/daemon"
2828
"github.com/contiv/netplugin/netplugin/agent"

test/systemtests/aci_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
log "github.com/Sirupsen/logrus"
88
. "github.com/contiv/check"
9-
"github.com/contiv/contivmodel/client"
9+
"github.com/contiv/netplugin/contivmodel/client"
1010
)
1111

1212
/* TestACIMode does the following:

test/systemtests/basic_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/Sirupsen/logrus"
1010
. "github.com/contiv/check"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
)
1313

1414
func (s *systemtestSuite) TestBasicStartRemoveContainerVXLAN(c *C) {

test/systemtests/bgp_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/Sirupsen/logrus"
1010
. "github.com/contiv/check"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
"github.com/contiv/remotessh"
1313
)
1414

test/systemtests/hostaccess_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package systemtests
22

33
import (
44
. "github.com/contiv/check"
5-
"github.com/contiv/contivmodel/client"
5+
"github.com/contiv/netplugin/contivmodel/client"
66
"time"
77
)
88

test/systemtests/init_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/Sirupsen/logrus"
99
. "github.com/contiv/check"
10-
"github.com/contiv/contivmodel/client"
10+
"github.com/contiv/netplugin/contivmodel/client"
1111
"github.com/contiv/remotessh"
1212
)
1313

test/systemtests/netprofile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/Sirupsen/logrus"
1010
. "github.com/contiv/check"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
)
1313

1414
func (s *systemtestSuite) TestNetprofileBasicUpdateVXLAN(c *C) {

test/systemtests/network_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/Sirupsen/logrus"
1010
. "github.com/contiv/check"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
)
1313

1414
func (s *systemtestSuite) TestInfraNetworkAddDeleteVXLAN(c *C) {

test/systemtests/policy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/Sirupsen/logrus"
99
. "github.com/contiv/check"
10-
"github.com/contiv/contivmodel/client"
10+
"github.com/contiv/netplugin/contivmodel/client"
1111
)
1212

1313
func (s *systemtestSuite) TestPolicyBasicVXLAN(c *C) {

test/systemtests/service_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/Sirupsen/logrus"
1010
. "github.com/contiv/check"
11-
"github.com/contiv/contivmodel/client"
11+
"github.com/contiv/netplugin/contivmodel/client"
1212
)
1313

1414
var providerIndex int

test/systemtests/trigger_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
. "github.com/contiv/check"
1010

1111
"github.com/Sirupsen/logrus"
12-
"github.com/contiv/contivmodel/client"
12+
"github.com/contiv/netplugin/contivmodel/client"
1313
)
1414

1515
func (s *systemtestSuite) TestTriggerNetpluginUplinkUpgrade(c *C) {

test/systemtests/util_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
"github.com/Sirupsen/logrus"
1717
. "github.com/contiv/check"
18-
"github.com/contiv/contivmodel/client"
18+
"github.com/contiv/netplugin/contivmodel/client"
1919
"github.com/contiv/remotessh"
2020
)
2121

0 commit comments

Comments
 (0)