plugins/networking/app/controllers/networking/asr_controller.rb
# Returns a json string showing any diffs between device configuration
# and that expected by Neutron.
Returns a json string showing any diffs between device configuration
and that expected by Neutron.
Returns a json string showing any diffs between device configuration and that expected by Neutron .
def sync_router
      render json: { router: services.networking.asr_sync_router(params[:router_id]) }
    rescue Elektron::Errors::ApiResponse => e
      render json: { error: e.message }
    end
def sync_router render json : { router : services . networking . asr_sync_router ( params [ :router_id ] ) } rescue Elektron :: Errors :: ApiResponse => e render json : { error : e . message } end
Returns a json string showing any diffs between device configuration
and that expected by Neutron.
Returns a json string showing any diffs between device configuration and that expected by Neutron .