├── .gitignore ├── src ├── inputXml.out.xml ├── logo.png ├── assets │ ├── 1Redo.png │ ├── 1Undo.png │ ├── 1new.png │ ├── Print.png │ ├── Redo.png │ ├── Undo.png │ ├── Undo2.PNG │ ├── car.png │ ├── fiber.png │ ├── logo.png │ ├── new.png │ ├── utp.png │ ├── www.png │ ├── 1Print.png │ ├── 1ZoomIn.png │ ├── Station.png │ ├── Switch.png │ ├── ZoomIn.png │ ├── ZoomOut.png │ ├── delete.png │ ├── domain.png │ ├── pencil.png │ ├── 1ZoomOut.png │ ├── 1open_48.png │ ├── 1save_48.png │ ├── Computer.png │ ├── Controller.png │ ├── Smartphone.png │ ├── user-boss.png │ ├── wireless.png │ ├── Access Point.png │ ├── accesspoint.png │ ├── basestation.png │ ├── enhancednodeb.png │ ├── gigabitEthernet.png │ └── uploadxml.php ├── img │ ├── success.png │ ├── success1.png │ ├── alert_info.gif │ ├── alert_info.png │ ├── alert_confirm.gif │ ├── alert_confirm.png │ ├── alert_error.gif │ ├── alert_error.png │ └── alert_confirm1.gif ├── preload │ ├── welcome.gif │ ├── WelcomeScreen.as │ └── CustomPreloader.as ├── delete.php ├── playerProductInstall.swf ├── userObjdelete.php ├── deletedownloadedxml.php ├── html-template │ ├── playerProductInstall.swf │ ├── history │ │ ├── history.css │ │ └── historyFrame.html │ └── index.template.html ├── uploadxml.php ├── exportXml.php ├── localXml.php ├── actionScripts │ ├── print.as │ ├── clear.as │ ├── zoom.as │ ├── views.as │ ├── URL.as │ ├── setVisualization.as │ ├── setTrees.as │ ├── setObjects.as │ ├── objectDragDrop.as │ ├── results.as │ ├── TreesClick.as │ ├── undoRedoSave.as │ └── MouseDown.as ├── RemoteSystemsTempFiles │ └── .project ├── viewObjects.as ├── history │ ├── history.css │ └── historyFrame.html ├── ChangedTemp.as ├── ChangeLog ├── css │ ├── estilo_shell.css │ └── estilo.css ├── UserPrefs.as ├── LICENSE ├── Preview.mxml ├── action_alert │ ├── HAlert.as │ └── HMensagens.as ├── downloadScr.mxml ├── deletemessage.mxml ├── popUpForDeleteObject.mxml ├── popUpForNew.mxml ├── index.html ├── exportScript.php ├── about.mxml ├── objParameter.as ├── objects_popup.mxml ├── README.md ├── menu.mxml ├── AC_OETags.js └── Line.mxml ├── bin-debug ├── inputXml.out.xml ├── vnd.swf ├── main.swf ├── objects.swf ├── assets │ ├── 1new.png │ ├── Car.png │ ├── Redo.png │ ├── Undo.png │ ├── car.png │ ├── logo.png │ ├── new.png │ ├── utp.png │ ├── www.png │ ├── 1Print.png │ ├── 1Redo.png │ ├── 1Undo.png │ ├── Print.png │ ├── Switch.png │ ├── Undo2.PNG │ ├── ZoomIn.png │ ├── delete.png │ ├── domain.png │ ├── fiber.png │ ├── pencil.png │ ├── 1ZoomIn.png │ ├── 1ZoomOut.png │ ├── 1open_48.png │ ├── 1save_48.png │ ├── Computer.png │ ├── Station.png │ ├── ZoomOut.png │ ├── ethernet.png │ ├── user-boss.png │ ├── wireless.png │ ├── Controller.png │ ├── Smartphone.png │ ├── accesspoint.png │ ├── basestation.png │ ├── Access Point.png │ ├── enhancednodeb.png │ ├── gigabitEthernet.png │ └── uploadxml.php ├── drawCircle.swf ├── img │ ├── success.png │ ├── success1.png │ ├── alert_48x48.png │ ├── alert_error.gif │ ├── alert_error.png │ ├── alert_info.gif │ ├── alert_info.png │ ├── error_48x48.png │ ├── info_48x48.png │ ├── tick_48x48.png │ ├── alert_confirm.gif │ ├── alert_confirm.png │ └── alert_confirm1.gif ├── mx_4.5.1.21489.swf ├── mx_4.6.0.23201.swf ├── preload │ ├── welcome.gif │ └── welcome.gif.jpg ├── rpc_4.5.1.21328.swf ├── rpc_4.6.0.23201.swf ├── src │ ├── assets │ │ ├── 1Redo.png │ │ ├── 1Undo.png │ │ ├── 1new.png │ │ ├── Print.png │ │ ├── adhoc.png │ │ ├── fiber.png │ │ ├── logo.png │ │ ├── node.png │ │ ├── shell.png │ │ ├── www.png │ │ ├── 1Print.png │ │ ├── 1ZoomIn.png │ │ ├── delete.png │ │ ├── domain.png │ │ ├── pencil.png │ │ ├── router.png │ │ ├── server.png │ │ ├── switch.png │ │ ├── 1ZoomOut.png │ │ ├── 1open_48.png │ │ ├── 1save_48.png │ │ ├── computer.png │ │ ├── controller.png │ │ ├── dscorenode.png │ │ ├── dsedgenode.png │ │ ├── ethernet.png │ │ ├── smartphone.png │ │ ├── user-boss.png │ │ ├── wireless.png │ │ ├── accesspoint.png │ │ ├── adhocstation.png │ │ ├── basestation.png │ │ ├── wifistation.png │ │ ├── enhancednodeb.png │ │ ├── gigabitEthernet.png │ │ ├── userequipment.png │ │ ├── wirelessRouter.png │ │ ├── wirelessrouter.jpg │ │ ├── computer_openflow.png │ │ ├── computeropenflow.png │ │ ├── subscriberstation.png │ │ ├── Simulation_pressed.png │ │ └── Simulation_unpressed.png │ └── preload │ │ └── welcome.gif ├── delete.php ├── framework_4.5.1.21489.swf ├── framework_4.6.0.23201.swf ├── playerProductInstall.swf ├── textLayout_2.0.0.232.swf ├── userObjdelete.php ├── deletedownloadedxml.php ├── scripts │ ├── deletedownloadedxml.php │ ├── localXml.php │ ├── createscript_ns3.php │ ├── createscript_mininet.php │ └── createscript_controller.php ├── qindex.html ├── crossdomain.xml ├── uploadxml.php ├── exportXml.php ├── localXml.php ├── history │ ├── history.css │ └── historyFrame.html ├── createscript_ns3.php ├── createscript_mininet.php ├── css │ ├── estilo_shell.css │ ├── main.css │ └── estilo.css ├── createscript_controller.php ├── output.xml ├── index.html ├── exportScript.php ├── error_log ├── drawCircle.html ├── main.html ├── vnd.html ├── objects.html └── AC_OETags.js ├── logo.png ├── miniedit.png ├── screenshot.png ├── html-template ├── playerProductInstall.swf ├── history │ ├── history.css │ └── historyFrame.html └── index.template.html ├── .flexProperties ├── ChangeLog ├── .gitattributes ├── LICENSE ├── .actionScriptProperties └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/inputXml.out.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/inputXml.out.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/logo.png -------------------------------------------------------------------------------- /miniedit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/miniedit.png -------------------------------------------------------------------------------- /src/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/logo.png -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/screenshot.png -------------------------------------------------------------------------------- /bin-debug/vnd.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/vnd.swf -------------------------------------------------------------------------------- /bin-debug/main.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/main.swf -------------------------------------------------------------------------------- /src/assets/1Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1Redo.png -------------------------------------------------------------------------------- /src/assets/1Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1Undo.png -------------------------------------------------------------------------------- /src/assets/1new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1new.png -------------------------------------------------------------------------------- /src/assets/Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Print.png -------------------------------------------------------------------------------- /src/assets/Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Redo.png -------------------------------------------------------------------------------- /src/assets/Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Undo.png -------------------------------------------------------------------------------- /src/assets/Undo2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Undo2.PNG -------------------------------------------------------------------------------- /src/assets/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/car.png -------------------------------------------------------------------------------- /src/assets/fiber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/fiber.png -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/logo.png -------------------------------------------------------------------------------- /src/assets/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/new.png -------------------------------------------------------------------------------- /src/assets/utp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/utp.png -------------------------------------------------------------------------------- /src/assets/www.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/www.png -------------------------------------------------------------------------------- /src/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/success.png -------------------------------------------------------------------------------- /src/img/success1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/success1.png -------------------------------------------------------------------------------- /bin-debug/objects.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/objects.swf -------------------------------------------------------------------------------- /src/assets/1Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1Print.png -------------------------------------------------------------------------------- /src/assets/1ZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1ZoomIn.png -------------------------------------------------------------------------------- /src/assets/Station.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Station.png -------------------------------------------------------------------------------- /src/assets/Switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Switch.png -------------------------------------------------------------------------------- /src/assets/ZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/ZoomIn.png -------------------------------------------------------------------------------- /src/assets/ZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/ZoomOut.png -------------------------------------------------------------------------------- /src/assets/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/delete.png -------------------------------------------------------------------------------- /src/assets/domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/domain.png -------------------------------------------------------------------------------- /src/assets/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/pencil.png -------------------------------------------------------------------------------- /src/img/alert_info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_info.gif -------------------------------------------------------------------------------- /src/img/alert_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_info.png -------------------------------------------------------------------------------- /bin-debug/assets/1new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1new.png -------------------------------------------------------------------------------- /bin-debug/assets/Car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Car.png -------------------------------------------------------------------------------- /bin-debug/assets/Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Redo.png -------------------------------------------------------------------------------- /bin-debug/assets/Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Undo.png -------------------------------------------------------------------------------- /bin-debug/assets/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/car.png -------------------------------------------------------------------------------- /bin-debug/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/logo.png -------------------------------------------------------------------------------- /bin-debug/assets/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/new.png -------------------------------------------------------------------------------- /bin-debug/assets/utp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/utp.png -------------------------------------------------------------------------------- /bin-debug/assets/www.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/www.png -------------------------------------------------------------------------------- /bin-debug/drawCircle.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/drawCircle.swf -------------------------------------------------------------------------------- /bin-debug/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/success.png -------------------------------------------------------------------------------- /src/assets/1ZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1ZoomOut.png -------------------------------------------------------------------------------- /src/assets/1open_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1open_48.png -------------------------------------------------------------------------------- /src/assets/1save_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/1save_48.png -------------------------------------------------------------------------------- /src/assets/Computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Computer.png -------------------------------------------------------------------------------- /src/assets/Controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Controller.png -------------------------------------------------------------------------------- /src/assets/Smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Smartphone.png -------------------------------------------------------------------------------- /src/assets/user-boss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/user-boss.png -------------------------------------------------------------------------------- /src/assets/wireless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/wireless.png -------------------------------------------------------------------------------- /src/img/alert_confirm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_confirm.gif -------------------------------------------------------------------------------- /src/img/alert_confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_confirm.png -------------------------------------------------------------------------------- /src/img/alert_error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_error.gif -------------------------------------------------------------------------------- /src/img/alert_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_error.png -------------------------------------------------------------------------------- /src/preload/welcome.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/preload/welcome.gif -------------------------------------------------------------------------------- /bin-debug/assets/1Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1Print.png -------------------------------------------------------------------------------- /bin-debug/assets/1Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1Redo.png -------------------------------------------------------------------------------- /bin-debug/assets/1Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1Undo.png -------------------------------------------------------------------------------- /bin-debug/assets/Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Print.png -------------------------------------------------------------------------------- /bin-debug/assets/Switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Switch.png -------------------------------------------------------------------------------- /bin-debug/assets/Undo2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Undo2.PNG -------------------------------------------------------------------------------- /bin-debug/assets/ZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/ZoomIn.png -------------------------------------------------------------------------------- /bin-debug/assets/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/delete.png -------------------------------------------------------------------------------- /bin-debug/assets/domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/domain.png -------------------------------------------------------------------------------- /bin-debug/assets/fiber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/fiber.png -------------------------------------------------------------------------------- /bin-debug/assets/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/pencil.png -------------------------------------------------------------------------------- /bin-debug/img/success1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/success1.png -------------------------------------------------------------------------------- /src/assets/Access Point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/Access Point.png -------------------------------------------------------------------------------- /src/assets/accesspoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/accesspoint.png -------------------------------------------------------------------------------- /src/assets/basestation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/basestation.png -------------------------------------------------------------------------------- /src/delete.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/img/alert_confirm1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/img/alert_confirm1.gif -------------------------------------------------------------------------------- /bin-debug/assets/1ZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1ZoomIn.png -------------------------------------------------------------------------------- /bin-debug/assets/1ZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1ZoomOut.png -------------------------------------------------------------------------------- /bin-debug/assets/1open_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1open_48.png -------------------------------------------------------------------------------- /bin-debug/assets/1save_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/1save_48.png -------------------------------------------------------------------------------- /bin-debug/assets/Computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Computer.png -------------------------------------------------------------------------------- /bin-debug/assets/Station.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Station.png -------------------------------------------------------------------------------- /bin-debug/assets/ZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/ZoomOut.png -------------------------------------------------------------------------------- /bin-debug/assets/ethernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/ethernet.png -------------------------------------------------------------------------------- /bin-debug/assets/user-boss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/user-boss.png -------------------------------------------------------------------------------- /bin-debug/assets/wireless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/wireless.png -------------------------------------------------------------------------------- /bin-debug/img/alert_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_48x48.png -------------------------------------------------------------------------------- /bin-debug/img/alert_error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_error.gif -------------------------------------------------------------------------------- /bin-debug/img/alert_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_error.png -------------------------------------------------------------------------------- /bin-debug/img/alert_info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_info.gif -------------------------------------------------------------------------------- /bin-debug/img/alert_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_info.png -------------------------------------------------------------------------------- /bin-debug/img/error_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/error_48x48.png -------------------------------------------------------------------------------- /bin-debug/img/info_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/info_48x48.png -------------------------------------------------------------------------------- /bin-debug/img/tick_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/tick_48x48.png -------------------------------------------------------------------------------- /bin-debug/mx_4.5.1.21489.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/mx_4.5.1.21489.swf -------------------------------------------------------------------------------- /bin-debug/mx_4.6.0.23201.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/mx_4.6.0.23201.swf -------------------------------------------------------------------------------- /bin-debug/preload/welcome.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/preload/welcome.gif -------------------------------------------------------------------------------- /bin-debug/rpc_4.5.1.21328.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/rpc_4.5.1.21328.swf -------------------------------------------------------------------------------- /bin-debug/rpc_4.6.0.23201.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/rpc_4.6.0.23201.swf -------------------------------------------------------------------------------- /bin-debug/src/assets/1Redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1Redo.png -------------------------------------------------------------------------------- /bin-debug/src/assets/1Undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1Undo.png -------------------------------------------------------------------------------- /bin-debug/src/assets/1new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1new.png -------------------------------------------------------------------------------- /bin-debug/src/assets/Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/Print.png -------------------------------------------------------------------------------- /bin-debug/src/assets/adhoc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/adhoc.png -------------------------------------------------------------------------------- /bin-debug/src/assets/fiber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/fiber.png -------------------------------------------------------------------------------- /bin-debug/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/logo.png -------------------------------------------------------------------------------- /bin-debug/src/assets/node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/node.png -------------------------------------------------------------------------------- /bin-debug/src/assets/shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/shell.png -------------------------------------------------------------------------------- /bin-debug/src/assets/www.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/www.png -------------------------------------------------------------------------------- /src/assets/enhancednodeb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/enhancednodeb.png -------------------------------------------------------------------------------- /src/assets/gigabitEthernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/assets/gigabitEthernet.png -------------------------------------------------------------------------------- /src/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/playerProductInstall.swf -------------------------------------------------------------------------------- /bin-debug/assets/Controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Controller.png -------------------------------------------------------------------------------- /bin-debug/assets/Smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Smartphone.png -------------------------------------------------------------------------------- /bin-debug/assets/accesspoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/accesspoint.png -------------------------------------------------------------------------------- /bin-debug/assets/basestation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/basestation.png -------------------------------------------------------------------------------- /bin-debug/delete.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/img/alert_confirm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_confirm.gif -------------------------------------------------------------------------------- /bin-debug/img/alert_confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_confirm.png -------------------------------------------------------------------------------- /bin-debug/img/alert_confirm1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/img/alert_confirm1.gif -------------------------------------------------------------------------------- /bin-debug/src/assets/1Print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1Print.png -------------------------------------------------------------------------------- /bin-debug/src/assets/1ZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1ZoomIn.png -------------------------------------------------------------------------------- /bin-debug/src/assets/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/delete.png -------------------------------------------------------------------------------- /bin-debug/src/assets/domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/domain.png -------------------------------------------------------------------------------- /bin-debug/src/assets/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/pencil.png -------------------------------------------------------------------------------- /bin-debug/src/assets/router.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/router.png -------------------------------------------------------------------------------- /bin-debug/src/assets/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/server.png -------------------------------------------------------------------------------- /bin-debug/src/assets/switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/switch.png -------------------------------------------------------------------------------- /src/userObjdelete.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/assets/Access Point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/Access Point.png -------------------------------------------------------------------------------- /bin-debug/assets/enhancednodeb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/enhancednodeb.png -------------------------------------------------------------------------------- /bin-debug/framework_4.5.1.21489.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/framework_4.5.1.21489.swf -------------------------------------------------------------------------------- /bin-debug/framework_4.6.0.23201.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/framework_4.6.0.23201.swf -------------------------------------------------------------------------------- /bin-debug/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/playerProductInstall.swf -------------------------------------------------------------------------------- /bin-debug/preload/welcome.gif.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/preload/welcome.gif.jpg -------------------------------------------------------------------------------- /bin-debug/src/assets/1ZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1ZoomOut.png -------------------------------------------------------------------------------- /bin-debug/src/assets/1open_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1open_48.png -------------------------------------------------------------------------------- /bin-debug/src/assets/1save_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/1save_48.png -------------------------------------------------------------------------------- /bin-debug/src/assets/computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/computer.png -------------------------------------------------------------------------------- /bin-debug/src/assets/controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/controller.png -------------------------------------------------------------------------------- /bin-debug/src/assets/dscorenode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/dscorenode.png -------------------------------------------------------------------------------- /bin-debug/src/assets/dsedgenode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/dsedgenode.png -------------------------------------------------------------------------------- /bin-debug/src/assets/ethernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/ethernet.png -------------------------------------------------------------------------------- /bin-debug/src/assets/smartphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/smartphone.png -------------------------------------------------------------------------------- /bin-debug/src/assets/user-boss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/user-boss.png -------------------------------------------------------------------------------- /bin-debug/src/assets/wireless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/wireless.png -------------------------------------------------------------------------------- /bin-debug/src/preload/welcome.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/preload/welcome.gif -------------------------------------------------------------------------------- /bin-debug/textLayout_2.0.0.232.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/textLayout_2.0.0.232.swf -------------------------------------------------------------------------------- /bin-debug/userObjdelete.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/deletedownloadedxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/assets/gigabitEthernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/assets/gigabitEthernet.png -------------------------------------------------------------------------------- /bin-debug/deletedownloadedxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/src/assets/accesspoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/accesspoint.png -------------------------------------------------------------------------------- /bin-debug/src/assets/adhocstation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/adhocstation.png -------------------------------------------------------------------------------- /bin-debug/src/assets/basestation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/basestation.png -------------------------------------------------------------------------------- /bin-debug/src/assets/wifistation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/wifistation.png -------------------------------------------------------------------------------- /bin-debug/src/assets/enhancednodeb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/enhancednodeb.png -------------------------------------------------------------------------------- /bin-debug/src/assets/gigabitEthernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/gigabitEthernet.png -------------------------------------------------------------------------------- /bin-debug/src/assets/userequipment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/userequipment.png -------------------------------------------------------------------------------- /bin-debug/src/assets/wirelessRouter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/wirelessRouter.png -------------------------------------------------------------------------------- /bin-debug/src/assets/wirelessrouter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/wirelessrouter.jpg -------------------------------------------------------------------------------- /html-template/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/html-template/playerProductInstall.swf -------------------------------------------------------------------------------- /bin-debug/scripts/deletedownloadedxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/src/assets/computer_openflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/computer_openflow.png -------------------------------------------------------------------------------- /bin-debug/src/assets/computeropenflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/computeropenflow.png -------------------------------------------------------------------------------- /bin-debug/src/assets/subscriberstation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/subscriberstation.png -------------------------------------------------------------------------------- /src/html-template/playerProductInstall.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/src/html-template/playerProductInstall.swf -------------------------------------------------------------------------------- /bin-debug/src/assets/Simulation_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/Simulation_pressed.png -------------------------------------------------------------------------------- /bin-debug/src/assets/Simulation_unpressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ramonfontes/vnd/master/bin-debug/src/assets/Simulation_unpressed.png -------------------------------------------------------------------------------- /bin-debug/qindex.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.flexProperties: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/uploadxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /bin-debug/uploadxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/uploadxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/assets/uploadxml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exportXml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/exportXml.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/localXml.php: -------------------------------------------------------------------------------- 1 | ".$myFile.""); 11 | ?> 12 | -------------------------------------------------------------------------------- /bin-debug/localXml.php: -------------------------------------------------------------------------------- 1 | ".$myFile.""); 11 | ?> 12 | -------------------------------------------------------------------------------- /src/actionScripts/print.as: -------------------------------------------------------------------------------- 1 | import mx.printing.*; 2 | 3 | public function doPrint():void{ 4 | var printJob:FlexPrintJob = new FlexPrintJob(); 5 | if (printJob.start() != true) return; 6 | printJob.addObject(dropCanvas,FlexPrintJobScaleType.NONE); 7 | printJob.send(); 8 | } 9 | -------------------------------------------------------------------------------- /bin-debug/scripts/localXml.php: -------------------------------------------------------------------------------- 1 | ".$myFile.""); 11 | ?> 12 | -------------------------------------------------------------------------------- /src/RemoteSystemsTempFiles/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RemoteSystemsTempFiles 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.rse.ui.remoteSystemsTempNature 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/viewObjects.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import mx.collections.ArrayCollection; 4 | 5 | public class viewObjects{ 6 | public var objects:ArrayCollection=new ArrayCollection(); 7 | public var id:String; 8 | public var name:String; 9 | public var nid:int; 10 | public var type:String; 11 | public function viewObjects() 12 | { 13 | } 14 | 15 | } 16 | } -------------------------------------------------------------------------------- /src/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /bin-debug/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /html-template/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /src/html-template/history/history.css: -------------------------------------------------------------------------------- 1 | /* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ 2 | 3 | #ie_historyFrame { width: 0px; height: 0px; display:none } 4 | #firefox_anchorDiv { width: 0px; height: 0px; display:none } 5 | #safari_formDiv { width: 0px; height: 0px; display:none } 6 | #safari_rememberDiv { width: 0px; height: 0px; display:none } 7 | -------------------------------------------------------------------------------- /src/ChangedTemp.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | public class ChangedTemp 4 | { 5 | public var id:String; 6 | public var name:String; 7 | public var nid:int 8 | public var type:String; 9 | public var haschanged:Boolean; 10 | public var IsCombo:Boolean; 11 | public var combeValue:String; 12 | public var arrayControllerOpenflow:Array=new Array(); 13 | public function ChangedTemp() 14 | { 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | 01/26/2015 - Files Uploaded 2 | --------------------------- 3 | 02/08/2015 - Main Project File has changed to main.mxml 4 | - Added OpenFlow Version on both nodes 'OpenFlow Switch' and 'Wireless Router' (Just for Mininet) 5 | - Fixed an error at Switch field on 'OpenFlow Switch' node 6 | --------------------------- 7 | 02/09/2015 - Added MultiController functionality (Just for Mininet, but It can be explored by the controllers) 8 | -------------------------------------------------------------------------------- /src/ChangeLog: -------------------------------------------------------------------------------- 1 | 01/26/2015 - Files Uploaded 2 | --------------------------- 3 | 02/08/2015 - Main Project File has changed to main.mxml 4 | - Added OpenFlow Version on both nodes 'OpenFlow Switch' and 'Wireless Router' (Just for Mininet) 5 | - Fixed an error at Switch field on 'OpenFlow Switch' node 6 | --------------------------- 7 | 02/09/2015 - Added MultiController functionality (Just for Mininet, but It can be explored by the controllers) 8 | -------------------------------------------------------------------------------- /bin-debug/createscript_ns3.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/createscript_mininet.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/scripts/createscript_ns3.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin-debug/scripts/createscript_mininet.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/css/estilo_shell.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) The PyAMF Project. 2 | * See LICENSE.txt for details. */ 3 | 4 | @namespace s "library://ns.adobe.com/flex/spark"; 5 | @namespace mx "library://ns.adobe.com/flex/mx"; 6 | 7 | s|Application 8 | { 9 | backgroundColor: white; 10 | color: black; 11 | } 12 | 13 | 14 | /*s|Tet-size: 13; 15 | text-indent: 5; 16 | padding-top: 5; 17 | color: black; 18 | }*/ 19 | 20 | .title { 21 | font-weight: bold; 22 | font-size: 18; 23 | color: black; 24 | } 25 | -------------------------------------------------------------------------------- /bin-debug/css/estilo_shell.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) The PyAMF Project. 2 | * See LICENSE.txt for details. */ 3 | 4 | @namespace s "library://ns.adobe.com/flex/spark"; 5 | @namespace mx "library://ns.adobe.com/flex/mx"; 6 | 7 | s|Application 8 | { 9 | backgroundColor: white; 10 | color: black; 11 | } 12 | 13 | 14 | /*s|Tet-size: 13; 15 | text-indent: 5; 16 | padding-top: 5; 17 | color: black; 18 | }*/ 19 | 20 | .title { 21 | font-weight: bold; 22 | font-size: 18; 23 | color: black; 24 | } 25 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /bin-debug/css/main.css: -------------------------------------------------------------------------------- 1 | /* Copyright (c) The PyAMF Project. 2 | * See LICENSE.txt for details. */ 3 | 4 | @namespace s "library://ns.adobe.com/flex/spark"; 5 | @namespace mx "library://ns.adobe.com/flex/mx"; 6 | 7 | s|Application 8 | { 9 | backgroundColor: white; 10 | color: black; 11 | } 12 | 13 | 14 | s|TextArea 15 | { 16 | content-background-color: white; 17 | font-size: 13; 18 | text-indent: 5; 19 | padding-top: 5; 20 | color: black; 21 | } 22 | 23 | .title { 24 | font-weight: bold; 25 | font-size: 18; 26 | color: black; 27 | } 28 | -------------------------------------------------------------------------------- /src/css/estilo.css: -------------------------------------------------------------------------------- 1 | /*Alert{ 2 | color : #08487A; 3 | title-style-name : "alertTitle"; 4 | header-height:19; 5 | border-thickness: 1; 6 | drop-shadow-enabled: true; 7 | drop-shadow-color :#d1ddf7; 8 | background-color: #ffffff; 9 | corner-radius :6; 10 | border-style :solid; 11 | header-colors : #08487A, #08487A; 12 | footer-colors : #9db6d9, #ffffff; 13 | border-color : #08487A; 14 | }*/ 15 | 16 | global{ 17 | font-family:'Arial'; 18 | fontType:bold; 19 | } 20 | 21 | .alertTitle{ 22 | font-family :Verdana; 23 | font-size :10; 24 | font-weight :bold; 25 | text-align :left; 26 | /*color :#ffffff;*/ 27 | color :#ffffff; 28 | } 29 | -------------------------------------------------------------------------------- /bin-debug/css/estilo.css: -------------------------------------------------------------------------------- 1 | /*Alert{ 2 | color : #08487A; 3 | title-style-name : "alertTitle"; 4 | header-height:19; 5 | border-thickness: 1; 6 | drop-shadow-enabled: true; 7 | drop-shadow-color :#d1ddf7; 8 | background-color: #ffffff; 9 | corner-radius :6; 10 | border-style :solid; 11 | header-colors : #08487A, #08487A; 12 | footer-colors : #9db6d9, #ffffff; 13 | border-color : #08487A; 14 | }*/ 15 | 16 | global{ 17 | font-family:'Arial'; 18 | fontType:bold; 19 | } 20 | 21 | .alertTitle{ 22 | font-family :Verdana; 23 | font-size :10; 24 | font-weight :bold; 25 | text-align :left; 26 | /*color :#ffffff;*/ 27 | color :#ffffff; 28 | } 29 | -------------------------------------------------------------------------------- /src/UserPrefs.as: -------------------------------------------------------------------------------- 1 | package{ 2 | import mx.collections.ArrayCollection; 3 | 4 | [RemoteClass] 5 | public class UserPrefs { 6 | 7 | public var xx:int; 8 | public var yy:int; 9 | public var lineLength:int; 10 | public var lineHeight:int; 11 | public var name:String; 12 | public var type:String; 13 | public var isLine:Boolean; 14 | public var savingUIobject:Object; 15 | public var linesStartingArray:Array; 16 | public var linesEndingArray:Array; 17 | public var objLine:String; 18 | 19 | public function UserPrefs() { 20 | this.linesEndingArray=new Array(); 21 | this.linesStartingArray=new Array(); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2015 Ramon dos R. Fontes 2 | Copyright 2015 Paulo N. M. Sampaio 3 | 4 | Licensed under the Apache License, Version 2.0 (the “License”); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an “AS IS” BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | -------------------------------------------------------------------------------- /src/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2015 Ramon dos R. Fontes 2 | Copyright 2015 Paulo N. M. Sampaio 3 | 4 | Licensed under the Apache License, Version 2.0 (the “License”); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an “AS IS” BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | -------------------------------------------------------------------------------- /src/actionScripts/clear.as: -------------------------------------------------------------------------------- 1 | public function clear():void{ 2 | dropCanvas.removeAllChildren(); 3 | undoRedoDescriptor=-1; 4 | undostepsArray.removeAll(); 5 | undostepsArray.refresh(); 6 | firsTime=true; 7 | temaplateArrcol.removeAll(); 8 | viewsarray.removeAll(); 9 | setNetworkTree(); 10 | setViewTree(); 11 | focusobject=null; 12 | numberOfNodes=0; 13 | ViewNumber=0; 14 | 15 | 16 | countNumber3=1; 17 | countNumber1=1; 18 | arrayContIfacesCheck=[]; 19 | contSwitch=670; 20 | getValueListenPort=[]; 21 | getValueRouterSSID=[] 22 | getValueStationSSID=[] 23 | getValueSignalRange=[] 24 | getValueIPAddress=[]; 25 | getValueMacAddress=[]; 26 | getValueSwitchMacAddress=[]; 27 | source=""; 28 | isInport=false; 29 | } 30 | -------------------------------------------------------------------------------- /src/actionScripts/zoom.as: -------------------------------------------------------------------------------- 1 | import mx.core.Container; 2 | import mx.core.UIComponent; 3 | import mx.controls.Alert; 4 | public var zoominvalue:Number=1.7; 5 | 6 | public function doZoom(component:UIComponent,val:Number):void{ 7 | component.scaleX = val; 8 | component.scaleY = val; 9 | myMove2(); 10 | } 11 | 12 | public function applyZoom(int:Number):void{ 13 | doZoom(dropCanvas,int); 14 | } 15 | 16 | public function loadZoom():void{ 17 | doZoom(dropCanvas,1.7); 18 | } 19 | 20 | public function dozooom():Number{ 21 | if(zoominvalue >= 2.5) 22 | { 23 | zoominvalue=2.5; 24 | } 25 | else 26 | zoominvalue=zoominvalue+0.05; 27 | return zoominvalue; 28 | } 29 | 30 | public function dozooomOut():Number{ 31 | if(zoominvalue <= 1.0){ 32 | zoominvalue=1.0; 33 | } 34 | else zoominvalue=zoominvalue-0.05; 35 | return zoominvalue; 36 | } -------------------------------------------------------------------------------- /src/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /bin-debug/createscript_controller.php: -------------------------------------------------------------------------------- 1 | 36 | -------------------------------------------------------------------------------- /bin-debug/scripts/createscript_controller.php: -------------------------------------------------------------------------------- 1 | 36 | -------------------------------------------------------------------------------- /bin-debug/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /html-template/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/html-template/history/historyFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 27 | Hidden frame for Browser History support. 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/Preview.mxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/actionScripts/views.as: -------------------------------------------------------------------------------- 1 | import mx.collections.ArrayCollection; 2 | 3 | public function removefocusforView():void{ 4 | for(var i:int=0;i 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/downloadScr.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/actionScripts/URL.as: -------------------------------------------------------------------------------- 1 | 2 | import flash.net.URLRequest; 3 | import flash.net.navigateToURL; 4 | 5 | public function videosget():void 6 | { 7 | var url:String = "http://www.youtube.com/playlist?list=PLccoFREVAt_4nEtrkl59mjjf5ZzRX8DZA"; 8 | var request:URLRequest; 9 | request = new URLRequest(url); 10 | try { 11 | navigateToURL(request, '_blank'); 12 | } catch (e:Error) { 13 | trace("Error occurred!"); 14 | } 15 | } 16 | 17 | public function code():void 18 | { 19 | var url:String = "https://github.com/ramonfontes/vnd-sdn-version"; 20 | var request:URLRequest; 21 | request = new URLRequest(url); 22 | try { 23 | navigateToURL(request, '_blank'); 24 | } catch (e:Error) { 25 | trace("Error occurred!"); 26 | } 27 | } 28 | 29 | public function publications():void 30 | { 31 | var url:String = "http://www.ramonfontes.com/publications/"; 32 | var request:URLRequest; 33 | request = new URLRequest(url); 34 | try { 35 | navigateToURL(request, '_blank'); 36 | } catch (e:Error) { 37 | trace("Error occurred!"); 38 | } 39 | } 40 | 41 | public function docker():void 42 | { 43 | var url:String = "https://registry.hub.docker.com/u/ramonfontes/vnd/"; 44 | var request:URLRequest; 45 | request = new URLRequest(url); 46 | try { 47 | navigateToURL(request, '_blank'); 48 | } catch (e:Error) { 49 | trace("Error occurred!"); 50 | } 51 | } 52 | 53 | 54 | public function opennew():void 55 | { 56 | var url:String = "https://github.com/intrig-unicamp/mininet-wifi"; 57 | var request:URLRequest; 58 | request = new URLRequest(url); 59 | try { 60 | navigateToURL(request, '_blank'); 61 | } catch (e:Error) { 62 | trace("Error occurred!"); 63 | } 64 | } -------------------------------------------------------------------------------- /src/actionScripts/setVisualization.as: -------------------------------------------------------------------------------- 1 | public function setVisualizationsForExport(simXml:XML):XML{ 2 | var visualization:XML=XML(); 3 | var description:XMLList=XMLList(""); 4 | for(var i:int=0;i"); 7 | var x:XMLList=XMLList(""+dropCanvas.getChildAt(i).x+""); 8 | object.appendChild(x); 9 | var y:XMLList=XMLList(""+dropCanvas.getChildAt(i).y+""); 10 | object.appendChild(y); 11 | var z:XMLList=XMLList("0"); 12 | object.appendChild(z); 13 | var color:XMLList=XMLList(""); 14 | object.appendChild(color); 15 | description.appendChild(object); 16 | } 17 | } 18 | visualization.appendChild(description); 19 | simXml.appendChild(visualization); 20 | return simXml; 21 | } 22 | 23 | 24 | public function setVisualizatrionTree():void{ 25 | visualizationXml=; 26 | var visualization:XML=XML(); 27 | var description:XMLList=XMLList(""); 28 | for(var i:int=0;i"); 31 | description.appendChild(object); 32 | } 33 | } 34 | visualization.appendChild(description); 35 | visualizationXml.appendChild(visualization); 36 | scenariosXml.replace("visualization",visualizationXml); 37 | } 38 | -------------------------------------------------------------------------------- /src/deletemessage.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /bin-debug/output.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 10.0.0.1 19 | 255.0.0.0 20 | 00:00:00:00:00:01 21 | 22 | 23 | 24 | 00:00:00:00:00:02 25 | 26 | 27 | 28 | 00:00:00:00:00:03 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 115 40 | 72 41 | 0 42 | 43 | 44 | 45 | 231 46 | 261 47 | 0 48 | 49 | 50 | 51 | 7 52 | 392 53 | 0 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/preload/WelcomeScreen.as: -------------------------------------------------------------------------------- 1 | package preload 2 | { 3 | import flash.display.Loader; 4 | import flash.utils.ByteArray; 5 | import flash.events.MouseEvent; 6 | import flash.events.TimerEvent; 7 | import flash.utils.Timer; 8 | 9 | public class WelcomeScreen extends Loader 10 | { 11 | 12 | [ Embed(source="welcome.gif", mimeType="application/octet-stream") ] 13 | public var WelcomeScreenGraphic:Class; 14 | public var timer:Timer; 15 | private var fadeInRate:Number = .01; 16 | private var fadeOutRate:Number = .02; 17 | private var timeAutoClose:int = 500; 18 | public var ready:Boolean = false; 19 | 20 | public function WelcomeScreen() 21 | { 22 | this.visible = false; 23 | this.alpha = 0; 24 | timer = new Timer( 1 ); 25 | timer.addEventListener( TimerEvent.TIMER, updateView ); 26 | timer.start(); 27 | 28 | this.loadBytes( new WelcomeScreenGraphic() as ByteArray ); 29 | this.addEventListener( MouseEvent.MOUSE_DOWN, mouseDown ); 30 | } 31 | 32 | public function updateView( event:TimerEvent ):void 33 | { 34 | if( this.alpha < 1) this.alpha = this.alpha + this.fadeInRate; 35 | this.stage.addChild(this) 36 | this.x = this.stage.stageWidth/2 - this.width/2 37 | this.y = this.stage.stageHeight/2 - this.height/2 38 | this.visible=true; 39 | if( this.ready && timer.currentCount > this.timeAutoClose ) closeScreen() 40 | } 41 | 42 | public function closeScreen():void 43 | { 44 | timer.removeEventListener( TimerEvent.TIMER, updateView ); 45 | timer.removeEventListener( MouseEvent.MOUSE_DOWN, mouseDown); 46 | timer.addEventListener( TimerEvent.TIMER, closeScreenFade ); 47 | } 48 | 49 | public function closeScreenFade( event:TimerEvent ):void 50 | { 51 | if( this.alpha > 0){ 52 | this.alpha = this.alpha - fadeOutRate; 53 | } else { 54 | timer.stop() 55 | this.parent.removeChild(this); 56 | } 57 | } 58 | 59 | public function mouseDown( event:MouseEvent ):void 60 | { 61 | closeScreen(); 62 | } 63 | 64 | } 65 | } -------------------------------------------------------------------------------- /src/popUpForDeleteObject.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/popUpForNew.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/actionScripts/setTrees.as: -------------------------------------------------------------------------------- 1 | import mx.controls.Alert; 2 | import mx.collections.ArrayCollection; 3 | 4 | public function setNetworkTree():void { 5 | userobjectsXml=; 6 | var arr:Array=dropCanvas.getChildren(); 7 | for(var count:int=0;count"); 10 | var ins:Array=arr[count].instancArray.toArray(); 11 | addChilds(ins, compo, arr[count].name); 12 | userobjectsXml.appendChild(compo); 13 | } 14 | if(arr[count].className=='Link'){ 15 | var compo2:XMLList=XMLList(""); 16 | userobjectsXml.appendChild(compo2); 17 | } 18 | } 19 | networkXml.replace("objects",userobjectsXml); 20 | setVisualizatrionTree(); 21 | networkTree.expandChildrenOf("objects",true); 22 | validateNow(); 23 | } 24 | 25 | public function addChilds(intanceArray:Array, ParentXML:XMLList, ParentName:String):void{ 26 | for(var i:int=0;i"); 28 | if(intanceArray[i].instancArray){ 29 | var childIns:Array = intanceArray[i].instancArray.toArray(); 30 | addChilds(childIns, instance, ParentName); 31 | } 32 | ParentXML.appendChild(instance); 33 | } 34 | } 35 | 36 | public function setViewTree():void { 37 | viewsXml=; 38 | var arr:ArrayCollection=viewsarray; 39 | for(var count:int=0;count"); 42 | for(var i:int=0;i"); 45 | temp.appendChild(tempA); 46 | } 47 | viewsXml.appendChild(temp); 48 | } 49 | networkXml.replace("views",viewsXml); 50 | } -------------------------------------------------------------------------------- /src/preload/CustomPreloader.as: -------------------------------------------------------------------------------- 1 | package preload { 2 | import flash.display.Sprite; 3 | import flash.text.*; 4 | import flash.events.Event; 5 | import flash.events.ProgressEvent; 6 | import flash.utils.Timer; 7 | import flash.events.TimerEvent; 8 | import mx.events.*; 9 | import mx.preloaders.Preloader; 10 | import mx.preloaders.DownloadProgressBar; 11 | import preload.WelcomeScreen; 12 | 13 | public class CustomPreloader extends DownloadProgressBar { 14 | private var progressText:TextField; 15 | private var msgText:TextField; 16 | 17 | public function CustomPreloader() { 18 | super(); 19 | downloadingLabel = "Loading..."; 20 | initializingLabel="Initializing app..."; 21 | //this.MINIMUM_DISPLAY_TIME=2000; 22 | this.showPercentage=true; 23 | //this.showDisplayForInit(10,100); 24 | } 25 | 26 | } 27 | 28 | 29 | /*public class CustomPreloader extends DownloadProgressBar { 30 | 31 | public var wcs:WelcomeScreen; 32 | 33 | public function CustomPreloader() 34 | { 35 | super(); 36 | wcs = new WelcomeScreen(); 37 | this.addChild(wcs) 38 | } 39 | 40 | override public function set preloader( preloader:Sprite ):void 41 | { 42 | preloader.addEventListener( ProgressEvent.PROGRESS , SWFDownloadProgress ); 43 | preloader.addEventListener( Event.COMPLETE , SWFDownloadComplete ); 44 | preloader.addEventListener( FlexEvent.INIT_PROGRESS , FlexInitProgress ); 45 | preloader.addEventListener( FlexEvent.INIT_COMPLETE , FlexInitComplete ); 46 | } 47 | 48 | private function SWFDownloadProgress( event:ProgressEvent ):void {} 49 | 50 | private function SWFDownloadComplete( event:Event ):void {} 51 | 52 | private function FlexInitProgress( event:Event ):void {} 53 | 54 | private function FlexInitComplete( event:Event ):void 55 | { 56 | wcs.ready = true; 57 | dispatchEvent( new Event( Event.COMPLETE ) ); 58 | } 59 | 60 | }*/ 61 | 62 | } -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 34 | 47 | 48 | 49 | 50 | 53 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /bin-debug/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 34 | 47 | 48 | 49 | 50 | 53 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /src/actionScripts/setObjects.as: -------------------------------------------------------------------------------- 1 | import flash.display.DisplayObject; 2 | import flash.events.Event; 3 | import mx.collections.ArrayCollection; 4 | import mx.managers.PopUpManager; 5 | import mx.controls.Alert; 6 | public var aa:int=0; 7 | public var objpar1:objParameter = new objParameter(); 8 | 9 | public function setobject(eve:Event):void { 10 | 11 | if(aa==0){ 12 | PopUpManager.addPopUp(popup_ob, this, false); 13 | PopUpManager.removePopUp(popup_ob); 14 | } 15 | 16 | if(eve.target.id=="Computer"||eve.target.id=="Switch"||eve.target.id=="Car" 17 | ||eve.target.id=="Access Point"||eve.target.id=="Station" 18 | ||eve.target.id=="fiber"||eve.target.id=="utp" 19 | ||eve.target.id=="wireless"||eve.target.id=="Smartphone"){ 20 | } 21 | 22 | aa++; 23 | if(ViewBool){ 24 | if(focusobject!=null && viewfirstTime){ 25 | if (eve.target.id!="Station" && eve.target.id!="Access Point" && eve.target.id!="Car"){ 26 | viewsObjects.addItem(focusobject); 27 | } 28 | viewfirstTime=false; 29 | } 30 | var bool:Boolean=false; 31 | 32 | for(var i:int=0;i -------------------------------------------------------------------------------- /bin-debug/exportScript.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/actionScripts/objectDragDrop.as: -------------------------------------------------------------------------------- 1 | import mx.controls.Alert; 2 | import mx.managers.DragManager; 3 | import mx.collections.ArrayCollection; 4 | import mx.utils.UIDUtil; 5 | import mx.events.DragEvent; 6 | import flash.display.DisplayObject; 7 | 8 | private function dragEnterHandler(event:DragEvent):void { 9 | DragManager.acceptDragDrop(Canvas(event.currentTarget)); 10 | } 11 | 12 | private function dragOverHandler(event:DragEvent):void{ 13 | DragManager.showFeedback(DragManager.COPY); 14 | } 15 | 16 | private function dragDropHandler(event:DragEvent):void { 17 | saveCurrentState(event); 18 | var ob1:Object=new Object(); 19 | if (type==true) { 20 | for(var j:int=0;j; 13 | 14 | linksArrayCollection=re.result.nsdlObjects.links.link; 15 | var xmlList:XML = XML(""); 16 | 17 | for(var x:int=0;x"); 21 | xmlList.appendChild(xmlList2); 22 | } 23 | objectsXml.appendChild(xmlList); 24 | 25 | objectsArrayCollection=re.result.nsdlObjects.objects.category; 26 | var s:String; 27 | var xmlList2:XMLList; 28 | 29 | for(var j:int=0;j"); 32 | var tempArr:ArrayCollection=objectsArrayCollection[j].object 33 | 34 | for(var y:int=0;y"); 36 | xmlList.appendChild(xmlList2); 37 | } 38 | objectsXml.appendChild(xmlList); 39 | } 40 | allnames = names; 41 | } 42 | 43 | public function userObjresult(re:ResultEvent):void{ 44 | objectsArrayCollection=new ArrayCollection(); 45 | linksArrayCollection=new ArrayCollection(); 46 | linksNames=new Array(); 47 | names=new Array(); 48 | clear(); 49 | objectsXml=; 50 | 51 | objectsArrayCollection=re.result.nsdlObjects.objects.category; 52 | 53 | for(var j:int=0;j"); 56 | var tempArr:ArrayCollection=objectsArrayCollection[j].object 57 | 58 | for(var y:int=0;y"); 60 | xmlList.appendChild(xmlList2); 61 | } 62 | objectsXml.appendChild(xmlList); 63 | } 64 | 65 | linksArrayCollection=re.result.nsdlObjects.links.link; 66 | var xmlList:XML = XML(""); 67 | 68 | for(var x:int=0;x"); 72 | xmlList.appendChild(xmlList2); 73 | } 74 | 75 | objectsXml.appendChild(xmlList); 76 | progressBar.visible=false; 77 | progressBar.includeInLayout=false; 78 | userObjuploadeFileDlete(); 79 | allnames = names; 80 | } -------------------------------------------------------------------------------- /src/about.mxml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | Visual Network Descriptor - (SDWN version) is a web-based graphical\n" + 28 | "user interface for the authoring of generic and SDWN Network Scenarios.\n" + 29 | "VND allows to generate scripts for Mininet and Openflow Controllers.\n" + 30 | "You can also import and export NSDL files.

