search for: interface_name

Displaying 15 results from an estimated 15 matches for "interface_name".

2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...rd for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}" - # if detail.interface ~ /eth.*\..*/ || detail.interface ~ /vnet.*/ - if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/ - @logger.info "Don't manage #{detail.interface.inspect}" + if detail.interface_name =~ /eth\d+\.\d+/ || detail.interface_name =~ /vnet\d+/ + @logger.info "Don't manage #{detail.interface_name.inspect}" else if detail.macaddr.upcase == nic.mac - @logger.info "Updating details for: #{detail.interface} [#{nic.mac}]}&quo...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...YPE=bridge|PEERDNS=no|ONBOOT=yes +ifcfg=#{nic2.mac}|breth1|BOOTPROTO=#{nic2.boot_protocol}|TYPE=Bridge|PEERDNS=no|ONBOOT=yes ifcfg=#{nic2.mac}|eth1|BRIDGE=breth1|ONBOOT=yes HERE @@ -116,7 +118,7 @@ ifcfg=#{nic2.mac}|eth1|BRIDGE=breth1|ONBOOT=yes # THIS FILE IS GENERATED! bonding=#{bonding.interface_name} ifcfg=none|#{bonding.interface_name}|BONDING_OPTS="mode=#{bonding.bonding_type.mode} miimon=100"|BRIDGE=br#{bonding.interface_name}|ONBOOT=yes -ifcfg=none|br#{bonding.interface_name}|BOOTPROTO=dhcp|TYPE=bridge|PEERDNS=no|ONBOOT=yes +ifcfg=none|br#{bonding.interface_name}|BOOTPROTO=dhcp|...
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...uot;Don't manage #{detail.interface.inspect}" + else + if detail.macaddr.upcase == nic.mac @logger.info "Updating details for: #{detail.interface} [#{nic.mac}]}" nic.bandwidth = detail.bandwidth nic.interface_name = detail.interface nic.save! found = true nic_info.delete(detail) + end end end @@ -425,9 +430,12 @@ class HostRegister < Qmf::ConsoleHandler 'interface_name' =&gt...
2009 Oct 06
0
[PATCH server] new host networking wui
...= [IpV4Address.new({ :address => b[:ip_address] })] + b.delete(:ip_address) + end + + if b[:nic_ids].nil? || b[:nic_ids].size == 0 + b[:nics] = [] + else + b[:nics] = b[:nic_ids].collect { |n| Nic.find(n) } + b.delete(:nic_ids) + end + + b[:interface_name] = b[:name] if b[:interface_name].nil? && !b[:name].nil? + } + params[:bondings].delete('NBID') # delete new bonding row + + svc_update_network(params[:id], params[:nics], params[:bondings]) + render :json => { + :object => "host", + :success => tr...
2010 Jul 21
1
[PATCH] Add support for tagged VLAN
...netmask, nic.broadcast, nic.gateway) add_nic(result, nic.mac, iface_name) + + # process the vlan tagging + + nic.network.usages.map do |usage| + usage.networks.map do |net| + if net.type == "Vlan" + eth_vlan_name = "#{nic.interface_name}.#{net.number}" + add_bridge(result, 'none', eth_vlan_name, + nic.boot_protocol, nic.ip_address, + nic.netmask, nic.broadcast, + nic.gateway) + add_vlan(result, eth_vlan_name) + end +...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}" - if detail.macaddr.upcase == nic.mac - @logger.info "Updating details for: #{detail.interface} [#{nic.mac}]}" - nic.bandwidth = detail.bandwidth - nic.interface_name = detail.interface - nic.save! - found = true - nic_info.delete(detail) - end - end - - # if the record wasn't found, then remove it from the database - unless found - @logger...
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
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...virt-devel say? Last are network interfaces, also 1:N relationship: nic_info = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'nic', 'host' => host.object_id) nic properties used: macaddr interface seems to be bug in host-register.rb, it uses "interface_name" property which doesn't exist in matahari 0.0.5 QMF schema! bandwidth "nic" class is gone, there's new class 'com.redhat.matahari.net:network' with "hostname" property only and following methods: 'status' Check a network interface 'stop' St...
2009 Sep 22
0
[PATCH server] small formatting fix to host details pane
...html @@ -62,13 +62,13 @@ <%=h @host.arch %><br/> <%=h @host.hypervisor_type %><br/> <%=h @host.status_str %><br/> + <%= @host.vms.collect{|x| x.uuid }.join(" ") %><br/> <%= @host.nics.collect{ |n| n.interface_name.to_s + " " + n.mac + (n.network.nil? ? "" : " " + n.network.name) - }.join("<br/>") + }.join(" ") %><br/> - <%= @host.bondings.collect { |n| n.name }.join("<br/>"...
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
2019 Jan 21
3
how to activate the network after an installation
Hallo, I can t find the switch to activate the network after an installation without gui. service network start doesn t work and I don t find any other commands. Thanks for a hint. Ralf
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...- end diff --git a/src/app/views/host/show.rhtml b/src/app/views/host/show.rhtml index f706761..ddc6481 100644 --- a/src/app/views/host/show.rhtml +++ b/src/app/views/host/show.rhtml @@ -64,7 +64,7 @@ <%=h @host.status_str %><br/> <%= @host.nics.collect{ |n| n.interface_name.to_s + " " + n.mac + - (n.physical_network.nil? ? "" : " " + n.physical_network.name) + (n.network.nil? ? "" : " " + n.network.name) }.join("<br/>") %><br/> <%= @ho...
2020 Feb 18
6
From network-scripts to NetworkManager on a router : questions
Le 18/02/2020 ? 12:28, Anand Buddhdev a ?crit?: > Neither. The DNS configuration should not normally be bound to a > specific interface, so don't configure it with any interface. If you do, > and that interface goes down, your DNS config also disappears. I would like to do that very much, only NetworkManager makes you jump through burning loops to do so. With network-scripts, it
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello, I run one of my PCs as my personal router, with iptables+tc to control traffic and be my firewall. In TC, I use a combination of htb, qdisc and sfq (as well as prio) to classify bandwidth. In my current setup, I have 10 classifications of my bandwidth. (Even I admit this is probably more than I need, but at this point I''m still learning, so I''ll just leave them be.)