core/rails/app/controllers/networks_controller.rb
# Allocations for a node in a network.
# Includes the automatic IPv6 address.
Allocations for a node in a network.
Includes the automatic IPv6 address.
Allocations for a node in a network . Includes the automatic IPv6 address .
def allocations
    network = find_key_cap(model, params[:id],cap("READ"))
    node = find_key_cap(Node, params[:node],cap("READ","NODE"))
    render :json => network.node_allocations(node).map{|a|a.to_s}, :content_type=>cb_content_type(:allocations, "array")
  end
def allocations network = find_key_cap ( model , params [ :id ] , cap ( "READ" ) ) node = find_key_cap ( Node , params [ :node ] , cap ( "READ" , "NODE" ) ) render :json => network . node_allocations ( node ) . map { | a | a . to_s } , :content_type => cb_content_type ( :allocations , "array" ) end
Allocations for a node in a network.
Allocations for a node in a network .