use zbus::proxy;
use zbus::zvariant::OwnedObjectPath;
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Vxlan",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Vxlan {
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
#[zbus(property)]
fn parent(&self) -> zbus::Result<OwnedObjectPath>;
#[zbus(property)]
fn id(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn group(&self) -> zbus::Result<String>;
#[zbus(property)]
fn local(&self) -> zbus::Result<String>;
#[zbus(property)]
fn tos(&self) -> zbus::Result<u8>;
#[zbus(property)]
fn ttl(&self) -> zbus::Result<u8>;
#[zbus(property)]
fn learning(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn ageing(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn limit(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn dst_port(&self) -> zbus::Result<u16>;
#[zbus(property)]
fn src_port_min(&self) -> zbus::Result<u16>;
#[zbus(property)]
fn src_port_max(&self) -> zbus::Result<u16>;
#[zbus(property)]
fn proxy(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn rsc(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn l2miss(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn l3miss(&self) -> zbus::Result<bool>;
}