search for: create_vlan_network

Displaying 1 result from an estimated 1 matches for "create_vlan_network".

2009 Jul 23
0
[PATCH server] Add network QMF apis.
...ller.rb b/src/ovirt-agent/lib/ovirt/controllers/ovirt_controller.rb index 4f58113..c831869 100644 --- a/src/ovirt-agent/lib/ovirt/controllers/ovirt_controller.rb +++ b/src/ovirt-agent/lib/ovirt/controllers/ovirt_controller.rb @@ -27,6 +27,31 @@ module Ovirt [ @@instance ] end + def create_vlan_network + extend NetworkService + + boot_type = BootType.find(:first, :conditions => ["proto = ?", args['proto']]) + raise "Unknown boot protocol #{args['proto']}." if not boot_type + puts "in create_vlan_network, boot_type id is #{boot_type.i...