/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/cloudengine/ |
H A D | ce_interface.py | 392 if intf_type: 393 if not intfs_info.get(intf_type): 504 if is_portswitch_enalbe(self.intf_type): 550 if is_portswitch_enalbe(self.intf_type): 590 if is_admin_state_enable(self.intf_type) \ 597 if is_portswitch_enalbe(self.intf_type) \ 669 if not self.intf_type: 676 if not self.intf_type or self.intf_type != self.interface_type.replace(" ", "").lower(): 681 if not self.intf_type: 693 if not is_portswitch_enalbe(self.intf_type)\ [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/ |
H A D | ce_interface.py | 386 if intf_type: 387 if not intfs_info.get(intf_type): 498 if is_portswitch_enalbe(self.intf_type): 544 if is_portswitch_enalbe(self.intf_type): 584 if is_admin_state_enable(self.intf_type) \ 591 if is_portswitch_enalbe(self.intf_type) \ 663 if not self.intf_type: 670 if not self.intf_type or self.intf_type != self.interface_type.replace(" ", "").lower(): 675 if not self.intf_type: 687 if not is_portswitch_enalbe(self.intf_type)\ [all …]
|
H A D | cnos_vrf.py | 136 intf_type = 'unknown' 138 intf_type = 'ethernet' 140 intf_type = 'svi' 142 intf_type = 'loopback' 144 intf_type = 'management' 146 intf_type = 'portchannel' 148 intf_type = 'nve' 150 return intf_type 154 intf_type = get_interface_type(name) 156 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l3_interface.py | 256 intf_type = 'unknown' 258 intf_type = 'ethernet' 260 intf_type = 'svi' 262 intf_type = 'loopback' 264 intf_type = 'management' 266 intf_type = 'portchannel' 268 intf_type = 'nve' 270 return intf_type 274 intf_type = get_interface_type(name) 276 if intf_type in ('ethernet', 'portchannel'):
|
H A D | slxos_l2_interface.py | 126 intf_type = 'unknown' 128 intf_type = 'ethernet' 130 intf_type = 'svi' 132 intf_type = 'loopback' 134 intf_type = 'management' 136 intf_type = 'portchannel' 138 intf_type = 'nve' 140 return intf_type 144 intf_type = get_interface_type(name) 146 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l2_interface.py | 201 intf_type = 'unknown' 203 intf_type = 'ethernet' 205 intf_type = 'svi' 207 intf_type = 'loopback' 209 intf_type = 'management' 211 intf_type = 'portchannel' 213 intf_type = 'nve' 215 return intf_type 219 intf_type = get_interface_type(name) 221 if intf_type in ('ethernet', 'portchannel'):
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/network/cloudengine/ |
H A D | ce_interface.py | 386 if intf_type: 387 if not intfs_info.get(intf_type): 498 if is_portswitch_enalbe(self.intf_type): 544 if is_portswitch_enalbe(self.intf_type): 584 if is_admin_state_enable(self.intf_type) \ 591 if is_portswitch_enalbe(self.intf_type) \ 663 if not self.intf_type: 670 if not self.intf_type or self.intf_type != self.interface_type.replace(" ", "").lower(): 675 if not self.intf_type: 687 if not is_portswitch_enalbe(self.intf_type)\ [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/cnos/ |
H A D | cnos_vrf.py | 141 intf_type = 'unknown' 143 intf_type = 'ethernet' 145 intf_type = 'svi' 147 intf_type = 'loopback' 149 intf_type = 'management' 151 intf_type = 'portchannel' 153 intf_type = 'nve' 155 return intf_type 159 intf_type = get_interface_type(name) 161 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l3_interface.py | 261 intf_type = 'unknown' 263 intf_type = 'ethernet' 265 intf_type = 'svi' 267 intf_type = 'loopback' 269 intf_type = 'management' 271 intf_type = 'portchannel' 273 intf_type = 'nve' 275 return intf_type 279 intf_type = get_interface_type(name) 281 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l2_interface.py | 208 intf_type = 'unknown' 210 intf_type = 'ethernet' 212 intf_type = 'svi' 214 intf_type = 'loopback' 216 intf_type = 'management' 218 intf_type = 'portchannel' 220 intf_type = 'nve' 222 return intf_type 226 intf_type = get_interface_type(name) 228 if intf_type in ('ethernet', 'portchannel'):
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/network/cnos/ |
H A D | cnos_vrf.py | 136 intf_type = 'unknown' 138 intf_type = 'ethernet' 140 intf_type = 'svi' 142 intf_type = 'loopback' 144 intf_type = 'management' 146 intf_type = 'portchannel' 148 intf_type = 'nve' 150 return intf_type 154 intf_type = get_interface_type(name) 156 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l3_interface.py | 256 intf_type = 'unknown' 258 intf_type = 'ethernet' 260 intf_type = 'svi' 262 intf_type = 'loopback' 264 intf_type = 'management' 266 intf_type = 'portchannel' 268 intf_type = 'nve' 270 return intf_type 274 intf_type = get_interface_type(name) 276 if intf_type in ('ethernet', 'portchannel'):
|
H A D | cnos_l2_interface.py | 201 intf_type = 'unknown' 203 intf_type = 'ethernet' 205 intf_type = 'svi' 207 intf_type = 'loopback' 209 intf_type = 'management' 211 intf_type = 'portchannel' 213 intf_type = 'nve' 215 return intf_type 219 intf_type = get_interface_type(name) 221 if intf_type in ('ethernet', 'portchannel'):
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/nxos/plugins/modules/ |
H A D | nxos_vrf_interface.py | 110 def get_interface_mode(interface, intf_type, module): argument 115 if intf_type in ["ethernet", "portchannel"]: 129 elif intf_type == "loopback" or intf_type == "svi": 215 intf_type = get_interface_type(interface) 216 if intf_type != "ethernet" and network_api == "cliconf": 224 mode = get_interface_mode(interface, intf_type, module)
|
H A D | nxos_interface.py | 404 intf_type = get_interface_type(intf) 405 interfaces[intf_type].append(intf) 410 def get_vlan_interface_attributes(name, intf_type, module): argument 718 intf_type = get_interface_type(w["name"]) 720 if intf_type in ["portchannel", "ethernet"]: 729 if intf_type == "ethernet": 758 elif intf_type == "svi": 763 obj["name"], intf_type, module 784 elif intf_type in ("loopback", "management", "nve"): 789 if obj["admin_state"] is None and intf_type == "loopback": [all …]
|
H A D | nxos_vrrp.py | 187 def get_interface_mode(interface, intf_type, module): argument 195 if intf_type in ["ethernet", "portchannel"]: 200 elif intf_type == "svi": 383 intf_type = get_interface_type(interface) 384 if intf_type != "ethernet" and network_api == "cliconf": 390 if intf_type == "loopback": 396 mode, name = get_interface_mode(interface, intf_type, module)
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/nxos/ |
H A D | nxos_vrf_interface.py | 101 def get_interface_mode(interface, intf_type, module): argument 106 if intf_type in ['ethernet', 'portchannel']: 120 elif intf_type == 'loopback' or intf_type == 'svi': 200 intf_type = get_interface_type(interface) 201 if (intf_type != 'ethernet' and network_api == 'cliconf'): 207 mode = get_interface_mode(interface, intf_type, module)
|
H A D | _nxos_interface.py | 264 intf_type = get_interface_type(intf) 265 interfaces[intf_type].append(intf) 270 def get_vlan_interface_attributes(name, intf_type, module): argument 521 intf_type = get_interface_type(w['name']) 523 if intf_type in ['portchannel', 'ethernet']: 532 if intf_type == 'ethernet': 560 elif intf_type == 'svi': 562 attributes = get_vlan_interface_attributes(obj['name'], intf_type, module) 580 elif intf_type in ('loopback', 'management', 'nve'): 583 if obj['admin_state'] is None and intf_type == 'loopback': [all …]
|
H A D | nxos_vrrp.py | 175 def get_interface_mode(interface, intf_type, module): argument 183 if intf_type in ['ethernet', 'portchannel']: 188 elif intf_type == 'svi': 359 intf_type = get_interface_type(interface) 360 if (intf_type != 'ethernet' and network_api == 'cliconf'): 364 if intf_type == 'loopback': 368 mode, name = get_interface_mode(interface, intf_type, module)
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/network/nxos/facts/legacy/ |
H A D | base.py | 380 def parse_state(self, key, value, intf_type='ethernet'): argument 382 if intf_type == 'svi': 390 def parse_macaddress(self, value, intf_type='ethernet'): argument 392 if intf_type == 'svi': 400 def parse_mtu(self, value, intf_type='ethernet'): argument 405 def parse_bandwidth(self, value, intf_type='ethernet'): argument 410 def parse_type(self, value, intf_type='ethernet'): argument 412 if intf_type == 'svi': 425 def parse_mode(self, value, intf_type='ethernet'): argument 430 def parse_duplex(self, value, intf_type='ethernet'): argument [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/nxos/plugins/module_utils/network/nxos/facts/legacy/ |
H A D | base.py | 385 value, intf_type="svi" 389 value, intf_type="svi" 394 value, intf_type="svi" 415 if intf_type == "svi": 425 if intf_type == "svi": 433 def parse_mtu(self, value, intf_type="ethernet"): argument 443 def parse_type(self, value, intf_type="ethernet"): argument 445 if intf_type == "svi": 458 def parse_mode(self, value, intf_type="ethernet"): argument 463 def parse_duplex(self, value, intf_type="ethernet"): argument [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/slxos/ |
H A D | slxos_l2_interface.py | 131 intf_type = 'unknown' 133 intf_type = 'ethernet' 135 intf_type = 'svi' 137 intf_type = 'loopback' 139 intf_type = 'management' 141 intf_type = 'portchannel' 143 intf_type = 'nve' 145 return intf_type 149 intf_type = get_interface_type(name) 151 if intf_type in ('ethernet', 'portchannel'):
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/network/ios/ |
H A D | _ios_l2_interface.py | 120 intf_type = 'unknown' 122 intf_type = 'ethernet' 124 intf_type = 'svi' 126 intf_type = 'loopback' 128 intf_type = 'management' 130 intf_type = 'portchannel' 132 intf_type = 'nve' 134 return intf_type 138 intf_type = get_interface_type(name) 140 if intf_type in ('ethernet', 'portchannel'):
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cisco/ios/plugins/modules/ |
H A D | ios_l2_interface.py | 183 intf_type = "unknown" 194 intf_type = "ethernet" 196 intf_type = "svi" 198 intf_type = "loopback" 200 intf_type = "management" 202 intf_type = "portchannel" 204 intf_type = "nve" 205 return intf_type 209 intf_type = get_interface_type(name) 210 if intf_type in ("ethernet", "portchannel"):
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/modules/network/slxos/ |
H A D | slxos_l2_interface.py | 126 intf_type = 'unknown' 128 intf_type = 'ethernet' 130 intf_type = 'svi' 132 intf_type = 'loopback' 134 intf_type = 'management' 136 intf_type = 'portchannel' 138 intf_type = 'nve' 140 return intf_type 144 intf_type = get_interface_type(name) 146 if intf_type in ('ethernet', 'portchannel'):
|