Skip to content

Commit

Permalink
20150826
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Dainese committed Aug 26, 2015
1 parent e3ee6b8 commit c36e1ba
Show file tree
Hide file tree
Showing 92 changed files with 187 additions and 187 deletions.
2 changes: 1 addition & 1 deletion html/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150819
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion html/includes/__interfc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
* @property type $id Interface ID. It's mandatory and automatically set during contruction phase.
* @property type $name Name of the interface. It's optional.
* @property type $network_id Remote network ID for Ethernet interfaces. If not set, it's automatically set to 0.
Expand Down
2 changes: 1 addition & 1 deletion html/includes/__lab.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150807
* @property type $author Author name of the lab. It's optional.
* @property type $description Description of the lab. It's optional
* @property type $filename The filename of the lab (without path). It's mandatory and automatically set.
Expand Down
2 changes: 1 addition & 1 deletion html/includes/__network.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
* @property type $count Total of connected nodes to this network. If not set, it's automatically set to 0.
* @property type $id Network ID. Mandatory and set during construction phase.
* @property type $left Left margin for visual position. It's optional.
Expand Down
2 changes: 1 addition & 1 deletion html/includes/__node.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150825
* @property type $flags_eth CMD flags related to Ethernet interfaces. It's mandatory and automatically set.
* @property type $flags_ser CMD flags related to Serial interfaces. It's mandatory and automatically set.
* @property type $console protocol. It's optional.
Expand Down
2 changes: 1 addition & 1 deletion html/includes/__picture.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
* @property type $data Binary stream of the picture. It's mandatory.
* @property type $height Width of the picture. It's automatically get from data.
* @property type $id ID of the picture. It's mandatory and automatically set during contruction phase.
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150525
* @version 20150804
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_folders.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_labs.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150825
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_networks.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_nodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150715
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_pictures.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150715
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_status.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150428
* @version 20150806
*/

/*
Expand Down
2 changes: 1 addition & 1 deletion html/includes/api_topology.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150515
* @version 20150715
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions html/includes/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150826
*/

/**
Expand Down Expand Up @@ -820,7 +820,7 @@ function start($n, $id, $t, $nets) {
*/
function stop($n) {
if ($n -> getStatus() == 1) {
$cmd = 'kill -s TERM $(fuser -n tcp '.$n -> getPort().' 2> /dev/null | sed "s/^.* \([0-9]\+\)$/\1/g")';
$cmd = 'fuser -n tcp -k -TERM '.$n -> getPort().' > /dev/null 2>&1';
exec($cmd, $o, $rc);
error_log('INFO: stopping '.$cmd);
sleep(1); // Need to wait a few
Expand Down
2 changes: 1 addition & 1 deletion html/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150526
* @version 20150817
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion html/includes/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150817
* @version 20150824
*/

// Include custom configuration
Expand Down
2 changes: 1 addition & 1 deletion html/includes/messages_en.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150825
*/

/***************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion html/includes/messages_zh.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150527
* @version 20150817
*/

/***************************************************************************
Expand Down
4 changes: 2 additions & 2 deletions html/templates/a10.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab. If not, see <http:
* along with UNetLab. If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/acs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150817
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/asa.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab. If not, see <http:
* along with UNetLab. If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/asav.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/bigip.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/brocadevadx.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'qemu';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/c1710.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'dynamips';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/c3725.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'dynamips';
Expand Down
4 changes: 2 additions & 2 deletions html/templates/c7200.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab.If not, see <http:
* along with UNetLab.If not, see <http://www.gnu.org/licenses/>.
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
* @version 20150826
*/

$p['type'] = 'dynamips';
Expand Down
54 changes: 27 additions & 27 deletions html/templates/cda.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
# vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler

/**
* html/templates/cda.php
*
* Cisco CDA template for UNetLab.
*
* LICENSE:
*
* This file is part of UNetLab (Unified Networking Lab).
*
* UNetLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* UNetLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab. If not, see <http:
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150521
*/
* html/templates/cda.php
*
* Cisco CDA template for UNetLab.
*
* LICENSE:
*
* This file is part of UNetLab (Unified Networking Lab).
*
* UNetLab is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* UNetLab is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UNetLab. If not, see <http:
*
* @author Andrea Dainese <[email protected]>
* @copyright 2014-2015 Andrea Dainese
* @license http://www.gnu.org/licenses/gpl.html
* @link http://www.unetlab.com/
* @version 20150826
*/

$p['type'] = 'qemu';
$p['name'] = 'cda';
Expand Down
Loading

0 comments on commit c36e1ba

Please sign in to comment.