~openstack-gd/nova/multi-nic-exp-fix

Viewing all changes in revision 808.

  • Committer: Tarmac
  • Author(s): Christian Berendt
  • Date: 2011-03-16 17:06:30 UTC
  • mfrom: (700.7.7 nova-manage_20110218)
  • Revision ID: tarmac-20110316170630-sbric14yohwra909
added new class Instances for managaging instances
added new method list in class Instances:

# nova-manage instance list
instance node type state launched image kernel ramdisk project user zone index
i-00000547 XXXXXXX m1.small running 2011-02-18 08:36:37 ami-a03ndz0q ami-0isqekvw testing berendt None 0
i-00000548 XXXXXXX m1.small running 2011-02-18 08:37:17 ami-a03ndz0q ami-0isqekvw testing berendt None 1
i-00000549 XXXXXXX m1.small running 2011-02-18 08:37:52 ami-a03ndz0q ami-0isqekvw testing berendt None 2

# nova-manage instance list ares
instance   node            type       state      launched            image        kernel       ramdisk       project    user       zone       index
i-00000c1c ares            m1.tiny    running    2011-02-26 22:51:40 ami-pus9dj84 ami-zhcv0yyx ami-av96fu30  testing    berendt    None       1    

extended the method list in class FixedIps to lookup ip addresses assigned to a specified node:

# nova-manage fixed list ares
network                 IP address      MAC address             hostname        host
192.168.3.0/24          192.168.3.6     02:16:3e:75:d7:9a       i-00000c1c      ares

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: