/
MemoryStorageSource (Dev)

MemoryStorageSource (Dev)

Description

The MemoryStorageSource is an in memory NoSQL style storage source. Notifications for changes in the database are also supported.

Services Provided

  • IStorageSourceService

Service Dependencies

  • IDebugCounterService
  • IRestApiService

Java File

The module is implemented in net.floodlightcontroller.storage.memory.MemoryStorageSource.

How it works

Other Floodlight modules that depend upon the IStorageSourceService interface can create/delete/modify data in the memory storage source. All data is shared and there is no enforcement. Modules can also register for changes to data in specific tables and rows. Any module that wants to do this should implement the IStorageSourceListener interface.

Limitations

  • Since the storage is in memory, when Floodlight is shutdown all state will be lost.
  • There is no isolation of data enforced. Even if a module created a table another module can overwrite the data.

Configuration

This module is enabled by default, no extra configuration is needed.

Configuration Options

None.

REST API

None.

Related content

Module Descriptions and Javadoc
Module Descriptions and Javadoc
More like this
Module Loading System
Module Loading System
More like this
Floodlight Services
Floodlight Services
More like this
Coraid and Floodlight
Coraid and Floodlight
More like this
Configuration
More like this
Module Applications
Module Applications
More like this