Northbound Interface
Compare changes
- Manuel Kieweg authored
+ 105
− 28
@@ -34,19 +34,13 @@ func Init(addr string) error {
@@ -61,6 +55,99 @@ func getAllCore(ctx context.Context, addr string) (*pb.GetResponse, error) {
@@ -90,10 +177,10 @@ func AddDevice(addr, username, password, sbi, pnd, deviceAddress string) error {
@@ -112,15 +199,10 @@ func GetDevice(addr, pid, path string, did ...string) error {
@@ -130,7 +212,7 @@ func Update(addr, did, pid, path, value string) error {
@@ -140,7 +222,7 @@ func Replace(addr, did, pid, path, value string) error {
@@ -149,10 +231,10 @@ func Delete(addr, did, pid, path string) error {
@@ -160,10 +242,5 @@ func sendChangeRequest(addr, pid string, req *ppb.ChangeRequest) error {