Displaying 1 result from an estimated 1 matches for "bonding_hash".
2009 May 15
0
[PATCH server] use service layer for Network controller.
...ss</tt>] ip address for newly created bonding (if vlan
+ # and static boot type specified)
+ # [<tt>@host</tt>] Host with +host_id+
+ # === Required permissions
+ # [<tt>Privilege::MODIFY</tt>] on the default HW pool
+ def svc_create_bonding(bonding_hash, ip_hash)
+ pre_create_or_update_bonding(bonding_hash, ip_hash)
+ @bonding = Bonding.new(bonding_hash)
+ @bonding.ip_addresses << @ip_address if @ip_address
+ @bonding.save!
+ if @ip_address
+ @ip_address.bonding_id = @bonding.id
+ @ip_address.save!
+ end
+ retu...