Update package names for new repo
This commit is contained in:
Родитель
bbc40aec71
Коммит
b7dfcfd900
|
@ -1,9 +1,9 @@
|
|||
# Overview
|
||||
Docker libnetwork plugin for containers running in Azure.
|
||||
Aqua is a libnetwork plugin for containers running in Azure.
|
||||
|
||||
# Usage
|
||||
penguin [net] [ipam]
|
||||
aqua [net] [ipam]
|
||||
|
||||
# Examples
|
||||
To start the network plugin: penguin net<br>
|
||||
To start both plugins: penguin net ipam
|
||||
To start the network plugin: aqua net<br>
|
||||
To start both plugins: aqua net ipam
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
// Copyright Microsoft Corp.
|
||||
// All rights reserved.
|
||||
|
||||
package core
|
|
@ -11,7 +11,7 @@ import (
|
|||
"os"
|
||||
"path"
|
||||
|
||||
"github.com/sharmasushant/penguin/log"
|
||||
"github.com/azure/aqua/log"
|
||||
)
|
||||
|
||||
// Libnetwork plugin path
|
||||
|
|
|
@ -12,8 +12,8 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/sharmasushant/penguin/netfilter"
|
||||
"github.com/sharmasushant/penguin/netlink"
|
||||
"github.com/azure/aqua/netfilter"
|
||||
"github.com/azure/aqua/netlink"
|
||||
)
|
||||
|
||||
type interfaceDetails struct {
|
||||
|
@ -470,7 +470,7 @@ func enslaveInterfaceIfRequired(iface *net.Interface, bridge string) error {
|
|||
|
||||
_, err := net.InterfaceByName(bridge)
|
||||
if err != nil {
|
||||
// penguin does not exist
|
||||
// bridge does not exist
|
||||
if err := netlink.CreateBridge(bridge); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/sharmasushant/penguin/core"
|
||||
"github.com/sharmasushant/penguin/log"
|
||||
"github.com/azure/aqua/core"
|
||||
"github.com/azure/aqua/log"
|
||||
)
|
||||
|
||||
// Libnetwork IPAM plugin name
|
||||
|
|
10
main.go
10
main.go
|
@ -11,10 +11,10 @@ import (
|
|||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/sharmasushant/penguin/core"
|
||||
"github.com/sharmasushant/penguin/ipam"
|
||||
"github.com/sharmasushant/penguin/log"
|
||||
"github.com/sharmasushant/penguin/network"
|
||||
"github.com/azure/aqua/core"
|
||||
"github.com/azure/aqua/ipam"
|
||||
"github.com/azure/aqua/log"
|
||||
"github.com/azure/aqua/network"
|
||||
)
|
||||
|
||||
// Plugins versions
|
||||
|
@ -23,7 +23,7 @@ const ipamVersion string = "V0"
|
|||
|
||||
// Prints description and usage information.
|
||||
func printHelp() {
|
||||
fmt.Println("Usage: penguin [net] [ipam]")
|
||||
fmt.Println("Usage: aqua [net] [ipam]")
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
// Copyright Microsoft Corp.
|
||||
// All rights reserved.
|
||||
|
||||
package network
|
|
@ -8,12 +8,12 @@ import (
|
|||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/sharmasushant/penguin/core"
|
||||
"github.com/sharmasushant/penguin/log"
|
||||
"github.com/azure/aqua/core"
|
||||
"github.com/azure/aqua/log"
|
||||
)
|
||||
|
||||
// Libnetwork network plugin name
|
||||
const pluginName = "penguin"
|
||||
const pluginName = "aqua"
|
||||
|
||||
// Libnetwork network plugin endpoint name
|
||||
const endpointName = "NetworkDriver"
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/sharmasushant/penguin/core"
|
||||
"github.com/azure/aqua/core"
|
||||
//"github.com/docker/libnetwork/drivers/remote/api"
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче