cleaned up product names

This commit is contained in:
Anita Buehrle committed 2016-03-03 16:12:12 -06:00
1 parent 7c65b6e3bb
commit e2c8dba981
36 files changed
+176 -181

No files matched your search

+5 -5
View File
@@ -7,11 +7,11 @@ A single Weave network can host multiple, isolated applications where each appli
to communicate with each other, but not with the containers of other applications.
To isolate applications, you can make use of `isolation-through-subnets` technique.
This common strategy is an example of how with Weave many of your `on metal`
techniques can still be used to deploy applications to a container network.
This common strategy is an example of how with Weave Net many of your `on metal`
techniques can still be used to deploy applications to a container network.
To begin isolating an application (or parts of an application),
configure Weave's IP allocator to manage multiple subnets.
configure Weave Net's IP allocator to manage multiple subnets.
Using [the netcat example](/site/using-weave/deploying-applications.md), configure multiple subsets:
@@ -22,7 +22,7 @@ Using [the netcat example](/site/using-weave/deploying-applications.md), configu
host2$ eval $(weave env)
~~~
This delegates the entire 10.2.0.0/16 subnet to Weave, and instructs
This delegates the entire 10.2.0.0/16 subnet to Weave Net, and instructs
it to allocate from 10.2.1.0/24 within that, if a specific subnet is not
specified.
@@ -79,7 +79,7 @@ isolation between application containers, that feature needs to be disabled by [
**See Also**
* [Managing Services in Weave: Exporting, Importing, Binding and Routing](/site/using-weave/service-management.md)
* [Managing Services in Weave Net: Exporting, Importing, Binding and Routing](/site/using-weave/service-management.md)
* [Exposing Services to the Outside World] (/site/using-weave/service-export.md)
+9 -9
View File
@@ -13,7 +13,7 @@ This section contains the following topics:
###<a name="launching"></a>Launching Weave Net
Before launching Weave and deploying your apps, ensure that Docker is [installed]( https://docs.docker.com/engine/installation/) on both hosts.
Before launching Weave Net and deploying your apps, ensure that Docker is [installed]( https://docs.docker.com/engine/installation/) on both hosts.
On `$HOST1` run:
@@ -23,8 +23,8 @@ On `$HOST1` run:
Where,
* The first line runs Weave.
* The second line configures the Weave environment, so that containers launched via the Docker command line are automatically attached to the Weave network, and,
* The first line runs Weave Net.
* The second line configures the Weave Net environment, so that containers launched via the Docker command line are automatically attached to the Weave network, and,
* The third line runs the application container using [Docker commands]( https://docs.Docker.com/engine/reference/commandline/daemon/).
>>**Note:** If the first command results in an error like
@@ -33,7 +33,7 @@ Where,
>>**Important!** if you are running the Weave Docker Network Plugin do not run `eval $(weave env)`. See [Using the Weave Net Docker Network Plugin](/site/pluing/weave-plugin-how-to.md) for more information.
Weave must be launched once per host. The relevant container images will be pulled down from Docker Hub on demand during `weave launch`.
Weave Net must be launched once per host. The relevant container images will be pulled down from Docker Hub on demand during `weave launch`.
You can also preload the images by running `weave setup`. Preloaded images are useful for automated deployments, and ensure there are no delays during later operations.
@@ -42,19 +42,19 @@ If you are deploying an application that consists of more than one container to
###<a name="peer-connections"></a>Creating Peer Connections Between Hosts
To launch Weave on an additional host and create a peer connection, run the following:
To launch Weave Net on an additional host and create a peer connection, run the following:
host2$ weave launch $HOST1
host2$ eval $(weave env)
host2$ docker run --name a2 -ti ubuntu
As noted above, the same steps are repeated for `$HOST2`. The only difference, besides the application container’s name, is that `$HOST2` is told to peer with Weave on `$HOST1` during launch.
As noted above, the same steps are repeated for `$HOST2`. The only difference, besides the application container’s name, is that `$HOST2` is told to peer with Weave Net on `$HOST1` during launch.
You can also peer with other hosts by specifying the IP address, and a `:port` by which `$HOST2` can reach `$HOST1`.
>>**Note:** If there is a firewall between `$HOST1` and `$HOST2`, you must permit traffic to flow through TCP 6783 and UDP 6783/6798, which are Weave’s control nd data ports.
There are a number of different ways that you can specify peers on a Weave network. You can launch Weave on `$HOST1` and then peer with `$HOST2`, or you can launch on `$HOST2` and peer with `$HOST1` or you can tell both hosts about each other at launch. The order in which peers are specified is not important. Weave automatically (re)connects to peers when they become available.
There are a number of different ways that you can specify peers on a Weave network. You can launch Weave Net on `$HOST1` and then peer with `$HOST2`, or you can launch on `$HOST2` and peer with `$HOST1` or you can tell both hosts about each other at launch. The order in which peers are specified is not important. Weave Net automatically (re)connects to peers when they become available.
####Specifying Multiple Peers at Launch
@@ -102,7 +102,7 @@ and then connected to from the another container on `$HOST2` using:
root@a2:/# echo 'Hello, world.' | nc a1 4422
~~~
Weave supports *any* protocol, and it doesn't have to be over TCP/IP. For example, a netcat UDP service can also be run by using the following:
Weave Net supports *any* protocol, and it doesn't have to be over TCP/IP. For example, a netcat UDP service can also be run by using the following:
~~~bash
root@a1:/# nc -lu -p 5533
@@ -113,5 +113,5 @@ Weave supports *any* protocol, and it doesn't have to be over TCP/IP. For exampl
**See Also**
* [Installing Weave Net](/site/installing-weave.md)
* [Using Fastdp With Weave](/site/fastdp/using-fastdp.md)
* [Using Fastdp With Weave Net](/site/fastdp/using-fastdp.md)
* [Using the Weave Net Docker Network Plugin](/site/plugin/weave-plugin-how-to.md)
@@ -4,7 +4,7 @@ layout: default
---
When containers may not know the network to which they will be attached, Weave enables you to dynamically attach and detach containers to and from a given network, even when a container is already running.
When containers may not know the network to which they will be attached, Weave Net enables you to dynamically attach and detach containers to and from a given network, even when a container is already running.
To illustrate these scenarios, imagine a netcat service running in a container on $host1 and you need to attach it to another subnet. To attach the netcat service container to a given subnet run:
@@ -15,7 +15,7 @@ To illustrate these scenarios, imagine a netcat service running in a container o
Where,
* `C=$(Docker run -e WEAVE_CIDR=none -dti ubuntu)` is a variable for the subnet on which to attach
* `weave attach` – the Weave command to attach to the specified subnet, which takes the variable for the subnet
* `weave attach` – the Weave Net command to attach to the specified subnet, which takes the variable for the subnet
* `10.2.1.3` - the allocated IP address output by `weave attach` and in this case, represents the default subnet
>>Note If you are using the Weave Docker API proxy, it will have modified `DOCKER_HOST` to point to the proxy and therefore you will have to pass `-e WEAVE_CIDR=none` to start a container that _doesn't_ get automatically attached to the weave network for the purposes of this example.
@@ -5,24 +5,24 @@ layout: default
To add a host to an existing Weave network, simply launch
Weave on the host, and then supply the address of at least
one host. Weave automatically discovers any other hosts in
the network and establishes connections with them if it
Weave Net on the host, and then supply the address of at least
one host. Weave Net automatically discovers any other hosts in
the network and establishes connections with them if it
can (in order to avoid unnecessary multi-hop routing).
In some situations all existing Weave hosts may be
In some situations all existing Weave Net hosts may be
unreachable from the new host due to firewalls, etc.
However, it is still possible to add the new host,
provided that inverse connections, for example,
from existing hosts to the new hosts, are available.
To accomplish this, launch Weave onto the new host
To accomplish this, launch Weave Net onto the new host
without supplying any additional addresses. And then, from one
of the existing hosts run:
host# weave connect $NEW_HOST
Other hosts in the Weave network will automatically attempt
Other hosts on the Weave network will automatically attempt
to establish connections to the new host as well.
Alternatively, you can also instruct a peer to forget a
@@ -45,7 +45,7 @@ For complete control over the peer topology, automatic
discovery can be disabled using the `--no-discovery`
option with `weave launch`.
If discovery if disabled, Weave only connects to the
If discovery if disabled, Weave Net only connects to the
addresses specified at launch time and with `weave connect`.
A list of all hosts that a peer has been asked to connect
+3 -3
View File
@@ -1,5 +1,5 @@
---
title: Integrating a Host Network with Weave
title: Integrating a Host Network with Weave Net
layout: default
---
@@ -12,7 +12,7 @@ On `$HOST2` run:
host2$ weave expose
10.2.1.132
This command grants the host access to all of the application containers in the default subnet. An IP address is allocated by Weave especially for that purpose, and is returned after running `weave expose`.
This command grants the host access to all of the application containers in the default subnet. An IP address is allocated by Weave Net especially for that purpose, and is returned after running `weave expose`.
Now you are able to ping the host:
@@ -25,7 +25,7 @@ And you can also ping the `a1` netcat application container residing on `$HOST1`
###Exposing Multiple Subnets
Multiple subnet addresses can be exposed or hidden with a single command:
Multiple subnet addresses can be exposed or hidden using a single command:
host2$ weave expose net:default net:10.2.2.0/24
10.2.1.132 10.2.2.130
+1 -1
View File
@@ -14,7 +14,7 @@ To do this, you need to configure Weave's IP allocator to manage multiple subnet
host2$ eval $(weave env)
~~~
This delegates the entire 10.2.0.0/16 subnet to Weave, and instructs it to allocate from 10.2.1.0/24 within that if no specific subnet is specified.
This delegates the entire 10.2.0.0/16 subnet to Weave Net, and instructs it to allocate from 10.2.1.0/24 within that if no specific subnet is specified.
Now you can launch two containers onto the default subnet:
+2 -2
View File
@@ -8,11 +8,11 @@ Containers are automatically allocated an IP address that is unique across the W
host1$ weave ps a1
a7aee7233393 7a:44:d3:11:10:70 10.32.0.2/12
Weave detects when a container has exited and releases its allocated addresses so they can be re-used by the network.
Weave Net detects when a container has exited and releases its allocated addresses so they can be re-used by the network.
See the [Automatic IP Address Management](/site/ipam/overview-init-ipam.md) and also an explanation of [the basics of IP addressing](/site/ip-addresses/ip-addresses.md) for further details.
Instead of allowing Weave to allocate IP addresses automatically (using IPAM), there may be instances where you need to control a particular container or a cluster by setting an IP address for it.
Instead of allowing Weave Net to allocate IP addresses automatically (using IPAM), there may be instances where you need to control a particular container or a cluster by setting an IP address for it.
You can specify an IP address and a network explicitly, using Classless Inter-Domain Routing or [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
+5 -6
View File
@@ -6,13 +6,12 @@ layout: default
###Enabling Multi-Cloud Networking
Before multi-cloud networking can be enabled, you must c
onfigure the network to allow connections through Weave's
control and data ports on the Docker hosts. By default, the
Before multi-cloud networking can be enabled, you must configure the network to allow
connections through Weave Net's control and data ports on the Docker hosts. By default, the
control port defaults to TCP 6783, and the data ports to
UDP 6783/6784.
To override Weave’s default ports specify a port using
To override Weave Net’s default ports, specify a port using
the `WEAVE_PORT` setting. For example, if WEAVE_PORT is
set to `9000`, then Weave uses TCP 9000 for its control
port and UDP 9000/9001 for its data port.
@@ -27,14 +26,14 @@ A network of containers across more than two hosts can be
established even when there is only partial connectivity
between the hosts.
Weave routes traffic between containers as long as
Weave Net routes traffic between containers as long as
there is at least one *path* of connected hosts
between them.
For example, if a Docker host in a local data center can
connect to hosts in GCE and EC2, but the latter two cannot
connect to each other, containers in the latter two can
still communicate and Weave in this instance will route the
still communicate and Weave Net in this instance will route the
traffic via the local data center.
**See Also**
@@ -4,7 +4,7 @@ layout: default
---
To connect containers across untrusted networks, Weave peers can be instructed to encrypt traffic by supplying a `--password` option or by using the `WEAVE_PASSWORD` environment variable during `weave launch`.
To connect containers across untrusted networks, Weave Net peers can be instructed to encrypt traffic by supplying a `--password` option or by using the `WEAVE_PASSWORD` environment variable during `weave launch`.
For example:
@@ -26,7 +26,7 @@ To guard against dictionary attacks, the password needs to be reasonably strong
< /dev/urandom tr -dc A-Za-z0-9 | head -c9 ; echo
The same password must be specified for all Weave peers, by default both control and data plane traffic will then use authenticated encryption.
The same password must be specified for all Weave Net peers, by default both control and data plane traffic will then use authenticated encryption.
Fast datapath does not support encryption. If you supply a
password at `weave launch` the router falls back to a slower
@@ -34,7 +34,7 @@ password at `weave launch` the router falls back to a slower
If some of your peers are co-located in a trusted network (for example within the boundary of your own datacenter) you can use the `--trusted-subnets` argument to `weave launch` to selectively disable data plane encryption as an optimization.
Both peers must consider the other to be in a trusted subnet for this to take place - if they do not agree, Weave [falls back to a slower method]( /site/fastdp/using-fastdp.md) for transporting data between peers, since fast datapath does not support encryption.
>>**Note:** Both peers must consider the other to be in a trusted subnet for this to take place - if they do not agree, Weave Net [falls back to a slower method]( /site/fastdp/using-fastdp.md) for transporting data between peers, since fast datapath does not support encryption.
Be aware that:
@@ -45,4 +45,5 @@ Be aware that:
**See Also**
* [Using Encryption With Weave](/site/encryption/crypto-overview.md)
* [Using Encryption With Weave Net](/site/encryption/crypto-overview.md)
* [Using Fast Datapath](/site/using-weave/using-fastdap.md)
+3 -3
View File
@@ -5,13 +5,13 @@ layout: default
Services running in containers on a Weave network can be made
accessible to the outside world (and, more generally, to other networks)
from any Weave host, irrespective of where the service containers are
from any Weave Net host, irrespective of where the service containers are
located.
Returning to the netcat example service, described in [Deploying Applications]( /site/using-weave/deploying-applications.md),
you can expose the netcat service running on `HOST1` and make it accessible to the outside world via `$HOST2`.
First, expose the application network to `$HOST2`, as explained in [Integrating a Host Network with a Weave](/site/using-weave/host-network-integration.md):
First, expose the application network to `$HOST2`, as explained in [Integrating a Host Network with a Weave Net](/site/using-weave/host-network-integration.md):
host2$ weave expose
10.2.1.132
@@ -36,4 +36,4 @@ Similar NAT rules to the above can be used to expose services not just to the ou
**See Also**
* [Using Weave Net](/site/using-weave/intro-example.md)
* [Managing Services in Weave: Exporting, Importing, Binding and Routing](/site/using-weave/service-management.md)
* [Managing Services in Weave Net: Exporting, Importing, Binding and Routing](/site/using-weave/service-management.md)
+5 -5
View File
@@ -1,5 +1,5 @@
---
title: Managing Services in Weave - Exporting, Importing, Binding and Routing
title: Managing Services in Weave Net - Exporting, Importing, Binding and Routing
layout: default
---
@@ -48,7 +48,7 @@ Weave hosts, regardless of where the actual application containers are located.
Using the netcat service example described in
[Deploying Applications](/site/using-weave/deploying-applications.md), and expanding upon it, you now decide to add a third containerized netcat service. This additional netcat service runs on `$HOST3`, and listens on port 2211, but it is not on the Weave network.
An additional caveat is that `$HOST3` can only be reached from `$HOST1`, which is not accessible via `$HOST2`. Nonetheless, you still need to make the `$HOST3` service available to an application that is running in a container on `$HOST2`.
An additional caveat is that `$HOST3` can only be reached from `$HOST1`, which is not accessible via `$HOST2`. Nonetheless, you still need to make a `$HOST3` service available to an application that is running in a container on `$HOST2`.
To satisfy this scenario, first expose the [application network to the host](/site/using-weave/host-network-integration.md) by running the following on `$HOST1`:
@@ -83,16 +83,16 @@ You can point application containers to another service location by changing the
You can combine the service export and service import features to establish connectivity between applications and services residing on disjointed networks, even if those networks are separated by firewalls and have overlapping IP ranges.
Each network imports its services into Weave, while at the same time, exports from Weave any services that are required by its applications. In this scenario, there are no application containers (although, there could be). Weave is acting as an address translation and routing facility, and uses the Weave container network as an intermediary.
Each network imports its services into Weave Net, while at the same time, exports from Weave Net any services that are required by its applications. In this scenario, there are no application containers (although, there could be). Weave Net is acting as an address translation and routing facility, and uses the Weave container network as an intermediary.
Expanding on the [netcat example](/site/using-weave/deploying-applications.md), you can also import an additional netcat service running on `$HOST3` into Weave via `$HOST1`.
Expanding on the [netcat example](/site/using-weave/deploying-applications.md), you can also import an additional netcat service running on `$HOST3` into Weave Net via `$HOST1`.
Begin importing the service onto `$HOST2` by first exposing the application network:
host2$ weave expose
10.2.1.3
Then add a NAT rule which routes traffic from the `$HOST2` network (i.e. anything which can connect to `$HOST2`) to the service endpoint on the Weave network:
Then add a NAT rule which routes traffic from the `$HOST2` network (for example, anything that can connect to `$HOST2`) to the service endpoint on the Weave network:
host2$ iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 4433 \
-j DNAT --to-destination 10.2.1.3:3322