2023-05-05 13:47:28 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-21 17:31:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package hashicorp.consul.catalog.v2beta1;
|
2023-05-05 13:47:28 +00:00
|
|
|
|
2023-09-21 21:18:47 +00:00
|
|
|
import "pbresource/annotations.proto";
|
|
|
|
|
2023-05-05 13:47:28 +00:00
|
|
|
message Node {
|
2023-12-01 07:42:29 +00:00
|
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_PARTITION};
|
2023-09-21 21:18:47 +00:00
|
|
|
|
2023-05-05 13:47:28 +00:00
|
|
|
repeated NodeAddress addresses = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NodeAddress {
|
|
|
|
// host can be an IP or DNS name.Í
|
|
|
|
string host = 1;
|
|
|
|
|
|
|
|
// external indicates whether this address should be used for external communication
|
|
|
|
// (aka a WAN address).
|
|
|
|
bool external = 3;
|
|
|
|
}
|