src/main/ruby/org/o3project/odenos/component/driver/of_driver/openflow_controller.rb
#
# Handler for GET "node_maps" Request
#
Handler for GET "node_maps" Request
Handler for GET " node_maps " Request
def on_get_node_maps
            dpid_key = 'dpid -> Node'
            node_key = 'Node.node_id -> dpid'
            {
              dpid_key => MessagePack.unpack(@op2od_node.to_msgpack),
              node_key => MessagePack.unpack(@od2op_switch.to_msgpack)
            }
          end
def on_get_node_maps dpid_key = 'dpid -> Node' node_key = 'Node.node_id -> dpid' { dpid_key => MessagePack . unpack ( @op2od_node . to_msgpack ) , node_key => MessagePack . unpack ( @od2op_switch . to_msgpack ) } end
Handler for GET "node_maps" Request
Handler for GET " node_maps " Request
# return deep copied map