summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBin Hu <bh526r@att.com>2016-01-18 22:32:30 -0800
committerBin Hu <bh526r@att.com>2016-01-19 06:35:17 +0000
commitf662e38474608a8a708108d4bf115acbbf361d51 (patch)
treec83c3890de5ec441256eba3fa32ad92e0404afce /docs
parent2a4dcce1e07f5e9f2befbcbc02f6e326b22f60b1 (diff)
JIRA:IPVSIX-29
Change-Id: I20b224fe0f0b952c2be9446ed6c7c77987d6abea Signed-off-by: Bin Hu <bh526r@att.com> (cherry picked from commit 1a6f6801b148da017d4c2bd247981f10125268e3)
Diffstat (limited to 'docs')
-rw-r--r--docs/reldoc/index.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/docs/reldoc/index.rst b/docs/reldoc/index.rst
index ef40d42..00caa43 100644
--- a/docs/reldoc/index.rst
+++ b/docs/reldoc/index.rst
@@ -282,7 +282,26 @@ To ``SSH`` to ``vRouter``, you can execute the following command.
.. code-block:: bash
- sudo ip netns exec qrouter-$(neutron router-list | grep -w ipv6-router | awk '{print $2}') ssh -i ~/vRouterKey fedora@2001:db8:0:1:f816:3eff:fe11:1111
+ # 1. Create a floatingip and associate it with VM1, VM2 and vRouter (to the port id that is passed).
+ neutron floatingip-create --port-id $(neutron port-list | grep -w eth0-VM1 | \
+ awk '{print $2}') ext-net
+ neutron floatingip-create --port-id $(neutron port-list | grep -w eth0-VM2 | \
+ awk '{print $2}') ext-net
+ neutron floatingip-create --port-id $(neutron port-list | grep -w eth1-vRouter | \
+ awk '{print $2}') ext-net
+
+ # 2. To know / display the floatingip associated with VM1, VM2 and vRouter.
+ neutron floatingip-list -F floating_ip_address -F port_id | grep $(neutron port-list | \
+ grep -w eth0-VM1 | awk '{print $2}') | awk '{print $2}'
+ neutron floatingip-list -F floating_ip_address -F port_id | grep $(neutron port-list | \
+ grep -w eth0-VM2 | awk '{print $2}') | awk '{print $2}'
+ neutron floatingip-list -F floating_ip_address -F port_id | grep $(neutron port-list | \
+ grep -w eth1-vRouter | awk '{print $2}') | awk '{print $2}'
+
+ # 3. To ssh to the vRouter, VM1 and VM2, user can execute the following command.
+ ssh -i ~/vRouterKey fedora@<floating-ip-of-vRouter>
+ ssh -i ~/vRouterKey cirros@<floating-ip-of-VM1>
+ ssh -i ~/vRouterKey cirros@<floating-ip-of-VM2>
****************************************************************
Setup Manual in OpenStack with Open Daylight L2-Only Environment