parent
46891f322b
commit
5c7ddbfb5e
24 changed files with 130 additions and 115 deletions
@ -1,8 +0,0 @@ |
||||
type AnvilOverview = { |
||||
anvilName: string; |
||||
anvilUUID: string; |
||||
hosts: Array<{ |
||||
hostName: string; |
||||
hostUUID: string; |
||||
}>; |
||||
}; |
@ -0,0 +1,89 @@ |
||||
type CreateHostConnectionRequestBody = { |
||||
dbName?: string; |
||||
ipAddress: string; |
||||
isPing?: boolean; |
||||
/** Host password; same as database password */ |
||||
password: string; |
||||
port?: number; |
||||
sshPort?: number; |
||||
/** Database user */ |
||||
user?: string; |
||||
}; |
||||
|
||||
type DeleteHostConnectionRequestBody = { |
||||
[hostUUID: string]: string[]; |
||||
}; |
||||
|
||||
type HostConnectionOverview = { |
||||
inbound: { |
||||
ipAddress: { |
||||
[ipAddress: string]: { |
||||
hostUUID: string; |
||||
ipAddress: string; |
||||
ipAddressUUID: string; |
||||
networkLinkNumber: number; |
||||
networkNumber: number; |
||||
networkType: string; |
||||
}; |
||||
}; |
||||
port: number; |
||||
user: string; |
||||
}; |
||||
peer: { |
||||
[ipAddress: string]: { |
||||
hostUUID: string; |
||||
ipAddress: string; |
||||
isPing: boolean; |
||||
port: number; |
||||
user: string; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
type HostOverview = { |
||||
hostName: string; |
||||
hostType: string; |
||||
hostUUID: string; |
||||
shortHostName: string; |
||||
}; |
||||
|
||||
type InitializeStrikerNetworkForm = { |
||||
interfaces: Array<NetworkInterfaceOverview | null | undefined>; |
||||
ipAddress: string; |
||||
name: string; |
||||
subnetMask: string; |
||||
type: string; |
||||
}; |
||||
|
||||
type InitializeStrikerForm = { |
||||
adminPassword: string; |
||||
domainName: string; |
||||
hostName: string; |
||||
hostNumber: number; |
||||
networkDNS: string; |
||||
networkGateway: string; |
||||
networks: InitializeStrikerNetworkForm[]; |
||||
organizationName: string; |
||||
organizationPrefix: string; |
||||
}; |
||||
|
||||
type PrepareHostRequestBody = { |
||||
enterpriseUUID?: string; |
||||
hostIPAddress: string; |
||||
hostName: string; |
||||
hostPassword: string; |
||||
hostSSHPort?: number; |
||||
hostType: string; |
||||
hostUser?: string; |
||||
hostUUID?: string; |
||||
redhatPassword: string; |
||||
redhatUser: string; |
||||
}; |
||||
|
||||
type SetHostInstallTargetRequestBody = { |
||||
isEnableInstallTarget: boolean; |
||||
}; |
||||
|
||||
type UpdateHostParams = { |
||||
hostUUID: string; |
||||
}; |
@ -0,0 +1,12 @@ |
||||
type SshKeyConflict = { |
||||
[stateUUID: string]: { |
||||
badFile: string; |
||||
badLine: number; |
||||
hostName: string; |
||||
hostUUID: string; |
||||
ipAddress: string; |
||||
stateUUID: string; |
||||
}; |
||||
}; |
||||
|
||||
type DeleteSshKeyConflictRequestBody = { [hostUUID: string]: string[] }; |
@ -1,11 +1,11 @@ |
||||
type UPSOverview = { |
||||
type UpsOverview = { |
||||
upsAgent: string; |
||||
upsIPAddress: string; |
||||
upsName: string; |
||||
upsUUID: string; |
||||
}; |
||||
|
||||
type UPSTemplate = { |
||||
type UpsTemplate = { |
||||
[upsName: string]: AnvilDataUPSHash[string] & { |
||||
links: { |
||||
[linkId: string]: { |
@ -0,0 +1,7 @@ |
||||
type DeleteUserParamsDictionary = { |
||||
userUuid: string; |
||||
}; |
||||
|
||||
type DeleteUserRequestBody = { |
||||
uuids?: string[]; |
||||
}; |
@ -1,11 +0,0 @@ |
||||
type CreateHostConnectionRequestBody = { |
||||
dbName?: string; |
||||
ipAddress: string; |
||||
isPing?: boolean; |
||||
// Host password; same as database password.
|
||||
password: string; |
||||
port?: number; |
||||
sshPort?: number; |
||||
// database user.
|
||||
user?: string; |
||||
}; |
@ -1,3 +0,0 @@ |
||||
type DeleteHostConnectionRequestBody = { |
||||
[hostUUID: string]: string[]; |
||||
}; |
@ -1 +0,0 @@ |
||||
type DeleteSSHKeyConflictRequestBody = { [hostUUID: string]: string[] }; |
@ -1,25 +0,0 @@ |
||||
type HostConnectionOverview = { |
||||
inbound: { |
||||
ipAddress: { |
||||
[ipAddress: string]: { |
||||
hostUUID: string; |
||||
ipAddress: string; |
||||
ipAddressUUID: string; |
||||
networkLinkNumber: number; |
||||
networkNumber: number; |
||||
networkType: string; |
||||
}; |
||||
}; |
||||
port: number; |
||||
user: string; |
||||
}; |
||||
peer: { |
||||
[ipAddress: string]: { |
||||
hostUUID: string; |
||||
ipAddress: string; |
||||
isPing: boolean; |
||||
port: number; |
||||
user: string; |
||||
}; |
||||
}; |
||||
}; |
@ -1,6 +0,0 @@ |
||||
type HostOverview = { |
||||
hostName: string; |
||||
hostType: string; |
||||
hostUUID: string; |
||||
shortHostName: string; |
||||
}; |
@ -1,19 +0,0 @@ |
||||
type InitializeStrikerNetworkForm = { |
||||
interfaces: Array<NetworkInterfaceOverview | null | undefined>; |
||||
ipAddress: string; |
||||
name: string; |
||||
subnetMask: string; |
||||
type: string; |
||||
}; |
||||
|
||||
type InitializeStrikerForm = { |
||||
adminPassword: string; |
||||
domainName: string; |
||||
hostName: string; |
||||
hostNumber: number; |
||||
networkDNS: string; |
||||
networkGateway: string; |
||||
networks: InitializeStrikerNetworkForm[]; |
||||
organizationName: string; |
||||
organizationPrefix: string; |
||||
}; |
@ -1,20 +0,0 @@ |
||||
type SetHostInstallTargetRequestBody = { |
||||
isEnableInstallTarget: boolean; |
||||
}; |
||||
|
||||
type PrepareHostRequestBody = { |
||||
enterpriseUUID?: string; |
||||
hostIPAddress: string; |
||||
hostName: string; |
||||
hostPassword: string; |
||||
hostSSHPort?: number; |
||||
hostType: string; |
||||
hostUser?: string; |
||||
hostUUID?: string; |
||||
redhatPassword: string; |
||||
redhatUser: string; |
||||
}; |
||||
|
||||
type UpdateHostParams = { |
||||
hostUUID: string; |
||||
}; |
Loading…
Reference in new issue