Skip to content

Commit

Permalink
Add containerlab devices (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Boguščiak <[email protected]>
  • Loading branch information
jbogusciak authored Jul 22, 2024
1 parent e6ddfda commit 373ee22
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 0 deletions.
21 changes: 21 additions & 0 deletions configs/cli/td/containerlab/C1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"setting_cmd_delay": 0,
"setting_default_prompt": "C1",
"setting_default_user": "admin",
"setting_default_passwd": "admin",
"configuration save": "",
"show router mpls lsp path detail": "===============================================================================\nMPLS LSP Path (Detail)\n===============================================================================\nLegend : \n @ - Detour Available # - Detour In Use\n b - Bandwidth Protected n - Node Protected\n s - Soft Preemption \n S - Strict L - Loose\n A - ABR + - Inherited\n===============================================================================\nNo Matching Entries Found\n===============================================================================",
"show router mpls lsp terminate detail": "===============================================================================\nMPLS LSPs (Terminate) (Detail)\n===============================================================================\nNo Matching Entries Found\n===============================================================================",
"show router mpls lsp transit detail": "===============================================================================\nMPLS LSPs (Transit) (Detail)\n===============================================================================\n-------------------------------------------------------------------------------\nLSP to-r2-pe2::PATH_LOOSE\n-------------------------------------------------------------------------------\nFrom : 3.3.3.3 To : 6.6.6.6\nState : Up \nSetupPriority : 7 Hold Priority : 0\nClass Type : 0 \nIn Interface : 1/1/c3/1 In Label : 524282\nOut Interface : 1/1/c4/1 Out Label : 524282\nPrevious Hop : 10.20.0.1 Next Hop : 10.20.0.5\nReserved BW : 0 Kbps \n-------------------------------------------------------------------------------\nLSP to-r1-pe1::PATH_LOOSE\n-------------------------------------------------------------------------------\nFrom : 6.6.6.6 To : 3.3.3.3\nState : Up \nSetupPriority : 7 Hold Priority : 0\nClass Type : 0 \nIn Interface : 1/1/c1/1 In Label : 524281\nOut Interface : 1/1/c3/1 Out Label : 524282\nPrevious Hop : 10.10.0.1 Next Hop : 10.20.0.1\nReserved BW : 0 Kbps \n===============================================================================",
"show system lldp neighbor": "===============================================================================\nNB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer\n===============================================================================\nLcl Port Scope Remote Chassis ID Index Remote Port Remote Sys Name\n-------------------------------------------------------------------------------\n1/1/c1/1 NB 0C:00:5D:E4:68:00 1 1/1/c1/1, 10-G* C2\n1/1/c3/1 NB 0C:00:5E:59:64:00 2 1/1/c2/1, 10-G* R1_PE1\n1/1/c5/1 NB 0C:00:F4:E7:20:00 3 1/1/c1/1, 10-G* PTP_GM\n1/1/c4/1 NB 0C:00:E2:21:0C:00 4 1/1/c2/1, 10-G* R2_PE1\n===============================================================================\n* indicates that the corresponding row element may have been truncated.\nNumber of neighbors : 4",
"show router ospf status": "\n===============================================================================\nRtr Base OSPFv2 Instance 0 Status\n===============================================================================\nOSPF Cfg Router Id : 1.1.1.1\nOSPF Oper Router Id : 1.1.1.1\nOSPF Version : 2\nOSPF Admin Status : Enabled\nOSPF Oper Status : Enabled\nGraceful Restart : Disabled\nGR Helper Mode : Disabled \nGR Strict LSA Checking : Enabled (operational down)\nPreference : 10\nExternal Preference : 150\nBackbone Router : True\nArea Border Router : False\nAS Border Router : False\nOpaque LSA Support : True\nTraffic Engineering Support : True\nRFC 1583 Compatible : True\nDemand Exts Support : False\nIn Overload State : False\nIn External Overflow State : False\nExit Overflow Interval : 0\nLast Overflow Entered : Never\nLast Overflow Exit : Never\nExternal LSA Limit : -1\nReference Bandwidth : 100,000,000 Kbps\nInit SPF Delay : 1000 msec\nSec SPF Delay : 1000 msec\nMax SPF Delay : 10000 msec\nMin LS Arrival Interval : 1000 msec\nInit LSA Gen Delay : 5000 msec\nSec LSA Gen Delay : 5000 msec\nMax LSA Gen Delay : 5000 msec\nLsa accumulate : 1000 msec\nRedistribute delay : 1000 msec\nIncremental SPF wait : 1000 msec\nLast Ext SPF Run : Never\nExt LSA Cksum Sum : 0x0\nOSPF Last Enabled : 07/19/2024 08:57:19\nUnicast Import : True\nMulticast Import : False\nExport Policies : None\nImport Policies : None\nLfa Policies : None\nOSPF Ldp Sync Admin Status : Enabled\nLDP-over-RSVP : Disabled\nIGP-Shortcut : Disabled\nIPv4 IGP SC Tunn-Nhop : Res-Disabled\nAdvertise-Tunnel-Link : Disabled\nLFA : Disabled\nRemote-LFA : Disabled \nMax PQ Cost (Remote-LFA) : 65535\nRemote-LFA (node-protect) : Disabled \nMax PQ nodes (node-protect) : 16\nTI-LFA : Disabled \nMax SR FRR Labels : 2\nTI-LFA (node-protect) : Disabled \nMhp-LFA (IP-FRR) : Disabled \nMhp-LFA (SR) : Disabled \nLfa augment Rtm : Disabled \nExport Limit : 0\nExport Limit Log Percent : 0\nTotal Exp Routes : 0\nRIB-priority-high prefix list: None\nSegment Routing : Disabled\nDatabase export : Disabled\nASN : n/a\nClass Based Forwarding : Disabled\nEntropy Label : Enabled\nOverride ELC : Disabled\nFlex Algo : Disabled\n===============================================================================",
"terminal length 0": "OK",
"terminal width 0": "OK",
"enable": {
"name": "enable",
"prompt": "Password:",
"password": "admin",
"newprompt": "C1",
"error_message": "Illegal password"
}
}
21 changes: 21 additions & 0 deletions configs/cli/td/containerlab/C2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"setting_cmd_delay": 0,
"setting_default_prompt": "C2",
"setting_default_user": "admin",
"setting_default_passwd": "admin",
"configuration save": "",
"show router mpls lsp path detail": "===============================================================================\\nMPLS LSP Path (Detail)\\n===============================================================================\\nLegend : \\n @ - Detour Available # - Detour In Use\\n b - Bandwidth Protected n - Node Protected\\n s - Soft Preemption \\n S - Strict L - Loose\\n A - ABR + - Inherited\\n===============================================================================\\nNo Matching Entries Found\\n===============================================================================",
"show router mpls lsp terminate detail": "===============================================================================\\nMPLS LSPs (Terminate) (Detail)\\n===============================================================================\\nNo Matching Entries Found\\n===============================================================================",
"show router mpls lsp transit detail": "===============================================================================\\nMPLS LSPs (Transit) (Detail)\\n===============================================================================\\n-------------------------------------------------------------------------------\\nLSP to-r1-pe1::PATH_LOOSE\\n-------------------------------------------------------------------------------\\nFrom : 6.6.6.6 To : 3.3.3.3\\nState : Up \\nSetupPriority : 7 Hold Priority : 0\\nClass Type : 0 \\nIn Interface : 1/1/c4/1 In Label : 524282\\nOut Interface : 1/1/c1/1 Out Label : 524281\\nPrevious Hop : 10.20.0.7 Next Hop : 10.10.0.0\\nReserved BW : 0 Kbps \\n===============================================================================",
"show system lldp neighbor": "===============================================================================\\nNB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer\\n===============================================================================\\nLcl Port Scope Remote Chassis ID Index Remote Port Remote Sys Name\\n-------------------------------------------------------------------------------\\n1/1/c5/1 NB 0C:00:36:28:39:00 2 1/1/c1/1, 10-G* PTP_GM_BACKUP\\n1/1/c1/1 NB 0C:00:94:59:8D:00 3 1/1/c1/1, 10-G* C1\\n1/1/c4/1 NB 0C:00:70:18:6E:00 4 1/1/c2/1, 10-G* R2_PE2\\n===============================================================================\\n* indicates that the corresponding row element may have been truncated.\\nNumber of neighbors : 3",
"show router ospf status": "===============================================================================\\nRtr Base OSPFv2 Instance 0 Status\\n===============================================================================\\nOSPF Cfg Router Id : 2.2.2.2\\nOSPF Oper Router Id : 2.2.2.2\\nOSPF Version : 2\\nOSPF Admin Status : Enabled\\nOSPF Oper Status : Enabled\\nGraceful Restart : Disabled\\nGR Helper Mode : Disabled \\nGR Strict LSA Checking : Enabled (operational down)\\nPreference : 10\\nExternal Preference : 150\\nBackbone Router : True\\nArea Border Router : False\\nAS Border Router : False\\nOpaque LSA Support : True\\nTraffic Engineering Support : True\\nRFC 1583 Compatible : True\\nDemand Exts Support : False\\nIn Overload State : False\\nIn External Overflow State : False\\nExit Overflow Interval : 0\\nLast Overflow Entered : Never\\nLast Overflow Exit : Never\\nExternal LSA Limit : -1\\nReference Bandwidth : 100,000,000 Kbps\\nInit SPF Delay : 1000 msec\\nSec SPF Delay : 1000 msec\\nMax SPF Delay : 10000 msec\\nMin LS Arrival Interval : 1000 msec\\nInit LSA Gen Delay : 5000 msec\\nSec LSA Gen Delay : 5000 msec\\nMax LSA Gen Delay : 5000 msec\\nLsa accumulate : 1000 msec\\nRedistribute delay : 1000 msec\\nIncremental SPF wait : 1000 msec\\nLast Ext SPF Run : Never\\nExt LSA Cksum Sum : 0x0\\nOSPF Last Enabled : 07/19/2024 08:47:43\\nUnicast Import : True\\nMulticast Import : False\\nExport Policies : None\\nImport Policies : None\\nLfa Policies : None\\nOSPF Ldp Sync Admin Status : Enabled\\nLDP-over-RSVP : Disabled\\nIGP-Shortcut : Disabled\\nIPv4 IGP SC Tunn-Nhop : Res-Disabled\\nAdvertise-Tunnel-Link : Disabled\\nLFA : Disabled\\nRemote-LFA : Disabled \\nMax PQ Cost (Remote-LFA) : 65535\\nRemote-LFA (node-protect) : Disabled \\nMax PQ nodes (node-protect) : 16\\nTI-LFA : Disabled \\nMax SR FRR Labels : 2\\nTI-LFA (node-protect) : Disabled \\nMhp-LFA (IP-FRR) : Disabled \\nMhp-LFA (SR) : Disabled \\nLfa augment Rtm : Disabled \\nExport Limit : 0\\nExport Limit Log Percent : 0\\nTotal Exp Routes : 0\\nRIB-priority-high prefix list: None\\nSegment Routing : Disabled\\nDatabase export : Disabled\\nASN : n/a\\nClass Based Forwarding : Disabled\\nEntropy Label : Enabled\\nOverride ELC : Disabled\\nFlex Algo : Disabled\\n===============================================================================",
"terminal length 0": "OK",
"terminal width 0": "OK",
"enable": {
"name": "enable",
"prompt": "Password:",
"password": "admin",
"newprompt": "C2",
"error_message": "Illegal password"
}
}
21 changes: 21 additions & 0 deletions configs/cli/td/containerlab/DC1_PE1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"setting_cmd_delay": 0,
"setting_default_prompt": "DC1_PE1",
"setting_default_user": "admin",
"setting_default_passwd": "admin",
"configuration save": "",
"show router mpls lsp path detail": "",
"show router mpls lsp terminate detail": "",
"show router mpls lsp transit detail": "",
"show system lldp neighbor": "===============================================================================\\nNB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer\\n===============================================================================\\nLcl Port Scope Remote Chassis ID Index Remote Port Remote Sys Name\\n-------------------------------------------------------------------------------\\nNo Matching Entries\\n===============================================================================",
"show router ospf status": "",
"terminal length 0": "OK",
"terminal width 0": "OK",
"enable": {
"name": "enable",
"prompt": "Password:",
"password": "admin",
"newprompt": "DC1_PE1",
"error_message": "Illegal password"
}
}
21 changes: 21 additions & 0 deletions configs/cli/td/containerlab/PTP_GM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"setting_cmd_delay": 0,
"setting_default_prompt": "PTP_GM",
"setting_default_user": "admin",
"setting_default_passwd": "admin",
"configuration save": "",
"show router mpls lsp path detail": "",
"show router mpls lsp terminate detail": "",
"show router mpls lsp transit detail": "",
"show system lldp neighbor": "===============================================================================\\nNB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer\\n===============================================================================\\nLcl Port Scope Remote Chassis ID Index Remote Port Remote Sys Name\\n-------------------------------------------------------------------------------\\n1/1/c1/1 NB 0C:00:94:59:8D:00 1 1/1/c5/1, 10-G* C1\\n===============================================================================\\n* indicates that the corresponding row element may have been truncated.\\nNumber of neighbors : 1",
"show router ospf status": "",
"terminal length 0": "OK",
"terminal width 0": "OK",
"enable": {
"name": "enable",
"prompt": "Password:",
"password": "admin",
"newprompt": "PTP_GM",
"error_message": "Illegal password"
}
}
21 changes: 21 additions & 0 deletions configs/cli/td/containerlab/PTP_GM_BACKUP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"setting_cmd_delay": 0,
"setting_default_prompt": "PTP_GM_BACKUP",
"setting_default_user": "admin",
"setting_default_passwd": "admin",
"configuration save": "",
"show router mpls lsp path detail": "",
"show router mpls lsp terminate detail": "",
"show router mpls lsp transit detail": "",
"show system lldp neighbor": "===============================================================================\\nNB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer\\n===============================================================================\\nLcl Port Scope Remote Chassis ID Index Remote Port Remote Sys Name\\n-------------------------------------------------------------------------------\\n1/1/c1/1 NB 0C:00:5D:E4:68:00 1 1/1/c5/1, 10-G* C2\\n===============================================================================\\n* indicates that the corresponding row element may have been truncated.\\nNumber of neighbors : 1",
"show router ospf status": "",
"terminal length 0": "OK",
"terminal width 0": "OK",
"enable": {
"name": "enable",
"prompt": "Password:",
"password": "admin",
"newprompt": "PTP_GM_BACKUP",
"error_message": "Illegal password"
}
}
Loading

0 comments on commit 373ee22

Please sign in to comment.