<!--
This file is part of Linode Manager Classic.

Linode Manager Classic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Linode Manager Classic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Linode Manager Classic.  If not, see <https://www.gnu.org/licenses/>.
-->
<!DOCTYPE HTML>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>LMC - IP Swap</title>
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="ip_swap.css" />
		<script src="ip_swap.js" type="module"></script>
	</head>
	<body>
		<!--#include virtual="/include/header.html"-->
		<!--#include virtual="/include/linode_subnav.html"-->
		<div id="main-content" class="wrapper">
			<div id="top-links"><a href="/linodes">Linodes</a> » <span id="linode-tag"><a id="linode-tag-link" href=""></a> » </span><a id="linode-label" href="/linodes/dashboard?lid=0"></a> » <a href="/linodes/remote_access?lid=0">Remote Access</a> » <span class="top-links-title">IP Swap</span></div>
			<div id="ip-swap">
				<table id="select-table" class="lmc-table">
					<thead>
						<tr>
							<td colspan="2">Swap IPs</td>
						</tr>
					</thead>
					<tbody>
						<tr class="lmc-tr3">
							<td>With Linode</td>
							<td><select id="linode-select"></select></td>
						</tr>
						<tr class="lmc-tr3">
							<td></td>
							<td><button disabled id="select-button" type="button">Select</button></td>
						</tr>
					</tbody>
				</table>
				<table id="swap-table" class="lmc-table">
					<thead>
						<tr>
							<td id="src-linode" colspan="2"></td>
							<td></td>
							<td id="dest-linode" colspan="2"></td>
						</tr>
						<tr>
							<td>IP Address</td>
							<td>Move It</td>
							<td></td>
							<td>Move It</td>
							<td>IP Address</td>
						</tr>
					</thead>
					<tbody id="public-ips"></tbody>
					<tbody class="lmc-tbody-head">
						<tr class="noshow">
							<td colspan="5"></td>
						</tr>
						<tr>
							<td>Private IP Address</td>
							<td>Move It</td>
							<td></td>
							<td>Move It</td>
							<td>Private IP Address</td>
						</tr>
					</tbody>
					<tbody id="private-ips"></tbody>
				</table>
				<button disabled id="do-it" type="button">Do it.</button>
				<p>Note: This IP Address transfer will take effect immediately however there may be a short delay before both addresses become available.</p>
			</div>
		</div>
	</body>
</html>