update package names;
fix licensing;
fix test and lint when run from symlinked path
Change-Id: I87c53e873f88272ee5a25b67774fa361c961a2ef
diff --git a/internal/pkg/commands/adapter.go b/internal/pkg/commands/adapter.go
index 5b372a1..e848565 100644
--- a/internal/pkg/commands/adapter.go
+++ b/internal/pkg/commands/adapter.go
@@ -17,11 +17,11 @@
import (
"context"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
"github.com/fullstorydev/grpcurl"
flags "github.com/jessevdk/go-flags"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
)
const (
diff --git a/internal/pkg/commands/command.go b/internal/pkg/commands/command.go
index 2672f19..43ead45 100644
--- a/internal/pkg/commands/command.go
+++ b/internal/pkg/commands/command.go
@@ -18,9 +18,9 @@
import (
"encoding/json"
"fmt"
- "github.com/ciena/voltctl/pkg/filter"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/order"
+ "github.com/opencord/voltctl/pkg/filter"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/order"
"google.golang.org/grpc"
"gopkg.in/yaml.v2"
"io/ioutil"
diff --git a/internal/pkg/commands/completion.go b/internal/pkg/commands/completion.go
index 3299a65..c044b6a 100644
--- a/internal/pkg/commands/completion.go
+++ b/internal/pkg/commands/completion.go
@@ -17,8 +17,8 @@
import (
"fmt"
- "github.com/ciena/voltctl/internal/pkg/completion"
flags "github.com/jessevdk/go-flags"
+ "github.com/opencord/voltctl/internal/pkg/completion"
)
type BashOptions struct{}
diff --git a/internal/pkg/commands/components.go b/internal/pkg/commands/components.go
index 0f5bb76..2de4ee7 100644
--- a/internal/pkg/commands/components.go
+++ b/internal/pkg/commands/components.go
@@ -17,9 +17,9 @@
import (
"fmt"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
flags "github.com/jessevdk/go-flags"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/clientcmd"
diff --git a/internal/pkg/commands/devicegroups.go b/internal/pkg/commands/devicegroups.go
index 0bec3ac..c499afc 100644
--- a/internal/pkg/commands/devicegroups.go
+++ b/internal/pkg/commands/devicegroups.go
@@ -17,11 +17,11 @@
import (
"context"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
"github.com/fullstorydev/grpcurl"
flags "github.com/jessevdk/go-flags"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
)
const (
diff --git a/internal/pkg/commands/devices.go b/internal/pkg/commands/devices.go
index a6836cf..9f836b4 100644
--- a/internal/pkg/commands/devices.go
+++ b/internal/pkg/commands/devices.go
@@ -18,11 +18,11 @@
import (
"context"
"fmt"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
"github.com/fullstorydev/grpcurl"
flags "github.com/jessevdk/go-flags"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
"strings"
)
diff --git a/internal/pkg/commands/flows.go b/internal/pkg/commands/flows.go
index 55766b0..ccdfc05 100644
--- a/internal/pkg/commands/flows.go
+++ b/internal/pkg/commands/flows.go
@@ -18,10 +18,10 @@
import (
"context"
"fmt"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
"github.com/fullstorydev/grpcurl"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
"sort"
"strings"
)
diff --git a/internal/pkg/commands/logicaldevices.go b/internal/pkg/commands/logicaldevices.go
index 91bd7e1..ce09035 100644
--- a/internal/pkg/commands/logicaldevices.go
+++ b/internal/pkg/commands/logicaldevices.go
@@ -18,11 +18,11 @@
import (
"context"
"fmt"
- "github.com/ciena/voltctl/pkg/format"
- "github.com/ciena/voltctl/pkg/model"
"github.com/fullstorydev/grpcurl"
flags "github.com/jessevdk/go-flags"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/pkg/format"
+ "github.com/opencord/voltctl/pkg/model"
"strings"
)
diff --git a/internal/pkg/commands/version.go b/internal/pkg/commands/version.go
index 0d1f280..1ca0fbf 100644
--- a/internal/pkg/commands/version.go
+++ b/internal/pkg/commands/version.go
@@ -18,11 +18,11 @@
import (
"context"
"encoding/json"
- "github.com/ciena/voltctl/internal/pkg/cli/version"
- "github.com/ciena/voltctl/pkg/format"
"github.com/fullstorydev/grpcurl"
flags "github.com/jessevdk/go-flags"
"github.com/jhump/protoreflect/dynamic"
+ "github.com/opencord/voltctl/internal/pkg/cli/version"
+ "github.com/opencord/voltctl/pkg/format"
"strings"
)
diff --git a/internal/pkg/commands/voltha_v1_pb.go b/internal/pkg/commands/voltha_v1_pb.go
index 8d8e8b8..e57bf55 100644
--- a/internal/pkg/commands/voltha_v1_pb.go
+++ b/internal/pkg/commands/voltha_v1_pb.go
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2019-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package commands
var V1Descriptor = []byte{
diff --git a/internal/pkg/commands/voltha_v2_pb.go b/internal/pkg/commands/voltha_v2_pb.go
index 022e360..3e83596 100644
--- a/internal/pkg/commands/voltha_v2_pb.go
+++ b/internal/pkg/commands/voltha_v2_pb.go
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2019-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package commands
var V2Descriptor = []byte{