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