Skip to content

Commit

Permalink
Merge pull request #7514 from TheThingsNetwork/fix/reserve-proto-defi…
Browse files Browse the repository at this point in the history
…nitions

Reserve values in application, client, device, gateway and rights
  • Loading branch information
KrishnaIyer authored Feb 19, 2025
2 parents 7ed1e23 + df0f97f commit 3e16fe8
Show file tree
Hide file tree
Showing 10 changed files with 1,235 additions and 1,211 deletions.
5 changes: 4 additions & 1 deletion api/ttn/lorawan/v3/application.proto
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ message Application {
reserved 15;
reserved "end_device_limit";

// next: 16
reserved 16;
reserved "label_ids";

// next: 17
}

message Applications {
Expand Down
5 changes: 4 additions & 1 deletion api/ttn/lorawan/v3/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ message Client {
// client after rights are added to this list.
repeated Right rights = 14 [(validate.rules).repeated.items.enum.defined_only = true];

// next: 20
reserved 20;
reserved "label_ids";

// next: 21
}

message Clients {
Expand Down
5 changes: 4 additions & 1 deletion api/ttn/lorawan/v3/end_device.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,10 @@ message EndDevice {

LoRaAllianceProfileIdentifiers lora_alliance_profile_ids = 56;

// next: 57;
reserved 57;
reserved "label_ids";

// next: 58;
}

message EndDevices {
Expand Down
5 changes: 4 additions & 1 deletion api/ttn/lorawan/v3/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ message Gateway {

bool disable_packet_broker_forwarding = 29;

// next: 32
reserved 33;
reserved "label_ids";

// next: 34
}

message Gateways {
Expand Down
6 changes: 6 additions & 0 deletions api/ttn/lorawan/v3/rights.proto
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ enum Right {
reserved 84;
reserved 85;
reserved 86;
reserved 92;
reserved 93;
reserved 94;
reserved 95;
reserved 96;
reserved 97;

// The pseudo-right for all (current and future) possible rights.
RIGHT_ALL = 55;
Expand Down
385 changes: 193 additions & 192 deletions pkg/ttnpb/application.pb.go

Large diffs are not rendered by default.

223 changes: 112 additions & 111 deletions pkg/ttnpb/client.pb.go

Large diffs are not rendered by default.

455 changes: 228 additions & 227 deletions pkg/ttnpb/end_device.pb.go

Large diffs are not rendered by default.

1,343 changes: 672 additions & 671 deletions pkg/ttnpb/gateway.pb.go

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions pkg/ttnpb/rights.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e16fe8

Please sign in to comment.