InterfaceRequest

Struct InterfaceRequest 

Source
pub struct InterfaceRequest {
Show 34 fields pub device: Box<BriefInterfaceRequestDevice>, pub vdcs: Option<Vec<i32>>, pub module: Option<Option<Box<ConsolePortRequestModule>>>, pub name: String, pub label: Option<String>, pub type: RHashType, pub enabled: Option<bool>, pub parent: Option<Option<Box<NestedInterfaceRequest>>>, pub bridge: Option<Option<Box<NestedInterfaceRequest>>>, pub lag: Option<Option<Box<NestedInterfaceRequest>>>, pub mtu: Option<Option<i32>>, pub primary_mac_address: Option<Option<Box<InterfaceRequestPrimaryMacAddress>>>, pub speed: Option<Option<i32>>, pub duplex: Option<Option<Duplex>>, pub wwn: Option<Option<String>>, pub mgmt_only: Option<bool>, pub description: Option<String>, pub mode: Option<Mode>, pub rf_role: Option<RfRole>, pub rf_channel: Option<RfChannel>, pub poe_mode: Option<PoeMode>, pub poe_type: Option<PoeType>, pub rf_channel_frequency: Option<Option<f64>>, pub rf_channel_width: Option<Option<f64>>, pub tx_power: Option<Option<i32>>, pub untagged_vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>, pub tagged_vlans: Option<Vec<i32>>, pub qinq_svlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>, pub vlan_translation_policy: Option<Option<Box<InterfaceRequestVlanTranslationPolicy>>>, pub mark_connected: Option<bool>, pub wireless_lans: Option<Vec<i32>>, pub vrf: Option<Option<Box<IpAddressRequestVrf>>>, pub tags: Option<Vec<NestedTagRequest>>, pub custom_fields: Option<HashMap<String, Value>>,
}
Expand description

InterfaceRequest : Adds support for custom fields and tags.

Fields§

§device: Box<BriefInterfaceRequestDevice>§vdcs: Option<Vec<i32>>§module: Option<Option<Box<ConsolePortRequestModule>>>§name: String§label: Option<String>

Physical label

