Revision 104387a7 src/cli/onevnet

View differences:

src/cli/onevnet
58 58
        :desc => "NType of virtual network",
59 59
        :size => 6,
60 60
        :proc => lambda {|d,e| 
61
                          if(d["type"] == "0")
61
                          if(d["TYPE"] == "0")
62 62
                              return "Ranged"
63 63
                          else
64
                              if (d["type"] == "1")
64
                              if (d["TYPE"] == "1")
65 65
                                  return "Fixed"
66 66
                              end
67 67
                          end
......
77 77
        :name => "BRIDGE",
78 78
        :desc => "Bridge associated to the virtual network",
79 79
        :size => 6,
80
        :proc => lambda {|d,e| d["bridge"] }
80
        :proc => lambda {|d,e| d["BRIDGE"] }
81 81
    },
82 82
    :public => {
83 83
        :name => "PUBLIC",

Also available in: Unified diff