Displaying 3 results from an estimated 3 matches for "new_bond".
Did you mean:
net_bond
2015 Nov 20
1
Good practice for naming classes, builders, attributes, getters/setters for object composition
Hey everyone,
I am developing a package and I am wondering if there is a good practice
for naming classes, builders, attributes getters and setters when dealing
with object composition. I know that it is usually a good practice to give
to the builder the same name as the class and, if possible, to avoid to use
upper case letters. My problem is that, when I build an object containing
an other
2009 May 15
0
[PATCH server] use service layer for Network controller.
...to_a }
- end
- end
- end
+ def update_nic
+ alert = svc_update_nic(params[:id], params[:nic], params[:ip_address])
+ render :json => { :object => "nic", :success => true, :alert => alert}
+ end
########################## Bonding related actions
- def new_bonding
- unless params[:host_id]
- flash[:notice] = "Host is required."
- redirect_to :controller => 'dashboard'
- end
-
- @host = Host.find(params[:host_id])
-
- # FIXME when bonding_nics table is removed, and
- # bondings_id column added to nics table, si...
2009 Oct 06
0
[PATCH server] new host networking wui
...<div id="selected_nic_bonding" class="selected_popup_content"></div>
+ <% } %>
+
+ <%# create hidden row for new bondings, NBID will be replaced w/ New Bonding ID %>
+ <div class="host_network_table_row"
+ id="host_network_table_new_bondings"
+ style="display:none;">
+
+ <div class="host_network_table_device_column host_network_table_aligned_column">
+ <div class="host_network_table_edit_label">
+ Name: <input type="text" name="bondings[NBID][nam...