Blame SOURCES/change-coreos.com-network-to-atomic.io-network-in-he.patch

5aa948
From 0c636fe977a4503dd2ff6ec6d1316606f9d7ff44 Mon Sep 17 00:00:00 2001
5aa948
From: Jan Chaloupka <jchaloup@redhat.com>
5aa948
Date: Thu, 17 Sep 2015 14:44:33 +0200
5aa948
Subject: [PATCH] change coreos.com/network to atomic.io/network in help and
5aa948
 docs
5aa948
5aa948
---
5aa948
 Documentation/aws-vpc-backend.md |  2 +-
5aa948
 Documentation/gce-backend.md     |  2 +-
5aa948
 README.md                        | 10 +++++-----
5aa948
 main.go                          |  2 +-
5aa948
 4 files changed, 8 insertions(+), 8 deletions(-)
5aa948
5aa948
diff --git a/Documentation/aws-vpc-backend.md b/Documentation/aws-vpc-backend.md
5aa948
index abd6218..bf045bb 100644
5aa948
--- a/Documentation/aws-vpc-backend.md
5aa948
+++ b/Documentation/aws-vpc-backend.md
5aa948
@@ -114,7 +114,7 @@ $ etcd2 -advertise-client-urls http://$INTERNAL_IP:2379 -listen-client-urls http
5aa948
 - Publish configuration in etcd (ensure that the network range does not overlap with the one configured for the VPC)
5aa948
 
5aa948
 ```
5aa948
-$ etcdctl set /coreos.com/network/config '{"Network":"10.20.0.0/16", "Backend": {"Type": "aws-vpc"}}'
5aa948
+$ etcdctl set /atomic.io/network/config '{"Network":"10.20.0.0/16", "Backend": {"Type": "aws-vpc"}}'
5aa948
 ```
5aa948
 - Fetch the latest release using wget from [here](https://github.com/coreos/flannel/releases/download/v0.5.0/flannel-0.5.0-linux-amd64.tar.gz)
5aa948
 - Run flannel daemon:
5aa948
diff --git a/Documentation/gce-backend.md b/Documentation/gce-backend.md
5aa948
index 50245b4..595839b 100644
5aa948
--- a/Documentation/gce-backend.md
5aa948
+++ b/Documentation/gce-backend.md
5aa948
@@ -44,7 +44,7 @@ $ etcd2 -advertise-client-urls http://$INTERNAL_IP:2379 -listen-client-urls http
5aa948
 - Publish configuration in etcd (ensure that the network range does not overlap with the one configured for the GCE network)
5aa948
 
5aa948
 ```
5aa948
-$ etcdctl set /coreos.com/network/config '{"Network":"10.40.0.0/16", "Backend": {"Type": "gce"}}'
5aa948
+$ etcdctl set /atomic.io/network/config '{"Network":"10.40.0.0/16", "Backend": {"Type": "gce"}}'
5aa948
 ```
5aa948
 
5aa948
 - Fetch the 0.5 release using wget from [here](https://github.com/coreos/flannel/releases/download/v0.5.0/flannel-0.5.0-linux-amd64.tar.gz)
5aa948
diff --git a/README.md b/README.md
5aa948
index d27d954..f31552b 100644
5aa948
--- a/README.md
5aa948
+++ b/README.md
5aa948
@@ -41,7 +41,7 @@ docker run -v $SRC:/opt/flannel -i -t google/golang /bin/bash -c "cd /opt/flanne
5aa948
 ## Configuration
5aa948
 
5aa948
 flannel reads its configuration from etcd.
5aa948
-By default, it will read the configuration from `/coreos.com/network/config` (can be overridden via `--etcd-prefix`).
5aa948
+By default, it will read the configuration from `/atomic.io/network/config` (can be overridden via `--etcd-prefix`).
5aa948
 You can use `etcdctl` utility to set values in etcd.
5aa948
 The value of the config is a JSON dictionary with the following keys:
5aa948
 
5aa948
@@ -143,9 +143,9 @@ Multi-network mode allows a single flannel daemon to join multiple networks.
5aa948
 Each network is independent from each other and has its own configuration, IP space, interfaces.
5aa948
 To configure three networks -- in this example named `blue`, `green`, and `red` -- start by publishing their configurations to etcd in different locations:
5aa948
 ```
5aa948
-$ etcdctl set /coreos.com/network/blue/config  '{ "Network": "10.1.0.0/16", "Backend": { "Type": "vxlan", "VNI": 1 } }'
5aa948
-$ etcdctl set /coreos.com/network/green/config '{ "Network": "10.2.0.0/16", "Backend": { "Type": "vxlan", "VNI": 2 } }'
5aa948
-$ etcdctl set /coreos.com/network/red/config   '{ "Network": "10.3.0.0/16", "Backend": { "Type": "vxlan", "VNI": 3 } }'
5aa948
+$ etcdctl set /atomic.io/network/blue/config  '{ "Network": "10.1.0.0/16", "Backend": { "Type": "vxlan", "VNI": 1 } }'
5aa948
+$ etcdctl set /atomic.io/network/green/config '{ "Network": "10.2.0.0/16", "Backend": { "Type": "vxlan", "VNI": 2 } }'
5aa948
+$ etcdctl set /atomic.io/network/red/config   '{ "Network": "10.3.0.0/16", "Backend": { "Type": "vxlan", "VNI": 3 } }'
5aa948
 ```
5aa948
 
5aa948
 Next, start the flannel daemon, specifying the networks to join:
5aa948
@@ -179,7 +179,7 @@ $ flanneld --remote=10.0.0.3:8888 --networks=blue,green
5aa948
 ```
5aa948
 --public-ip="": IP accessible by other nodes for inter-host communication. Defaults to the IP of the interface being used for communication.
5aa948
 --etcd-endpoints=http://127.0.0.1:2379: a comma-delimited list of etcd endpoints.
5aa948
---etcd-prefix=/coreos.com/network: etcd prefix.
5aa948
+--etcd-prefix=/atomic.io/network: etcd prefix.
5aa948
 --etcd-keyfile="": SSL key file used to secure etcd communication.
5aa948
 --etcd-certfile="": SSL certification file used to secure etcd communication.
5aa948
 --etcd-cafile="": SSL Certificate Authority file used to secure etcd communication.
5aa948
diff --git a/main.go b/main.go
5aa948
index 88298bc..e0ccd22 100644
5aa948
--- a/main.go
5aa948
+++ b/main.go
5aa948
@@ -63,7 +63,7 @@ var opts CmdLineOpts
5aa948
 func init() {
5aa948
 	flag.StringVar(&opts.publicIP, "public-ip", "", "IP accessible by other nodes for inter-host communication")
5aa948
 	flag.StringVar(&opts.etcdEndpoints, "etcd-endpoints", "http://127.0.0.1:2379", "a comma-delimited list of etcd endpoints")
5aa948
-	flag.StringVar(&opts.etcdPrefix, "etcd-prefix", "/coreos.com/network", "etcd prefix")
5aa948
+	flag.StringVar(&opts.etcdPrefix, "etcd-prefix", "/atomic.io/network", "etcd prefix")
5aa948
 	flag.StringVar(&opts.etcdKeyfile, "etcd-keyfile", "", "SSL key file used to secure etcd communication")
5aa948
 	flag.StringVar(&opts.etcdCertfile, "etcd-certfile", "", "SSL certification file used to secure etcd communication")
5aa948
 	flag.StringVar(&opts.etcdCAFile, "etcd-cafile", "", "SSL Certificate Authority file used to secure etcd communication")
5aa948
-- 
5aa948
1.9.3
5aa948