Geoffroy, I just looked through the install_cluster to remind myself but I'm pretty sure that Thomas is right. The main_cli was not designed to be the main entry point, but it does have advanced steps to skip steps. If you do want to skip steps right now via install_cluster you have to provide an automation file that just selects the exit option, although it doesn't seem unreasonable to add skip step flags or just pass the @ARGV down to main_cli.
Wesley Thomas Naughton wrote: > Geoffroy, > > :) Actually I remember talking to Wesley about this very issue. > > Yes, access is intended to be via 'install_cluster', with parameters just > passed down to 'main_cli'. I don't remember if he passes @ARGV down to > 'main_cli' or processes it all at the top-level or not. > > I mention this, b/c if he does pass @ARGV, then all options should be > usable, if you know what is down there, like skipping steps. But I'm > pretty sure he only exposes the most basic options to the top-level driver > (to avoid confusion by standard users...."i can skip steps in OSCAR?" ... > well yes if you know what you're doing). > > As for sanity-check, I'm not sure but I think we should maintain one entry > point (install_cluster) or something like that to simplify things. It also > avoids us having to put details like calling santy-check, env-wizard, etc. > all over the place. > > I hope that helps, > --tjn > > _________________________________________________________________________ > Thomas Naughton [EMAIL PROTECTED] > Research Associate (865) 576-4184 > > > On Sun, 21 Jan 2007, Geoffroy Vall�e wrote: > >> Hi all, >> >> Chatting with Bernard, one point about the CLI is not exactly clear . >> Are we >> supposed to use the CLI only via install_cluster? or also using >> main_cli? Are >> all the features provided by main_cli accessible through install_cluster >> (like the capability of skipping some steps)? The documentation does >> say much >> about that. >> If we can use main_cli directly, we may need to call system-sanity at >> the very >> beginning of the code. >> >> Thanks, >> -- >> Geoffroy >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
