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 show_statistics
      render json: { statistics: services.networking.asr_interface_statistics(params[:router_id]) }
    rescue Elektron::Errors::ApiResponse => e
      render json: { error: e.message }
    end
def show_statistics render json : { statistics : services . networking . asr_interface_statistics ( 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 .