Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Name


 Capabilities

1DataStoreService
  • DataNode getDataNode(cpsPath)
  • Collection<DataNode> queryDataNodes(cpsPathQuery)
  • DataNode getDataNode(cpsPath,outputSpecification)
  • int count(cpsPath)
  • Void addDataNode(anchorName,dataNode)
  • Void addChild(cpsPathParent,dataNode)
  • Void addChildren(cpsPathParent,dataNode...)
  • Void updateDataNode(anchorName,dataNode)
  • Void setAttribute(cpsPath,attributeName,value)
  • Void deleteDataNode(cpsPath)
2DataNode Object
  • DataNode createDataNode(DataNode)
  • String getCpsPath()
  • DataNode getAttributes()
  • DataNode getAttribute(name)
  • Void setAttributes()
  • Void setAttribute(name)
  • Module getModule(moduleName)

CpsAdmin SPI


Name


 Capabilities

1

DataspacePersistenceService


  • createDataspaceVoid createDataspace(dataspaceName)
  • getDataspaceVoid getDataspace(dataspaceName)
  • getDataspacesVoid getDataspaces()
  • boolean exists(dataspaceName)
2AnchorPersistenceService
  • createAnchorVoid createAnchor(dataspaceName, anchorName)
  • Anchor getAnchors()
  • Anchor getAnchor(anchorName)
  • deleteAnchorVoid deleteAnchor(anchorName)
  • associateAnchorVoid associateAnchor(anchorName, moduleSetName)
  • associateAnchorVoid associateAnchor(anchorName, moduleRef)
  • addDataNodeVoid addDataNode(anchorName, dataNode)
3Dataspace (object)
  • Void createDataspace(dataspaceName)
  • String getName(Dataspace)
4Anchor Object
  • Void createAnchor(anchorName)
  • String getName(Anchor)

Module SPI


Name


 Capabilities

1

ModulePersistenceService


  • Void createModuleSet(file)
  • Void addModule(moduleRef, content)
  • Void addModule(moduleSetName, moduleRef, content)
  • Void deleteModule(moduleRef)
  • YangModule getModule(moduleRef)
  • Collection<YangModule> getModules(moduleSetName)
2YangModule
  • ModuleRef getModuleRef(moduleRef)
  • String getModuleContent(moduleRef)
3ModuleRef
  • String getNamespace(moduleRef)
  • String getRevision(moduleRef)
4ModuleSet
  • String getName(moduleRef)
  • Collection<ModuleRef> getModuleRefs()