Class: OpenC3::RouterStatusModel

Inherits:
InterfaceStatusModel show all
Defined in:
lib/openc3/models/router_status_model.rb

Overview

Stores the status about a router. All of the functionality is handled in the InterfaceStatusModel so we simply inherit it.

Constant Summary

Constants inherited from InterfaceStatusModel

InterfaceStatusModel::INTERFACES_PRIMARY_KEY, InterfaceStatusModel::ROUTERS_PRIMARY_KEY

Instance Attribute Summary

Attributes inherited from InterfaceStatusModel

#clients, #rxbytes, #rxcnt, #rxsize, #state, #txbytes, #txcnt, #txsize

Attributes inherited from Model

#name, #plugin, #scope, #updated_at

Method Summary

Methods inherited from InterfaceStatusModel

_get_key, _get_type, all, #as_json, get, #initialize, names

Methods inherited from Model

all, #as_json, #check_disable_erb, #create, #deploy, #destroy, #destroyed?, filter, find_all_by_plugin, from_json, get, get_all_models, get_model, handle_config, #initialize, names, set, store, store_queued, #undeploy, #update

Constructor Details

This class inherits a constructor from OpenC3::InterfaceStatusModel