func CollapseToHostPorts(serversHostPorts []MachineHostPorts) HostPorts {
	var collapsed HostPorts
	for _, hps := range serversHostPorts {
		for _, hp := range hps {
			collapsed = append(collapsed, hp)
		}
	}
	return collapsed
}
// CollapseToHostPorts returns the input nested slice of MachineHostPort
// as a flat slice of HostPort, preserving the order.
CollapseToHostPorts returns the input nested slice of MachineHostPort
as a flat slice of HostPort, preserving the order.
// CollapseToHostPorts returns the input nested slice of MachineHostPort // as a flat slice of HostPort preserving the order .
func CollapseToHostPorts(serversHostPorts []MachineHostPorts) HostPorts {
	var collapsed HostPorts
	for _, hps := range serversHostPorts {
		for _, hp := range hps {
			collapsed = append(collapsed, hp)
		}
	}
	return collapsed
}
func CollapseToHostPorts ( serversHostPorts [ ] MachineHostPorts ) HostPorts { var collapsed HostPorts for _ , hps := range serversHostPorts { for _ , hp := range hps { collapsed = append ( collapsed , hp ) } } return collapsed }
CollapseToHostPorts returns the input nested slice of MachineHostPort
as a flat slice of HostPort, preserving the order.
CollapseToHostPorts returns the input nested slice of MachineHostPort as a flat slice of HostPort preserving the order .