diff --git a/docs/ttp_templates/misc.vars.short_interface_names.md b/docs/ttp_templates/misc.vars.short_interface_names.md deleted file mode 100644 index 7adbe9d..0000000 --- a/docs/ttp_templates/misc.vars.short_interface_names.md +++ /dev/null @@ -1,55 +0,0 @@ -Reference path: -``` -ttp://misc/vars/short_interface_names.txt -``` - ---- - - - -Template to contain variable to use with [resuball match variable function](https://ttp.readthedocs.io/en/latest/Match%20Variables/Functions.html#resuball) -to shorten and normalize names of the network devices interfaces - - - ---- - -
Template Content -``` - -Template to contain variable to use with [resuball match variable function](https://ttp.readthedocs.io/en/latest/Match%20Variables/Functions.html#resuball) -to shorten and normalize names of the network devices interfaces - - - -short_interface_names = { - 'ATM': ['^ATM', '^AT'], - 'BDI': ['^Bd', '^Bdi'], - 'EOBC': ['^EOBC', '^EO'], - 'Eth': ['^Ethernet', '^Eth', '^eth', r'^Et(?=\d)', r'^et(?=\d)'], - 'FE': ['^FastEthernet', '^FastEth', '^FastE', '^Fast', '^Fas', '^FE', '^Fa', '^fa'], - 'Fddi': ['^Fddi', '^FD'], - '50GE': ['^FiftyGigabitEthernet', '^FiftyGigEthernet', '^FiftyGigEth', '^FiftyGigE', '^FI', '^Fi', '^fi'], - '40GE': ['^FortyGigabitEthernet', '^FortyGigEthernet', '^FortyGigEth', '^FortyGigE', '^FortyGig', '^FGE', '^FO', '^Fo'], - '400GE': ['^FourHundredGigabitEthernet', '^FourHundredGigEthernet', '^FourHundredGigEth', '^FourHundredGigE', '^FourHundredGig', '^F', '^f'], - 'GE': ['^GigabitEthernet', '^GigEthernet', '^GigEth', '^GigE', '^Gig', '^GE', '^Ge', '^ge', '^Gi', '^gi'], - '100GE': ['^HundredGigabitEthernet', '^HundredGigEthernet', '^HundredGigEth', '^HundredGigE', '^HundredGig', '^Hu'], - 'Lo': ['^Loopback', '^loopback', '^LoopBack', '^lo'], - 'MGMT': ['^Management', '^Mgmt', '^mgmt', '^Ma'], - 'Multilink': ['^Multilink', '^Mu'], - 'POS': ['^POS', '^PO'], - 'LAG': ['^PortChannel', '^Port-channel', '^Port-Channel', '^port-channel', '^po', '^Po', "^Bundle-Ether", "^BE", "^Eth-Trunk"], - 'Serial': ['^Serial', '^Se', '^S'], - '10GE': ['^TenGigabitEthernet', '^TenGigEthernet', '^TenGigEth', '^TenGigE', '^TenGig', '^TeGig', '^Ten', '^Te', '^te'], - 'Tunnel': ['^Tunnel', '^Tun', '^Tu'], - '25GE': ['^TwentyFiveGigabitEthernet', '^TwentyFiveGigEthernet', '^TwentyFiveGigEth', '^TwentyFiveGigE', '^TwentyFiveGig', '^Twe', '^TF', '^Tf', '^tf'], - '2GE': ['^Tw', '^Two'], - '200GE': ['^TwoHundredGigabitEthernet', '^TwoHundredGigEthernet', '^TwoHundredGigEth', '^TwoHundredGigE', '^TwoHundredGig', '^TH', '^Th', '^th'], - 'VLAN': ['^VLAN', '^vlanif', r'^V(?=\d+)', r'^Vl(?=\d+)'], - 'Virtual-Access': ['^Virtual-Access', '^Vi'], - 'Virtual-Template': ['^Virtual-Template', '^Vt'], - 'WLAN': ['^Wlan-GigabitEthernet'], -} - -``` -
\ No newline at end of file