| 110 | |
| 111 | 2.3 '''Install Alternate Paths''' |
| 112 | 2.3.1 List Flows |
| 113 | |
| 114 | |
| 115 | The Flow Install module allows you to list existing end-to-end flows (Refresh List button) you have added using the GENI Desktop as well as individual flow entries (possibly) installed using other tools that interact with the controller REST API. |
| 116 | |
| 117 | Note that end-to-end flows display the path a flow follows from one host to another instead of displaying low-level details. For individual flow entries, information about the match fields is shown (e.g. ARP flows). |
| 118 | [[Image(list_flows.png)]] |
| 119 | |
| 120 | 2.3.2 Delete a Flow |
| 121 | With the flows listed, it is straightforward to remove an existing path. For this tutorial we will leave the communication from h1 to h2 intact (i.e. shortest path), but you will select and remove the flow that goes from h2 to h1. |
| 122 | |
| 123 | 2.3.3 Defining an Alternate Path |
| 124 | |
| 125 | Defining an Alternate Path |
| 126 | |
| 127 | |
| 128 | Using the topology view, you will select all the elements (links and nodes) across an alternate path that communicate h2 with h1. In the flow definition section, select h2 as source node and define the path as a one-way flow. Leave the information about ports blank and install the new flow. |
| 129 | |
| 130 | |
| 131 | altflow.png |
| 132 | |
| 133 | Tip: Select multiple elements by holding the CTRL key and clicking on the desired element. |
| 134 | |
| 135 | Output |
| 136 | {{{ |
| 137 | End-to-End flow(s) installed successfully. |
| 138 | }}} |
| 139 | |
| 140 | 2.3.4 Testing New Path |
| 141 | |
| 142 | With the new path installed, you should be able to ping again from h1 to h2. |
| 143 | {{{ |
| 144 | user@h1:~$ ping h2 |
| 145 | PING h2-link-4 (10.10.5.2) 56(84) bytes of data. |
| 146 | 64 bytes from h2-link-4 (10.10.5.2): icmp_seq=1 ttl=64 time=2.64 ms |
| 147 | 64 bytes from h2-link-4 (10.10.5.2): icmp_seq=2 ttl=64 time=2.16 ms |
| 148 | }}} |
| 149 | |
| 150 | Notice the extra delay added to the communication because we are using a longer path. |
| 151 | |
| 152 | |