Skip to content

Exodm Test Specification

uwiger edited this page Dec 19, 2012 · 2 revisions

exodm database tables

  • acct (accounts)
  • user (users)
  • <AID>_config (config sets per account)
  • <AID>_conf_cache (config data cache per account)
  • <AID>_dev (devices per account)
  • <AID>_devtype (device types per account)
  • <AID>_grp (device groups per account)
  • <AID>_yang (YANG specs per account)
  • to_device (RPC queues, downstream)
  • from_device (RPC queues, upstream)
  • rpc_timers (RPC timers for kvdb_cron)
  • shared_yang (system area for YANG specs)
  • data (default kvdb table, used for some system globals)
  • kvdb_CRON (default kvdb_cron table; not used)

Database consistency

Some tables have dependencies. These are:

  • <AID>_dev <-> <AID>_grp (DID*groups*GID <-> GID*devices*DID)
  • <AID>_dev <-> <AID>_config (DID*config_set*SET <-> SET*members*DID)
  • acct <-> user (AID*users*USER <-> USER*__aid:ACCT; USER*access[IX]*__aid:ACCT, USER*access[IX]*__rid:ROLE) (NEED TO CHECK THIS!)

where AID is the key encoding of an account, and ACCT is the value encoding (a 32-bit integer).

Clone this wiki locally