Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 1 | --- |
| 2 | ########################################################################### |
| 3 | # This file contains the global vars used to configured VM and containers # |
| 4 | ########################################################################### |
| 5 | # |
| 6 | # IP Addresses and host names |
| 7 | dev_host: |
| 8 | ip: "10.100.198.200" |
| 9 | name: "onos-dev" |
| 10 | release: "xenial" |
| 11 | |
| 12 | lxc: |
| 13 | lxc_one: |
| 14 | ip: "10.100.198.201" |
| 15 | name: "onos1" |
| 16 | release: "xenial" |
| 17 | |
| 18 | lxc_two: |
| 19 | ip: "10.100.198.202" |
| 20 | name: "onos2" |
| 21 | release: "xenial" |
| 22 | |
| 23 | lxc_three: |
| 24 | ip: "10.100.198.203" |
| 25 | name: "onos3" |
| 26 | release: "xenial" |
| 27 | |
| 28 | # Networking and bridge configuration |
| 29 | bridge: |
| 30 | phy_interface: "enp0s8" |
| 31 | name: "onosbr0" |
| 32 | ip: "{{ dev_host.ip }}/24" |
| 33 | |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 34 | # Basic packages to be installed |
| 35 | basic_packages: |
| 36 | - "bridge-utils" |
| 37 | - "git" |
| 38 | - "git-review" |
| 39 | - "lxc" |
| 40 | - "lxc-dev" |
| 41 | - "python-dev" |
| 42 | - "python-pip" |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 43 | - "unzip" |
| 44 | - "zip" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 45 | |
| 46 | # ONOS |
| 47 | onos_repo_url: "https://gerrit.onosproject.org/onos" |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 48 | onos_dir: "/home/ubuntu/onos" |
| 49 | onos_version: "1.9" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 50 | onos_nic: "10.100.198.*" |
| 51 | onos_variables: |
| 52 | - "export ONOS_ROOT=~/onos" |
| 53 | - "source $ONOS_ROOT/tools/dev/bash_profile" |
| 54 | |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 55 | # Tutorial reset files |
| 56 | reset_files: |
| 57 | - "/home/ubuntu/reset-to-1.sh" |
| 58 | - "/home/ubuntu/reset-to-3.sh" |
| 59 | |
| 60 | # Tutorial cell files |
| 61 | cell_files: |
| 62 | - "/home/ubuntu/onos/tools/test/cells/1node" |
| 63 | - "/home/ubuntu/onos/tools/test/cells/3node" |
| 64 | |
| 65 | # URL where the ONOS Desktop background is downloaded from |
| 66 | onos_background_url: "https://gerrit.onosproject.org/gitweb?p=onos-vm.git;a=blob_plain;f=onos.png;hb=refs/heads/master" |
| 67 | |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 68 | # ONOS app dir |
| 69 | app_dir: "Application" |
| 70 | download_dir: "Downloads" |
| 71 | |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 72 | # Wireshark |
| 73 | wireshark: |
| 74 | plugins_dir: ".config/wireshark/plugins" |
| 75 | of_lua_url: "https://raw.githubusercontent.com/floodlight/loxigen-artifacts/master/wireshark/openflow.lua" |
| 76 | |
| 77 | # Google Chrome repo |
| 78 | google_chrome_key_url: "https://ftp-master.debian.org/keys/archive-key-6.0.asc" |
| 79 | google_chrome_repo: "deb http://dl.google.com/linux/chrome/deb/ stable main" |
| 80 | |
| 81 | # IDEs configuration |
| 82 | intellij: |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 83 | dir_name: "idea-IC-171.3780.107" |
| 84 | url: "https://download.jetbrains.com/idea/ideaIC-2017.1.tar.gz" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 85 | |
| 86 | # Tutorials configuration |
| 87 | tutorials: |
| 88 | basic: |
| 89 | user: "tutorial1" |
| 90 | pass: $6$rounds=656000$LB/idnMb2Yy9UqSj$28Tb6R.JU3E3O.IHNWp1cQCDlWO.niFjdInKkZz0hck7eAUII.2TywPL.3PVAIPnlSjTEcUz/qjPGas4vnS56/ |
| 91 | mininet_exec: sudo mn --custom /home/ubuntu/onos/tools/test/topos/tower.py --topo tower --controller remote,{{ lxc.lxc_one.ip }} --mac |
| 92 | cell: "1node" |
| 93 | reset_exec: /home/ubuntu/reset-to-1.sh |
| 94 | url: "https://wiki.onosproject.org/display/ONOS/Basic+ONOS+Tutorial" |
| 95 | |
| 96 | sdnip: |
| 97 | user: "sdnip" |
| 98 | pass: $6$rounds=656000$PFDQnzQR8r0zusoI$kM.LQFdDkAMLm7rHRh94K.VqtmTVj9fb8jwaFm2jZsF9SUGJTuMxt6IUdPp445seAOcmnVpzwk3v85bPHZtLL/ |
| 99 | cell: "1node" |
| 100 | mininet_exec: sudo mn --custom /home/sdnip/sdnip/tutorial.py --topo sdnip --controller remote,{{ lxc.lxc_one.ip }} --nolistenport |
| 101 | reset_exec: /home/ubuntu/reset-to-1.sh |
| 102 | url: "https://wiki.onosproject.org/display/ONOS/SDN-IP+Tutorial" |
| 103 | packages: [ "quagga" ] |
| 104 | |
| 105 | optical: |
| 106 | user: "optical" |
| 107 | pass: $6$rounds=656000$Fdw89xOiuYlJAKpi$dK6wqIVaJpn96XBxZbcwZbg2mAuPdGbNEUfJaLV1dqC/SFtdrNIWXjxCobIefy3AVMdgobZl9D3OACtt8LkTz/ |
| 108 | cell: "1node" |
| 109 | mininet_exec: sudo -E python /home/ubuntu/onos/tools/test/topos/opticalTest.py {{ lxc.lxc_one.ip }} |
| 110 | lincoe_exec: sudo /home/ubuntu/linc-oe/rel/linc/bin/linc attach |
| 111 | reset_exec: /home/ubuntu/reset-to-1.sh proxyarp,optical |
| 112 | url: "https://wiki.onosproject.org/display/ONOS/Packet+Optical+Tutorial" |
| 113 | packages: [ "make", "libncurses5-dev" ] |
| 114 | erlang: |
| 115 | version: "17.5" |
| 116 | package_url: "http://erlang.org/download/otp_src_17.5.tar.gz" |
| 117 | linc_oe: |
| 118 | config_generator: |
| 119 | url: "https://github.com/FlowForwarding/LINC-config-generator.git" |
| 120 | dest: "LINC-config-generator" |
| 121 | switch: |
| 122 | url: "https://github.com/FlowForwarding/LINC-Switch.git" |
| 123 | dest: "linc-oe" |
| 124 | |
| 125 | distributed: |
| 126 | user: "distributed" |
| 127 | pass: $6$rounds=656000$OR9O9v15WVPqoXyu$eaBtzH9xhqi9E10U2kSlT2ltFzgpPU81yRBE6mCY.Ln9YzIYDnNys5gnPtflw1OJqa8L.8h6mPB.sIETd.oTm0 |
| 128 | cell: "3node" |
| 129 | mininet_exec: cd /home/distributed/onos-byon/ && ./startmn.sh |
| 130 | reset_exec: /home/ubuntu/reset-to-3.sh |
| 131 | url: "https://wiki.onosproject.org/display/ONOS/Distributed+ONOS+Tutorial" |
| 132 | byon_app_repo_url: "https://github.com/bocon13/onos-byon.git" |
Jon Hall | b84df5d | 2017-01-31 11:19:48 -0800 | [diff] [blame] | 133 | byon_app_version: "starter-{{ onos_version }}.0" |