§type: RHashType
  • virtual - Virtual * bridge - Bridge * lag - Link Aggregation Group (LAG) * 100base-fx - 100BASE-FX (10/100ME) * 100base-lfx - 100BASE-LFX (10/100ME) * 100base-tx - 100BASE-TX (10/100ME) * 100base-t1 - 100BASE-T1 (10/100ME) * 1000base-bx10-d - 1000BASE-BX10-D (1GE BiDi Down) * 1000base-bx10-u - 1000BASE-BX10-U (1GE BiDi Up) * 1000base-cwdm - 1000BASE-CWDM (1GE) * 1000base-cx - 1000BASE-CX (1GE DAC) * 1000base-dwdm - 1000BASE-DWDM (1GE) * 1000base-ex - 1000BASE-EX (1GE) * 1000base-lsx - 1000BASE-LSX (1GE) * 1000base-lx - 1000BASE-LX (1GE) * 1000base-lx10 - 1000BASE-LX10/LH (1GE) * 1000base-sx - 1000BASE-SX (1GE) * 1000base-t - 1000BASE-T (1GE) * 1000base-tx - 1000BASE-TX (1GE) * 1000base-zx - 1000BASE-ZX (1GE) * 2.5gbase-t - 2.5GBASE-T (2.5GE) * 5gbase-t - 5GBASE-T (5GE) * 10gbase-br-d - 10GBASE-BR-D (10GE BiDi Down) * 10gbase-br-u - 10GBASE-BR-U (10GE BiDi Up) * 10gbase-cx4 - 10GBASE-CX4 (10GE DAC) * 10gbase-er - 10GBASE-ER (10GE) * 10gbase-lr - 10GBASE-LR (10GE) * 10gbase-lrm - 10GBASE-LRM (10GE) * 10gbase-lx4 - 10GBASE-LX4 (10GE) * 10gbase-sr - 10GBASE-SR (10GE) * 10gbase-t - 10GBASE-T (10GE) * 10gbase-zr - 10GBASE-ZR (10GE) * 25gbase-cr - 25GBASE-CR (25GE DAC) * 25gbase-er - 25GBASE-ER (25GE) * 25gbase-lr - 25GBASE-LR (25GE) * 25gbase-sr - 25GBASE-SR (25GE) * 25gbase-t - 25GBASE-T (25GE) * 40gbase-cr4 - 40GBASE-CR4 (40GE DAC) * 40gbase-er4 - 40GBASE-ER4 (40GE) * 40gbase-fr4 - 40GBASE-FR4 (40GE) * 40gbase-lr4 - 40GBASE-LR4 (40GE) * 40gbase-sr4 - 40GBASE-SR4 (40GE) * 50gbase-cr - 50GBASE-CR (50GE DAC) * 50gbase-er - 50GBASE-ER (50GE) * 50gbase-fr - 50GBASE-FR (50GE) * 50gbase-lr - 50GBASE-LR (50GE) * 50gbase-sr - 50GBASE-SR (50GE) * 100gbase-cr1 - 100GBASE-CR1 (100GE DAC) * 100gbase-cr2 - 100GBASE-CR2 (100GE DAC) * 100gbase-cr4 - 100GBASE-CR4 (100GE DAC) * 100gbase-cr10 - 100GBASE-CR10 (100GE DAC) * 100gbase-cwdm4 - 100GBASE-CWDM4 (100GE) * 100gbase-dr - 100GBASE-DR (100GE) * 100gbase-er4 - 100GBASE-ER4 (100GE) * 100gbase-fr1 - 100GBASE-FR1 (100GE) * 100gbase-lr1 - 100GBASE-LR1 (100GE) * 100gbase-lr4 - 100GBASE-LR4 (100GE) * 100gbase-sr1 - 100GBASE-SR1 (100GE) * 100gbase-sr1.2 - 100GBASE-SR1.2 (100GE BiDi) * 100gbase-sr2 - 100GBASE-SR2 (100GE) * 100gbase-sr4 - 100GBASE-SR4 (100GE) * 100gbase-sr10 - 100GBASE-SR10 (100GE) * 100gbase-zr - 100GBASE-ZR (100GE) * 200gbase-cr2 - 200GBASE-CR2 (200GE) * 200gbase-cr4 - 200GBASE-CR4 (200GE) * 200gbase-dr4 - 200GBASE-DR4 (200GE) * 200gbase-er4 - 200GBASE-ER4 (200GE) * 200gbase-fr4 - 200GBASE-FR4 (200GE) * 200gbase-lr4 - 200GBASE-LR4 (200GE) * 200gbase-sr2 - 200GBASE-SR2 (200GE) * 200gbase-sr4 - 200GBASE-SR4 (200GE) * 200gbase-vr2 - 200GBASE-VR2 (200GE) * 400gbase-cr4 - 400GBASE-CR4 (400GE) * 400gbase-dr4 - 400GBASE-DR4 (400GE) * 400gbase-er8 - 400GBASE-ER8 (400GE) * 400gbase-fr4 - 400GBASE-FR4 (400GE) * 400gbase-fr8 - 400GBASE-FR8 (400GE) * 400gbase-lr4 - 400GBASE-LR4 (400GE) * 400gbase-lr8 - 400GBASE-LR8 (400GE) * 400gbase-sr4 - 400GBASE-SR4 (400GE) * 400gbase-sr4_2 - 400GBASE-SR4.2 (400GE BiDi) * 400gbase-sr8 - 400GBASE-SR8 (400GE) * 400gbase-sr16 - 400GBASE-SR16 (400GE) * 400gbase-vr4 - 400GBASE-VR4 (400GE) * 400gbase-zr - 400GBASE-ZR (400GE) * 800gbase-cr8 - 800GBASE-CR8 (800GE) * 800gbase-dr8 - 800GBASE-DR8 (800GE) * 800gbase-sr8 - 800GBASE-SR8 (800GE) * 800gbase-vr8 - 800GBASE-VR8 (800GE) * 100base-x-sfp - SFP (100ME) * 1000base-x-gbic - GBIC (1GE) * 1000base-x-sfp - SFP (1GE) * 10gbase-x-sfpp - SFP+ (10GE) * 10gbase-x-xenpak - XENPAK (10GE) * 10gbase-x-xfp - XFP (10GE) * 10gbase-x-x2 - X2 (10GE) * 25gbase-x-sfp28 - SFP28 (25GE) * 40gbase-x-qsfpp - QSFP+ (40GE) * 50gbase-x-sfp28 - QSFP28 (50GE) * 50gbase-x-sfp56 - SFP56 (50GE) * 100gbase-x-cfp - CFP (100GE) * 100gbase-x-cfp2 - CFP2 (100GE) * 100gbase-x-cfp4 - CFP4 (100GE) * 100gbase-x-cxp - CXP (100GE) * 100gbase-x-cpak - Cisco CPAK (100GE) * 100gbase-x-dsfp - DSFP (100GE) * 100gbase-x-qsfp28 - QSFP28 (100GE) * 100gbase-x-qsfpdd - QSFP-DD (100GE) * 100gbase-x-sfpdd - SFP-DD (100GE) * 200gbase-x-cfp2 - CFP2 (200GE) * 200gbase-x-qsfp56 - QSFP56 (200GE) * 200gbase-x-qsfpdd - QSFP-DD (200GE) * 400gbase-x-qsfp112 - QSFP112 (400GE) * 400gbase-x-qsfpdd - QSFP-DD (400GE) * 400gbase-x-cdfp - CDFP (400GE) * 400gbase-x-cfp2 - CFP2 (400GE) * 400gbase-x-cfp8 - CPF8 (400GE) * 400gbase-x-osfp - OSFP (400GE) * 400gbase-x-osfp-rhs - OSFP-RHS (400GE) * 800gbase-x-osfp - OSFP (800GE) * 800gbase-x-qsfpdd - QSFP-DD (800GE) * 1000base-kx - 1000BASE-KX (1GE) * 2.5gbase-kx - 2.5GBASE-KX (2.5GE) * 5gbase-kr - 5GBASE-KR (5GE) * 10gbase-kr - 10GBASE-KR (10GE) * 10gbase-kx4 - 10GBASE-KX4 (10GE) * 25gbase-kr - 25GBASE-KR (25GE) * 40gbase-kr4 - 40GBASE-KR4 (40GE) * 50gbase-kr - 50GBASE-KR (50GE) * 100gbase-kp4 - 100GBASE-KP4 (100GE) * 100gbase-kr2 - 100GBASE-KR2 (100GE) * 100gbase-kr4 - 100GBASE-KR4 (100GE) * ieee802.11a - IEEE 802.11a * ieee802.11g - IEEE 802.11b/g * ieee802.11n - IEEE 802.11n (Wi-Fi 4) * ieee802.11ac - IEEE 802.11ac (Wi-Fi 5) * ieee802.11ad - IEEE 802.11ad (WiGig) * ieee802.11ax - IEEE 802.11ax (Wi-Fi 6) * ieee802.11ay - IEEE 802.11ay (WiGig) * ieee802.11be - IEEE 802.11be (Wi-Fi 7) * ieee802.15.1 - IEEE 802.15.1 (Bluetooth) * ieee802.15.4 - IEEE 802.15.4 (LR-WPAN) * other-wireless - Other (Wireless) * gsm - GSM * cdma - CDMA * lte - LTE * 4g - 4G * 5g - 5G * sonet-oc3 - OC-3/STM-1 * sonet-oc12 - OC-12/STM-4 * sonet-oc48 - OC-48/STM-16 * sonet-oc192 - OC-192/STM-64 * sonet-oc768 - OC-768/STM-256 * sonet-oc1920 - OC-1920/STM-640 * sonet-oc3840 - OC-3840/STM-1234 * 1gfc-sfp - SFP (1GFC) * 2gfc-sfp - SFP (2GFC) * 4gfc-sfp - SFP (4GFC) * 8gfc-sfpp - SFP+ (8GFC) * 16gfc-sfpp - SFP+ (16GFC) * 32gfc-sfp28 - SFP28 (32GFC) * 32gfc-sfpp - SFP+ (32GFC) * 64gfc-qsfpp - QSFP+ (64GFC) * 64gfc-sfpdd - SFP-DD (64GFC) * 64gfc-sfpp - SFP+ (64GFC) * 128gfc-qsfp28 - QSFP28 (128GFC) * infiniband-sdr - SDR (2 Gbps) * infiniband-ddr - DDR (4 Gbps) * infiniband-qdr - QDR (8 Gbps) * infiniband-fdr10 - FDR10 (10 Gbps) * infiniband-fdr - FDR (13.5 Gbps) * infiniband-edr - EDR (25 Gbps) * infiniband-hdr - HDR (50 Gbps) * infiniband-ndr - NDR (100 Gbps) * infiniband-xdr - XDR (250 Gbps) * t1 - T1 (1.544 Mbps) * e1 - E1 (2.048 Mbps) * t3 - T3 (45 Mbps) * e3 - E3 (34 Mbps) * xdsl - xDSL * docsis - DOCSIS * moca - MoCA * bpon - BPON (622 Mbps / 155 Mbps) * epon - EPON (1 Gbps) * 10g-epon - 10G-EPON (10 Gbps) * gpon - GPON (2.5 Gbps / 1.25 Gbps) * xg-pon - XG-PON (10 Gbps / 2.5 Gbps) * xgs-pon - XGS-PON (10 Gbps) * ng-pon2 - NG-PON2 (TWDM-PON) (4x10 Gbps) * 25g-pon - 25G-PON (25 Gbps) * 50g-pon - 50G-PON (50 Gbps) * cisco-stackwise - Cisco StackWise * cisco-stackwise-plus - Cisco StackWise Plus * cisco-flexstack - Cisco FlexStack * cisco-flexstack-plus - Cisco FlexStack Plus * cisco-stackwise-80 - Cisco StackWise-80 * cisco-stackwise-160 - Cisco StackWise-160 * cisco-stackwise-320 - Cisco StackWise-320 * cisco-stackwise-480 - Cisco StackWise-480 * cisco-stackwise-1t - Cisco StackWise-1T * juniper-vcp - Juniper VCP * extreme-summitstack - Extreme SummitStack * extreme-summitstack-128 - Extreme SummitStack-128 * extreme-summitstack-256 - Extreme SummitStack-256 * extreme-summitstack-512 - Extreme SummitStack-512 * other - Other
