search for: usage_typ

Displaying 9 results from an estimated 9 matches for "usage_typ".

Did you mean: usage_type
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...nic.save! found = true nic_info.delete(detail) + end end end @@ -425,9 +430,12 @@ class HostRegister < Qmf::ConsoleHandler 'interface_name' => nic.interface, 'usage_type' => 1) - host_db.nics << detail - - @logger.info "Added NIC #{nic.interface} with MAC #{nic.macaddr} to host #{host_qmf.hostname}" + if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/ + @logger.info "Don&...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...nic.interface_name = detail.interface_name nic.save! found = true nic_info.delete(detail) @@ -430,8 +429,8 @@ class HostRegister < Qmf::ConsoleHandler 'interface_name' => nic.interface, 'usage_type' => 1) - if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/ - @logger.info "Don't Add #{detail.interface.inspect}" + if detail.interface_name =~ /eth\d+\.\d+/ || detail.interface_name =~ /vnet\d+/ + @logger.info &q...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...f !host.nil? && vm.nil? + return vm if !vm.nil? && host.nil? + return nil + end + + def self.gen_mac + [ 0x00, 0x16, 0x3e, rand(0x7f), rand(0xff), + rand(0xff) ].collect {|x| "%02x" % x}.join(":") + end + # validate 'bridge' or 'usage_type' attribute ? protected def validate - if ! physical_network.nil? and - physical_network.boot_type.proto == 'static' and + # nic must be associated with a host or vm, but not both + errors.add("one host or one vm must be specified") unless host.nil? ^ v...
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
...;Usage:</div> -<div class="form_field"> +<div id="network_usages_infos" class="form_field"> <select id="network_usages_ids" name="network[usage_ids][]" multiple="true"> <%= options_from_collection_for_select @usage_types, "id", "label", @network ? @network.usages.collect{ |x| x.id.to_i } : [] %> </select> + <div class="usage_buttons"> + <p> + <%= text_field_tag 'network_usage_label', nil, :class => 'textfield_effect' %> +...
2009 May 15
0
[PATCH server] use service layer for Network controller.
...how + def show + svc_show(params[:id]) respond_to do |format| format.html { render :layout => 'selection' } format.xml { render :xml => @network.to_xml } end - end + end - def new + def new + svc_new() @boot_types = BootType.find(:all) @usage_types = Usage.find(:all) render :layout => 'popup' - end + end - def create - begin - @network = PhysicalNetwork.new(params[:network]) if params[:network][:type] == 'PhysicalNetwork' - @network = Vlan.new(params[:network]) if params[:network][:type] == 'Vla...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...s to host #{host_qmf.hostname}" - nic_info.each do |nic| - detail = Nic.new( - 'mac' => nic.macaddr.upcase, - 'bandwidth' => nic.bandwidth, - 'interface_name' => nic.interface, - 'usage_type' => 1) - - host_db.nics << detail - - @logger.info "Added NIC #{nic.interface} with MAC #{nic.macaddr} to host #{host_qmf.hostname}" - end - end - - def object_props(broker, obj) - target = obj.schema.klass_key.package - t...
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2009 Jul 10
2
[PATCH: server 0/3] Add host-register.rb (replaces host-browser.rb in part)
Removes node identification functionality from host-browser.rb and adds a new script, host-register.rb, that takes over that functionality. The chief difference is that host-browser used a simple TCP server setup to get data from the node, while host-register uses the qpid bus to do so. Specifically, it communicates with the matahari qmf agent added to the node in two related patchsets to node