/*
 * Netmon 'demand poll' Registration
 *
 * $Revision: /main/PULSAR/HALLEY/4 $
 * $Date: 1998/08/15 12:55 UTC $
 */

Application "IP Demand Poll"
{
    Description {
	"HP OpenView",
	"This operation forces the IP Discovery application ",
	"to query the selected nodes for current information."
    }
    
    DisplayString "IP Demand Poll";

    Version "NNM Release B.06.01  Apr 09 1999";

    Copyright {
	"Copyright (c) 1990-1999 Hewlett-Packard Company",
	"All rights reserved"
    }

    /*
     * Use -Shared so that only one instance of the process is executed.
     */
    Command "xnmappmon";
    
    MenuBar "Fault" _F
    {
	<100>	"Network Connectivity" 	_C  f.menu "Network Con";
    }

    Menu "Network Con"
    {
	<100>	"Poll Node"		_N  CONTEXT "AllContexts || isIP || isIPX" f.action "demandPoll";
	<100>	"Status Poll"		_S  CONTEXT "AllContexts || isIP || isIPX" f.action "demandStatusPoll";
#ifdef NT
	<100>	"Capability Poll"	_C  CONTEXT "AllContexts || isIP || isIPX" f.action "capabilityPoll";
#endif
    }


    Action "demandPoll" {
	MinSelected 0;
	SelectionRule isNode;
	CallbackArgs "-helpBrowser nnm:viewdemdpollFun";
    }

    Action "demandStatusPoll" {
	MinSelected 0;
	SelectionRule isNode;
	CallbackArgs "-helpBrowser nnm:viewstatuspoll \
			-singleDialog -appendSelectList -appendSelectListToTitle \
		        -commandTitle \"Status Poll\" \
			-cmd nmdemandpoll -i ";
    }

#ifdef NT
    Action "capabilityPoll" {
	MinSelected 0;
	SelectionRule isNode;
	CallbackArgs "-helpBrowser nnm:viewcappoll \
		        -singleDialog -appendSelectList -appendSelectListToTitle \
		        -commandTitle \"Capability Poll\" -cmd ovcapsd -poll ";
    }
#endif

}
