Skip to content

Commit

Permalink
remove wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbalogh committed Sep 5, 2024
1 parent 2b7e9f4 commit 46f32bb
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions protos/infra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -164,41 +164,39 @@ message ComponentConnection {
// In the case where an * is used for both indexes then the mapping will be
// a one-to-one mapping.
//
// - name = Component.name (nic)
// - index = (< Component.count | *)
// - name = Component.links.name (pcie)
// - name = Component.name (nic)
// - index = (< Component.count | *)
// - name = Component.name
// - index < Component.count
// - name = Link.name from one of Component.links
// - name = Component.name
// - index < Component.count
//
// examples:
// nic.0.pcie.cpu.0
// npu.*.pcie.cpu.0
// npu.0.pcie.nwswitch.0
//
// the connections can be validated by using the Validate rpc
string connection = 1;
}

// DeviceConnection message describes how Devices are connected to each other
message DeviceConnection {
// a list of connections that describe how Components are connected to each
// other in the Device
//
// format: The following pieces of information each separated by a "."
// An * indicates all possible indexes for a component will be mapped
// In the case where an * is used for both indexes then the mapping will be
// a one-to-one mapping.
//
// - name = DeviceInstance.name
// - index = (< DeviceInstance.count | *)
// - name = Component.name (nic)
// - index = (< Component.count | *)
// - index < DeviceInstance.count
// - name = Component.name
// - index < Component.count
// - name = Link.name from one of Infrastructure.inventory.links
// - name = DeviceInstance.name
// - index = (< DeviceInstance.count | *)
// - name = Component.name (nic)
// - index = (< Component.count | *)
// - index < DeviceInstance.count
// - name = Component.name
// - index < Component.count
//
// examples:
// host.0.nic.0.ethernet.cpu.0
// npu.*.pcie.cpu.0
// host.0.nic.0.100gpbs.racksw.0.nic.0
//
// the connections can be validated by using the Validate rpc
string connection = 1;
Expand Down

0 comments on commit 46f32bb

Please sign in to comment.