Skip to content

Commit

Permalink
remove service
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbalogh committed Sep 10, 2024
1 parent 46f32bb commit ded4368
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions protos/infra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ message ComponentConnection {
// nic.0.pcie.cpu.0
// npu.0.pcie.nwswitch.0
//
// the connections can be validated by using the Validate rpc
string connection = 1;
}

Expand All @@ -197,8 +196,8 @@ message DeviceConnection {
//
// examples:
// host.0.nic.0.100gpbs.racksw.0.nic.0
// host.0.nic.0-8.100gpbs.racksw.0.nic.8-15
//
// the connections can be validated by using the Validate rpc
string connection = 1;
}

Expand Down Expand Up @@ -319,27 +318,3 @@ message Infrastructure {
// A list of user supplied custom information for specific endpoints
repeated Binding bindings = 30;
}

message VertextRequest {
Infrastructure infrastructure = 1;
}

message VertexResponse {
repeated ComponentConnection component_edges = 1;
repeated DeviceConnection device_instance_edges = 2;
}

message EdgeRequest {
Infrastructure infrastructure = 1;
}

message EdgeResponse {
repeated ComponentConnection component_edges = 1;
repeated DeviceConnection device_instance_edges = 2;
}

service InfraService {
rpc GetVertexes(Infrastructure) returns (VertexResponse);
rpc GetEdges(Infrastructure) returns (EdgeResponse);
rpc Validate(Infrastructure) returns (google.protobuf.Empty);
}

0 comments on commit ded4368

Please sign in to comment.