Loading proto/context.proto +75 −50 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ service ContextService { rpc ListTopologyIds (ContextId ) returns ( TopologyIdList ) {} rpc ListTopologies (ContextId ) returns ( TopologyList ) {} rpc GetTopology (TopologyId ) returns ( Topology ) {} rpc GetTopologyDetails (TopologyId ) returns ( TopologyDetails ) {} rpc SetTopology (Topology ) returns ( TopologyId ) {} rpc RemoveTopology (TopologyId ) returns ( Empty ) {} rpc GetTopologyEvents (Empty ) returns (stream TopologyEvent ) {} Loading @@ -40,6 +41,8 @@ service ContextService { rpc RemoveDevice (DeviceId ) returns ( Empty ) {} rpc GetDeviceEvents (Empty ) returns (stream DeviceEvent ) {} rpc ListEndPointNames (EndPointIdList) returns ( EndPointNameList) {} rpc ListLinkIds (Empty ) returns ( LinkIdList ) {} rpc ListLinks (Empty ) returns ( LinkList ) {} rpc GetLink (LinkId ) returns ( Link ) {} Loading Loading @@ -135,6 +138,13 @@ message Topology { repeated LinkId link_ids = 4; } message TopologyDetails { TopologyId topology_id = 1; string name = 2; repeated Device devices = 3; repeated Link links = 4; } message TopologyIdList { repeated TopologyId topology_ids = 1; } Loading Loading @@ -413,6 +423,21 @@ message EndPoint { Location endpoint_location = 5; } message EndPointName { EndPointId endpoint_id = 1; string device_name = 2; string endpoint_name = 3; string endpoint_type = 4; } message EndPointIdList { repeated EndPointId endpoint_ids = 1; } message EndPointNameList { repeated EndPointName endpoint_names = 1; } // ----- Configuration ------------------------------------------------------------------------------------------------- enum ConfigActionEnum { Loading Loading
proto/context.proto +75 −50 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ service ContextService { rpc ListTopologyIds (ContextId ) returns ( TopologyIdList ) {} rpc ListTopologies (ContextId ) returns ( TopologyList ) {} rpc GetTopology (TopologyId ) returns ( Topology ) {} rpc GetTopologyDetails (TopologyId ) returns ( TopologyDetails ) {} rpc SetTopology (Topology ) returns ( TopologyId ) {} rpc RemoveTopology (TopologyId ) returns ( Empty ) {} rpc GetTopologyEvents (Empty ) returns (stream TopologyEvent ) {} Loading @@ -40,6 +41,8 @@ service ContextService { rpc RemoveDevice (DeviceId ) returns ( Empty ) {} rpc GetDeviceEvents (Empty ) returns (stream DeviceEvent ) {} rpc ListEndPointNames (EndPointIdList) returns ( EndPointNameList) {} rpc ListLinkIds (Empty ) returns ( LinkIdList ) {} rpc ListLinks (Empty ) returns ( LinkList ) {} rpc GetLink (LinkId ) returns ( Link ) {} Loading Loading @@ -135,6 +138,13 @@ message Topology { repeated LinkId link_ids = 4; } message TopologyDetails { TopologyId topology_id = 1; string name = 2; repeated Device devices = 3; repeated Link links = 4; } message TopologyIdList { repeated TopologyId topology_ids = 1; } Loading Loading @@ -413,6 +423,21 @@ message EndPoint { Location endpoint_location = 5; } message EndPointName { EndPointId endpoint_id = 1; string device_name = 2; string endpoint_name = 3; string endpoint_type = 4; } message EndPointIdList { repeated EndPointId endpoint_ids = 1; } message EndPointNameList { repeated EndPointName endpoint_names = 1; } // ----- Configuration ------------------------------------------------------------------------------------------------- enum ConfigActionEnum { Loading