Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. release: '6.0'
  2. build_id: 2014-12-09_19-59-53
  3. build_number: '48'
  4.  
  5. [root@node-6 ~]# nova flavor-key m1.tiny set hw:watchdog_action=reset
  6. [root@node-6 ~]# nova boot --image TestVM --nic net-id=08bb98bc-4a0c-4826-9806-7d41da375cee --flavor m1.tiny test2
  7. [root@node-6 ~]# nova show test2 | egrep 'status|network'
  8. | net04 network | 192.168.111.11 |
  9. | status | ACTIVE
  10.  
  11. [root@node-6 ~]# ip netns exec qdhcp-08bb98bc-4a0c-4826-9806-7d41da375cee ping -qnc 3 192.168.111.11
  12. PING 192.168.111.11 (192.168.111.11) 56(84) bytes of data.
  13.  
  14. --- 192.168.111.11 ping statistics ---
  15. 3 packets transmitted, 3 received, 0% packet loss, time 2004ms
  16. rtt min/avg/max/mdev = 1.020/3.569/8.639/3.585 ms
  17.  
  18. ----
  19. release: 5.1.1
  20. build_id: 2014-11-23_21-01-00
  21. build_number: '34'
  22.  
  23. [root@node-2 ~]# nova flavor-key m1.tiny set hw:watchdog_action=reset
  24. [root@node-2 ~]# nova boot --image TestVM --nic net-id=07434cbc-5a17-4da4-87e0-353236dcb1c6 --flavor m1.tiny test1
  25.  
  26. [root@node-2 ~]# nova list
  27. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  28. | ID | Name | Status | Task State | Power State | Networks |
  29. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  30. | dda82d82-e884-4b1c-8e4c-13b6ee2faff7 | test1 | ACTIVE | - | Running | net04=192.168.111.8 |
  31. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  32.  
  33. [root@node-2 ~]# ip netns exec qdhcp-07434cbc-5a17-4da4-87e0-353236dcb1c6 ping -qnc 3 192.168.111.8
  34. PING 192.168.111.8 (192.168.111.8) 56(84) bytes of data.
  35.  
  36. --- 192.168.111.8 ping statistics ---
  37. 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
  38. rtt min/avg/max/mdev = 0.913/1.731/3.141/1.001 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement