Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.1 KiB

type APIManifestOverview = {
manifestName: string;
manifestUUID: string;
};
type APIManifestOverviewList = {
[manifestUUID: string]: APIManifestOverview;
};
type APIManifestDetail = ManifestAnId & {
hostConfig: ManifestHostConfig;
name: string;
networkConfig: ManifestNetworkConfig;
uuid?: string;
};
type APIManifestTemplateFence = {
fenceName: string;
fenceUUID: string;
};
type APIManifestTemplateUps = {
upsName: string;
upsUUID: string;
};
type APIManifestTemplateFenceList = {
[fenceUuid: string]: APIManifestTemplateFence;
};
type APIManifestTemplateUpsList = {
[upsUuid: string]: APIManifestTemplateUps;
};
type APIManifestTemplate = {
domain: string;
fences: APIManifestTemplateFenceList;
prefix: string;
sequence: number;
upses: APIManifestTemplateUpsList;
};
type APIBuildManifestRequestBody = Omit<APIManifestDetail, 'name' | 'uuid'>;
type APIRunManifestRequestBody = {
description: string;
hosts: {
[hostId: string]: {
hostNumber: number;
hostType: string;
hostUuid: string;
};
};
password: string;
};