Esempio n. 1
0
        public override string Execute(int consoleWidth)
        {
            JobNode _node = new JobNode();

            _node.name = (string)pars.GetPar("n").argValues[0];
            _node.ip   = (IPAddress)pars.GetPar("ip").argValues[0];
            _node.mac  = ((PhysicalAddress)pars.GetPar("mac").argValues[0]).ToString();

            _js.AddNode(_node);

            return("<color><green>Node created (ID " + _node.id + ").");
        }