Update package names for new repo

This commit is contained in:
Onur Filiz 2016-03-21 02:52:55 -07:00
Родитель bbc40aec71
Коммит b7dfcfd900
9 изменённых файлов: 19 добавлений и 27 удалений

Просмотреть файл

@ -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
Просмотреть файл

@ -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"
)