From 9d45ed64f3b216fec05a89d38469cb2e7f31b4e2 Mon Sep 17 00:00:00 2001
From: Lluis Gifre <lluis.gifre@cttc.es>
Date: Wed, 9 Mar 2022 19:58:50 +0100
Subject: [PATCH] Formatted proto interdomain and slice files

---
 proto/interdomain.proto | 16 ++++------------
 proto/slice.proto       |  5 ++---
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/proto/interdomain.proto b/proto/interdomain.proto
index 7088586e2..80fe07469 100644
--- a/proto/interdomain.proto
+++ b/proto/interdomain.proto
@@ -12,7 +12,6 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-//Example of topology
 syntax = "proto3";
 package interdomain;
 
@@ -20,15 +19,8 @@ import "context.proto";
 import "slice.proto";
 
 service InterdomainService {
-  rpc Authenticate (context.TeraFlowController) returns (context.AuthenticationResult) {}
-  rpc LookUpSlice(slice.TransportSlice) returns (slice.SliceId) {} //Slice component or from interdomain component
-  rpc OrderSliceFromCatalog(slice.TransportSlice) returns (slice.SliceStatus) {}
-  rpc CreateSliceAndAddToCatalog(slice.TransportSlice) returns (slice.SliceStatus) {}
+  rpc Authenticate              (context.TeraFlowController) returns (context.AuthenticationResult) {}
+  rpc LookUpSlice               (slice.TransportSlice      ) returns (slice.SliceId               ) {}
+  rpc OrderSliceFromCatalog     (slice.TransportSlice      ) returns (slice.SliceStatus           ) {}
+  rpc CreateSliceAndAddToCatalog(slice.TransportSlice      ) returns (slice.SliceStatus           ) {}
 }
-
-
-
-
-
-
-
diff --git a/proto/slice.proto b/proto/slice.proto
index 73e945a40..43f3329d4 100644
--- a/proto/slice.proto
+++ b/proto/slice.proto
@@ -12,15 +12,14 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-//Example of topology
 syntax = "proto3";
 package slice;
 
 import "context.proto";
 
 service SliceService {
-  rpc CreateUpdateSlice (TransportSlice) returns (SliceStatus) {}
-  rpc DeleteSlice (TransportSlice) returns (context.Empty) {}
+  rpc CreateUpdateSlice (TransportSlice) returns (SliceStatus  ) {}
+  rpc DeleteSlice       (TransportSlice) returns (context.Empty) {}
 }
 
 message SliceEndpoint {
-- 
GitLab