"; 31 | } 32 | 33 | private function myLabel_initialize1():void { 34 | myLabel1.htmlText = "ramonfontes.com"; 35 | } 36 | 37 | private function myLabel_initialize2():void { 38 | myLabel2.htmlText = "

VND is still in development. We apologize if some features do not work.

"; 39 | } 40 | 41 | private function myLabel_initialize3():void { 42 | myLabel3.htmlText = "

Send suggestions to ramonreisfontes@gmail.com

"; 43 | } 44 | 45 | ]]> 46 |
47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 |
66 | -------------------------------------------------------------------------------- /bin-debug/error_log: -------------------------------------------------------------------------------- 1 | [15-Nov-2014 07:15:56] PHP Warning: unlink(1846279703.xml) [function.unlink]: No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 2 | [20-Nov-2014 08:04:09] PHP Warning: unlink() [function.unlink]: Unable to access in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 3 | [28-Nov-2014 13:18:55] PHP Warning: unlink() [function.unlink]: Unable to access in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 4 | [04-Dec-2014 10:04:30] PHP Warning: unlink() [function.unlink]: Unable to access in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 5 | [12-Dec-2014 10:17:44] PHP Warning: unlink(1654491023.xml) [function.unlink]: No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 6 | [22-Dec-2014 19:53:03] PHP Warning: unlink() [function.unlink]: Unable to access in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 7 | [12-Jan-2015 06:25:56] PHP Warning: unlink(856695096.xml) [function.unlink]: No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 8 | [26-Jan-2015 11:58:16] PHP Warning: unlink() [function.unlink]: Unable to access in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 9 | [05-Feb-2015 15:04:55 America/New_York] PHP Warning: unlink(1375022809.xml): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 10 | [06-Feb-2015 05:25:51 America/New_York] PHP Warning: unlink(1796436861.xml): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 11 | [14-Feb-2015 17:07:22 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 12 | [25-Mar-2015 09:48:54 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 13 | [02-Apr-2015 06:50:42 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 14 | [14-Apr-2015 12:34:09 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 15 | [12-May-2015 14:53:36 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/delete.php on line 7 16 | [18-Jun-2015 08:41:15 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 17 | [18-Jun-2015 11:48:36 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 18 | [13-Jul-2015 14:01:33 America/New_York] PHP Warning: unlink(): No such file or directory in /home/ramonrf/public_html/vnd/deletedownloadedxml.php on line 7 19 | -------------------------------------------------------------------------------- /src/objParameter.as: -------------------------------------------------------------------------------- 1 | package 2 | { 3 | import mx.collections.ArrayCollection; 4 | import mx.controls.Label; 5 | 6 | public class objParameter { 7 | public var nid:int; 8 | 9 | public var id:String; 10 | public var type:String; 11 | public var name:String; 12 | public var numberofRadios:String; 13 | public var controllerIPAddress:String; 14 | public var controllerPort:String; 15 | public var openflowController:String; 16 | public var arraySwitch:String; 17 | public var listenPortSwitch:String; 18 | public var IPAddress:String; 19 | public var MacAddress:String; 20 | public var MaskAddress:String; 21 | public var openFlowVersion:String; 22 | public var channel:String; 23 | public var mode:String; 24 | public var ssid:String; 25 | public var linkType:String; 26 | public var rate:String; 27 | public var delay:String; 28 | public var loss:String; 29 | public var maxQueue:String; 30 | public var HTB:String; 31 | public var switchType:String; 32 | public var range:String; 33 | 34 | public var isRemote:Boolean; 35 | 36 | public var option:Array=[]; 37 | public var listIPAddress:Array=[]; 38 | public var setIPSource:Array = []; 39 | public var setIPDestination:Array = []; 40 | public var setMACSource:Array = []; 41 | public var setMACDestination:Array = []; 42 | public var setEnqueue:Array = []; 43 | public var setStripVlan:Array = []; 44 | public var setOutput:Array = []; 45 | public var setVLANPriority:Array = []; 46 | public var setDestinationPort:Array = []; 47 | public var setSourcePort:Array = []; 48 | public var destinationPort:Array = []; 49 | public var listMacSwitch:Array = []; 50 | public var sourcePort:Array = []; 51 | public var setVlanID:Array = []; 52 | public var setTOS:Array = []; 53 | public var flowName:Array=[]; 54 | public var slicePort:Array=[]; 55 | public var priority:Array=[]; 56 | public var macSource:Array=[]; 57 | public var macDestination:Array=[]; 58 | public var MacSwitch:Array=[]; 59 | public var ingressPort:Array=[]; 60 | public var outPort:Array=[]; 61 | public var dstPort:Array=[]; 62 | public var srcPort:Array=[]; 63 | public var ethernetType:Array=[]; 64 | public var vlanID:Array = []; 65 | public var vlanPriority:Array = []; 66 | public var ipSource:Array = []; 67 | public var ipDestination:Array = []; 68 | public var networkSource:Array = []; 69 | public var networkDestination:Array = []; 70 | public var ipProtocol:Array = []; 71 | public var tcpUdpSourcePort:Array = []; 72 | public var tcpUdpDestinationPort:Array = []; 73 | public var notes:Array = []; 74 | public var TOS:Array = []; 75 | public var ethType:Array = []; 76 | public var protocol:Array = []; 77 | 78 | //Queue 79 | public var arrayqueueMaxRate:Array=[]; 80 | public var arrayqueueMinRate:Array=[]; 81 | public var arrayqueueInterface:Array=[]; 82 | public var arrayqueueName:Array=[]; 83 | public var arrayqueueIfaceMinRate:String; 84 | public var arrayqueueIfaceMaxRate:String; 85 | 86 | public var mac_Switch:Array=[]; 87 | 88 | 89 | public function objParameter() 90 | { 91 | } 92 | } 93 | } -------------------------------------------------------------------------------- /src/actionScripts/TreesClick.as: -------------------------------------------------------------------------------- 1 | import flash.display.DisplayObject; 2 | import flash.events.Event; 3 | import mx.collections.ArrayCollection; 4 | import mx.controls.Tree; 5 | import mx.events.ListEvent; 6 | import mx.managers.CursorManager; 7 | import mx.controls.Alert; 8 | 9 | private function tree_itemClick(evt:ListEvent):void { 10 | var t:Tree = evt.currentTarget as Tree; 11 | Parent = evt.itemRenderer.data.@parent; 12 | child = evt.itemRenderer.data.@name; 13 | 14 | if(child=="Computer"||"Station"||"Controller"||"Smartphone"||"Switch"||"Access Point"){ 15 | var objs:Array=dropCanvas.getChildren(); 16 | line=null; 17 | obj=null; 18 | CursorManager.removeAllCursors(); 19 | objectsTree.dragEnabled=true; 20 | for(var i:int=0;i 2 | 5 | 6 | 7 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 45 | 46 | 54 | 55 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## VND (SDN version) 2 | Visual Network Description – VND (SDN version) is a web-based graphical user interface for the authoring of generic network scenarios which allows the automatic generation of NSDL, and can be further applied for the simulation and analysis of these scenarios. The VND (SDN version) allows the authoring of Software Defined Network experiments and the automatic generation of Mininet and Openflow Controllers Scripts besides generating NSDL files. These scripts are related to network scenarios, flow tables, and QoS configurations created in a simple and friendly GUI. 3 | 4 | 5 | ![](https://github.com/ramonfontes/vnd-sdn-version/blob/master/screenshot.png) 6 | 7 | 8 | VND (SDN version) aims at faciliting the creation of general network scenarios (experiments) for further simulation under different OpenFlow tools, such as mininet. For this purpose, VND (SDN version) exports Python scripts for the description of rules and flow tables in order to be executed on Openflow Controllers. Further interoperability is also provided by the automatic generation of NSDL, which can be imported by any NSDL-compliant simulation and analysis tool. Its main features include: 9 | 10 | • Authoring of SDN Network Scenarios via GUI. 11 | • Automatic creation of Mininet Scripts. 12 | • Automatic creation of Openflow Controllers Scripts. 13 | • Automatic creation of NSDL files. 14 | 15 | ### Videos Presenting some Features of VND 16 | Using Mininet - https://www.youtube.com/watch?v=oONmjHgXxpc 17 | Basic Flow Control - https://www.youtube.com/watch?v=iZmYFKoSPV8 18 | Using Mininet and Pox Controller (Vlans) - https://www.youtube.com/watch?v=U6I1-ejforU 19 | Using Mininet and Floodlight Controller (Vlans) - https://www.youtube.com/watch?v=KsoRMnDP_PA 20 | Using Mininet and Floodlight Controller (QoS) - https://www.youtube.com/watch?v=vAdtw1546oo 21 | Using Link Configuration to Mininet - https://www.youtube.com/watch?v=tMaCsnCwnO4 22 | 23 | 24 | ### Videos Related to SDN/OpenFlow 25 | Unbricking a Router - https://www.youtube.com/watch?v=8QW4vKnEs94 26 | Wireless Network - https://www.youtube.com/watch?v=Bcu90aQGvqk 27 | Packet Analysis with Wireshark - https://www.youtube.com/watch?v=i5HiR-ys1JI 28 | Using Mininet and Floodlight Controller - https://www.youtube.com/watch?v=Vh3TAP9RIE8   29 | 30 | ## Files 31 | Main Project File - src/main.mxml 32 | 33 | 34 | ## Running on locally 35 | If you want to run VND on locally, you have to install a Web Server, PHP (can be a newest version), Flash Plugin and open http://127.0.0.1/bin-debug/main.html from your favorite web browser. Write permission to /scripts is also required. 36 | 37 | **Alternatively you can run a docker container with all features installed from: https://registry.hub.docker.com/u/ramonfontes/vnd/** 38 | 39 | 40 | ## Publications 41 | 1. FONTES, R. R. ; OLIVEIRA, A. L. C. ; PINHEIRO, T. R. ; SAMPAIO, P. N. M. ; FIGUEIRA, R. A. Authoring of OpenFlow Networks with Visual Network Description (SDN Version). In: Summer Computer Simulation Conference 2014 (SCSC 2014), 2014, Monterey. 46th Summer Computer Simulation Conference 2014 (SCSC 2014), 2014. 42 | 2. PINHEIRO, T. R. ; FONTES, R. R. ; SAMPAIO, P. N. M. ; MARQUES, E. M. D. . Simulation of OpenFlow Scenarios based on NSDL and NS-3. In: Summer Computer Simulation Conference 2014 (SCSC 2014), 2014, Monterey. 46th Summer Computer Simulation Conference 2014 (SCSC 2014), 2014. 43 | 3. FONTES, R. R. ; SAMPAIO, P. N. M. . Visual Network Description: A Customizable GUI for the Creation of Software Defined Network Simulations. In: EUROSIS – The European Multidisciplinary Society for Modelling and Simulation Technology / European Simulation Multiconference (ESM´ 2013), 2013, Lancaster. EUROSIS – The European Multidisciplinary Society for Modelling and Simulation Technology / European Simulation Multiconference (ESM´ 2013), 2013. p. 149-153. 44 | -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- 1 | ## VND (SDN version) 2 | Visual Network Description – VND (SDN version) is a web-based graphical user interface for the authoring of generic network scenarios which allows the automatic generation of NSDL, and can be further applied for the simulation and analysis of these scenarios. The VND (SDN version) allows the authoring of Software Defined Network experiments and the automatic generation of Mininet and Openflow Controllers Scripts besides generating NSDL files. These scripts are related to network scenarios, flow tables, and QoS configurations created in a simple and friendly GUI. 3 | 4 | The VND (SDN version) aims at faciliting the creation of general network scenarios (experiments) for further simulation under different OpenFlow tools, such as mininet. For this purpose, VND (SDN version) exports Python scripts for the description of rules and flow tables in order to be executed on Openflow Controllers. Further interoperability is also provided by the automatic generation of NSDL, which can be imported by any NSDL-compliant simulation and analysis tool. The VND´s (SDN version) main target public area novice professionals, students and also expert SDN developers. Its main features are: 5 | 6 | • Authoring of SDN Network Scenarios via GUI. 7 | • Automatic creation of Mininet Scripts. 8 | • Automatic creation of Openflow Controllers Scripts. 9 | • Automatic creation of NSDL files. 10 | 11 | 12 | ### Videos Presenting some Features of VND 13 | Using Mininet - https://www.youtube.com/watch?v=oONmjHgXxpc 14 | Basic Flow Control - https://www.youtube.com/watch?v=iZmYFKoSPV8 15 | Using Mininet and Pox Controller (Vlans) - https://www.youtube.com/watch?v=U6I1-ejforU 16 | Using Mininet and Floodlight Controller (Vlans) - https://www.youtube.com/watch?v=KsoRMnDP_PA 17 | Using Mininet and Floodlight Controller (QoS) - https://www.youtube.com/watch?v=vAdtw1546oo 18 | Using Link Configuration to Mininet - https://www.youtube.com/watch?v=tMaCsnCwnO4 19 | 20 | 21 | ### Videos Related to SDN/OpenFlow 22 | Unbricking a Router - https://www.youtube.com/watch?v=8QW4vKnEs94 23 | Wireless Network - https://www.youtube.com/watch?v=Bcu90aQGvqk 24 | Packet Analysis with Wireshark - https://www.youtube.com/watch?v=i5HiR-ys1JI 25 | Using Mininet and Floodlight Controller - https://www.youtube.com/watch?v=Vh3TAP9RIE8 26 | 27 | ## Files 28 | Main Project File - src/main.mxml 29 | 30 | 31 | ## Access it 32 | VND is available on www.ramonfontes.com/vnd 33 | 34 | 35 | ## Running on locally 36 | If you want to run the VND on locally, you have to install a Web Server, PHP (can be a newest version), Flash Plugin and open /bin-debug/index.html file on your browser. 37 | 38 | **Alternatively you can run a docker container with all features installed from: https://registry.hub.docker.com/u/ramonfontes/vnd/** 39 | 40 | 41 | ## Publications 42 | 1. FONTES, R. R. ; OLIVEIRA, A. L. C. ; PINHEIRO, T. R. ; SAMPAIO, P. N. M. ; FIGUEIRA, R. A. Authoring of OpenFlow Networks with Visual Network Description (SDN Version). In: Summer Computer Simulation Conference 2014 (SCSC 2014), 2014, Monterey. 46th Summer Computer Simulation Conference 2014 (SCSC 2014), 2014. 43 | 2. PINHEIRO, T. R. ; FONTES, R. R. ; SAMPAIO, P. N. M. ; MARQUES, E. M. D. . Simulation of OpenFlow Scenarios based on NSDL and NS-3. In: Summer Computer Simulation Conference 2014 (SCSC 2014), 2014, Monterey. 46th Summer Computer Simulation Conference 2014 (SCSC 2014), 2014. 44 | 3. FONTES, R. R. ; SAMPAIO, P. N. M. . Visual Network Description: A Customizable GUI for the Creation of Software Defined Network Simulations. In: EUROSIS – The European Multidisciplinary Society for Modelling and Simulation Technology / European Simulation Multiconference (ESM´ 2013), 2013, Lancaster. EUROSIS – The European Multidisciplinary Society for Modelling and Simulation Technology / European Simulation Multiconference (ESM´ 2013), 2013. p. 149-153. 45 | 46 | 47 | ## Miscellaneous 48 | Whether you want to colaborate with VND, you can reach me via email (ramonreisfontes@gmail.com). 49 | At the moment I am PhD Student (focusing on SDN and NFV, mainly) and unfortunately I can't continue working on VND. Therefore, let me know if you improve the code, please. ;) 50 | -------------------------------------------------------------------------------- /bin-debug/drawCircle.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 23 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 75 | 76 | 77 | 81 |
82 |

To view this page ensure that Adobe Flash Player version 10.2.0 83 | or greater is installed.

84 | 89 |
90 | 91 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /bin-debug/main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 23 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 77 | 78 | 79 | 83 |
84 |

To view this page ensure that Adobe Flash Player version 85 | 10.2.0 or greater is 86 | installed.

87 | 92 |
93 | 94 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /src/menu.mxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 125 | 126 | 130 | -------------------------------------------------------------------------------- /bin-debug/vnd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 23 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 61 | 62 | 63 | 67 |
68 |

69 | To view this page ensure that Adobe Flash Player version 70 | 10.2.0 or greater is installed. 71 |

72 | 77 |
78 | 79 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /src/actionScripts/undoRedoSave.as: -------------------------------------------------------------------------------- 1 | import flash.events.Event; 2 | import mx.collections.ArrayCollection; 3 | import flash.display.DisplayObject; 4 | 5 | public function saveCurrentState(eve:Event):void { 6 | if(firsTime){ 7 | undoRedoDescriptor++; 8 | var saveitemsArray:ArrayCollection=new ArrayCollection(); 9 | 10 | for(var i:int=0;i-1){ 42 | dropCanvas.removeAllChildren(); 43 | var dupArr:ArrayCollection; 44 | dupArr=undostepsArray.getItemAt(undoRedoDescriptor) as ArrayCollection; 45 | if(dupArr.length!=0) { 46 | for(var i:int=0;i 2 | 3 | 4 | 13 | 14 | 15 | 16 | 17 | 23 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 61 | 62 | 63 | 67 |
68 |

69 | To view this page ensure that Adobe Flash Player version 70 | 11.1.0 or greater is installed. 71 |

72 | 77 |
78 | 79 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /html-template/index.template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | ${title} 15 | 16 | 17 | 23 | 30 | 31 | 32 | 36 | 37 | 38 | 61 | 62 | 63 | 67 |
68 |

69 | To view this page ensure that Adobe Flash Player version 70 | ${version_major}.${version_minor}.${version_revision} or greater is installed. 71 |

72 | 77 |
78 | 79 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /src/html-template/index.template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | ${title} 15 | 16 | 17 | 23 | 30 | 31 | 32 | 36 | 37 | 38 | 61 | 62 | 63 | 67 |
68 |

69 | To view this page ensure that Adobe Flash Player version 70 | ${version_major}.${version_minor}.${version_revision} or greater is installed. 71 |

72 | 77 |
78 | 79 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /src/actionScripts/MouseDown.as: -------------------------------------------------------------------------------- 1 | import flash.events.MouseEvent; 2 | import mx.controls.Alert; 3 | import mx.managers.CursorManager; 4 | 5 | public var src:String; 6 | public var dst:String; 7 | private var source:String; 8 | public var targetSrc:Object; 9 | 10 | private function mdown(event:MouseEvent):void { 11 | 12 | if(event.target.className=='objects'){ 13 | var lin:Object=linksArrayCollection[linkCombo.selectedIndex]; 14 | line=new Link(lin.color); 15 | line._objectSrc = event.target.id; 16 | targetSrc = event.target; 17 | 18 | if(line._objectSrc=="Computer"){ 19 | source="Computer"; 20 | cont_click++; 21 | } 22 | else if(line._objectSrc=="Station"){ 23 | source="Station"; 24 | cont_click++; 25 | } 26 | else if(line._objectSrc=="Car"){ 27 | source="Car"; 28 | cont_click++; 29 | } 30 | else if(line._objectSrc=="Smartphone"){ 31 | source="Smartphone"; 32 | cont_click++; 33 | } 34 | else if(line._objectSrc=="Access Point"){ 35 | source="Access Point"; 36 | cont_click++; 37 | } 38 | else if(line._objectSrc=="Switch"){ 39 | source="Switch"; 40 | cont_click++; 41 | } 42 | else if(line._objectSrc=="Controller"){ 43 | source="Controller"; 44 | cont_click++; 45 | } 46 | 47 | for(var z:int=0;z= 3 check for Flash plugin in plugin array 83 | var flashVer = -1; 84 | 85 | if (navigator.plugins != null && navigator.plugins.length > 0) { 86 | if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { 87 | var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; 88 | var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; 89 | var descArray = flashDescription.split(" "); 90 | var tempArrayMajor = descArray[2].split("."); 91 | var versionMajor = tempArrayMajor[0]; 92 | var versionMinor = tempArrayMajor[1]; 93 | var versionRevision = descArray[3]; 94 | if (versionRevision == "") { 95 | versionRevision = descArray[4]; 96 | } 97 | if (versionRevision[0] == "d") { 98 | versionRevision = versionRevision.substring(1); 99 | } else if (versionRevision[0] == "r") { 100 | versionRevision = versionRevision.substring(1); 101 | if (versionRevision.indexOf("d") > 0) { 102 | versionRevision = versionRevision.substring(0, versionRevision.indexOf("d")); 103 | } 104 | } else if (versionRevision[0] == "b") { 105 | versionRevision = versionRevision.substring(1); 106 | } 107 | var flashVer = versionMajor + "." + versionMinor + "." + versionRevision; 108 | } 109 | } 110 | // MSN/WebTV 2.6 supports Flash 4 111 | else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; 112 | // WebTV 2.5 supports Flash 3 113 | else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; 114 | // older WebTV supports Flash 2 115 | else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; 116 | else if ( isIE && isWin && !isOpera ) { 117 | flashVer = ControlVersion(); 118 | } 119 | return flashVer; 120 | } 121 | 122 | // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available 123 | function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 124 | { 125 | versionStr = GetSwfVer(); 126 | if (versionStr == -1 ) { 127 | return false; 128 | } else if (versionStr != 0) { 129 | if(isIE && isWin && !isOpera) { 130 | // Given "WIN 2,0,0,11" 131 | tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"] 132 | tempString = tempArray[1]; // "2,0,0,11" 133 | versionArray = tempString.split(","); // ['2', '0', '0', '11'] 134 | } else { 135 | versionArray = versionStr.split("."); 136 | } 137 | var versionMajor = versionArray[0]; 138 | var versionMinor = versionArray[1]; 139 | var versionRevision = versionArray[2]; 140 | 141 | // is the major.revision >= requested major.revision AND the minor version >= requested minor 142 | if (versionMajor > parseFloat(reqMajorVer)) { 143 | return true; 144 | } else if (versionMajor == parseFloat(reqMajorVer)) { 145 | if (versionMinor > parseFloat(reqMinorVer)) 146 | return true; 147 | else if (versionMinor == parseFloat(reqMinorVer)) { 148 | if (versionRevision >= parseFloat(reqRevision)) 149 | return true; 150 | } 151 | } 152 | return false; 153 | } 154 | } 155 | 156 | function AC_AddExtension(src, ext) 157 | { 158 | var qIndex = src.indexOf('?'); 159 | if ( qIndex != -1) 160 | { 161 | // Add the extention (if needed) before the query params 162 | var path = src.substring(0, qIndex); 163 | if (path.length >= ext.length && path.lastIndexOf(ext) == (path.length - ext.length)) 164 | return src; 165 | else 166 | return src.replace(/\?/, ext+'?'); 167 | } 168 | else 169 | { 170 | // Add the extension (if needed) to the end of the URL 171 | if (src.length >= ext.length && src.lastIndexOf(ext) == (src.length - ext.length)) 172 | return src; // Already have extension 173 | else 174 | return src + ext; 175 | } 176 | } 177 | 178 | function AC_Generateobj(objAttrs, params, embedAttrs) 179 | { 180 | var str = ''; 181 | if (isIE && isWin && !isOpera) 182 | { 183 | str += ' '; 189 | str += ''; 190 | } else { 191 | str += '= 3 check for Flash plugin in plugin array 83 | var flashVer = -1; 84 | 85 | if (navigator.plugins != null && navigator.plugins.length > 0) { 86 | if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { 87 | var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; 88 | var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; 89 | var descArray = flashDescription.split(" "); 90 | var tempArrayMajor = descArray[2].split("."); 91 | var versionMajor = tempArrayMajor[0]; 92 | var versionMinor = tempArrayMajor[1]; 93 | var versionRevision = descArray[3]; 94 | if (versionRevision == "") { 95 | versionRevision = descArray[4]; 96 | } 97 | if (versionRevision[0] == "d") { 98 | versionRevision = versionRevision.substring(1); 99 | } else if (versionRevision[0] == "r") { 100 | versionRevision = versionRevision.substring(1); 101 | if (versionRevision.indexOf("d") > 0) { 102 | versionRevision = versionRevision.substring(0, versionRevision.indexOf("d")); 103 | } 104 | } else if (versionRevision[0] == "b") { 105 | versionRevision = versionRevision.substring(1); 106 | } 107 | var flashVer = versionMajor + "." + versionMinor + "." + versionRevision; 108 | } 109 | } 110 | // MSN/WebTV 2.6 supports Flash 4 111 | else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; 112 | // WebTV 2.5 supports Flash 3 113 | else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; 114 | // older WebTV supports Flash 2 115 | else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; 116 | else if ( isIE && isWin && !isOpera ) { 117 | flashVer = ControlVersion(); 118 | } 119 | return flashVer; 120 | } 121 | 122 | // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available 123 | function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 124 | { 125 | versionStr = GetSwfVer(); 126 | if (versionStr == -1 ) { 127 | return false; 128 | } else if (versionStr != 0) { 129 | if(isIE && isWin && !isOpera) { 130 | // Given "WIN 2,0,0,11" 131 | tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"] 132 | tempString = tempArray[1]; // "2,0,0,11" 133 | versionArray = tempString.split(","); // ['2', '0', '0', '11'] 134 | } else { 135 | versionArray = versionStr.split("."); 136 | } 137 | var versionMajor = versionArray[0]; 138 | var versionMinor = versionArray[1]; 139 | var versionRevision = versionArray[2]; 140 | 141 | // is the major.revision >= requested major.revision AND the minor version >= requested minor 142 | if (versionMajor > parseFloat(reqMajorVer)) { 143 | return true; 144 | } else if (versionMajor == parseFloat(reqMajorVer)) { 145 | if (versionMinor > parseFloat(reqMinorVer)) 146 | return true; 147 | else if (versionMinor == parseFloat(reqMinorVer)) { 148 | if (versionRevision >= parseFloat(reqRevision)) 149 | return true; 150 | } 151 | } 152 | return false; 153 | } 154 | } 155 | 156 | function AC_AddExtension(src, ext) 157 | { 158 | var qIndex = src.indexOf('?'); 159 | if ( qIndex != -1) 160 | { 161 | // Add the extention (if needed) before the query params 162 | var path = src.substring(0, qIndex); 163 | if (path.length >= ext.length && path.lastIndexOf(ext) == (path.length - ext.length)) 164 | return src; 165 | else 166 | return src.replace(/\?/, ext+'?'); 167 | } 168 | else 169 | { 170 | // Add the extension (if needed) to the end of the URL 171 | if (src.length >= ext.length && src.lastIndexOf(ext) == (src.length - ext.length)) 172 | return src; // Already have extension 173 | else 174 | return src + ext; 175 | } 176 | } 177 | 178 | function AC_Generateobj(objAttrs, params, embedAttrs) 179 | { 180 | var str = ''; 181 | if (isIE && isWin && !isOpera) 182 | { 183 | str += ' '; 189 | str += ''; 190 | } else { 191 | str += ' 2 | 6 | 7 | 8 | 426 | 427 | 428 | 429 | 430 | --------------------------------------------------------------------------------