Function: AVI Server Build

by Simon Sparks · 11 March 2026

To use this function add it to the class library file named PluginAVIService.ts

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: PluginAVIService.ts

Description: Orchestrator Function to Build an AVI Server.

Private Function: AviServerBuild

private AviServerBuild(strIpAddress: string, intPort: number, strAviIpAddrType: "V4" | "V6" = "V4", intRatio: number = 1): AviServer {
    let objAviIpAddr: AviIpAddr = new AviIpAddr();
    objAviIpAddr.setType(strAviIpAddrType);
    objAviIpAddr.setAddr(strIpAddress)

    let objAviServer: AviServer = new AviServer();
    objAviServer.setIp(objAviIpAddr);
    objAviServer.setPort(intPort);
    objAviServer.setRatio(intRatio);

    return objAviServer;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like