"Fossies" - the Fresh Open Source Software Archive

Member "neutron-14.0.3/doc/source/admin/shared/deploy-provider-verifynetworkoperation.txt" (22 Oct 2019, 3098 Bytes) of package /linux/misc/openstack/neutron-14.0.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #. On each compute node, verify creation of the ``qdhcp`` namespace.
    2 
    3    .. code-block:: console
    4 
    5       # ip netns
    6       qdhcp-8b868082-e312-4110-8627-298109d4401c
    7 
    8 #. Source a regular (non-administrative) project credentials.
    9 #. Create the appropriate security group rules to allow ``ping`` and SSH
   10    access instances using the network.
   11 
   12    .. include:: shared/deploy-secgrouprules.txt
   13 
   14 #. Launch an instance with an interface on the provider network. For example,
   15    a CirrOS image using flavor ID 1.
   16 
   17    .. code-block:: console
   18 
   19       $ openstack server create --flavor 1 --image cirros \
   20         --nic net-id=NETWORK_ID provider-instance1
   21 
   22    Replace ``NETWORK_ID`` with the ID of the provider network.
   23 
   24 #. Determine the IPv4 and IPv6 addresses of the instance.
   25 
   26    .. code-block:: console
   27 
   28       $ openstack server list
   29       +--------------------------------------+--------------------+--------+------------------------------------------------------------+--------+---------+
   30       | ID                                   | Name               | Status | Networks                                                   | Image  | Flavor  |
   31       +--------------------------------------+--------------------+--------+------------------------------------------------------------+--------+---------+
   32       | 018e0ae2-b43c-4271-a78d-62653dd03285 | provider-instance1 | ACTIVE | provider1=203.0.113.13, fd00:203:0:113:f816:3eff:fe58:be4e | cirros | m1.tiny |
   33       +--------------------------------------+--------------------+--------+------------------------------------------------------------+--------+---------+
   34 
   35 #. On the controller node or any host with access to the provider network,
   36    ``ping`` the IPv4 and IPv6 addresses of the instance.
   37 
   38    .. code-block:: console
   39 
   40       $ ping -c 4 203.0.113.13
   41       PING 203.0.113.13 (203.0.113.13) 56(84) bytes of data.
   42       64 bytes from 203.0.113.13: icmp_req=1 ttl=63 time=3.18 ms
   43       64 bytes from 203.0.113.13: icmp_req=2 ttl=63 time=0.981 ms
   44       64 bytes from 203.0.113.13: icmp_req=3 ttl=63 time=1.06 ms
   45       64 bytes from 203.0.113.13: icmp_req=4 ttl=63 time=0.929 ms
   46 
   47       --- 203.0.113.13 ping statistics ---
   48       4 packets transmitted, 4 received, 0% packet loss, time 3002ms
   49       rtt min/avg/max/mdev = 0.929/1.539/3.183/0.951 ms
   50 
   51       $ ping6 -c 4 fd00:203:0:113:f816:3eff:fe58:be4e
   52       PING fd00:203:0:113:f816:3eff:fe58:be4e(fd00:203:0:113:f816:3eff:fe58:be4e) 56 data bytes
   53       64 bytes from fd00:203:0:113:f816:3eff:fe58:be4e icmp_seq=1 ttl=64 time=1.25 ms
   54       64 bytes from fd00:203:0:113:f816:3eff:fe58:be4e icmp_seq=2 ttl=64 time=0.683 ms
   55       64 bytes from fd00:203:0:113:f816:3eff:fe58:be4e icmp_seq=3 ttl=64 time=0.762 ms
   56       64 bytes from fd00:203:0:113:f816:3eff:fe58:be4e icmp_seq=4 ttl=64 time=0.486 ms
   57 
   58       --- fd00:203:0:113:f816:3eff:fe58:be4e ping statistics ---
   59       4 packets transmitted, 4 received, 0% packet loss, time 2999ms
   60       rtt min/avg/max/mdev = 0.486/0.796/1.253/0.282 ms
   61 
   62 #. Obtain access to the instance.
   63 #. Test IPv4 and IPv6 connectivity to the Internet or other external network.