add function to add new host in sliceable_switch.rb