UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

21 lines (20 loc) 831 B
import { type NodeAliases } from '../types/aliases.js'; import { type NodeServiceMapping } from '../types/mappings/node-service-mapping.js'; export declare class NodeOverridesModel { private readonly interfaceBindings; private readonly endpointOverrides; constructor(nodeAliases: NodeAliases, networkNodeServiceMap: NodeServiceMapping); /** * Converts the model to YAML as expected to be consumed inside node * @returns the raw YAML as string * * @example * gossip: * interfaceBindings: * - { "nodeId": 0, "hostname": "10.10.10.1", "port": 1234 } * - { "nodeId": 3, "hostname": "2001:db8:3333:4444:5555:6666:7777:8888", "port": 1237 } * endpointOverrides: * - { "nodeId": 5, "hostname": "10.10.10.11", "port": 1238 } */ toYAML(): string; }