#[non_exhaustive]pub struct UnitFamily {Show 39 fields
pub name: String,
pub mtu: Option<String>,
pub filter: Option<FamilyFilter>,
pub rpf_check: Option<RpfCheck>,
pub policer: Option<FamilyPolicer>,
pub sampling: Option<FamilySampling>,
pub vlan_id: Option<String>,
pub vlan_id_list: Vec<String>,
pub addresses: Vec<UnitAddress>,
pub destination_udp_port: Option<String>,
pub ethernet_switching: Option<EthernetSwitching>,
pub nd6_max_cache: Option<String>,
pub nd6_stale_time: Option<String>,
pub nd6_new_hold_limit: Option<String>,
pub pppoe: Option<PppoeUnderlyingOptions>,
pub demux_source: Vec<String>,
pub demux_destination: Vec<String>,
pub dhcp: Option<DhcpClient>,
pub dhcp_client: Option<DhcpClient>,
pub dhcpv6_client: Option<Dhcpv6Client>,
pub no_redirects: bool,
pub no_redirects_ipv6: bool,
pub core_facing: bool,
pub receive_options_packets: bool,
pub receive_ttl_exceeded: bool,
pub multicast_only: bool,
pub unconditional_src_learn: bool,
pub tunnel_loopback: bool,
pub mac_validate: Option<String>,
pub tcp_mss: Option<String>,
pub arp_max_cache: Option<String>,
pub dad_proxy: Option<String>,
pub ndp_proxy: Option<String>,
pub proxy_inet_address: Option<String>,
pub unnumbered_address: Option<UnnumberedAddress>,
pub accounting: Option<FamilyAccounting>,
pub targeted_broadcast: Option<TargetedBroadcast>,
pub vlan_rewrite: Vec<VlanTranslation>,
pub next_hop_tunnel: Vec<NextHopTunnel>,
}Expand description
A family <name> of a logical unit, with the settings that apply to it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Stringe.g. "inet", "inet6", "iso", "mpls".
mtu: Option<String>§filter: Option<FamilyFilter>§rpf_check: Option<RpfCheck>§policer: Option<FamilyPolicer>§sampling: Option<FamilySampling>§vlan_id: Option<String>vlan-id of family bridge.
vlan_id_list: Vec<String>vlan-id-list of family bridge: IDs and <from>-<to> ranges.
addresses: Vec<UnitAddress>§destination_udp_port: Option<String>destination-udp-port of a family on a UDP tunnel such as fti.
ethernet_switching: Option<EthernetSwitching>The port settings of family ethernet-switching; None for other families.
nd6_max_cache: Option<String>The nd6-max-cache of family inet6.
nd6_stale_time: Option<String>Seconds; the nd6-stale-time of family inet6.
nd6_new_hold_limit: Option<String>The nd6-new-hold-limit of family inet6.
pppoe: Option<PppoeUnderlyingOptions>The settings of family pppoe, which are those of pppoe-underlying-options.
demux_source: Vec<String>The prefixes of demux-source.
demux_destination: Vec<String>The prefixes of demux-destination.
dhcp: Option<DhcpClient>The dhcp block of family inet.
dhcp_client: Option<DhcpClient>§dhcpv6_client: Option<Dhcpv6Client>§no_redirects: bool§no_redirects_ipv6: bool§core_facing: bool§receive_options_packets: bool§receive_ttl_exceeded: bool§multicast_only: bool§unconditional_src_learn: bool§tunnel_loopback: bool§mac_validate: Option<String>loose or strict.
tcp_mss: Option<String>§arp_max_cache: Option<String>§dad_proxy: Option<String>interface-restricted or interface-unrestricted, from dad-proxy.
ndp_proxy: Option<String>interface-restricted or interface-unrestricted, from ndp-proxy.
proxy_inet_address: Option<String>The inet-address of proxy in family tcc.
unnumbered_address: Option<UnnumberedAddress>§accounting: Option<FamilyAccounting>§targeted_broadcast: Option<TargetedBroadcast>§vlan_rewrite: Vec<VlanTranslation>§next_hop_tunnel: Vec<NextHopTunnel>