Help for this page

Select Code to Download


  1. or download this
    the code is listed here
    $logger->info("create zone on the switch $ip using zonecreate");
    ($out,$err) = $ssh->capture2("zonecreate ");
    ...
    print "$out\n";
    $logger->info("zonecreate successful");
    
  2. or download this
    the output
    2015/07/26 22:14:52 create zone on the switch 10.227.0.216 using zonec
    +reate
    Error: Invalid number of arguments
    ...
    zonecreate --peerzone "zone_name" -principal "principal_list" [-member
    +s "member_list"]
    
    2015/07/26 22:14:53 zonecreate successful