diff --git a/database/database.go b/database/database.go index 3ad8b568ef0dc04ccef254c4e18617c357adf3c7..69efde8c303e1092eda2b8390fa70e6599d84c35 100644 --- a/database/database.go +++ b/database/database.go @@ -110,11 +110,14 @@ func (d Database) StorePND(pnd *PND) neo4j.Node { //RemovePND removes the given principle network domain by id. func (d Database) RemovePND(id string) {} +//GetPNDByID gets a specific PND by the given ID. func (d Database) GetPNDByID(id string) {} +//GetNodesByLabel gets all nodes that belong to a specific label. func (d Database) GetNodesByLabel(label string) {} -func (d Database) GetDeviceByID(id string) {} +//GetNodeByID gets a specific node by ID. +func (d Database) GetNodeByID(id string) {} //storeNodesTxFunc transaction to store devices from a json. //relates them to a specific pnd id.