21fbea5
From 1831a1f0b7ab2832e891fc797c89a184f4e7be64 Mon Sep 17 00:00:00 2001
c4a8637
From: Jan Chaloupka <jchaloup@redhat.com>
21fbea5
Date: Mon, 25 Sep 2017 09:56:16 +0200
21fbea5
Subject: [PATCH] change coreos.com/network to atomic.io/network
c4a8637
c4a8637
---
21fbea5
 Documentation/alicloud-vpc-backend.md | 2 +-
21fbea5
 Documentation/configuration.md        | 2 +-
21fbea5
 Documentation/running.md              | 4 ++--
21fbea5
 dist/functional-test.sh               | 2 +-
21fbea5
 subnet/etcdv2/registry_test.go        | 2 +-
21fbea5
 5 files changed, 6 insertions(+), 6 deletions(-)
c4a8637
21fbea5
diff --git a/Documentation/alicloud-vpc-backend.md b/Documentation/alicloud-vpc-backend.md
21fbea5
index 8e0cf66..925d13f 100644
21fbea5
--- a/Documentation/alicloud-vpc-backend.md
21fbea5
+++ b/Documentation/alicloud-vpc-backend.md
21fbea5
@@ -51,7 +51,7 @@ $ etcd --advertise-client-urls http://$INTERNAL_IP:2379 --listen-client-urls htt
c4a8637
 - Publish configuration in etcd (ensure that the network range does not overlap with the one configured for the VPC)
c4a8637
 
c4a8637
 ```
21fbea5
-$ etcdctl set /coreos.com/network/config '{"Network":"10.24.0.0/16", "Backend": {"Type": "ali-vpc"}}'
21fbea5
+$ etcdctl set atomic.io/network/config '{"Network":"10.24.0.0/16", "Backend": {"Type": "ali-vpc"}}'
c4a8637
 ```
21fbea5
 - Fetch the latest release using wget from https://github.com/coreos/flannel/
21fbea5
 - make dist/flanneld
21fbea5
diff --git a/Documentation/configuration.md b/Documentation/configuration.md
21fbea5
index cd0c41a..caa3856 100644
21fbea5
--- a/Documentation/configuration.md
21fbea5
+++ b/Documentation/configuration.md
21fbea5
@@ -2,7 +2,7 @@
c4a8637
 
21fbea5
 flannel reads its configuration from etcd.
c4a8637
 
21fbea5
-By default, it will read the configuration from `/coreos.com/network/config` (which can be overridden using `--etcd-prefix`).
21fbea5
+By default, it will read the configuration from `atomic.io/network/config` (which can be overridden using `--etcd-prefix`).
c4a8637
 
21fbea5
 Use the `etcdctl` utility to set values in etcd.
c4a8637
 
21fbea5
diff --git a/Documentation/running.md b/Documentation/running.md
21fbea5
index 163e7df..71a45e2 100644
21fbea5
--- a/Documentation/running.md
21fbea5
+++ b/Documentation/running.md
21fbea5
@@ -35,7 +35,7 @@ docker run --rm --net=host quay.io/coreos/etcd
c4a8637
 ```
21fbea5
 4. Observe that `flannel` can now talk to `etcd`, but can't find any config. So write some config. Either get `etcdctl` from the [CoreOS etcd page][coreos-etcd], or use `docker` again.
21fbea5
 ```bash
21fbea5
-docker run --rm --net=host quay.io/coreos/etcd etcdctl set /coreos.com/network/config '{ "Network": "10.5.0.0/16", "Backend": {"Type": "vxlan"}}'
21fbea5
+docker run --rm --net=host quay.io/coreos/etcd etcdctl set atomic.io/network/config '{ "Network": "10.5.0.0/16", "Backend": {"Type": "vxlan"}}'
c4a8637
 ```
21fbea5
 Now `flannel` is running, it has created a VXLAN tunnel device on the host and written a subnet config file
c4a8637
 
21fbea5
@@ -60,7 +60,7 @@ FLANNEL_IPMASQ=false
21fbea5
 ```
21fbea5
 etcd network value is `10.6.0.0/16`. Since `10.5.72.1/24` is outside of this network, a new lease will be allocated.
21fbea5
 ```bash
21fbea5
-etcdctl get /coreos.com/network/config
21fbea5
+etcdctl get atomic.io/network/config
21fbea5
 { "Network": "10.6.0.0/16", "Backend": {"Type": "vxlan"}}
c4a8637
 ```
b9779a2
 
21fbea5
diff --git a/dist/functional-test.sh b/dist/functional-test.sh
21fbea5
index e334a1f..dca21c0 100755
21fbea5
--- a/dist/functional-test.sh
21fbea5
+++ b/dist/functional-test.sh
21fbea5
@@ -47,7 +47,7 @@ run_test() {
21fbea5
     fi
21fbea5
 
21fbea5
 	# etcd might take a bit to come up
21fbea5
-	while ! docker run --rm -it $ETCD_IMG etcdctl --endpoints=$etcd_endpt set /coreos.com/network/config "$flannel_conf"
21fbea5
+	while ! docker run --rm -it $ETCD_IMG etcdctl --endpoints=$etcd_endpt set atomic.io/network/config "$flannel_conf"
21fbea5
 	do
21fbea5
 		sleep 1
21fbea5
 	done
21fbea5
diff --git a/subnet/etcdv2/registry_test.go b/subnet/etcdv2/registry_test.go
21fbea5
index cad75a2..100e081 100644
21fbea5
--- a/subnet/etcdv2/registry_test.go
21fbea5
+++ b/subnet/etcdv2/registry_test.go
21fbea5
@@ -101,7 +101,7 @@ func TestEtcdRegistry(t *testing.T) {
b9779a2
 	}
b9779a2
 
b9779a2
 	// Populate etcd with a network
21fbea5
-	netKey := "/coreos.com/network/config"
21fbea5
+	netKey := "atomic.io/network/config"
b9779a2
 	netValue := "{ \"Network\": \"10.1.0.0/16\", \"Backend\": { \"Type\": \"host-gw\" } }"
b9779a2
 	m.Create(ctx, netKey, netValue)
b9779a2
 
c4a8637
-- 
21fbea5
2.7.5
c4a8637