aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/common/node_identity.cpp
blob: 048ad72cb5c7c4343cf732a45a14ebf6fdd8d364 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "node_identity.h"

namespace storage {

NodeIdentity::NodeIdentity(vespalib::stringref cluster_name_in,
                           const lib::NodeType& node_type_in,
                           uint16_t node_index_in)
    : _cluster_name(cluster_name_in),
      _node_type(node_type_in),
      _node_index(node_index_in)
{
}

}