§enabled: Option<bool>§parent: Option<Option<Box<NestedInterfaceRequest>>>§bridge: Option<Option<Box<NestedInterfaceRequest>>>§lag: Option<Option<Box<NestedInterfaceRequest>>>§mtu: Option<Option<i32>>§primary_mac_address: Option<Option<Box<InterfaceRequestPrimaryMacAddress>>>§speed: Option<Option<i32>>§duplex: Option<Option<Duplex>>
  • half - Half * full - Full * auto - Auto
§wwn: Option<Option<String>>§mgmt_only: Option<bool>

This interface is used only for out-of-band management

§description: Option<String>§mode: Option<Mode>
  • access - Access * tagged - Tagged * tagged-all - Tagged (All) * q-in-q - Q-in-Q (802.1ad)
§rf_role: Option<RfRole>
  • ap - Access point * station - Station
§rf_channel: Option<RfChannel>
  • 2.4g-1-2412-22 - 1 (2412 MHz) * 2.4g-2-2417-22 - 2 (2417 MHz) * 2.4g-3-2422-22 - 3 (2422 MHz) * 2.4g-4-2427-22 - 4 (2427 MHz) * 2.4g-5-2432-22 - 5 (2432 MHz) * 2.4g-6-2437-22 - 6 (2437 MHz) * 2.4g-7-2442-22 - 7 (2442 MHz) * 2.4g-8-2447-22 - 8 (2447 MHz) * 2.4g-9-2452-22 - 9 (2452 MHz) * 2.4g-10-2457-22 - 10 (2457 MHz) * 2.4g-11-2462-22 - 11 (2462 MHz) * 2.4g-12-2467-22 - 12 (2467 MHz) * 2.4g-13-2472-22 - 13 (2472 MHz) * 5g-32-5160-20 - 32 (5160/20 MHz) * 5g-34-5170-40 - 34 (5170/40 MHz) * 5g-36-5180-20 - 36 (5180/20 MHz) * 5g-38-5190-40 - 38 (5190/40 MHz) * 5g-40-5200-20 - 40 (5200/20 MHz) * 5g-42-5210-80 - 42 (5210/80 MHz) * 5g-44-5220-20 - 44 (5220/20 MHz) * 5g-46-5230-40 - 46 (5230/40 MHz) * 5g-48-5240-20 - 48 (5240/20 MHz) * 5g-50-5250-160 - 50 (5250/160 MHz) * 5g-52-5260-20 - 52 (5260/20 MHz) * 5g-54-5270-40 - 54 (5270/40 MHz) * 5g-56-5280-20 - 56 (5280/20 MHz) * 5g-58-5290-80 - 58 (5290/80 MHz) * 5g-60-5300-20 - 60 (5300/20 MHz) * 5g-62-5310-40 - 62 (5310/40 MHz) * 5g-64-5320-20 - 64 (5320/20 MHz) * 5g-100-5500-20 - 100 (5500/20 MHz) * 5g-102-5510-40 - 102 (5510/40 MHz) * 5g-104-5520-20 - 104 (5520/20 MHz) * 5g-106-5530-80 - 106 (5530/80 MHz) * 5g-108-5540-20 - 108 (5540/20 MHz) * 5g-110-5550-40 - 110 (5550/40 MHz) * 5g-112-5560-20 - 112 (5560/20 MHz) * 5g-114-5570-160 - 114 (5570/160 MHz) * 5g-116-5580-20 - 116 (5580/20 MHz) * 5g-118-5590-40 - 118 (5590/40 MHz) * 5g-120-5600-20 - 120 (5600/20 MHz) * 5g-122-5610-80 - 122 (5610/80 MHz) * 5g-124-5620-20 - 124 (5620/20 MHz) * 5g-126-5630-40 - 126 (5630/40 MHz) * 5g-128-5640-20 - 128 (5640/20 MHz) * 5g-132-5660-20 - 132 (5660/20 MHz) * 5g-134-5670-40 - 134 (5670/40 MHz) * 5g-136-5680-20 - 136 (5680/20 MHz) * 5g-138-5690-80 - 138 (5690/80 MHz) * 5g-140-5700-20 - 140 (5700/20 MHz) * 5g-142-5710-40 - 142 (5710/40 MHz) * 5g-144-5720-20 - 144 (5720/20 MHz) * 5g-149-5745-20 - 149 (5745/20 MHz) * 5g-151-5755-40 - 151 (5755/40 MHz) * 5g-153-5765-20 - 153 (5765/20 MHz) * 5g-155-5775-80 - 155 (5775/80 MHz) * 5g-157-5785-20 - 157 (5785/20 MHz) * 5g-159-5795-40 - 159 (5795/40 MHz) * 5g-161-5805-20 - 161 (5805/20 MHz) * 5g-163-5815-160 - 163 (5815/160 MHz) * 5g-165-5825-20 - 165 (5825/20 MHz) * 5g-167-5835-40 - 167 (5835/40 MHz) * 5g-169-5845-20 - 169 (5845/20 MHz) * 5g-171-5855-80 - 171 (5855/80 MHz) * 5g-173-5865-20 - 173 (5865/20 MHz) * 5g-175-5875-40 - 175 (5875/40 MHz) * 5g-177-5885-20 - 177 (5885/20 MHz) * 6g-1-5955-20 - 1 (5955/20 MHz) * 6g-3-5965-40 - 3 (5965/40 MHz) * 6g-5-5975-20 - 5 (5975/20 MHz) * 6g-7-5985-80 - 7 (5985/80 MHz) * 6g-9-5995-20 - 9 (5995/20 MHz) * 6g-11-6005-40 - 11 (6005/40 MHz) * 6g-13-6015-20 - 13 (6015/20 MHz) * 6g-15-6025-160 - 15 (6025/160 MHz) * 6g-17-6035-20 - 17 (6035/20 MHz) * 6g-19-6045-40 - 19 (6045/40 MHz) * 6g-21-6055-20 - 21 (6055/20 MHz) * 6g-23-6065-80 - 23 (6065/80 MHz) * 6g-25-6075-20 - 25 (6075/20 MHz) * 6g-27-6085-40 - 27 (6085/40 MHz) * 6g-29-6095-20 - 29 (6095/20 MHz) * 6g-31-6105-320 - 31 (6105/320 MHz) * 6g-33-6115-20 - 33 (6115/20 MHz) * 6g-35-6125-40 - 35 (6125/40 MHz) * 6g-37-6135-20 - 37 (6135/20 MHz) * 6g-39-6145-80 - 39 (6145/80 MHz) * 6g-41-6155-20 - 41 (6155/20 MHz) * 6g-43-6165-40 - 43 (6165/40 MHz) * 6g-45-6175-20 - 45 (6175/20 MHz) * 6g-47-6185-160 - 47 (6185/160 MHz) * 6g-49-6195-20 - 49 (6195/20 MHz) * 6g-51-6205-40 - 51 (6205/40 MHz) * 6g-53-6215-20 - 53 (6215/20 MHz) * 6g-55-6225-80 - 55 (6225/80 MHz) * 6g-57-6235-20 - 57 (6235/20 MHz) * 6g-59-6245-40 - 59 (6245/40 MHz) * 6g-61-6255-20 - 61 (6255/20 MHz) * 6g-65-6275-20 - 65 (6275/20 MHz) * 6g-67-6285-40 - 67 (6285/40 MHz) * 6g-69-6295-20 - 69 (6295/20 MHz) * 6g-71-6305-80 - 71 (6305/80 MHz) * 6g-73-6315-20 - 73 (6315/20 MHz) * 6g-75-6325-40 - 75 (6325/40 MHz) * 6g-77-6335-20 - 77 (6335/20 MHz) * 6g-79-6345-160 - 79 (6345/160 MHz) * 6g-81-6355-20 - 81 (6355/20 MHz) * 6g-83-6365-40 - 83 (6365/40 MHz) * 6g-85-6375-20 - 85 (6375/20 MHz) * 6g-87-6385-80 - 87 (6385/80 MHz) * 6g-89-6395-20 - 89 (6395/20 MHz) * 6g-91-6405-40 - 91 (6405/40 MHz) * 6g-93-6415-20 - 93 (6415/20 MHz) * 6g-95-6425-320 - 95 (6425/320 MHz) * 6g-97-6435-20 - 97 (6435/20 MHz) * 6g-99-6445-40 - 99 (6445/40 MHz) * 6g-101-6455-20 - 101 (6455/20 MHz) * 6g-103-6465-80 - 103 (6465/80 MHz) * 6g-105-6475-20 - 105 (6475/20 MHz) * 6g-107-6485-40 - 107 (6485/40 MHz) * 6g-109-6495-20 - 109 (6495/20 MHz) * 6g-111-6505-160 - 111 (6505/160 MHz) * 6g-113-6515-20 - 113 (6515/20 MHz) * 6g-115-6525-40 - 115 (6525/40 MHz) * 6g-117-6535-20 - 117 (6535/20 MHz) * 6g-119-6545-80 - 119 (6545/80 MHz) * 6g-121-6555-20 - 121 (6555/20 MHz) * 6g-123-6565-40 - 123 (6565/40 MHz) * 6g-125-6575-20 - 125 (6575/20 MHz) * 6g-129-6595-20 - 129 (6595/20 MHz) * 6g-131-6605-40 - 131 (6605/40 MHz) * 6g-133-6615-20 - 133 (6615/20 MHz) * 6g-135-6625-80 - 135 (6625/80 MHz) * 6g-137-6635-20 - 137 (6635/20 MHz) * 6g-139-6645-40 - 139 (6645/40 MHz) * 6g-141-6655-20 - 141 (6655/20 MHz) * 6g-143-6665-160 - 143 (6665/160 MHz) * 6g-145-6675-20 - 145 (6675/20 MHz) * 6g-147-6685-40 - 147 (6685/40 MHz) * 6g-149-6695-20 - 149 (6695/20 MHz) * 6g-151-6705-80 - 151 (6705/80 MHz) * 6g-153-6715-20 - 153 (6715/20 MHz) * 6g-155-6725-40 - 155 (6725/40 MHz) * 6g-157-6735-20 - 157 (6735/20 MHz) * 6g-159-6745-320 - 159 (6745/320 MHz) * 6g-161-6755-20 - 161 (6755/20 MHz) * 6g-163-6765-40 - 163 (6765/40 MHz) * 6g-165-6775-20 - 165 (6775/20 MHz) * 6g-167-6785-80 - 167 (6785/80 MHz) * 6g-169-6795-20 - 169 (6795/20 MHz) * 6g-171-6805-40 - 171 (6805/40 MHz) * 6g-173-6815-20 - 173 (6815/20 MHz) * 6g-175-6825-160 - 175 (6825/160 MHz) * 6g-177-6835-20 - 177 (6835/20 MHz) * 6g-179-6845-40 - 179 (6845/40 MHz) * 6g-181-6855-20 - 181 (6855/20 MHz) * 6g-183-6865-80 - 183 (6865/80 MHz) * 6g-185-6875-20 - 185 (6875/20 MHz) * 6g-187-6885-40 - 187 (6885/40 MHz) * 6g-189-6895-20 - 189 (6895/20 MHz) * 6g-193-6915-20 - 193 (6915/20 MHz) * 6g-195-6925-40 - 195 (6925/40 MHz) * 6g-197-6935-20 - 197 (6935/20 MHz) * 6g-199-6945-80 - 199 (6945/80 MHz) * 6g-201-6955-20 - 201 (6955/20 MHz) * 6g-203-6965-40 - 203 (6965/40 MHz) * 6g-205-6975-20 - 205 (6975/20 MHz) * 6g-207-6985-160 - 207 (6985/160 MHz) * 6g-209-6995-20 - 209 (6995/20 MHz) * 6g-211-7005-40 - 211 (7005/40 MHz) * 6g-213-7015-20 - 213 (7015/20 MHz) * 6g-215-7025-80 - 215 (7025/80 MHz) * 6g-217-7035-20 - 217 (7035/20 MHz) * 6g-219-7045-40 - 219 (7045/40 MHz) * 6g-221-7055-20 - 221 (7055/20 MHz) * 6g-225-7075-20 - 225 (7075/20 MHz) * 6g-227-7085-40 - 227 (7085/40 MHz) * 6g-229-7095-20 - 229 (7095/20 MHz) * 6g-233-7115-20 - 233 (7115/20 MHz) * 60g-1-58320-2160 - 1 (58.32/2.16 GHz) * 60g-2-60480-2160 - 2 (60.48/2.16 GHz) * 60g-3-62640-2160 - 3 (62.64/2.16 GHz) * 60g-4-64800-2160 - 4 (64.80/2.16 GHz) * 60g-5-66960-2160 - 5 (66.96/2.16 GHz) * 60g-6-69120-2160 - 6 (69.12/2.16 GHz) * 60g-9-59400-4320 - 9 (59.40/4.32 GHz) * 60g-10-61560-4320 - 10 (61.56/4.32 GHz) * 60g-11-63720-4320 - 11 (63.72/4.32 GHz) * 60g-12-65880-4320 - 12 (65.88/4.32 GHz) * 60g-13-68040-4320 - 13 (68.04/4.32 GHz) * 60g-17-60480-6480 - 17 (60.48/6.48 GHz) * 60g-18-62640-6480 - 18 (62.64/6.48 GHz) * 60g-19-64800-6480 - 19 (64.80/6.48 GHz) * 60g-20-66960-6480 - 20 (66.96/6.48 GHz) * 60g-25-61560-6480 - 25 (61.56/8.64 GHz) * 60g-26-63720-6480 - 26 (63.72/8.64 GHz) * 60g-27-65880-6480 - 27 (65.88/8.64 GHz)
