Displaying 20 results from an estimated 500 matches similar to: "[PATCH server] use service layer for Network controller."
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
- db, model, service, controller, and view changes
- many tests additions
- various fixes / cleanup to get things working
depends on my last two (still unacked) patches:
- add collapsable sections to vm form
- provide default vm allocated cpu and memory values
ovirt-agent might need to be updated to work with the changes
---
src/app/controllers/pool_controller.rb | 2 +-
2009 Nov 03
0
[PATCH server] suggest ip address for nics/bondings on edit host/vm network forms
Provides a mechanism to generate ip addresses for static networks
and prefill the 'ip address' fields of the host and vm networking
forms w/ the first suggested ip.
---
src/app/controllers/vm_controller.rb | 2 +-
src/app/models/ip_address.rb | 52 +++++++++++++++++++++++++++++++++
src/app/models/network.rb | 11 +++++++
src/app/models/physical_network.rb |
2009 Oct 06
0
[PATCH server] new host networking wui
Frontend and backend changes needed to implement
http://ovirt.org/page/Networking_UX#Option_3
---
src/app/controllers/host_controller.rb | 38 ++-
src/app/services/host_service.rb | 35 ++
src/app/views/host/edit_network.rhtml | 593 ++++++++++++++++++++++++++++----
src/public/stylesheets/components.css | 76 ++++
4 files changed, 676 insertions(+), 66 deletions(-)
diff --git
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 Sep 23
0
[PATCH server] consolidated network & routing info ui's
created/edit network information is all specified on
one simpler form
---
src/app/controllers/network_controller.rb | 27 +++++++++++++++----
src/app/models/bonding.rb | 2 +-
src/app/models/network.rb | 2 +-
src/app/models/nic.rb | 2 +-
src/app/views/network/_form.rhtml | 15
2009 Aug 05
1
[PATCH server] associated nics w/ network base class as it is in the db
fixes regression bug that got recently introduced
---
src/app/models/network.rb | 2 ++
src/app/models/physical_network.rb | 2 --
src/app/models/vlan.rb | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/app/models/network.rb b/src/app/models/network.rb
index a4b1b8b..89f9876 100644
--- a/src/app/models/network.rb
+++
2010 Jul 16
6
Lost zpool after reboot
Hello,
I have a dual boot with Windows 7 64 bit enterprise edition and Opensolaris build 134. This is on Sun Ultra 40 M1 workstation. Three hard drives, 2 in ZFS mirror, 1 is shared with Windows.
Last 2 days I was working in Windows. I didn''t touch the hard drives in any way except I once opened Disk Management to figure out why a external USB hard drive is not being listed.
2006 Jan 16
2
Problem with AJAX not working on IE
I''m having a problem making this code to work on IE:
var Permit = {
// Expand permit information
onMore: function(id) {
new Ajax.Updater(''pm-''+id+''-lg'', ''/employees/sign_permit_lg/''+id,
{asynchronous:true, evalScripts:true,
onLoading:function(request){
2006 Mar 20
0
Re: Problem with AJAX not working on IE
I am running the simplest web2 demo from AWDWR (./example/index) on a
slackware box running WEBrick on RadRails; with firefox and Konqueror (!)
3.4.2 anyway) everything fine; on laptop talking to my linux box, firefox
does it instantaneously; but... IE DOES DO it, but takes a full 31
seconds!!! (The RadRails WEBrick console shows the POST immediately, but IE
trundles for a full 31 seconds to
2008 Mar 28
0
Problems with URL encoding
Hi
I have a problem when sending parameters from link_to_remote. My link
code:
<%= link_to_remote "Remove",
:url => object_relation_path(
:id => 0,
:object_relation => {
:parent_id => @product.id,
:parent_type => "Product",
:child_id => content_object.id,
:child_type => "ContentObject",
2009 Jul 30
1
[PATCH server] fixes to the multiple vm/nets component
- changes to the form/style cleaning it up greatly
- changes to the controller fixing allowing nics/
networks to actually be saved (credit to Michel
Loiseleur for helping with this)
- very small test and indentation fixes
---
src/app/controllers/vm_controller.rb | 41 +++-
src/app/views/vm/_form.rhtml | 365 ++++++++++++++---------------
2005 Aug 31
4
Element.show - element.style.display=''''
All
Head up.
I found that when I had a hidden DIV (using css - display: none) which I
wanted to Effect.Appear on some event (although the underlying problem seems
to be with Element.show()), I had to make an amendment to the underlying
prototype.js code by changing :
element.style.display = '''' -> element.style.display = ''block'';
I think the problem was
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
Add of a button destroy for disabled hosts.
This button behave in a similar way than the delete button of a VM.
Signed-off-by: Sylvain Desbureaux
<sylvain.desbureaux at orange-ftgroup.com>
---
src/app/controllers/host_controller.rb | 5 +++++
src/app/services/host_service.rb | 15 +++++++++++++++
src/app/views/host/show.rhtml | 17 +++++++++++++++++
3 files changed,
2010 Apr 14
2
GAMM : how to use a smoother for some levels of a variable, and a linear effect for other levels?
Hi,
I was reading the book on "Mixed Effects Models and Extensions in
Ecology with R" by Zuur et al.
In Section 6.2, an example is discussed where a gamm-model is fitted,
with a smoother for time, which differs for each value of ID (4
different bird species). In earlier versions of R, the following code
was used
BM2<-gamm(Birds~Rain+ID+
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list,
In one of my previous projects I had to satisfy the requirement of handling
browser back- and forward calls within an Ajax application. Thus I didn''t
get an urge to switch the JS part of this project to an other framework like
dojo (which supports Browser history handling out-of-the-box), I had to come
up with an idea of doing this with prototype/scriptaculous.
The arisen
2009 Jul 30
1
Rails Plugin for swfobject? - swf_fu
Hi all,
I''ve been using a plugin called swf_fu which seemed fairly easy to
implement for adding flash content to my rails app. However, I''m trying
to pass a variable to my flash through rails and have the flash content
pick it up.
The variable is already retrieved in an earlier call to the database so
I don''t believe it''s any type of authentication string
2008 May 27
2
HABTM using two columns
Hi all,
I was wondering whether anyone could guide me to docu and code
examples how to create and use a has_and_belongs_to_many relationship
with a joining table where TWO columns are used to identify the
relation to TWO alternative tables.
Example:
table 1: mothers [mother_id, name]
table 2: fathers [father_id, name]
table 3: children [child_id, name]
joining table 4: children_parent
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
I've pulled out the no-longer-necessary remnants of the old way of handling auth and before_filters as well as fixing a couple bugs that had crept in along the way.
Unit test fixes for the refactoring will follow in a subsequent patch.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/application.rb | 46 ----------------
2009 Jul 23
0
[PATCH server] Add network QMF apis.
From: Scott Seago <sseago at redhat.com>
This adds some of the network API stuff to ovirt-agent. It's still not
complete but what is there is functional.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/ovirt-agent/lib/ovirt.rb | 3 +
.../ovirt/controllers/hardwarepool_controller.rb | 2 +-
.../lib/ovirt/controllers/network_controller.rb |