ANTS v2.0 API

ants.core
Class NodeConfigure

java.lang.Object
  |
  +--edu.utah.janos.nodeos.FlowRun
        |
        +--ants.core.NodeConfigure

public class NodeConfigure
extends edu.utah.janos.nodeos.FlowRun

Performs one-time configuration of a Node to get it on its feet. This is one of the ways to start an ANTS node.

An alternative to ConfigurationManager.

Usage: NodeConfigure ActiveAddress PhysicalAddress [options]

  • ActiveAddress: the active address of the Node. Must be an IP-like dotted-quad.
  • PhysicalAddress: the physical host address of the Node. Must be a host:port pair.
  • Options:
  • -consoleport int: Start a telnet console on the given port.
  • -routes file: Static routing table is in file.
  • -updateRoutes: If dynamic routing updates should be pushed out.
  • -application appfile: Read appfile to configure & start an application.
  • -simpleapp string: Use the string as an app and its arguments.
  • -extension extfile: Read extfile to configure and install an extension.
  • -msgprefix string: Prefix all messages with string.
  • -policy file: XXX this needs to be written.
  • -principal name: XXX this needs to be written.
  • -proxyaddr addr: XXX this needs to be written.
  • The files appfile and extfile are simple files that are unceremoniously pushed into KeyArgs. They should define the application.

    XXX The physical address should be specified in a NodeOS-compliant syntax.

    Author:
    Utah Janos Team
    See Also:
    ConfigurationManager

    Constructor Summary
    NodeConfigure()
               
     
    Method Summary
    static void main(java.lang.String[] args)
              This doesn't work.
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    NodeConfigure

    public NodeConfigure()
    Method Detail

    main

    public static void main(java.lang.String[] args)
                     throws java.lang.Exception
    This doesn't work. Its just here to prevent folks from getting really confused.
    See Also:
    #run(Flow,String[],CommSpaceHandle)

    ANTS v2.0 API

    This documentation is Copyright (C) 1998-2001 The University of Utah and the University of Washington. All Rights Reserved. See the individual source files for distribution terms.
    Documentation, software, and mailing lists for ANTS v2.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/