§poe_mode: Option<PoeMode>
  • pd - PD * pse - PSE
§poe_type: Option<PoeType>
  • type1-ieee802.3af - 802.3af (Type 1) * type2-ieee802.3at - 802.3at (Type 2) * type3-ieee802.3bt - 802.3bt (Type 3) * type4-ieee802.3bt - 802.3bt (Type 4) * passive-24v-2pair - Passive 24V (2-pair) * passive-24v-4pair - Passive 24V (4-pair) * passive-48v-2pair - Passive 48V (2-pair) * passive-48v-4pair - Passive 48V (4-pair)
§rf_channel_frequency: Option<Option<f64>>

Populated by selected channel (if set)

§rf_channel_width: Option<Option<f64>>

Populated by selected channel (if set)

§tx_power: Option<Option<i32>>§untagged_vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>§tagged_vlans: Option<Vec<i32>>§qinq_svlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>§vlan_translation_policy: Option<Option<Box<InterfaceRequestVlanTranslationPolicy>>>§mark_connected: Option<bool>

Treat as if a cable is connected

§wireless_lans: Option<Vec<i32>>§vrf: Option<Option<Box<IpAddressRequestVrf>>>§tags: Option<Vec<NestedTagRequest>>§custom_fields: Option<HashMap<String, Value>>

Implementations§

Source§

impl InterfaceRequest

Source

pub fn new( device: BriefInterfaceRequestDevice, name: String, type: RHashType, ) -> InterfaceRequest

Adds support for custom fields and tags.

Trait Implementations§

Source§

impl Clone for InterfaceRequest

Source§

fn clone(&self) -> InterfaceRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InterfaceRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for InterfaceRequest

Source§

fn default() -> InterfaceRequest

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for InterfaceRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for InterfaceRequest

Source§

fn eq(&self, other: &InterfaceRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for InterfaceRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for InterfaceRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,