Last active
December 3, 2018 16:31
-
-
Save Tachashi/f63afb5693140687007756f16517fb37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"# Pybatfishをインポート\n", | |
"from pybatfish.client.commands import *\n", | |
"from pybatfish.question.question import load_questions, list_questions\n", | |
"from pybatfish.question import bfq\n", | |
"\n", | |
"import pprint" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"Successfully loaded 42 questions from remote\n" | |
] | |
} | |
], | |
"source": [ | |
"# questionテンプレートをBatfishサービスからPybatfishへロード\n", | |
"load_questions()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:22:51 2018 UTC Deserializing objects of type 'org.batfish.datamodel.Configuration' from files 7 / 7\n", | |
"Default snapshot is now set to ss_ab33bac2-c6d7-4a88-afee-1029b65b976e\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"'ss_ab33bac2-c6d7-4a88-afee-1029b65b976e'" | |
] | |
}, | |
"execution_count": 3, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"# config等のスナップショットを保管したパスを指定し、読み込みを実施\n", | |
"SNAPSHOT_PATH = \"networks/branch\"\n", | |
"bf_init_snapshot(SNAPSHOT_PATH)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:22:54 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>Line_Names</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>['aux0', 'con0', 'vty0', 'vty1', 'vty10', 'vty...</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node Line_Names\n", | |
"0 hqborder2 ['aux0', 'con0', 'vty0', 'vty1', 'vty10', 'vty..." | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question1 = bfq.aaaAuthenticationLogin(nodes=\"hqborder2\").answer().frame()\n", | |
"question1" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 5, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:22:57 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Structure_Type</th>\n", | |
" <th>Structure_Name</th>\n", | |
" <th>Source_Lines</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>class-map</td>\n", | |
" <td>C-DATA2</td>\n", | |
" <td>configs/hqborder2.log:[38, 39]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet3</td>\n", | |
" <td>configs/hqborder2.log:[98, 99]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>class-map</td>\n", | |
" <td>C-DATA1</td>\n", | |
" <td>configs/hqborder2.log:[40, 41]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet4</td>\n", | |
" <td>configs/hqborder2.log:[101, 102]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet5</td>\n", | |
" <td>configs/hqborder2.log:[104, 105]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>extended ipv4 access-list</td>\n", | |
" <td>100</td>\n", | |
" <td>configs/hqborder2.log:[140]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>extended ipv4 access-list</td>\n", | |
" <td>101</td>\n", | |
" <td>configs/hqborder2.log:[141]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet6</td>\n", | |
" <td>configs/hqborder2.log:[107, 108]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>policy-map</td>\n", | |
" <td>P-CHILD</td>\n", | |
" <td>configs/hqborder2.log:[44, 45, 46, 47]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet2</td>\n", | |
" <td>configs/hqborder2.log:[92, 93, 94, 95, 96]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet7</td>\n", | |
" <td>configs/hqborder2.log:[110, 111]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet8</td>\n", | |
" <td>configs/hqborder2.log:[113, 114]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>configs/hqborder2.log:[75, 76, 77, 78, 79]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet9</td>\n", | |
" <td>configs/hqborder2.log:[116, 117]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>interface</td>\n", | |
" <td>Loopback0</td>\n", | |
" <td>configs/hqborder2.log:[71, 72, 73]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>interface</td>\n", | |
" <td>Tunnel1</td>\n", | |
" <td>configs/hqborder2.log:[63, 64, 65, 66, 67, 68,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>policy-map</td>\n", | |
" <td>P-PARENT</td>\n", | |
" <td>configs/hqborder2.log:[53, 54, 55, 56]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>interface</td>\n", | |
" <td>Vlan203</td>\n", | |
" <td>configs/hqborder2.log:[123, 124, 125]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet1</td>\n", | |
" <td>configs/hqborder2.log:[81, 82, 83, 84, 85]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>interface</td>\n", | |
" <td>BRI0</td>\n", | |
" <td>configs/hqborder2.log:[87, 88, 89, 90]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>20</th>\n", | |
" <td>interface</td>\n", | |
" <td>Vlan1</td>\n", | |
" <td>configs/hqborder2.log:[119, 120, 121]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>21</th>\n", | |
" <td>class-map</td>\n", | |
" <td>class-default</td>\n", | |
" <td>configs/hqborder2.log:[54]</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Structure_Type Structure_Name \\\n", | |
"0 class-map C-DATA2 \n", | |
"1 interface FastEthernet3 \n", | |
"2 class-map C-DATA1 \n", | |
"3 interface FastEthernet4 \n", | |
"4 interface FastEthernet5 \n", | |
"5 extended ipv4 access-list 100 \n", | |
"6 extended ipv4 access-list 101 \n", | |
"7 interface FastEthernet6 \n", | |
"8 policy-map P-CHILD \n", | |
"9 interface FastEthernet2 \n", | |
"10 interface FastEthernet7 \n", | |
"11 interface FastEthernet8 \n", | |
"12 interface FastEthernet0 \n", | |
"13 interface FastEthernet9 \n", | |
"14 interface Loopback0 \n", | |
"15 interface Tunnel1 \n", | |
"16 policy-map P-PARENT \n", | |
"17 interface Vlan203 \n", | |
"18 interface FastEthernet1 \n", | |
"19 interface BRI0 \n", | |
"20 interface Vlan1 \n", | |
"21 class-map class-default \n", | |
"\n", | |
" Source_Lines \n", | |
"0 configs/hqborder2.log:[38, 39] \n", | |
"1 configs/hqborder2.log:[98, 99] \n", | |
"2 configs/hqborder2.log:[40, 41] \n", | |
"3 configs/hqborder2.log:[101, 102] \n", | |
"4 configs/hqborder2.log:[104, 105] \n", | |
"5 configs/hqborder2.log:[140] \n", | |
"6 configs/hqborder2.log:[141] \n", | |
"7 configs/hqborder2.log:[107, 108] \n", | |
"8 configs/hqborder2.log:[44, 45, 46, 47] \n", | |
"9 configs/hqborder2.log:[92, 93, 94, 95, 96] \n", | |
"10 configs/hqborder2.log:[110, 111] \n", | |
"11 configs/hqborder2.log:[113, 114] \n", | |
"12 configs/hqborder2.log:[75, 76, 77, 78, 79] \n", | |
"13 configs/hqborder2.log:[116, 117] \n", | |
"14 configs/hqborder2.log:[71, 72, 73] \n", | |
"15 configs/hqborder2.log:[63, 64, 65, 66, 67, 68,... \n", | |
"16 configs/hqborder2.log:[53, 54, 55, 56] \n", | |
"17 configs/hqborder2.log:[123, 124, 125] \n", | |
"18 configs/hqborder2.log:[81, 82, 83, 84, 85] \n", | |
"19 configs/hqborder2.log:[87, 88, 89, 90] \n", | |
"20 configs/hqborder2.log:[119, 120, 121] \n", | |
"21 configs/hqborder2.log:[54] " | |
] | |
}, | |
"execution_count": 5, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question6 = bfq.definedStructures(nodes=\"hqborder2\").answer().frame()\n", | |
"question6" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 6, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:22:59 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Interface</th>\n", | |
" <th>Remote_Interface</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>hqdist2:Vlan201</td>\n", | |
" <td>hqborder1:Vlan201</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>brborder1:Vlan10</td>\n", | |
" <td>brborder2:Vlan10</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqdist1:Vlan100</td>\n", | |
" <td>hqdist2:Vlan100</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>brborder2:Vlan10</td>\n", | |
" <td>brborder1:Vlan10</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqborder1:FastEthernet1</td>\n", | |
" <td>hqdist1:Vlan200</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>hqdist2:Vlan203</td>\n", | |
" <td>hqborder2:Vlan203</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>brborder2:Tunnel1</td>\n", | |
" <td>hqborder2:Tunnel1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>hqborder2:Tunnel1</td>\n", | |
" <td>brborder2:Tunnel1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>hqdist1:Vlan202</td>\n", | |
" <td>hqborder2:FastEthernet1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>hqborder1:Vlan201</td>\n", | |
" <td>hqdist2:Vlan201</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>hqdist2:Vlan100</td>\n", | |
" <td>hqdist1:Vlan100</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>hqdist1:Vlan200</td>\n", | |
" <td>hqborder1:FastEthernet1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>hqborder2:Vlan203</td>\n", | |
" <td>hqdist2:Vlan203</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>hqborder1:FastEthernet0</td>\n", | |
" <td>brborder1:FastEthernet0</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>hqborder2:FastEthernet1</td>\n", | |
" <td>hqdist1:Vlan202</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>brborder1:FastEthernet0</td>\n", | |
" <td>hqborder1:FastEthernet0</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Interface Remote_Interface\n", | |
"0 hqdist2:Vlan201 hqborder1:Vlan201\n", | |
"1 brborder1:Vlan10 brborder2:Vlan10\n", | |
"2 hqdist1:Vlan100 hqdist2:Vlan100\n", | |
"3 brborder2:Vlan10 brborder1:Vlan10\n", | |
"4 hqborder1:FastEthernet1 hqdist1:Vlan200\n", | |
"5 hqdist2:Vlan203 hqborder2:Vlan203\n", | |
"6 brborder2:Tunnel1 hqborder2:Tunnel1\n", | |
"7 hqborder2:Tunnel1 brborder2:Tunnel1\n", | |
"8 hqdist1:Vlan202 hqborder2:FastEthernet1\n", | |
"9 hqborder1:Vlan201 hqdist2:Vlan201\n", | |
"10 hqdist2:Vlan100 hqdist1:Vlan100\n", | |
"11 hqdist1:Vlan200 hqborder1:FastEthernet1\n", | |
"12 hqborder2:Vlan203 hqdist2:Vlan203\n", | |
"13 hqborder1:FastEthernet0 brborder1:FastEthernet0\n", | |
"14 hqborder2:FastEthernet1 hqdist1:Vlan202\n", | |
"15 brborder1:FastEthernet0 hqborder1:FastEthernet0" | |
] | |
}, | |
"execution_count": 6, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question9 = bfq.edges(edgeType=\"eigrp\").answer().frame()\n", | |
"question9" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 7, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: UNASSIGNED\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:02 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>File_Name</th>\n", | |
" <th>Status</th>\n", | |
" <th>Nodes</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>configs/brborder1.log</td>\n", | |
" <td>PARTIALLY_UNRECOGNIZED</td>\n", | |
" <td>['brborder1']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>configs/brborder2.log</td>\n", | |
" <td>PARTIALLY_UNRECOGNIZED</td>\n", | |
" <td>['brborder2']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>configs/hqaccess1.log</td>\n", | |
" <td>PASSED</td>\n", | |
" <td>['hqaccess1']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>configs/hqborder1.log</td>\n", | |
" <td>PARTIALLY_UNRECOGNIZED</td>\n", | |
" <td>['hqborder1']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>configs/hqborder2.log</td>\n", | |
" <td>PARTIALLY_UNRECOGNIZED</td>\n", | |
" <td>['hqborder2']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>configs/hqdist1.log</td>\n", | |
" <td>PASSED</td>\n", | |
" <td>['hqdist1']</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>configs/hqdist2.log</td>\n", | |
" <td>PASSED</td>\n", | |
" <td>['hqdist2']</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" File_Name Status Nodes\n", | |
"0 configs/brborder1.log PARTIALLY_UNRECOGNIZED ['brborder1']\n", | |
"1 configs/brborder2.log PARTIALLY_UNRECOGNIZED ['brborder2']\n", | |
"2 configs/hqaccess1.log PASSED ['hqaccess1']\n", | |
"3 configs/hqborder1.log PARTIALLY_UNRECOGNIZED ['hqborder1']\n", | |
"4 configs/hqborder2.log PARTIALLY_UNRECOGNIZED ['hqborder2']\n", | |
"5 configs/hqdist1.log PASSED ['hqdist1']\n", | |
"6 configs/hqdist2.log PASSED ['hqdist2']" | |
] | |
}, | |
"execution_count": 7, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question10 = bfq.fileParseStatus().answer().frame()\n", | |
"question10" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 8, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: UNASSIGNED\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:05 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Sources</th>\n", | |
" <th>Unreachable_Line</th>\n", | |
" <th>Unreachable_Line_Action</th>\n", | |
" <th>Blocking_Lines</th>\n", | |
" <th>Different_Action</th>\n", | |
" <th>Reason</th>\n", | |
" <th>Additional_Info</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>['hqdist1: Server']</td>\n", | |
" <td>permit udp any host 192.168.100.44 eq ntp</td>\n", | |
" <td>PERMIT</td>\n", | |
" <td>['permit ip 10.10.1.0 0.0.0.255 192.168.100.0 ...</td>\n", | |
" <td>False</td>\n", | |
" <td>BLOCKING_LINES</td>\n", | |
" <td>None</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Sources Unreachable_Line \\\n", | |
"0 ['hqdist1: Server'] permit udp any host 192.168.100.44 eq ntp \n", | |
"\n", | |
" Unreachable_Line_Action Blocking_Lines \\\n", | |
"0 PERMIT ['permit ip 10.10.1.0 0.0.0.255 192.168.100.0 ... \n", | |
"\n", | |
" Different_Action Reason Additional_Info \n", | |
"0 False BLOCKING_LINES None " | |
] | |
}, | |
"execution_count": 8, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question11 = bfq.filterLineReachability().answer().frame()\n", | |
"question11" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 9, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:07 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>VRF</th>\n", | |
" <th>Interface</th>\n", | |
" <th>IP</th>\n", | |
" <th>Mask</th>\n", | |
" <th>Active</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>10.1.1.2</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan10</td>\n", | |
" <td>10.10.1.48</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqdist2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan201</td>\n", | |
" <td>192.168.200.6</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan10</td>\n", | |
" <td>10.10.1.49</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan202</td>\n", | |
" <td>192.168.200.10</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>10.1.1.1</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan203</td>\n", | |
" <td>192.168.200.13</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Tunnel1</td>\n", | |
" <td>10.1.1.9</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>hqdist2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan100</td>\n", | |
" <td>192.168.100.48</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Loopback0</td>\n", | |
" <td>1.1.1.1</td>\n", | |
" <td>32</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet1</td>\n", | |
" <td>192.168.200.9</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Loopback0</td>\n", | |
" <td>1.1.1.2</td>\n", | |
" <td>32</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>hqaccess1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan100</td>\n", | |
" <td>192.168.100.47</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet1</td>\n", | |
" <td>192.168.200.1</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan100</td>\n", | |
" <td>192.168.100.49</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan101</td>\n", | |
" <td>192.168.101.49</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan200</td>\n", | |
" <td>192.168.200.2</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan201</td>\n", | |
" <td>192.168.200.5</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>Tunnel1</td>\n", | |
" <td>10.1.1.10</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>hqdist2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan203</td>\n", | |
" <td>192.168.200.14</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>20</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>10.1.1.5</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>21</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>default</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>10.1.1.6</td>\n", | |
" <td>30</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>22</th>\n", | |
" <td>hqdist2</td>\n", | |
" <td>default</td>\n", | |
" <td>Vlan101</td>\n", | |
" <td>192.168.101.48</td>\n", | |
" <td>24</td>\n", | |
" <td>True</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node VRF Interface IP Mask Active\n", | |
"0 brborder1 default FastEthernet0 10.1.1.2 30 True\n", | |
"1 brborder2 default Vlan10 10.10.1.48 24 True\n", | |
"2 hqdist2 default Vlan201 192.168.200.6 30 True\n", | |
"3 brborder1 default Vlan10 10.10.1.49 24 True\n", | |
"4 hqdist1 default Vlan202 192.168.200.10 30 True\n", | |
"5 hqborder1 default FastEthernet0 10.1.1.1 30 True\n", | |
"6 hqborder2 default Vlan203 192.168.200.13 30 True\n", | |
"7 hqborder2 default Tunnel1 10.1.1.9 30 True\n", | |
"8 hqdist2 default Vlan100 192.168.100.48 24 True\n", | |
"9 hqborder2 default Loopback0 1.1.1.1 32 True\n", | |
"10 hqborder2 default FastEthernet1 192.168.200.9 30 True\n", | |
"11 brborder2 default Loopback0 1.1.1.2 32 True\n", | |
"12 hqaccess1 default Vlan100 192.168.100.47 24 True\n", | |
"13 hqborder1 default FastEthernet1 192.168.200.1 30 True\n", | |
"14 hqdist1 default Vlan100 192.168.100.49 24 True\n", | |
"15 hqdist1 default Vlan101 192.168.101.49 24 True\n", | |
"16 hqdist1 default Vlan200 192.168.200.2 30 True\n", | |
"17 hqborder1 default Vlan201 192.168.200.5 30 True\n", | |
"18 brborder2 default Tunnel1 10.1.1.10 30 True\n", | |
"19 hqdist2 default Vlan203 192.168.200.14 30 True\n", | |
"20 hqborder2 default FastEthernet0 10.1.1.5 30 True\n", | |
"21 brborder2 default FastEthernet0 10.1.1.6 30 True\n", | |
"22 hqdist2 default Vlan101 192.168.101.48 24 True" | |
] | |
}, | |
"execution_count": 9, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question15 = bfq.ipOwners().answer().frame()\n", | |
"question15" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 10, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:09 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>Structure_Type</th>\n", | |
" <th>Structure_Name</th>\n", | |
" <th>Structure_Definition</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>100</td>\n", | |
" <td>{'sourceName': '100', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'staticRoutes': [{'network': '1.1.1.2/32', 'n...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'snmpServer': {'hosts': {'192.168.100.107': {...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>hqdist1</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>Server</td>\n", | |
" <td>{'sourceName': 'Server', 'sourceType': 'extend...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqaccess1</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'snmpServer': {'hosts': {'192.168.100.107': {...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>101</td>\n", | |
" <td>{'sourceName': '101', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>100</td>\n", | |
" <td>{'sourceName': '100', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>101</td>\n", | |
" <td>{'sourceName': '101', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>101</td>\n", | |
" <td>{'sourceName': '101', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>100</td>\n", | |
" <td>{'sourceName': '100', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>100</td>\n", | |
" <td>{'sourceName': '100', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'snmpServer': {'hosts': {'192.168.100.107': {...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>IP_Access_List</td>\n", | |
" <td>101</td>\n", | |
" <td>{'sourceName': '101', 'sourceType': 'extended ...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>hqdist2</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'snmpServer': {'hosts': {'192.168.100.107': {...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'snmpServer': {'hosts': {'192.168.100.107': {...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>VRF</td>\n", | |
" <td>default</td>\n", | |
" <td>{'staticRoutes': [{'network': '1.1.1.1/32', 'n...</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node Structure_Type Structure_Name \\\n", | |
"0 brborder2 IP_Access_List 100 \n", | |
"1 hqborder2 VRF default \n", | |
"2 hqdist1 VRF default \n", | |
"3 hqdist1 IP_Access_List Server \n", | |
"4 hqaccess1 VRF default \n", | |
"5 brborder2 IP_Access_List 101 \n", | |
"6 hqborder2 IP_Access_List 100 \n", | |
"7 brborder1 IP_Access_List 101 \n", | |
"8 hqborder1 IP_Access_List 101 \n", | |
"9 brborder1 IP_Access_List 100 \n", | |
"10 hqborder1 IP_Access_List 100 \n", | |
"11 hqborder1 VRF default \n", | |
"12 hqborder2 IP_Access_List 101 \n", | |
"13 hqdist2 VRF default \n", | |
"14 brborder1 VRF default \n", | |
"15 brborder2 VRF default \n", | |
"\n", | |
" Structure_Definition \n", | |
"0 {'sourceName': '100', 'sourceType': 'extended ... \n", | |
"1 {'staticRoutes': [{'network': '1.1.1.2/32', 'n... \n", | |
"2 {'snmpServer': {'hosts': {'192.168.100.107': {... \n", | |
"3 {'sourceName': 'Server', 'sourceType': 'extend... \n", | |
"4 {'snmpServer': {'hosts': {'192.168.100.107': {... \n", | |
"5 {'sourceName': '101', 'sourceType': 'extended ... \n", | |
"6 {'sourceName': '100', 'sourceType': 'extended ... \n", | |
"7 {'sourceName': '101', 'sourceType': 'extended ... \n", | |
"8 {'sourceName': '101', 'sourceType': 'extended ... \n", | |
"9 {'sourceName': '100', 'sourceType': 'extended ... \n", | |
"10 {'sourceName': '100', 'sourceType': 'extended ... \n", | |
"11 {'snmpServer': {'hosts': {'192.168.100.107': {... \n", | |
"12 {'sourceName': '101', 'sourceType': 'extended ... \n", | |
"13 {'snmpServer': {'hosts': {'192.168.100.107': {... \n", | |
"14 {'snmpServer': {'hosts': {'192.168.100.107': {... \n", | |
"15 {'staticRoutes': [{'network': '1.1.1.1/32', 'n... " | |
] | |
}, | |
"execution_count": 10, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question18 = bfq.namedStructures().answer().frame()\n", | |
"question18" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 11, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:12 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"{'answerElements': [{'class': 'org.batfish.question.NeighborsQuestionPlugin$NeighborsAnswerElement',\n", | |
" 'layer3Neighbors': [{'node1': 'hqborder2',\n", | |
" 'node1interface': 'FastEthernet0',\n", | |
" 'node2': 'brborder2',\n", | |
" 'node2interface': 'FastEthernet0'},\n", | |
" {'node1': 'hqborder2',\n", | |
" 'node1interface': 'FastEthernet1',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan202'},\n", | |
" {'node1': 'hqborder2',\n", | |
" 'node1interface': 'Tunnel1',\n", | |
" 'node2': 'brborder2',\n", | |
" 'node2interface': 'Tunnel1'},\n", | |
" {'node1': 'hqborder2',\n", | |
" 'node1interface': 'Vlan203',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan203'}]}],\n", | |
" 'question': {'class': 'org.batfish.question.NeighborsQuestionPlugin$NeighborsQuestion',\n", | |
" 'differential': False,\n", | |
" 'includeOneTableKeys': True,\n", | |
" 'instance': {'description': 'Lists neighbor relationships in the snapshot',\n", | |
" 'instanceName': '__neighbors_5b4f33f5-8ec5-4c23-8438-eb53a7cb914e',\n", | |
" 'longDescription': 'Lists neighbor relationships of the specified type (layer3, eBGP, iBGP, ospf, etc.)',\n", | |
" 'tags': ['topology'],\n", | |
" 'variables': {'neighborTypes': {'allowedValues': ['ebgp',\n", | |
" 'eigrp',\n", | |
" 'ibgp',\n", | |
" 'layer1',\n", | |
" 'layer2',\n", | |
" 'layer3',\n", | |
" 'ospf',\n", | |
" 'rip'],\n", | |
" 'description': 'Types of neighbor relationships to include.',\n", | |
" 'displayName': 'Neighbor Types',\n", | |
" 'minElements': 0,\n", | |
" 'optional': True,\n", | |
" 'type': 'string',\n", | |
" 'values': [{'name': 'ebgp'},\n", | |
" {'name': 'eigrp'},\n", | |
" {'name': 'ibgp'},\n", | |
" {'name': 'layer1'},\n", | |
" {'name': 'layer2'},\n", | |
" {'name': 'layer3'},\n", | |
" {'name': 'ospf'},\n", | |
" {'name': 'rip'}]},\n", | |
" 'nodes': {'description': 'Include neighbors whose first node matches this name or regex.',\n", | |
" 'displayName': 'Nodes',\n", | |
" 'optional': False,\n", | |
" 'type': 'nodeSpec',\n", | |
" 'value': 'hqborder2'},\n", | |
" 'remoteNodes': {'description': 'Include neighbors whose second node matches this name or regex.',\n", | |
" 'displayName': 'Remote Nodes',\n", | |
" 'optional': False,\n", | |
" 'type': 'nodeSpec',\n", | |
" 'value': '.*'},\n", | |
" 'roleDimension': {'description': 'Role dimension to run the question on.',\n", | |
" 'displayName': 'Role Dimension',\n", | |
" 'optional': True,\n", | |
" 'type': 'string'},\n", | |
" 'style': {'allowedValues': ['role', 'summary', 'verbose'],\n", | |
" 'description': 'String indicating the style of information requested about each neighbor.',\n", | |
" 'displayName': 'Style',\n", | |
" 'optional': False,\n", | |
" 'type': 'string',\n", | |
" 'value': 'summary',\n", | |
" 'values': [{'name': 'role'}, {'name': 'summary'}, {'name': 'verbose'}]}}},\n", | |
" 'nodes': 'hqborder2',\n", | |
" 'remoteNodes': '.*',\n", | |
" 'style': 'summary'},\n", | |
" 'status': 'SUCCESS',\n", | |
" 'summary': {'numFailed': 0, 'numPassed': 0, 'numResults': 0}}" | |
] | |
}, | |
"execution_count": 11, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question19 = bfq.neighbors(nodes=\"hqborder2\").answer()\n", | |
"question19" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 12, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:15 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>IKE_Policies</th>\n", | |
" <th>VRFs</th>\n", | |
" <th>Logging_Source_Interface</th>\n", | |
" <th>NTP_Servers</th>\n", | |
" <th>Zones</th>\n", | |
" <th>IP_Access_Lists</th>\n", | |
" <th>Vendor_Family</th>\n", | |
" <th>Authentication_Key_Chains</th>\n", | |
" <th>TACACS_Source_Interface</th>\n", | |
" <th>...</th>\n", | |
" <th>Route_Filter_Lists</th>\n", | |
" <th>Default_Inbound_Action</th>\n", | |
" <th>SNMP_Source_Interface</th>\n", | |
" <th>Routing_Policies</th>\n", | |
" <th>Canonical_IP</th>\n", | |
" <th>NTP_Source_Interface</th>\n", | |
" <th>SNMP_Trap_Servers</th>\n", | |
" <th>Configuration_Format</th>\n", | |
" <th>DNS_Source_Interface</th>\n", | |
" <th>Community_Lists</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>[]</td>\n", | |
" <td>['default']</td>\n", | |
" <td>None</td>\n", | |
" <td>[]</td>\n", | |
" <td>[]</td>\n", | |
" <td>['100', '101']</td>\n", | |
" <td>CISCO</td>\n", | |
" <td>[]</td>\n", | |
" <td>None</td>\n", | |
" <td>...</td>\n", | |
" <td>[]</td>\n", | |
" <td>PERMIT</td>\n", | |
" <td>None</td>\n", | |
" <td>['~EIGRP_EXPORT_POLICY:default:1~']</td>\n", | |
" <td>1.1.1.1</td>\n", | |
" <td>None</td>\n", | |
" <td>['192.168.100.107']</td>\n", | |
" <td>CISCO_IOS</td>\n", | |
" <td>None</td>\n", | |
" <td>[]</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"<p>1 rows × 36 columns</p>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node IKE_Policies VRFs Logging_Source_Interface NTP_Servers \\\n", | |
"0 hqborder2 [] ['default'] None [] \n", | |
"\n", | |
" Zones IP_Access_Lists Vendor_Family Authentication_Key_Chains \\\n", | |
"0 [] ['100', '101'] CISCO [] \n", | |
"\n", | |
" TACACS_Source_Interface ... Route_Filter_Lists \\\n", | |
"0 None ... [] \n", | |
"\n", | |
" Default_Inbound_Action SNMP_Source_Interface \\\n", | |
"0 PERMIT None \n", | |
"\n", | |
" Routing_Policies Canonical_IP NTP_Source_Interface \\\n", | |
"0 ['~EIGRP_EXPORT_POLICY:default:1~'] 1.1.1.1 None \n", | |
"\n", | |
" SNMP_Trap_Servers Configuration_Format DNS_Source_Interface \\\n", | |
"0 ['192.168.100.107'] CISCO_IOS None \n", | |
"\n", | |
" Community_Lists \n", | |
"0 [] \n", | |
"\n", | |
"[1 rows x 36 columns]" | |
] | |
}, | |
"execution_count": 12, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question20 = bfq.nodeProperties(nodes=\"hqborder2\").answer().frame()\n", | |
"question20" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 13, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:17 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"{'answerElements': [{'class': 'org.batfish.question.NodesQuestionPlugin$NodesAnswerElement',\n", | |
" 'nodesSummary': {'hqborder2': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'interfaces': ['BRI0',\n", | |
" 'FastEthernet0',\n", | |
" 'FastEthernet1',\n", | |
" 'FastEthernet2',\n", | |
" 'FastEthernet3',\n", | |
" 'FastEthernet4',\n", | |
" 'FastEthernet5',\n", | |
" 'FastEthernet6',\n", | |
" 'FastEthernet7',\n", | |
" 'FastEthernet8',\n", | |
" 'FastEthernet9',\n", | |
" 'Loopback0',\n", | |
" 'Tunnel1',\n", | |
" 'Vlan1',\n", | |
" 'Vlan203'],\n", | |
" 'ipAccessLists': ['100', '101'],\n", | |
" 'policySortedMaps': ['~EIGRP_EXPORT_POLICY:default:1~'],\n", | |
" 'routingProtocols': ['eigrp', 'static']}}}],\n", | |
" 'question': {'class': 'org.batfish.question.NodesQuestionPlugin$NodesQuestion',\n", | |
" 'differential': False,\n", | |
" 'includeOneTableKeys': True,\n", | |
" 'instance': {'description': 'Lists configuration attributes of nodes in the network',\n", | |
" 'instanceName': '__nodes_169b9667-6a19-4bc9-8cb9-f105908c80ba',\n", | |
" 'longDescription': 'Returns a JSON dictionary with all (or summary) of the configuration parameters that are stored in the vendor independent data-model.',\n", | |
" 'tags': ['dataModel'],\n", | |
" 'variables': {'nodeTypes': {'description': 'Include nodes of the specified types.',\n", | |
" 'displayName': 'Node Types',\n", | |
" 'minElements': 0,\n", | |
" 'optional': True,\n", | |
" 'type': 'string'},\n", | |
" 'nodes': {'description': 'Include nodes matching this name or regex.',\n", | |
" 'displayName': 'Nodes',\n", | |
" 'optional': False,\n", | |
" 'type': 'nodeSpec',\n", | |
" 'value': 'hqborder2'},\n", | |
" 'summary': {'description': 'Whether to provide only summary information about each node rather than the full data model.',\n", | |
" 'displayName': 'Summary',\n", | |
" 'optional': False,\n", | |
" 'type': 'boolean',\n", | |
" 'value': True}}},\n", | |
" 'nodes': 'hqborder2',\n", | |
" 'summary': True},\n", | |
" 'status': 'SUCCESS',\n", | |
" 'summary': {'numFailed': 0, 'numPassed': 0, 'numResults': 0}}" | |
] | |
}, | |
"execution_count": 13, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question21 = bfq.nodes(nodes=\"hqborder2\").answer()\n", | |
"question21" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 14, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: ASSIGNED\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:20 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Filename</th>\n", | |
" <th>Text</th>\n", | |
" <th>Line</th>\n", | |
" <th>Parser_Context</th>\n", | |
" <th>Comment</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>brborder1</td>\n", | |
" <td>no inservice</td>\n", | |
" <td>146</td>\n", | |
" <td>[stanza cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>brborder2</td>\n", | |
" <td>no inservice</td>\n", | |
" <td>156</td>\n", | |
" <td>[stanza cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqaccess1</td>\n", | |
" <td>ip default-gateway 192.168.100.150</td>\n", | |
" <td>200</td>\n", | |
" <td>[s_ip_default_gateway stanza cisco_configuration]</td>\n", | |
" <td>This feature is not currently supported</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>hqborder1</td>\n", | |
" <td>no inservice</td>\n", | |
" <td>151</td>\n", | |
" <td>[stanza cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>ntp ser 192.168.100.44</td>\n", | |
" <td>166</td>\n", | |
" <td>[s_ntp stanza cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>no inservice</td>\n", | |
" <td>171</td>\n", | |
" <td>[stanza cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>compress header ip</td>\n", | |
" <td>48</td>\n", | |
" <td>[cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>bandwidth percent 30</td>\n", | |
" <td>49</td>\n", | |
" <td>[cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>class class-default</td>\n", | |
" <td>50</td>\n", | |
" <td>[cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>compress header ip</td>\n", | |
" <td>51</td>\n", | |
" <td>[cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>bandwidth percent 30</td>\n", | |
" <td>52</td>\n", | |
" <td>[cisco_configuration]</td>\n", | |
" <td>This syntax is unrecognized</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Filename Text Line \\\n", | |
"0 brborder1 no inservice 146 \n", | |
"1 brborder2 no inservice 156 \n", | |
"2 hqaccess1 ip default-gateway 192.168.100.150 200 \n", | |
"3 hqborder1 no inservice 151 \n", | |
"4 hqborder2 ntp ser 192.168.100.44 166 \n", | |
"5 hqborder2 no inservice 171 \n", | |
"6 hqborder2 compress header ip 48 \n", | |
"7 hqborder2 bandwidth percent 30 49 \n", | |
"8 hqborder2 class class-default 50 \n", | |
"9 hqborder2 compress header ip 51 \n", | |
"10 hqborder2 bandwidth percent 30 52 \n", | |
"\n", | |
" Parser_Context \\\n", | |
"0 [stanza cisco_configuration] \n", | |
"1 [stanza cisco_configuration] \n", | |
"2 [s_ip_default_gateway stanza cisco_configuration] \n", | |
"3 [stanza cisco_configuration] \n", | |
"4 [s_ntp stanza cisco_configuration] \n", | |
"5 [stanza cisco_configuration] \n", | |
"6 [cisco_configuration] \n", | |
"7 [cisco_configuration] \n", | |
"8 [cisco_configuration] \n", | |
"9 [cisco_configuration] \n", | |
"10 [cisco_configuration] \n", | |
"\n", | |
" Comment \n", | |
"0 This syntax is unrecognized \n", | |
"1 This syntax is unrecognized \n", | |
"2 This feature is not currently supported \n", | |
"3 This syntax is unrecognized \n", | |
"4 This syntax is unrecognized \n", | |
"5 This syntax is unrecognized \n", | |
"6 This syntax is unrecognized \n", | |
"7 This syntax is unrecognized \n", | |
"8 This syntax is unrecognized \n", | |
"9 This syntax is unrecognized \n", | |
"10 This syntax is unrecognized " | |
] | |
}, | |
"execution_count": 14, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question23 = bfq.parseWarning().answer().frame()\n", | |
"question23" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 15, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:23 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Structure_Type</th>\n", | |
" <th>Structure_Name</th>\n", | |
" <th>Context</th>\n", | |
" <th>Source_Lines</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>acl</td>\n", | |
" <td>100</td>\n", | |
" <td>class-map access-group</td>\n", | |
" <td>configs/hqborder2.log:[41]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>acl</td>\n", | |
" <td>101</td>\n", | |
" <td>class-map access-group</td>\n", | |
" <td>configs/hqborder2.log:[39]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>class-map</td>\n", | |
" <td>C-DATA1</td>\n", | |
" <td>policy-map class</td>\n", | |
" <td>configs/hqborder2.log:[45]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>class-map</td>\n", | |
" <td>C-DATA2</td>\n", | |
" <td>policy-map class</td>\n", | |
" <td>configs/hqborder2.log:[47]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>class-map</td>\n", | |
" <td>class-default</td>\n", | |
" <td>policy-map class</td>\n", | |
" <td>configs/hqborder2.log:[54]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>interface</td>\n", | |
" <td>BRI0</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[87]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet0</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[75]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet1</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[81]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet2</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[92]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet3</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[98]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet4</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[101]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet5</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[104]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet6</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[107]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet7</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[110]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet8</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[113]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>interface</td>\n", | |
" <td>FastEthernet9</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[116]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>interface</td>\n", | |
" <td>Loopback0</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[71]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>interface</td>\n", | |
" <td>Loopback0</td>\n", | |
" <td>tunnel source</td>\n", | |
" <td>configs/hqborder2.log:[68]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>interface</td>\n", | |
" <td>Tunnel1</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[63]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>interface</td>\n", | |
" <td>Vlan1</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[119]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>20</th>\n", | |
" <td>interface</td>\n", | |
" <td>Vlan203</td>\n", | |
" <td>interface</td>\n", | |
" <td>configs/hqborder2.log:[123]</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>21</th>\n", | |
" <td>policy-map</td>\n", | |
" <td>P-CHILD</td>\n", | |
" <td>policy-map class service-policy</td>\n", | |
" <td>configs/hqborder2.log:[56]</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Structure_Type Structure_Name Context \\\n", | |
"0 acl 100 class-map access-group \n", | |
"1 acl 101 class-map access-group \n", | |
"2 class-map C-DATA1 policy-map class \n", | |
"3 class-map C-DATA2 policy-map class \n", | |
"4 class-map class-default policy-map class \n", | |
"5 interface BRI0 interface \n", | |
"6 interface FastEthernet0 interface \n", | |
"7 interface FastEthernet1 interface \n", | |
"8 interface FastEthernet2 interface \n", | |
"9 interface FastEthernet3 interface \n", | |
"10 interface FastEthernet4 interface \n", | |
"11 interface FastEthernet5 interface \n", | |
"12 interface FastEthernet6 interface \n", | |
"13 interface FastEthernet7 interface \n", | |
"14 interface FastEthernet8 interface \n", | |
"15 interface FastEthernet9 interface \n", | |
"16 interface Loopback0 interface \n", | |
"17 interface Loopback0 tunnel source \n", | |
"18 interface Tunnel1 interface \n", | |
"19 interface Vlan1 interface \n", | |
"20 interface Vlan203 interface \n", | |
"21 policy-map P-CHILD policy-map class service-policy \n", | |
"\n", | |
" Source_Lines \n", | |
"0 configs/hqborder2.log:[41] \n", | |
"1 configs/hqborder2.log:[39] \n", | |
"2 configs/hqborder2.log:[45] \n", | |
"3 configs/hqborder2.log:[47] \n", | |
"4 configs/hqborder2.log:[54] \n", | |
"5 configs/hqborder2.log:[87] \n", | |
"6 configs/hqborder2.log:[75] \n", | |
"7 configs/hqborder2.log:[81] \n", | |
"8 configs/hqborder2.log:[92] \n", | |
"9 configs/hqborder2.log:[98] \n", | |
"10 configs/hqborder2.log:[101] \n", | |
"11 configs/hqborder2.log:[104] \n", | |
"12 configs/hqborder2.log:[107] \n", | |
"13 configs/hqborder2.log:[110] \n", | |
"14 configs/hqborder2.log:[113] \n", | |
"15 configs/hqborder2.log:[116] \n", | |
"16 configs/hqborder2.log:[71] \n", | |
"17 configs/hqborder2.log:[68] \n", | |
"18 configs/hqborder2.log:[63] \n", | |
"19 configs/hqborder2.log:[119] \n", | |
"20 configs/hqborder2.log:[123] \n", | |
"21 configs/hqborder2.log:[56] " | |
] | |
}, | |
"execution_count": 15, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question26 = bfq.referencedStructures(nodes=\"hqborder2\").answer().frame()\n", | |
"question26" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 16, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:27 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>Filter_Name</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>100</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>hqborder2</td>\n", | |
" <td>101</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node Filter_Name\n", | |
"0 hqborder2 100\n", | |
"1 hqborder2 101" | |
] | |
}, | |
"execution_count": 16, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question27 = bfq.resolveFilterSpecifier(nodes=\"hqborder2\").answer().frame()\n", | |
"question27" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 17, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:28 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Interface</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>hqborder2:Vlan1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>hqborder2:FastEthernet0</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqborder2:FastEthernet1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>hqborder2:FastEthernet2</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqborder2:BRI0</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>hqborder2:FastEthernet7</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>hqborder2:FastEthernet8</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>hqborder2:FastEthernet9</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>hqborder2:FastEthernet3</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>hqborder2:FastEthernet4</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>hqborder2:Loopback0</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>hqborder2:Tunnel1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>hqborder2:FastEthernet5</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>hqborder2:Vlan203</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>hqborder2:FastEthernet6</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Interface\n", | |
"0 hqborder2:Vlan1\n", | |
"1 hqborder2:FastEthernet0\n", | |
"2 hqborder2:FastEthernet1\n", | |
"3 hqborder2:FastEthernet2\n", | |
"4 hqborder2:BRI0\n", | |
"5 hqborder2:FastEthernet7\n", | |
"6 hqborder2:FastEthernet8\n", | |
"7 hqborder2:FastEthernet9\n", | |
"8 hqborder2:FastEthernet3\n", | |
"9 hqborder2:FastEthernet4\n", | |
"10 hqborder2:Loopback0\n", | |
"11 hqborder2:Tunnel1\n", | |
"12 hqborder2:FastEthernet5\n", | |
"13 hqborder2:Vlan203\n", | |
"14 hqborder2:FastEthernet6" | |
] | |
}, | |
"execution_count": 17, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question28 = bfq.resolveInterfaceSpecifier(nodes=\"hqborder2\").answer().frame()\n", | |
"question28" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 18, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:30 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>IP_Space</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>IpWildcardSetIpSpace{blacklist=[], whitelist=[...</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" IP_Space\n", | |
"0 IpWildcardSetIpSpace{blacklist=[], whitelist=[..." | |
] | |
}, | |
"execution_count": 18, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question29 = bfq.resolveIpSpecifier().answer().frame()\n", | |
"question29" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 19, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:33 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Locations</th>\n", | |
" <th>IP_Space</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>[InterfaceLocation{interfaceName=BRI0, nodeNam...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>IpIpSpace{ip=10.1.1.2}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet1...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet2...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet3...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet4...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet5...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet6...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet7...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet8...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet9...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan1, nodeNa...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan10, nodeN...</td>\n", | |
" <td>IpIpSpace{ip=10.10.1.49}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>[InterfaceLocation{interfaceName=BRI0, nodeNam...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>IpIpSpace{ip=10.1.1.6}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet1...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet2...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet3...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet4...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet5...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>20</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet6...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>21</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet7...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>22</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet8...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>23</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet9...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>24</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Loopback0, no...</td>\n", | |
" <td>IpIpSpace{ip=1.1.1.2}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>25</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Tunnel1, node...</td>\n", | |
" <td>IpIpSpace{ip=10.1.1.10}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>26</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan1, nodeNa...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>27</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan10, nodeN...</td>\n", | |
" <td>IpIpSpace{ip=10.10.1.48}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>28</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>29</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>...</th>\n", | |
" <td>...</td>\n", | |
" <td>...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>116</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>117</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>118</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>119</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>120</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>121</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>122</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>123</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>124</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>125</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>126</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>127</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>128</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>129</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>130</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>131</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>132</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>133</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>134</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>135</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>136</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>137</th>\n", | |
" <td>[InterfaceLocation{interfaceName=FastEthernet0...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>138</th>\n", | |
" <td>[InterfaceLocation{interfaceName=GigabitEthern...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>139</th>\n", | |
" <td>[InterfaceLocation{interfaceName=GigabitEthern...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>140</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Port-Channel1...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>141</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan1, nodeNa...</td>\n", | |
" <td>empty</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>142</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan100, node...</td>\n", | |
" <td>IpIpSpace{ip=192.168.100.48}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>143</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan101, node...</td>\n", | |
" <td>IpIpSpace{ip=192.168.101.48}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>144</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan201, node...</td>\n", | |
" <td>IpIpSpace{ip=192.168.200.6}</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>145</th>\n", | |
" <td>[InterfaceLocation{interfaceName=Vlan203, node...</td>\n", | |
" <td>IpIpSpace{ip=192.168.200.14}</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"<p>146 rows × 2 columns</p>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Locations \\\n", | |
"0 [InterfaceLocation{interfaceName=BRI0, nodeNam... \n", | |
"1 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"2 [InterfaceLocation{interfaceName=FastEthernet1... \n", | |
"3 [InterfaceLocation{interfaceName=FastEthernet2... \n", | |
"4 [InterfaceLocation{interfaceName=FastEthernet3... \n", | |
"5 [InterfaceLocation{interfaceName=FastEthernet4... \n", | |
"6 [InterfaceLocation{interfaceName=FastEthernet5... \n", | |
"7 [InterfaceLocation{interfaceName=FastEthernet6... \n", | |
"8 [InterfaceLocation{interfaceName=FastEthernet7... \n", | |
"9 [InterfaceLocation{interfaceName=FastEthernet8... \n", | |
"10 [InterfaceLocation{interfaceName=FastEthernet9... \n", | |
"11 [InterfaceLocation{interfaceName=Vlan1, nodeNa... \n", | |
"12 [InterfaceLocation{interfaceName=Vlan10, nodeN... \n", | |
"13 [InterfaceLocation{interfaceName=BRI0, nodeNam... \n", | |
"14 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"15 [InterfaceLocation{interfaceName=FastEthernet1... \n", | |
"16 [InterfaceLocation{interfaceName=FastEthernet2... \n", | |
"17 [InterfaceLocation{interfaceName=FastEthernet3... \n", | |
"18 [InterfaceLocation{interfaceName=FastEthernet4... \n", | |
"19 [InterfaceLocation{interfaceName=FastEthernet5... \n", | |
"20 [InterfaceLocation{interfaceName=FastEthernet6... \n", | |
"21 [InterfaceLocation{interfaceName=FastEthernet7... \n", | |
"22 [InterfaceLocation{interfaceName=FastEthernet8... \n", | |
"23 [InterfaceLocation{interfaceName=FastEthernet9... \n", | |
"24 [InterfaceLocation{interfaceName=Loopback0, no... \n", | |
"25 [InterfaceLocation{interfaceName=Tunnel1, node... \n", | |
"26 [InterfaceLocation{interfaceName=Vlan1, nodeNa... \n", | |
"27 [InterfaceLocation{interfaceName=Vlan10, nodeN... \n", | |
"28 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"29 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
".. ... \n", | |
"116 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"117 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"118 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"119 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"120 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"121 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"122 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"123 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"124 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"125 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"126 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"127 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"128 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"129 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"130 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"131 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"132 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"133 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"134 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"135 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"136 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"137 [InterfaceLocation{interfaceName=FastEthernet0... \n", | |
"138 [InterfaceLocation{interfaceName=GigabitEthern... \n", | |
"139 [InterfaceLocation{interfaceName=GigabitEthern... \n", | |
"140 [InterfaceLocation{interfaceName=Port-Channel1... \n", | |
"141 [InterfaceLocation{interfaceName=Vlan1, nodeNa... \n", | |
"142 [InterfaceLocation{interfaceName=Vlan100, node... \n", | |
"143 [InterfaceLocation{interfaceName=Vlan101, node... \n", | |
"144 [InterfaceLocation{interfaceName=Vlan201, node... \n", | |
"145 [InterfaceLocation{interfaceName=Vlan203, node... \n", | |
"\n", | |
" IP_Space \n", | |
"0 empty \n", | |
"1 IpIpSpace{ip=10.1.1.2} \n", | |
"2 empty \n", | |
"3 empty \n", | |
"4 empty \n", | |
"5 empty \n", | |
"6 empty \n", | |
"7 empty \n", | |
"8 empty \n", | |
"9 empty \n", | |
"10 empty \n", | |
"11 empty \n", | |
"12 IpIpSpace{ip=10.10.1.49} \n", | |
"13 empty \n", | |
"14 IpIpSpace{ip=10.1.1.6} \n", | |
"15 empty \n", | |
"16 empty \n", | |
"17 empty \n", | |
"18 empty \n", | |
"19 empty \n", | |
"20 empty \n", | |
"21 empty \n", | |
"22 empty \n", | |
"23 empty \n", | |
"24 IpIpSpace{ip=1.1.1.2} \n", | |
"25 IpIpSpace{ip=10.1.1.10} \n", | |
"26 empty \n", | |
"27 IpIpSpace{ip=10.10.1.48} \n", | |
"28 empty \n", | |
"29 empty \n", | |
".. ... \n", | |
"116 empty \n", | |
"117 empty \n", | |
"118 empty \n", | |
"119 empty \n", | |
"120 empty \n", | |
"121 empty \n", | |
"122 empty \n", | |
"123 empty \n", | |
"124 empty \n", | |
"125 empty \n", | |
"126 empty \n", | |
"127 empty \n", | |
"128 empty \n", | |
"129 empty \n", | |
"130 empty \n", | |
"131 empty \n", | |
"132 empty \n", | |
"133 empty \n", | |
"134 empty \n", | |
"135 empty \n", | |
"136 empty \n", | |
"137 empty \n", | |
"138 empty \n", | |
"139 empty \n", | |
"140 empty \n", | |
"141 empty \n", | |
"142 IpIpSpace{ip=192.168.100.48} \n", | |
"143 IpIpSpace{ip=192.168.101.48} \n", | |
"144 IpIpSpace{ip=192.168.200.6} \n", | |
"145 IpIpSpace{ip=192.168.200.14} \n", | |
"\n", | |
"[146 rows x 2 columns]" | |
] | |
}, | |
"execution_count": 19, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question30 = bfq.resolveIpsOfLocationSpecifier().answer().frame()\n", | |
"question30" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 20, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:38 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Location</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>InterfaceLocation{interfaceName=BRI0, nodeName...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet1,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet2,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet3,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet4,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet5,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet6,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet7,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet8,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet9,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan1, nodeNam...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan10, nodeNa...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>InterfaceLocation{interfaceName=BRI0, nodeName...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet1,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet2,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet3,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet4,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet5,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>20</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet6,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>21</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet7,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>22</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet8,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>23</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet9,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>24</th>\n", | |
" <td>InterfaceLocation{interfaceName=Loopback0, nod...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>25</th>\n", | |
" <td>InterfaceLocation{interfaceName=Tunnel1, nodeN...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>26</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan1, nodeNam...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>27</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan10, nodeNa...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>28</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>29</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>...</th>\n", | |
" <td>...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>116</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>117</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>118</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>119</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>120</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>121</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>122</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>123</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>124</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>125</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>126</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>127</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>128</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>129</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>130</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>131</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>132</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>133</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>134</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>135</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>136</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>137</th>\n", | |
" <td>InterfaceLocation{interfaceName=FastEthernet0/...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>138</th>\n", | |
" <td>InterfaceLocation{interfaceName=GigabitEtherne...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>139</th>\n", | |
" <td>InterfaceLocation{interfaceName=GigabitEtherne...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>140</th>\n", | |
" <td>InterfaceLocation{interfaceName=Port-Channel1,...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>141</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan1, nodeNam...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>142</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan100, nodeN...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>143</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan101, nodeN...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>144</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan201, nodeN...</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>145</th>\n", | |
" <td>InterfaceLocation{interfaceName=Vlan203, nodeN...</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"<p>146 rows × 1 columns</p>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Location\n", | |
"0 InterfaceLocation{interfaceName=BRI0, nodeName...\n", | |
"1 InterfaceLocation{interfaceName=FastEthernet0,...\n", | |
"2 InterfaceLocation{interfaceName=FastEthernet1,...\n", | |
"3 InterfaceLocation{interfaceName=FastEthernet2,...\n", | |
"4 InterfaceLocation{interfaceName=FastEthernet3,...\n", | |
"5 InterfaceLocation{interfaceName=FastEthernet4,...\n", | |
"6 InterfaceLocation{interfaceName=FastEthernet5,...\n", | |
"7 InterfaceLocation{interfaceName=FastEthernet6,...\n", | |
"8 InterfaceLocation{interfaceName=FastEthernet7,...\n", | |
"9 InterfaceLocation{interfaceName=FastEthernet8,...\n", | |
"10 InterfaceLocation{interfaceName=FastEthernet9,...\n", | |
"11 InterfaceLocation{interfaceName=Vlan1, nodeNam...\n", | |
"12 InterfaceLocation{interfaceName=Vlan10, nodeNa...\n", | |
"13 InterfaceLocation{interfaceName=BRI0, nodeName...\n", | |
"14 InterfaceLocation{interfaceName=FastEthernet0,...\n", | |
"15 InterfaceLocation{interfaceName=FastEthernet1,...\n", | |
"16 InterfaceLocation{interfaceName=FastEthernet2,...\n", | |
"17 InterfaceLocation{interfaceName=FastEthernet3,...\n", | |
"18 InterfaceLocation{interfaceName=FastEthernet4,...\n", | |
"19 InterfaceLocation{interfaceName=FastEthernet5,...\n", | |
"20 InterfaceLocation{interfaceName=FastEthernet6,...\n", | |
"21 InterfaceLocation{interfaceName=FastEthernet7,...\n", | |
"22 InterfaceLocation{interfaceName=FastEthernet8,...\n", | |
"23 InterfaceLocation{interfaceName=FastEthernet9,...\n", | |
"24 InterfaceLocation{interfaceName=Loopback0, nod...\n", | |
"25 InterfaceLocation{interfaceName=Tunnel1, nodeN...\n", | |
"26 InterfaceLocation{interfaceName=Vlan1, nodeNam...\n", | |
"27 InterfaceLocation{interfaceName=Vlan10, nodeNa...\n", | |
"28 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"29 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
".. ...\n", | |
"116 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"117 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"118 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"119 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"120 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"121 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"122 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"123 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"124 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"125 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"126 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"127 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"128 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"129 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"130 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"131 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"132 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"133 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"134 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"135 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"136 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"137 InterfaceLocation{interfaceName=FastEthernet0/...\n", | |
"138 InterfaceLocation{interfaceName=GigabitEtherne...\n", | |
"139 InterfaceLocation{interfaceName=GigabitEtherne...\n", | |
"140 InterfaceLocation{interfaceName=Port-Channel1,...\n", | |
"141 InterfaceLocation{interfaceName=Vlan1, nodeNam...\n", | |
"142 InterfaceLocation{interfaceName=Vlan100, nodeN...\n", | |
"143 InterfaceLocation{interfaceName=Vlan101, nodeN...\n", | |
"144 InterfaceLocation{interfaceName=Vlan201, nodeN...\n", | |
"145 InterfaceLocation{interfaceName=Vlan203, nodeN...\n", | |
"\n", | |
"[146 rows x 1 columns]" | |
] | |
}, | |
"execution_count": 20, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question31 = bfq.resolveLocationSpecifier().answer().frame()\n", | |
"question31" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 21, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:40 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>brborder1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>brborder2</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>hqaccess1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>hqborder1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>hqborder2</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>hqdist1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>hqdist2</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Node\n", | |
"0 brborder1\n", | |
"1 brborder2\n", | |
"2 hqaccess1\n", | |
"3 hqborder1\n", | |
"4 hqborder2\n", | |
"5 hqdist1\n", | |
"6 hqdist2" | |
] | |
}, | |
"execution_count": 21, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question32 = bfq.resolveNodeSpecifier().answer().frame()\n", | |
"question32" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 22, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:42 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Structure_Type</th>\n", | |
" <th>Structure_Name</th>\n", | |
" <th>Source_Lines</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>policy-map</td>\n", | |
" <td>P-PARENT</td>\n", | |
" <td>configs/hqborder2.log:[53, 54, 55, 56]</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" Structure_Type Structure_Name Source_Lines\n", | |
"0 policy-map P-PARENT configs/hqborder2.log:[53, 54, 55, 56]" | |
] | |
}, | |
"execution_count": 22, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question38 = bfq.unusedStructures().answer().frame()\n", | |
"question38" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 23, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:44 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"{'answerElements': [{'class': 'org.batfish.question.VIModelQuestionPlugin$VIModelAnswerElement',\n", | |
" 'edges': {'eigrp': [{'edge': {'node1': {'hostname': 'brborder1',\n", | |
" 'interfaceName': 'FastEthernet0',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'FastEthernet0',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.1.1.2',\n", | |
" 'ip2': '10.1.1.1',\n", | |
" 'node1': 'brborder1',\n", | |
" 'node2': 'hqborder1'}},\n", | |
" {'edge': {'node1': {'hostname': 'brborder1',\n", | |
" 'interfaceName': 'Vlan10',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'brborder2',\n", | |
" 'interfaceName': 'Vlan10',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.10.1.49',\n", | |
" 'ip2': '10.10.1.48',\n", | |
" 'node1': 'brborder1',\n", | |
" 'node2': 'brborder2'}},\n", | |
" {'edge': {'node1': {'hostname': 'brborder2',\n", | |
" 'interfaceName': 'Tunnel1',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'Tunnel1',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.1.1.10',\n", | |
" 'ip2': '10.1.1.9',\n", | |
" 'node1': 'brborder2',\n", | |
" 'node2': 'hqborder2'}},\n", | |
" {'edge': {'node1': {'hostname': 'brborder2',\n", | |
" 'interfaceName': 'Vlan10',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'brborder1',\n", | |
" 'interfaceName': 'Vlan10',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.10.1.48',\n", | |
" 'ip2': '10.10.1.49',\n", | |
" 'node1': 'brborder2',\n", | |
" 'node2': 'brborder1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'FastEthernet0',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'brborder1',\n", | |
" 'interfaceName': 'FastEthernet0',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.1.1.1',\n", | |
" 'ip2': '10.1.1.2',\n", | |
" 'node1': 'hqborder1',\n", | |
" 'node2': 'brborder1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'FastEthernet1',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan200',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.1',\n", | |
" 'ip2': '192.168.200.2',\n", | |
" 'node1': 'hqborder1',\n", | |
" 'node2': 'hqdist1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'Vlan201',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan201',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.5',\n", | |
" 'ip2': '192.168.200.6',\n", | |
" 'node1': 'hqborder1',\n", | |
" 'node2': 'hqdist2'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'Tunnel1',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'brborder2',\n", | |
" 'interfaceName': 'Tunnel1',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '10.1.1.9',\n", | |
" 'ip2': '10.1.1.10',\n", | |
" 'node1': 'hqborder2',\n", | |
" 'node2': 'brborder2'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'FastEthernet1',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan202',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.9',\n", | |
" 'ip2': '192.168.200.10',\n", | |
" 'node1': 'hqborder2',\n", | |
" 'node2': 'hqdist1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'Vlan203',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan203',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.13',\n", | |
" 'ip2': '192.168.200.14',\n", | |
" 'node1': 'hqborder2',\n", | |
" 'node2': 'hqdist2'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan100',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan100',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.100.49',\n", | |
" 'ip2': '192.168.100.48',\n", | |
" 'node1': 'hqdist1',\n", | |
" 'node2': 'hqdist2'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan200',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'FastEthernet1',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.2',\n", | |
" 'ip2': '192.168.200.1',\n", | |
" 'node1': 'hqdist1',\n", | |
" 'node2': 'hqborder1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan202',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'FastEthernet1',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.10',\n", | |
" 'ip2': '192.168.200.9',\n", | |
" 'node1': 'hqdist1',\n", | |
" 'node2': 'hqborder2'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan100',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqdist1',\n", | |
" 'interfaceName': 'Vlan100',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.100.48',\n", | |
" 'ip2': '192.168.100.49',\n", | |
" 'node1': 'hqdist2',\n", | |
" 'node2': 'hqdist1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan201',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder1',\n", | |
" 'interfaceName': 'Vlan201',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.6',\n", | |
" 'ip2': '192.168.200.5',\n", | |
" 'node1': 'hqdist2',\n", | |
" 'node2': 'hqborder1'}},\n", | |
" {'edge': {'node1': {'hostname': 'hqdist2',\n", | |
" 'interfaceName': 'Vlan203',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2': {'hostname': 'hqborder2',\n", | |
" 'interfaceName': 'Vlan203',\n", | |
" 'vrf': 'default'}},\n", | |
" 'edgeSummary': {'ip1': '192.168.200.14',\n", | |
" 'ip2': '192.168.200.13',\n", | |
" 'node1': 'hqdist2',\n", | |
" 'node2': 'hqborder2'}}],\n", | |
" 'layer3': [{'edgeSummary': {'node1': 'brborder1',\n", | |
" 'node1interface': 'FastEthernet0',\n", | |
" 'node2': 'hqborder1',\n", | |
" 'node2interface': 'FastEthernet0'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To hqborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To brborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'brborder1',\n", | |
" 'node1interface': 'Vlan10',\n", | |
" 'node2': 'brborder2',\n", | |
" 'node2interface': 'Vlan10'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'brborder2',\n", | |
" 'node1interface': 'FastEthernet0',\n", | |
" 'node2': 'hqborder2',\n", | |
" 'node2interface': 'FastEthernet0'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'brborder2',\n", | |
" 'node1interface': 'Tunnel1',\n", | |
" 'node2': 'hqborder2',\n", | |
" 'node2interface': 'Tunnel1'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To hqborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To brborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'brborder2',\n", | |
" 'node1interface': 'Vlan10',\n", | |
" 'node2': 'brborder1',\n", | |
" 'node2interface': 'Vlan10'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqaccess1',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.47/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.47/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'outgoingFilter': 'Server',\n", | |
" 'prefix': '192.168.100.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqaccess1',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.47/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.47/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder1',\n", | |
" 'node1interface': 'FastEthernet0',\n", | |
" 'node2': 'brborder1',\n", | |
" 'node2interface': 'FastEthernet0'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To brborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To hqborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder1',\n", | |
" 'node1interface': 'FastEthernet1',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan200'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan200'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan200',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 200,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder1',\n", | |
" 'node1interface': 'Vlan201',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan201'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder2',\n", | |
" 'node1interface': 'FastEthernet0',\n", | |
" 'node2': 'brborder2',\n", | |
" 'node2interface': 'FastEthernet0'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder2',\n", | |
" 'node1interface': 'FastEthernet1',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan202'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan202'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan202',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 202,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder2',\n", | |
" 'node1interface': 'Tunnel1',\n", | |
" 'node2': 'brborder2',\n", | |
" 'node2interface': 'Tunnel1'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To brborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To hqborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqborder2',\n", | |
" 'node1interface': 'Vlan203',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan203'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.13/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.13/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.14/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.14/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist1',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqaccess1',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'outgoingFilter': 'Server',\n", | |
" 'prefix': '192.168.100.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.47/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.47/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist1',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'outgoingFilter': 'Server',\n", | |
" 'prefix': '192.168.100.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist1',\n", | |
" 'node1interface': 'Vlan101',\n", | |
" 'node2': 'hqdist2',\n", | |
" 'node2interface': 'Vlan101'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist1',\n", | |
" 'node1interface': 'Vlan200',\n", | |
" 'node2': 'hqborder1',\n", | |
" 'node2interface': 'FastEthernet1'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan200'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan200',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 200,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist1',\n", | |
" 'node1interface': 'Vlan202',\n", | |
" 'node2': 'hqborder2',\n", | |
" 'node2interface': 'FastEthernet1'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan202'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan202',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 202,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist2',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqaccess1',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.47/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.47/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist2',\n", | |
" 'node1interface': 'Vlan100',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan100'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'outgoingFilter': 'Server',\n", | |
" 'prefix': '192.168.100.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist2',\n", | |
" 'node1interface': 'Vlan101',\n", | |
" 'node2': 'hqdist1',\n", | |
" 'node2interface': 'Vlan101'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist2',\n", | |
" 'node1interface': 'Vlan201',\n", | |
" 'node2': 'hqborder1',\n", | |
" 'node2interface': 'Vlan201'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'}},\n", | |
" {'edgeSummary': {'node1': 'hqdist2',\n", | |
" 'node1interface': 'Vlan203',\n", | |
" 'node2': 'hqborder2',\n", | |
" 'node2interface': 'Vlan203'},\n", | |
" 'node1Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.14/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.14/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'},\n", | |
" 'node2Interface': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.13/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.13/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'}}]},\n", | |
" 'nodes': {'brborder1': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'brborder1',\n", | |
" 'interfaces': {'BRI0': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['BRI0'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'BRI0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'UNKNOWN',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To hqborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet2': {'accessVlan': 10,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet2'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet3': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet3'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet4': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet5': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet6': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet7': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet8': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet9': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan10': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'}},\n", | |
" 'ipAccessLists': {'100': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.0/24'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any 192.168.100.0 0.0.0.255'}],\n", | |
" 'name': '100',\n", | |
" 'sourceName': '100',\n", | |
" 'sourceType': 'extended ipv4 access-list'},\n", | |
" '101': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.101.0/24'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any 192.168.101.0 0.0.0.255'}],\n", | |
" 'name': '101',\n", | |
" 'sourceName': '101',\n", | |
" 'sourceType': 'extended ipv4 access-list'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'brborder1',\n", | |
" 'ntpServers': ['10.10.1.4'],\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\n============NOTICE==============\\n| This is test device for demo |\\n================================\\n^C\\n'},\n", | |
" 'enableSecret': '1de51cece1a0265445ce91cab77d1c9fc057e039ff2501ae974c83880e42b56b',\n", | |
" 'hostname': 'brborder1',\n", | |
" 'lines': {'aux0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'AUX',\n", | |
" 'name': 'aux0'},\n", | |
" 'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'10.10.1.4': {'name': '10.10.1.4'}}},\n", | |
" 'services': {'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'ssh': {'version': 2},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': '3c40eedaa40f88c1fbd16fca1d76456adfd36e93f8c7c7f4e6d347fffb7bc18d'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '10.10.1.49'}},\n", | |
" 'interfaces': ['BRI0',\n", | |
" 'FastEthernet0',\n", | |
" 'FastEthernet1',\n", | |
" 'FastEthernet2',\n", | |
" 'FastEthernet3',\n", | |
" 'FastEthernet4',\n", | |
" 'FastEthernet5',\n", | |
" 'FastEthernet6',\n", | |
" 'FastEthernet7',\n", | |
" 'FastEthernet8',\n", | |
" 'FastEthernet9',\n", | |
" 'Vlan1',\n", | |
" 'Vlan10'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'}}}},\n", | |
" 'brborder2': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'brborder2',\n", | |
" 'interfaces': {'BRI0': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['BRI0'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'BRI0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'UNKNOWN',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet2': {'accessVlan': 10,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet2'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet3': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet3'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet4': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet5': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet6': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet7': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet8': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet9': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Loopback0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['1.1.1.2/32'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 8000000000.0,\n", | |
" 'declaredNames': ['Loopback0'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Loopback0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '1.1.1.2/32',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'LOOPBACK',\n", | |
" 'vrf': 'default'},\n", | |
" 'Tunnel1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To hqborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan10': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.10.1.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan10'],\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.10.1.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 10,\n", | |
" 'vrf': 'default'}},\n", | |
" 'ipAccessLists': {'100': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.0/24'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any 192.168.100.0 0.0.0.255'}],\n", | |
" 'name': '100',\n", | |
" 'sourceName': '100',\n", | |
" 'sourceType': 'extended ipv4 access-list'},\n", | |
" '101': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.101.0/24'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any 192.168.101.0 0.0.0.255'}],\n", | |
" 'name': '101',\n", | |
" 'sourceName': '101',\n", | |
" 'sourceType': 'extended ipv4 access-list'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'brborder2',\n", | |
" 'ntpServers': ['10.10.1.44'],\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\n============NOTICE==============\\n| This is test device for demo |\\n================================\\n^C\\n'},\n", | |
" 'enableSecret': 'e6443d833e4a75ace9c86bc627daf0f60fce680952e47e74ccd987f571610d10',\n", | |
" 'hostname': 'brborder2',\n", | |
" 'lines': {'aux0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'AUX',\n", | |
" 'name': 'aux0'},\n", | |
" 'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'10.10.1.44': {'name': '10.10.1.44'}}},\n", | |
" 'services': {'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'ssh': {'version': 2},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': '5333a0e0c585ebd97c3138b29379c762fe237979d83e7f8745ef7c1bc06cb957'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '1.1.1.2'}},\n", | |
" 'interfaces': ['BRI0',\n", | |
" 'FastEthernet0',\n", | |
" 'FastEthernet1',\n", | |
" 'FastEthernet2',\n", | |
" 'FastEthernet3',\n", | |
" 'FastEthernet4',\n", | |
" 'FastEthernet5',\n", | |
" 'FastEthernet6',\n", | |
" 'FastEthernet7',\n", | |
" 'FastEthernet8',\n", | |
" 'FastEthernet9',\n", | |
" 'Loopback0',\n", | |
" 'Tunnel1',\n", | |
" 'Vlan1',\n", | |
" 'Vlan10'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'},\n", | |
" 'staticRoutes': [{'administrativeCost': 1,\n", | |
" 'class': 'org.batfish.datamodel.StaticRoute',\n", | |
" 'metric': 0,\n", | |
" 'network': '1.1.1.1/32',\n", | |
" 'nextHopInterface': 'dynamic',\n", | |
" 'nextHopIp': '10.1.1.5',\n", | |
" 'tag': -1}]}}},\n", | |
" 'hqaccess1': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'SWITCH',\n", | |
" 'domainName': 'hqaccess1',\n", | |
" 'interfaces': {'FastEthernet0/1': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/10': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/10'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/11': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/11'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/11',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/12': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/12'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/12',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/13': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/13'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/13',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/14': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/14'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/14',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/15': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/15'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/15',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/16': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/16'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/16',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/17': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/17'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/17',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/18': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/18'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/18',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/19': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/19'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/19',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/2': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/2'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/20': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/20'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/20',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/21': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/21'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/21',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/22': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/22'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/22',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/23': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/23'],\n", | |
" 'description': '<< To hqdist1 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/23',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/24': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/24'],\n", | |
" 'description': '<< To hqdist2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/24',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/3': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/3'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/4': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/5': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/6': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/7': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/8': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/9': {'accessVlan': 100,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': True,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan100': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.47/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.47/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'hqaccess1',\n", | |
" 'ntpServers': ['192.168.100.44'],\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'banners': {'login': '^C\\r\\n============NOTICE==============\\r\\n| This is test device for demo |\\r\\n================================\\r\\n^C\\r\\n'},\n", | |
" 'enableSecret': '6dd42efc858490edac14e57f2e380088eedc0496d0dc3e342040b7cb8912ff63',\n", | |
" 'hostname': 'hqaccess1',\n", | |
" 'lines': {'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'192.168.100.44': {'name': '192.168.100.44'}}},\n", | |
" 'services': {'pad': {'enabled': False},\n", | |
" 'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': '3c40eedaa40f88c1fbd16fca1d76456adfd36e93f8c7c7f4e6d347fffb7bc18d'}}}},\n", | |
" 'vrfs': {'default': {'interfaces': ['FastEthernet0/1',\n", | |
" 'FastEthernet0/10',\n", | |
" 'FastEthernet0/11',\n", | |
" 'FastEthernet0/12',\n", | |
" 'FastEthernet0/13',\n", | |
" 'FastEthernet0/14',\n", | |
" 'FastEthernet0/15',\n", | |
" 'FastEthernet0/16',\n", | |
" 'FastEthernet0/17',\n", | |
" 'FastEthernet0/18',\n", | |
" 'FastEthernet0/19',\n", | |
" 'FastEthernet0/2',\n", | |
" 'FastEthernet0/20',\n", | |
" 'FastEthernet0/21',\n", | |
" 'FastEthernet0/22',\n", | |
" 'FastEthernet0/23',\n", | |
" 'FastEthernet0/24',\n", | |
" 'FastEthernet0/3',\n", | |
" 'FastEthernet0/4',\n", | |
" 'FastEthernet0/5',\n", | |
" 'FastEthernet0/6',\n", | |
" 'FastEthernet0/7',\n", | |
" 'FastEthernet0/8',\n", | |
" 'FastEthernet0/9',\n", | |
" 'Vlan1',\n", | |
" 'Vlan100'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'}}}},\n", | |
" 'hqborder1': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'hqborder1',\n", | |
" 'interfaces': {'BRI0': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['BRI0'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'BRI0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'UNKNOWN',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To brborder1 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.1/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.1/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet2': {'accessVlan': 201,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet2'],\n", | |
" 'description': '<< To hqdist2 Fa0/1 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet3': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet3'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet4': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet5': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet6': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet7': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet8': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet9': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan201': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'}},\n", | |
" 'ipAccessLists': {'100': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.0/24'}}},\n", | |
" 'name': 'permit ip 192.168.100.0 0.0.0.255 any'}],\n", | |
" 'name': '100',\n", | |
" 'sourceName': '100',\n", | |
" 'sourceType': 'extended ipv4 access-list'},\n", | |
" '101': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.101.0/24'}}},\n", | |
" 'name': 'permit ip 192.168.101.0 0.0.0.255 any'}],\n", | |
" 'name': '101',\n", | |
" 'sourceName': '101',\n", | |
" 'sourceType': 'extended ipv4 access-list'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'hqborder1',\n", | |
" 'ntpServers': ['192.168.100.44'],\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\r\\n============NOTICE==============\\r\\n| This is test device for demo |\\r\\n================================\\r\\n^C\\r\\n'},\n", | |
" 'enableSecret': '5ff03c8ed3fb6aa859e9316b201cec5ab0dadd48ab8009ec166e7681d58d1887',\n", | |
" 'hostname': 'hqborder1',\n", | |
" 'lines': {'aux0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'AUX',\n", | |
" 'name': 'aux0'},\n", | |
" 'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'192.168.100.44': {'name': '192.168.100.44'}}},\n", | |
" 'services': {'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'ssh': {'version': 2},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': 'b6e254f494310735cf387642b9e7fdfe81a03945233cb820ac6247d5a53acd77'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '192.168.200.5'}},\n", | |
" 'interfaces': ['BRI0',\n", | |
" 'FastEthernet0',\n", | |
" 'FastEthernet1',\n", | |
" 'FastEthernet2',\n", | |
" 'FastEthernet3',\n", | |
" 'FastEthernet4',\n", | |
" 'FastEthernet5',\n", | |
" 'FastEthernet6',\n", | |
" 'FastEthernet7',\n", | |
" 'FastEthernet8',\n", | |
" 'FastEthernet9',\n", | |
" 'Vlan1',\n", | |
" 'Vlan201'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'}}}},\n", | |
" 'hqborder2': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'hqborder2',\n", | |
" 'interfaces': {'BRI0': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['BRI0'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'BRI0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'UNKNOWN',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.5/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0'],\n", | |
" 'description': '<< To PE Router >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.5/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet1'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100000,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet2': {'accessVlan': 203,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet2'],\n", | |
" 'description': '<< To hqdist2 Fa0/2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet3': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet3'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet4': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet5': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet6': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet7': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet8': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet9': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Loopback0': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['1.1.1.1/32'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 8000000000.0,\n", | |
" 'declaredNames': ['Loopback0'],\n", | |
" 'description': '<< Loopback >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Loopback0',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '1.1.1.1/32',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'LOOPBACK',\n", | |
" 'vrf': 'default'},\n", | |
" 'Tunnel1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['10.1.1.9/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000.0,\n", | |
" 'declaredNames': ['Tunnel1'],\n", | |
" 'description': '<< To brborder2 >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 100000,\n", | |
" 'classic-delay': 10,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 100,\n", | |
" 'named-delay': 100000000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Tunnel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '10.1.1.9/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'TUNNEL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan203': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.13/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.13/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'}},\n", | |
" 'ipAccessLists': {'100': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.0/24'}}},\n", | |
" 'name': 'permit ip 192.168.100.0 0.0.0.255 any'}],\n", | |
" 'name': '100',\n", | |
" 'sourceName': '100',\n", | |
" 'sourceType': 'extended ipv4 access-list'},\n", | |
" '101': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.101.0/24'}}},\n", | |
" 'name': 'permit ip 192.168.101.0 0.0.0.255 any'}],\n", | |
" 'name': '101',\n", | |
" 'sourceName': '101',\n", | |
" 'sourceType': 'extended ipv4 access-list'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'hqborder2',\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\n============NOTICE==============\\n| This is test device for demo |\\n================================\\n^C\\n'},\n", | |
" 'enableSecret': 'ffe383b63526c756d0f37de5ee3bb996710c34ceb679f55a86cf355d0f4e583d',\n", | |
" 'hostname': 'hqborder2',\n", | |
" 'lines': {'aux0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'AUX',\n", | |
" 'name': 'aux0'},\n", | |
" 'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {},\n", | |
" 'services': {'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'ssh': {'version': 2},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': '6948b82d112177382774f3d8edb84fc397f48b8b19ae7ba043c302425cea4412'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '1.1.1.1'}},\n", | |
" 'interfaces': ['BRI0',\n", | |
" 'FastEthernet0',\n", | |
" 'FastEthernet1',\n", | |
" 'FastEthernet2',\n", | |
" 'FastEthernet3',\n", | |
" 'FastEthernet4',\n", | |
" 'FastEthernet5',\n", | |
" 'FastEthernet6',\n", | |
" 'FastEthernet7',\n", | |
" 'FastEthernet8',\n", | |
" 'FastEthernet9',\n", | |
" 'Loopback0',\n", | |
" 'Tunnel1',\n", | |
" 'Vlan1',\n", | |
" 'Vlan203'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'},\n", | |
" 'staticRoutes': [{'administrativeCost': 1,\n", | |
" 'class': 'org.batfish.datamodel.StaticRoute',\n", | |
" 'metric': 0,\n", | |
" 'network': '1.1.1.2/32',\n", | |
" 'nextHopInterface': 'dynamic',\n", | |
" 'nextHopIp': '10.1.1.6',\n", | |
" 'tag': -1}]}}},\n", | |
" 'hqdist1': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'hqdist1',\n", | |
" 'interfaces': {'FastEthernet0/1': {'accessVlan': 200,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/1'],\n", | |
" 'description': '<< To hqborder1 Fa1 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/10': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/10'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/11': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/11'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/11',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/12': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/12'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/12',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/13': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/13'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/13',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/14': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/14'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/14',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/15': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/15'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/15',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/16': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/16'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/16',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/17': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/17'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/17',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/18': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/18'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/18',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/19': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/19'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/19',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/2': {'accessVlan': 202,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/2'],\n", | |
" 'description': '<< To hqborder2 Fa1 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/20': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/20'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/20',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/21': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/21'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/21',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/22': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/22'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/22',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/23': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'channelGroup': 'Port-Channel1',\n", | |
" 'declaredNames': ['FastEthernet0/23'],\n", | |
" 'description': '<< To hqdist2 Fa0/23 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/23',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'TRUNK',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/24': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'channelGroup': 'Port-Channel1',\n", | |
" 'declaredNames': ['FastEthernet0/24'],\n", | |
" 'description': '<< To hqdist2 Fa0/24 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/24',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'TRUNK',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/3': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/3'],\n", | |
" 'description': '<< To hqaccess1 Fa0/23 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/4': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/5': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/6': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/7': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/8': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/9': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'GigabitEthernet0/1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000.0,\n", | |
" 'declaredNames': ['GigabitEthernet0/1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'GigabitEthernet0/1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'GigabitEthernet0/2': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000.0,\n", | |
" 'declaredNames': ['GigabitEthernet0/2'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'GigabitEthernet0/2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Port-Channel1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 200000000.0,\n", | |
" 'channelGroupMembers': ['FastEthernet0/23', 'FastEthernet0/24'],\n", | |
" 'declaredNames': ['Port-channel1'],\n", | |
" 'description': '<< Connect hqdist1 and hqdist2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Port-Channel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'TRUNK',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'AGGREGATED',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan100': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'outgoingFilter': 'Server',\n", | |
" 'prefix': '192.168.100.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan101': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.49/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 150}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.49/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan200': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.2/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan200'],\n", | |
" 'description': '<< border1 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan200',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.2/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 200,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan202': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.10/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan202'],\n", | |
" 'description': '<< border2 - dist1 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan202',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.10/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 202,\n", | |
" 'vrf': 'default'}},\n", | |
" 'ipAccessLists': {'Server': {'lines': [{'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.0/24'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '10.10.1.0/24'}}},\n", | |
" 'name': 'permit ip 10.10.1.0 0.0.0.255 192.168.100.0 0.0.0.255'},\n", | |
" {'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.107'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any host 192.168.100.107'},\n", | |
" {'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.37'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any host 192.168.100.37'},\n", | |
" {'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.47'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any host 192.168.100.47'},\n", | |
" {'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.44'},\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit ip any host 192.168.100.44'},\n", | |
" {'action': 'PERMIT',\n", | |
" 'matchCondition': {'class': 'org.batfish.datamodel.acl.MatchHeaderSpace',\n", | |
" 'headerSpace': {'dstIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '192.168.100.44'},\n", | |
" 'dstPorts': ['123-123'],\n", | |
" 'ipProtocols': ['UDP'],\n", | |
" 'negate': False,\n", | |
" 'srcIps': {'class': 'org.batfish.datamodel.IpWildcardIpSpace',\n", | |
" 'ipWildcard': '0.0.0.0/0'}}},\n", | |
" 'name': 'permit udp any host 192.168.100.44 eq ntp'}],\n", | |
" 'name': 'Server',\n", | |
" 'sourceName': 'Server',\n", | |
" 'sourceType': 'extended ipv4 access-list'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'hqdist1',\n", | |
" 'ntpServers': ['192.168.100.44'],\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\n============NOTICE==============\\n| This is test device for demo |\\n================================\\n^C\\n'},\n", | |
" 'enableSecret': '820a8c2715b4d9a774a333fc6d458352e9ebb7328b00df175e134b4898842baf',\n", | |
" 'hostname': 'hqdist1',\n", | |
" 'lines': {'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'192.168.100.44': {'name': '192.168.100.44'}}},\n", | |
" 'services': {'pad': {'enabled': False},\n", | |
" 'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': '6efda111880f7a1468187d84e1c01276a910620dacd14eb30660edcef22db84a'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '192.168.200.10'}},\n", | |
" 'interfaces': ['FastEthernet0/1',\n", | |
" 'FastEthernet0/10',\n", | |
" 'FastEthernet0/11',\n", | |
" 'FastEthernet0/12',\n", | |
" 'FastEthernet0/13',\n", | |
" 'FastEthernet0/14',\n", | |
" 'FastEthernet0/15',\n", | |
" 'FastEthernet0/16',\n", | |
" 'FastEthernet0/17',\n", | |
" 'FastEthernet0/18',\n", | |
" 'FastEthernet0/19',\n", | |
" 'FastEthernet0/2',\n", | |
" 'FastEthernet0/20',\n", | |
" 'FastEthernet0/21',\n", | |
" 'FastEthernet0/22',\n", | |
" 'FastEthernet0/23',\n", | |
" 'FastEthernet0/24',\n", | |
" 'FastEthernet0/3',\n", | |
" 'FastEthernet0/4',\n", | |
" 'FastEthernet0/5',\n", | |
" 'FastEthernet0/6',\n", | |
" 'FastEthernet0/7',\n", | |
" 'FastEthernet0/8',\n", | |
" 'FastEthernet0/9',\n", | |
" 'GigabitEthernet0/1',\n", | |
" 'GigabitEthernet0/2',\n", | |
" 'Port-Channel1',\n", | |
" 'Vlan1',\n", | |
" 'Vlan100',\n", | |
" 'Vlan101',\n", | |
" 'Vlan200',\n", | |
" 'Vlan202'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'}}}},\n", | |
" 'hqdist2': {'configurationFormat': 'CISCO_IOS',\n", | |
" 'defaultCrossZoneAction': 'PERMIT',\n", | |
" 'defaultInboundAction': 'PERMIT',\n", | |
" 'deviceType': 'ROUTER',\n", | |
" 'domainName': 'hqdist2',\n", | |
" 'interfaces': {'FastEthernet0/1': {'accessVlan': 201,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/1'],\n", | |
" 'description': '<< To hqborder1 Fa2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/10': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/10'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/10',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/11': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/11'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/11',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/12': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/12'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/12',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/13': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/13'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/13',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/14': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/14'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/14',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/15': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/15'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/15',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/16': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/16'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/16',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/17': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/17'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/17',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/18': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/18'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/18',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/19': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/19'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/19',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/2': {'accessVlan': 203,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/2'],\n", | |
" 'description': '<< To hqdist2 Fa2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/20': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/20'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/20',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/21': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/21'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/21',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/22': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/22'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/22',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/23': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'channelGroup': 'Port-Channel1',\n", | |
" 'declaredNames': ['FastEthernet0/23'],\n", | |
" 'description': '<< To hqdist1 Fa0/23 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/23',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'TRUNK',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/24': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'channelGroup': 'Port-Channel1',\n", | |
" 'declaredNames': ['FastEthernet0/24'],\n", | |
" 'description': '<< To hqdist1 Fa0/24 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/24',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'TRUNK',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/3': {'accessVlan': 100,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/3'],\n", | |
" 'description': '<< To hqaccess1 Fa0/24 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/3',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'ACCESS',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/4': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/4'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/4',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/5': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/5'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/5',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/6': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/6'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/6',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/7': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/7'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/7',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/8': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/8'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/8',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'FastEthernet0/9': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 100000000.0,\n", | |
" 'declaredNames': ['FastEthernet0/9'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'FastEthernet0/9',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'GigabitEthernet0/1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000.0,\n", | |
" 'declaredNames': ['GigabitEthernet0/1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'GigabitEthernet0/1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'GigabitEthernet0/2': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000.0,\n", | |
" 'declaredNames': ['GigabitEthernet0/2'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'GigabitEthernet0/2',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'PHYSICAL',\n", | |
" 'vrf': 'default'},\n", | |
" 'Port-Channel1': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allowedVlans': '100-101',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 200000000.0,\n", | |
" 'channelGroupMembers': ['FastEthernet0/23', 'FastEthernet0/24'],\n", | |
" 'declaredNames': ['Port-channel1'],\n", | |
" 'description': '<< Connect hqdist1 and hqdist2 >>',\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Port-Channel1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'AGGREGATED',\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan1': {'accessVlan': 0,\n", | |
" 'active': False,\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan1'],\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan1',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 1,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan100': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.100.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan100'],\n", | |
" 'description': '<< Server Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'hsrpGroups': {'100': {'groupNumber': 100,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.100.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan100',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.100.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 100,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan101': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.101.48/24'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan101'],\n", | |
" 'description': '<< Client Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': True},\n", | |
" 'hsrpGroups': {'101': {'groupNumber': 101,\n", | |
" 'helloTime': 3000,\n", | |
" 'holdTime': 10000,\n", | |
" 'ip': '192.168.101.50',\n", | |
" 'preempt': True,\n", | |
" 'priority': 120}},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan101',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.101.48/24',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 101,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan201': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.6/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan201'],\n", | |
" 'description': '<< border1 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan201',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.6/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 201,\n", | |
" 'vrf': 'default'},\n", | |
" 'Vlan203': {'accessVlan': 0,\n", | |
" 'active': True,\n", | |
" 'allPrefixes': ['192.168.200.14/30'],\n", | |
" 'allowedVlans': '',\n", | |
" 'autostate': True,\n", | |
" 'bandwidth': 1000000000000.0,\n", | |
" 'declaredNames': ['Vlan203'],\n", | |
" 'description': '<< border2 - dist2 Segment >>',\n", | |
" 'eigrp': {'asn': 1,\n", | |
" 'enabled': True,\n", | |
" 'metric': {'classic-bandwidth': 0,\n", | |
" 'classic-delay': 1,\n", | |
" 'mode': 'CLASSIC',\n", | |
" 'named-bandwidth': 1000000000,\n", | |
" 'named-delay': 10000},\n", | |
" 'passive': False},\n", | |
" 'mtu': 1500,\n", | |
" 'name': 'Vlan203',\n", | |
" 'nativeVlan': 1,\n", | |
" 'ospfDeadInterval': 0,\n", | |
" 'ospfEnabled': False,\n", | |
" 'ospfHelloMultiplier': 0,\n", | |
" 'ospfPassive': False,\n", | |
" 'ospfPointToPoint': False,\n", | |
" 'prefix': '192.168.200.14/30',\n", | |
" 'proxyArp': True,\n", | |
" 'ripEnabled': False,\n", | |
" 'ripPassive': False,\n", | |
" 'spanningTreePortfast': False,\n", | |
" 'switchportMode': 'NONE',\n", | |
" 'switchportTrunkEncapsulation': 'DOT1Q',\n", | |
" 'type': 'VLAN',\n", | |
" 'vlan': 203,\n", | |
" 'vrf': 'default'}},\n", | |
" 'loggingServers': ['192.168.100.107'],\n", | |
" 'name': 'hqdist2',\n", | |
" 'ntpServers': ['192.168.100.44'],\n", | |
" 'routingPolicies': {'~EIGRP_EXPORT_POLICY:default:1~': {'name': '~EIGRP_EXPORT_POLICY:default:1~'}},\n", | |
" 'snmpTrapServers': ['192.168.100.107'],\n", | |
" 'vendorFamily': {'cisco': {'aaa': {'newModel': False},\n", | |
" 'banners': {'login': '^C\\r\\n============NOTICE==============\\r\\n| This is test device for demo |\\r\\n================================\\r\\n^C\\r\\n'},\n", | |
" 'enableSecret': 'ad365ead36fcbdbef63eb53644b1b210f05391dd15db5093356b319379107e49',\n", | |
" 'hostname': 'hqdist2',\n", | |
" 'lines': {'con0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'CON',\n", | |
" 'name': 'con0'},\n", | |
" 'vty0': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty0'},\n", | |
" 'vty1': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty1'},\n", | |
" 'vty10': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty10'},\n", | |
" 'vty11': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty11'},\n", | |
" 'vty12': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty12'},\n", | |
" 'vty13': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty13'},\n", | |
" 'vty14': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty14'},\n", | |
" 'vty15': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty15'},\n", | |
" 'vty2': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty2'},\n", | |
" 'vty3': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty3'},\n", | |
" 'vty4': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty4'},\n", | |
" 'vty5': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty5'},\n", | |
" 'vty6': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty6'},\n", | |
" 'vty7': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty7'},\n", | |
" 'vty8': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty8'},\n", | |
" 'vty9': {'execTimeoutMinutes': 0,\n", | |
" 'execTimeoutSeconds': 0,\n", | |
" 'lineType': 'VTY',\n", | |
" 'name': 'vty9'}},\n", | |
" 'logging': {'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'on': True},\n", | |
" 'ntp': {'servers': {'192.168.100.44': {'name': '192.168.100.44'}}},\n", | |
" 'services': {'pad': {'enabled': False},\n", | |
" 'password-encryption': {'enabled': True},\n", | |
" 'timestamps': {'enabled': True,\n", | |
" 'subservices': {'debug': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}},\n", | |
" 'log': {'enabled': True,\n", | |
" 'subservices': {'datetime': {'enabled': True,\n", | |
" 'subservices': {'localtime': {'enabled': True}}}}}}}},\n", | |
" 'users': {'test': {'name': 'test',\n", | |
" 'password': 'b6e254f494310735cf387642b9e7fdfe81a03945233cb820ac6247d5a53acd77'}}}},\n", | |
" 'vrfs': {'default': {'eigrpProcesses': {'1': {'asn': 1,\n", | |
" 'eigrp-mode': 'CLASSIC',\n", | |
" 'export-policy': '~EIGRP_EXPORT_POLICY:default:1~',\n", | |
" 'router-id': '192.168.200.14'}},\n", | |
" 'interfaces': ['FastEthernet0/1',\n", | |
" 'FastEthernet0/10',\n", | |
" 'FastEthernet0/11',\n", | |
" 'FastEthernet0/12',\n", | |
" 'FastEthernet0/13',\n", | |
" 'FastEthernet0/14',\n", | |
" 'FastEthernet0/15',\n", | |
" 'FastEthernet0/16',\n", | |
" 'FastEthernet0/17',\n", | |
" 'FastEthernet0/18',\n", | |
" 'FastEthernet0/19',\n", | |
" 'FastEthernet0/2',\n", | |
" 'FastEthernet0/20',\n", | |
" 'FastEthernet0/21',\n", | |
" 'FastEthernet0/22',\n", | |
" 'FastEthernet0/23',\n", | |
" 'FastEthernet0/24',\n", | |
" 'FastEthernet0/3',\n", | |
" 'FastEthernet0/4',\n", | |
" 'FastEthernet0/5',\n", | |
" 'FastEthernet0/6',\n", | |
" 'FastEthernet0/7',\n", | |
" 'FastEthernet0/8',\n", | |
" 'FastEthernet0/9',\n", | |
" 'GigabitEthernet0/1',\n", | |
" 'GigabitEthernet0/2',\n", | |
" 'Port-Channel1',\n", | |
" 'Vlan1',\n", | |
" 'Vlan100',\n", | |
" 'Vlan101',\n", | |
" 'Vlan201',\n", | |
" 'Vlan203'],\n", | |
" 'name': 'default',\n", | |
" 'snmpServer': {'communities': {'C1sc0': {'name': 'C1sc0',\n", | |
" 'ro': True,\n", | |
" 'rw': False}},\n", | |
" 'hosts': {'192.168.100.107': {'name': '192.168.100.107'}},\n", | |
" 'vrf': 'default'}}}}}}],\n", | |
" 'question': {'class': 'org.batfish.question.VIModelQuestionPlugin$VIModelQuestion',\n", | |
" 'differential': False,\n", | |
" 'includeOneTableKeys': True,\n", | |
" 'instance': {'description': 'Lists configuration attributes of nodes and edges in the network',\n", | |
" 'instanceName': '__viModel_b5e9018e-07a8-494c-9325-fda0017bcfda',\n", | |
" 'longDescription': 'Returns a JSON dictionary with all of the configuration parameters and neighbor relations stored in the vendor independent data-model.',\n", | |
" 'tags': ['dataModel']}},\n", | |
" 'status': 'SUCCESS',\n", | |
" 'summary': {'numFailed': 0, 'numPassed': 0, 'numResults': 0}}" | |
] | |
}, | |
"execution_count": 23, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question39 = bfq.viModel().answer()\n", | |
"question39" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 24, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"status: TRYINGTOASSIGN\n", | |
".... no task information\n", | |
"status: TERMINATEDNORMALLY\n", | |
".... Mon Dec 3 16:23:50 2018 UTC Begin job\n" | |
] | |
}, | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>Node</th>\n", | |
" <th>Type</th>\n", | |
" <th>Comment</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
"Empty DataFrame\n", | |
"Columns: [Node, Type, Comment]\n", | |
"Index: []" | |
] | |
}, | |
"execution_count": 24, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"question40 = bfq.viConversionWarning().answer().frame()\n", | |
"question40" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.5.2" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 21:01:48 JST Sat Dec 1 2018 by test | |
! NVRAM config last updated at 21:01:49 JST Sat Dec 1 2018 by test | |
! | |
version 12.4 | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname brborder1 | |
! | |
boot-start-marker | |
boot-end-marker | |
! | |
no logging console | |
enable secret 5 $1$c.Tv$34QkJgPvvsORieBDr/hGO0 | |
! | |
no aaa new-model | |
! | |
resource policy | |
! | |
clock timezone JST 9 | |
! | |
! | |
ip cef | |
! | |
! | |
no ip domain lookup | |
ip domain name brborder1 | |
ip ssh version 2 | |
! | |
! | |
! | |
username test privilege 15 password 7 0835495D1D | |
! | |
! | |
class-map match-all C-DATA2 | |
match access-group 101 | |
class-map match-all C-DATA1 | |
match access-group 100 | |
! | |
! | |
policy-map P-CHILD | |
class C-DATA1 | |
priority percent 40 | |
class C-DATA2 | |
bandwidth percent 30 | |
class class-default | |
bandwidth percent 30 | |
policy-map P-PARENT | |
class class-default | |
shape average 10000000 | |
service-policy P-CHILD | |
! | |
! | |
! | |
! | |
! | |
! | |
interface FastEthernet0 | |
description << To hqborder1 >> | |
bandwidth 100 | |
ip address 10.1.1.2 255.255.255.252 | |
delay 10 | |
duplex auto | |
speed auto | |
service-policy output P-PARENT | |
! | |
interface FastEthernet1 | |
no ip address | |
shutdown | |
duplex auto | |
speed auto | |
! | |
interface BRI0 | |
no ip address | |
encapsulation hdlc | |
shutdown | |
! | |
interface FastEthernet2 | |
switchport access vlan 10 | |
! | |
interface FastEthernet3 | |
! | |
interface FastEthernet4 | |
! | |
interface FastEthernet5 | |
! | |
interface FastEthernet6 | |
! | |
interface FastEthernet7 | |
! | |
interface FastEthernet8 | |
! | |
interface FastEthernet9 | |
! | |
interface Vlan1 | |
no ip address | |
! | |
interface Vlan10 | |
ip address 10.10.1.49 255.255.255.0 | |
! | |
router eigrp 1 | |
network 10.1.1.0 0.0.0.3 | |
network 10.10.1.0 0.0.0.255 | |
no auto-summary | |
! | |
! | |
! | |
no ip http server | |
no ip http secure-server | |
! | |
logging 192.168.100.107 | |
access-list 100 permit ip any 192.168.100.0 0.0.0.255 | |
access-list 101 permit ip any 192.168.101.0 0.0.0.255 | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
! | |
! | |
! | |
! | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line aux 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp clock-period 17179867 | |
ntp server 10.10.1.4 | |
! | |
webvpn context Default_context | |
ssl authenticate verify all | |
! | |
no inservice | |
! | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 21:01:07 JST Sat Dec 1 2018 by test | |
! NVRAM config last updated at 21:01:17 JST Sat Dec 1 2018 by test | |
! | |
version 12.4 | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname brborder2 | |
! | |
boot-start-marker | |
boot-end-marker | |
! | |
no logging console | |
enable secret 5 $1$Eh.A$Gx4VNmzFLnplntmFSw4Sg/ | |
! | |
no aaa new-model | |
! | |
resource policy | |
! | |
clock timezone JST 9 | |
! | |
! | |
ip cef | |
! | |
! | |
no ip domain lookup | |
ip domain name brborder2 | |
ip ssh version 2 | |
! | |
! | |
! | |
username test privilege 15 password 7 051F031C35 | |
! | |
! | |
class-map match-all C-DATA2 | |
match access-group 101 | |
class-map match-all C-DATA1 | |
match access-group 100 | |
! | |
! | |
policy-map P-CHILD | |
class C-DATA1 | |
priority percent 40 | |
class C-DATA2 | |
bandwidth percent 30 | |
class class-default | |
bandwidth percent 30 | |
policy-map P-PARENT | |
class class-default | |
shape average 10000000 | |
service-policy P-CHILD | |
! | |
! | |
! | |
! | |
! | |
! | |
interface Tunnel1 | |
description << To hqborder2 >> | |
bandwidth 100 | |
ip address 10.1.1.10 255.255.255.252 | |
delay 10 | |
tunnel source Loopback0 | |
tunnel destination 1.1.1.1 | |
service-policy output P-PARENT | |
! | |
interface Loopback0 | |
ip address 1.1.1.2 255.255.255.255 | |
! | |
interface FastEthernet0 | |
description << To PE Router >> | |
ip address 10.1.1.6 255.255.255.252 | |
duplex auto | |
speed auto | |
! | |
interface FastEthernet1 | |
no ip address | |
shutdown | |
duplex auto | |
speed auto | |
! | |
interface BRI0 | |
no ip address | |
encapsulation hdlc | |
shutdown | |
! | |
interface FastEthernet2 | |
switchport access vlan 10 | |
! | |
interface FastEthernet3 | |
! | |
interface FastEthernet4 | |
! | |
interface FastEthernet5 | |
! | |
interface FastEthernet6 | |
! | |
interface FastEthernet7 | |
! | |
interface FastEthernet8 | |
! | |
interface FastEthernet9 | |
! | |
interface Vlan1 | |
no ip address | |
! | |
interface Vlan10 | |
ip address 10.10.1.48 255.255.255.0 | |
! | |
router eigrp 1 | |
network 10.1.1.8 0.0.0.3 | |
network 10.10.1.0 0.0.0.255 | |
no auto-summary | |
! | |
ip route 1.1.1.1 255.255.255.255 10.1.1.5 | |
! | |
! | |
no ip http server | |
no ip http secure-server | |
! | |
logging 192.168.100.107 | |
access-list 100 permit ip any 192.168.100.0 0.0.0.255 | |
access-list 101 permit ip any 192.168.101.0 0.0.0.255 | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
! | |
! | |
! | |
! | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line aux 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp clock-period 17179867 | |
ntp server 10.10.1.44 | |
! | |
webvpn context Default_context | |
ssl authenticate verify all | |
! | |
no inservice | |
! | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
version 12.1 | |
no service pad | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname hqaccess1 | |
! | |
no logging console | |
enable secret 5 $1$dKdo$Zpaac5aW4hk9H3SikD9zu/ | |
! | |
username test privilege 15 password 7 0835495D1D | |
clock timezone JST 9 | |
ip subnet-zero | |
no ip domain-lookup | |
ip domain-name hqaccess1 | |
! | |
spanning-tree mode pvst | |
no spanning-tree optimize bpdu transmission | |
spanning-tree extend system-id | |
! | |
! | |
interface FastEthernet0/1 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
spanning-tree portfast | |
! | |
interface FastEthernet0/2 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
spanning-tree portfast | |
! | |
interface FastEthernet0/3 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
spanning-tree portfast | |
! | |
interface FastEthernet0/4 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
spanning-tree portfast | |
! | |
interface FastEthernet0/5 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
spanning-tree portfast | |
! | |
interface FastEthernet0/6 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/7 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/8 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/9 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/10 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/11 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/12 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/13 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/14 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/15 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/16 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/17 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/18 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/19 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/20 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/21 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/22 | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
shutdown | |
spanning-tree portfast | |
! | |
interface FastEthernet0/23 | |
description << To hqdist1 >> | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
duplex full | |
speed 100 | |
! | |
interface FastEthernet0/24 | |
description << To hqdist2 >> | |
switchport access vlan 100 | |
switchport mode access | |
no ip address | |
duplex full | |
speed 100 | |
! | |
interface Vlan1 | |
no ip address | |
no ip route-cache | |
shutdown | |
! | |
interface Vlan100 | |
description << Server Segment >> | |
ip address 192.168.100.47 255.255.255.0 | |
no ip route-cache | |
! | |
ip default-gateway 192.168.100.150 | |
ip http server | |
! | |
logging 192.168.100.107 | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp server 192.168.100.44 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 20:57:23 JST Sat Dec 1 2018 by test | |
! NVRAM config last updated at 20:57:24 JST Sat Dec 1 2018 by test | |
! | |
version 12.4 | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname hqborder1 | |
! | |
boot-start-marker | |
boot-end-marker | |
! | |
no logging console | |
enable secret 5 $1$/gv1$pWoYSL0EXUfRc6KwNH9oX1 | |
! | |
no aaa new-model | |
! | |
resource policy | |
! | |
clock timezone JST 9 | |
! | |
! | |
ip cef | |
! | |
! | |
no ip domain lookup | |
ip domain name hqborder1 | |
ip ssh version 2 | |
! | |
! | |
! | |
username test privilege 15 password 7 06120A3258 | |
! | |
! | |
class-map match-all C-DATA2 | |
match access-group 101 | |
class-map match-all C-DATA1 | |
match access-group 100 | |
! | |
! | |
policy-map P-CHILD | |
class C-DATA1 | |
priority percent 40 | |
class C-DATA2 | |
bandwidth percent 30 | |
class class-default | |
bandwidth percent 30 | |
policy-map P-PARENT | |
class class-default | |
shape average 10000000 | |
service-policy P-CHILD | |
! | |
! | |
! | |
! | |
! | |
! | |
interface FastEthernet0 | |
description << To brborder1 >> | |
bandwidth 100 | |
ip address 10.1.1.1 255.255.255.252 | |
delay 10 | |
duplex auto | |
speed auto | |
service-policy output P-PARENT | |
! | |
interface FastEthernet1 | |
description << border1 - dist1 Segment >> | |
ip address 192.168.200.1 255.255.255.252 | |
speed 100 | |
full-duplex | |
! | |
interface BRI0 | |
no ip address | |
encapsulation hdlc | |
shutdown | |
! | |
interface FastEthernet2 | |
description << To hqdist2 Fa0/1 >> | |
switchport access vlan 201 | |
duplex full | |
speed 100 | |
! | |
interface FastEthernet3 | |
! | |
interface FastEthernet4 | |
! | |
interface FastEthernet5 | |
! | |
interface FastEthernet6 | |
! | |
interface FastEthernet7 | |
! | |
interface FastEthernet8 | |
! | |
interface FastEthernet9 | |
! | |
interface Vlan1 | |
no ip address | |
! | |
interface Vlan201 | |
description << border1 - dist2 Segment >> | |
ip address 192.168.200.5 255.255.255.252 | |
! | |
router eigrp 1 | |
network 10.1.1.0 0.0.0.3 | |
network 192.168.200.0 0.0.0.3 | |
network 192.168.200.4 0.0.0.3 | |
no auto-summary | |
! | |
! | |
! | |
no ip http server | |
no ip http secure-server | |
! | |
logging 192.168.100.107 | |
access-list 100 permit ip 192.168.100.0 0.0.0.255 any | |
access-list 101 permit ip 192.168.101.0 0.0.0.255 any | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
! | |
! | |
! | |
! | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line aux 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp clock-period 17179867 | |
ntp server 192.168.100.44 | |
! | |
webvpn context Default_context | |
ssl authenticate verify all | |
! | |
no inservice | |
! | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 20:56:21 JST Sat Dec 1 2018 by test | |
! NVRAM config last updated at 20:56:22 JST Sat Dec 1 2018 by test | |
! | |
version 12.4 | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname hqborder2 | |
! | |
boot-start-marker | |
boot-end-marker | |
! | |
no logging console | |
enable secret 5 $1$wD.F$WXmDhYs9APx451X1fKoyj/ | |
! | |
no aaa new-model | |
! | |
resource policy | |
! | |
clock timezone JST 9 | |
! | |
! | |
ip cef | |
! | |
! | |
no ip domain lookup | |
ip domain name hqborder2 | |
ip ssh version 2 | |
! | |
! | |
! | |
username test privilege 15 password 7 1403171818 | |
! | |
! | |
class-map match-all C-DATA2 | |
match access-group 101 | |
class-map match-all C-DATA1 | |
match access-group 100 | |
! | |
! | |
policy-map P-CHILD | |
class C-DATA1 | |
priority percent 40 | |
class C-DATA2 | |
compress header ip | |
bandwidth percent 30 | |
class class-default | |
compress header ip | |
bandwidth percent 30 | |
policy-map P-PARENT | |
class class-default | |
shape average 10000000 | |
service-policy P-CHILD | |
! | |
! | |
! | |
! | |
! | |
! | |
interface Tunnel1 | |
description << To brborder2 >> | |
bandwidth 100 | |
ip address 10.1.1.9 255.255.255.252 | |
delay 10 | |
tunnel source Loopback0 | |
tunnel destination 1.1.1.2 | |
! | |
interface Loopback0 | |
description << Loopback >> | |
ip address 1.1.1.1 255.255.255.255 | |
! | |
interface FastEthernet0 | |
description << To PE Router >> | |
ip address 10.1.1.5 255.255.255.252 | |
duplex auto | |
speed auto | |
! | |
interface FastEthernet1 | |
description << border2 - dist1 Segment >> | |
ip address 192.168.200.9 255.255.255.252 | |
speed 100 | |
full-duplex | |
! | |
interface BRI0 | |
no ip address | |
encapsulation hdlc | |
shutdown | |
! | |
interface FastEthernet2 | |
description << To hqdist2 Fa0/2 >> | |
switchport access vlan 203 | |
duplex full | |
speed 100 | |
! | |
interface FastEthernet3 | |
shutdown | |
! | |
interface FastEthernet4 | |
shutdown | |
! | |
interface FastEthernet5 | |
shutdown | |
! | |
interface FastEthernet6 | |
shutdown | |
! | |
interface FastEthernet7 | |
shutdown | |
! | |
interface FastEthernet8 | |
shutdown | |
! | |
interface FastEthernet9 | |
shutdown | |
! | |
interface Vlan1 | |
no ip address | |
shutdown | |
! | |
interface Vlan203 | |
description << border2 - dist2 Segment >> | |
ip address 192.168.200.13 255.255.255.252 | |
! | |
router eigrp 1 | |
network 10.1.1.8 0.0.0.3 | |
network 192.168.200.8 0.0.0.3 | |
network 192.168.200.12 0.0.0.3 | |
no auto-summary | |
! | |
ip route 1.1.1.2 255.255.255.255 10.1.1.6 | |
! | |
! | |
no ip http server | |
no ip http secure-server | |
! | |
logging 192.168.100.107 | |
access-list 100 permit ip 192.168.100.0 0.0.0.255 any | |
access-list 101 permit ip 192.168.101.0 0.0.0.255 any | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
! | |
! | |
! | |
! | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line aux 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp clock-period 17179867 | |
ntp ser 192.168.100.44 | |
! | |
webvpn context Default_context | |
ssl authenticate verify all | |
! | |
no inservice | |
! | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 15:37:05 JST Sun Dec 2 2018 by test | |
! NVRAM config last updated at 15:39:08 JST Sun Dec 2 2018 by test | |
! | |
version 12.2 | |
no service pad | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname hqdist1 | |
! | |
no logging console | |
enable secret 5 $1$I.C5$FOWv94CdxU5VXidbxTggJ1 | |
! | |
username test privilege 15 password 7 021201481F | |
no aaa new-model | |
clock timezone JST 9 | |
system mtu routing 1500 | |
ip subnet-zero | |
ip routing | |
no ip domain-lookup | |
ip domain-name hqdist1 | |
! | |
! | |
! | |
! | |
no file verify auto | |
! | |
spanning-tree mode pvst | |
spanning-tree extend system-id | |
spanning-tree vlan 100-101 priority 0 | |
! | |
vlan internal allocation policy ascending | |
! | |
interface Port-channel1 | |
description << Connect hqdist1 and hqdist2 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
switchport mode trunk | |
! | |
interface FastEthernet0/1 | |
description << To hqborder1 Fa1 >> | |
switchport access vlan 200 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/2 | |
description << To hqborder2 Fa1 >> | |
switchport access vlan 202 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/3 | |
description << To hqaccess1 Fa0/23 >> | |
switchport access vlan 100 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/4 | |
shutdown | |
! | |
interface FastEthernet0/5 | |
shutdown | |
! | |
interface FastEthernet0/6 | |
shutdown | |
! | |
interface FastEthernet0/7 | |
shutdown | |
! | |
interface FastEthernet0/8 | |
shutdown | |
! | |
interface FastEthernet0/9 | |
shutdown | |
! | |
interface FastEthernet0/10 | |
shutdown | |
! | |
interface FastEthernet0/11 | |
shutdown | |
! | |
interface FastEthernet0/12 | |
shutdown | |
! | |
interface FastEthernet0/13 | |
shutdown | |
! | |
interface FastEthernet0/14 | |
shutdown | |
! | |
interface FastEthernet0/15 | |
shutdown | |
! | |
interface FastEthernet0/16 | |
shutdown | |
! | |
interface FastEthernet0/17 | |
shutdown | |
! | |
interface FastEthernet0/18 | |
shutdown | |
! | |
interface FastEthernet0/19 | |
shutdown | |
! | |
interface FastEthernet0/20 | |
shutdown | |
! | |
interface FastEthernet0/21 | |
shutdown | |
! | |
interface FastEthernet0/22 | |
shutdown | |
! | |
interface FastEthernet0/23 | |
description << To hqdist2 Fa0/23 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
switchport mode trunk | |
channel-group 1 mode on | |
! | |
interface FastEthernet0/24 | |
description << To hqdist2 Fa0/24 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
switchport mode trunk | |
channel-group 1 mode on | |
! | |
interface GigabitEthernet0/1 | |
! | |
interface GigabitEthernet0/2 | |
! | |
interface Vlan1 | |
no ip address | |
shutdown | |
! | |
interface Vlan100 | |
description << Server Segment >> | |
ip address 192.168.100.49 255.255.255.0 | |
ip access-group Server out | |
standby 100 ip 192.168.100.50 | |
standby 100 priority 150 | |
standby 100 preempt | |
! | |
interface Vlan101 | |
description << Client Segment >> | |
ip address 192.168.101.49 255.255.255.0 | |
standby 101 ip 192.168.101.50 | |
standby 101 priority 150 | |
standby 101 preempt | |
! | |
interface Vlan200 | |
description << border1 - dist1 Segment >> | |
ip address 192.168.200.2 255.255.255.252 | |
! | |
interface Vlan202 | |
description << border2 - dist1 Segment >> | |
ip address 192.168.200.10 255.255.255.252 | |
! | |
router eigrp 1 | |
passive-interface Vlan101 | |
network 192.168.100.0 | |
network 192.168.101.0 | |
network 192.168.200.0 0.0.0.3 | |
network 192.168.200.8 0.0.0.3 | |
no auto-summary | |
! | |
ip classless | |
ip http server | |
! | |
ip access-list extended Server | |
permit ip 10.10.1.0 0.0.0.255 192.168.100.0 0.0.0.255 | |
permit ip any host 192.168.100.107 | |
permit ip any host 192.168.100.37 | |
permit ip any host 192.168.100.47 | |
permit ip any host 192.168.100.44 | |
permit udp any host 192.168.100.44 eq ntp | |
! | |
logging 192.168.100.107 | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp server 192.168.100.44 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
version 12.2 | |
no service pad | |
service timestamps debug datetime localtime | |
service timestamps log datetime localtime | |
service password-encryption | |
! | |
hostname hqdist2 | |
! | |
no logging console | |
enable secret 5 $1$IsC5$7IGGek9CiYr2AXye1m2341 | |
! | |
username test privilege 15 password 7 06120A3258 | |
no aaa new-model | |
clock timezone JST 9 | |
system mtu routing 1500 | |
ip subnet-zero | |
ip routing | |
no ip domain-lookup | |
ip domain-name hqdist2 | |
! | |
! | |
! | |
! | |
no file verify auto | |
! | |
spanning-tree mode pvst | |
spanning-tree extend system-id | |
spanning-tree vlan 100-101 priority 4096 | |
! | |
vlan internal allocation policy ascending | |
! | |
! | |
interface Port-channel1 | |
description << Connect hqdist1 and hqdist2 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
! | |
interface FastEthernet0/1 | |
description << To hqborder1 Fa2 >> | |
switchport access vlan 201 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/2 | |
description << To hqdist2 Fa2 >> | |
switchport access vlan 203 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/3 | |
description << To hqaccess1 Fa0/24 >> | |
switchport access vlan 100 | |
switchport mode access | |
speed 100 | |
duplex full | |
! | |
interface FastEthernet0/4 | |
shutdown | |
! | |
interface FastEthernet0/5 | |
shutdown | |
! | |
interface FastEthernet0/6 | |
shutdown | |
! | |
interface FastEthernet0/7 | |
shutdown | |
! | |
interface FastEthernet0/8 | |
shutdown | |
! | |
interface FastEthernet0/9 | |
shutdown | |
! | |
interface FastEthernet0/10 | |
shutdown | |
! | |
interface FastEthernet0/11 | |
shutdown | |
! | |
interface FastEthernet0/12 | |
shutdown | |
! | |
interface FastEthernet0/13 | |
shutdown | |
! | |
interface FastEthernet0/14 | |
shutdown | |
! | |
interface FastEthernet0/15 | |
shutdown | |
! | |
interface FastEthernet0/16 | |
shutdown | |
! | |
interface FastEthernet0/17 | |
shutdown | |
! | |
interface FastEthernet0/18 | |
shutdown | |
! | |
interface FastEthernet0/19 | |
shutdown | |
! | |
interface FastEthernet0/20 | |
shutdown | |
! | |
interface FastEthernet0/21 | |
shutdown | |
! | |
interface FastEthernet0/22 | |
shutdown | |
! | |
interface FastEthernet0/23 | |
description << To hqdist1 Fa0/23 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
switchport mode trunk | |
channel-group 1 mode on | |
! | |
interface FastEthernet0/24 | |
description << To hqdist1 Fa0/24 >> | |
switchport trunk encapsulation dot1q | |
switchport trunk allowed vlan 100,101 | |
switchport mode trunk | |
channel-group 1 mode on | |
! | |
interface GigabitEthernet0/1 | |
! | |
interface GigabitEthernet0/2 | |
! | |
interface Vlan1 | |
no ip address | |
shutdown | |
! | |
interface Vlan100 | |
description << Server Segment >> | |
ip address 192.168.100.48 255.255.255.0 | |
standby 100 ip 192.168.100.50 | |
standby 100 priority 120 | |
standby 100 preempt | |
! | |
interface Vlan101 | |
description << Client Segment >> | |
ip address 192.168.101.48 255.255.255.0 | |
standby 101 ip 192.168.101.50 | |
standby 101 priority 120 | |
standby 101 preempt | |
! | |
interface Vlan201 | |
description << border1 - dist2 Segment >> | |
ip address 192.168.200.6 255.255.255.252 | |
! | |
interface Vlan203 | |
description << border2 - dist2 Segment >> | |
ip address 192.168.200.14 255.255.255.252 | |
! | |
router eigrp 1 | |
passive-interface Vlan101 | |
network 192.168.100.0 | |
network 192.168.101.0 | |
network 192.168.200.4 0.0.0.3 | |
network 192.168.200.12 0.0.0.3 | |
no auto-summary | |
! | |
ip classless | |
ip http server | |
! | |
! | |
logging 192.168.100.107 | |
snmp-server community C1sc0 RO | |
snmp-server host 192.168.100.107 C1sc0 | |
! | |
control-plane | |
! | |
banner login ^C | |
============NOTICE============== | |
| This is test device for demo | | |
================================ | |
^C | |
! | |
line con 0 | |
line vty 0 4 | |
login local | |
line vty 5 15 | |
login local | |
! | |
ntp server 192.168.100.44 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment