pub struct Ma5683T { /* private fields */ }Trait Implementations§
Source§impl Olt for Ma5683T
impl Olt for Ma5683T
Source§fn connect(host: &str, port: i32, user: &str, pass: &str) -> Result<Self, Error>
fn connect(host: &str, port: i32, user: &str, pass: &str) -> Result<Self, Error>
Establish an SSH connection to the OLT device.
Source§fn list_unprovisioned_onts(&mut self) -> Result<Vec<UnprovisionedOnt>, Error>
fn list_unprovisioned_onts(&mut self) -> Result<Vec<UnprovisionedOnt>, Error>
List ONTs that have been discovered but not yet provisioned.
Source§fn find_onts_by_description(
&mut self,
description: &str,
) -> Result<Vec<OntInfoByDesc>, Error>
fn find_onts_by_description( &mut self, description: &str, ) -> Result<Vec<OntInfoByDesc>, Error>
Search for ONTs whose description matches the given text.
Source§fn get_ont_by_sn(&mut self, serial_number: &str) -> Result<OntInfo, Error>
fn get_ont_by_sn(&mut self, serial_number: &str) -> Result<OntInfo, Error>
Get detailed ONT information by serial number.
Source§fn get_ont_summary(
&mut self,
scope: &OntSummaryScope,
) -> Result<Vec<OntSummaryPort>, Error>
fn get_ont_summary( &mut self, scope: &OntSummaryScope, ) -> Result<Vec<OntSummaryPort>, Error>
Get ONT summary for a frame, slot, or specific port.
Source§fn list_line_profiles(&mut self) -> Result<Vec<LineProfile>, Error>
fn list_line_profiles(&mut self) -> Result<Vec<LineProfile>, Error>
List all GPON line profiles.
Source§fn get_line_profile(&mut self, id: u32) -> Result<LineProfileDetail, Error>
fn get_line_profile(&mut self, id: u32) -> Result<LineProfileDetail, Error>
Get details of a specific GPON line profile.
Source§fn list_service_profiles(&mut self) -> Result<Vec<SrvProfile>, Error>
fn list_service_profiles(&mut self) -> Result<Vec<SrvProfile>, Error>
List all GPON service profiles.
Source§fn get_ont_optical_info(
&mut self,
fsp: &Fsp,
ont_id: u32,
) -> Result<OntOpticalInfo, Error>
fn get_ont_optical_info( &mut self, fsp: &Fsp, ont_id: u32, ) -> Result<OntOpticalInfo, Error>
Get optical information for a specific ONT.
Source§fn ont_add(&mut self, request: &OntAddRequest) -> Result<u32, Error>
fn ont_add(&mut self, request: &OntAddRequest) -> Result<u32, Error>
Add an ONT on a GPON port and return the allocated ONT ID.
Source§fn ont_delete_all(&mut self, fsp: &Fsp) -> Result<(), Error>
fn ont_delete_all(&mut self, fsp: &Fsp) -> Result<(), Error>
Delete all ONTs provisioned on a GPON port.
Source§fn ont_port_native_vlan(
&mut self,
request: &OntPortNativeVlanRequest,
) -> Result<(), Error>
fn ont_port_native_vlan( &mut self, request: &OntPortNativeVlanRequest, ) -> Result<(), Error>
Configure the native VLAN on an ONT port.
Source§fn list_alarms_detail(&mut self) -> Result<Vec<AlarmDetail>, Error>
fn list_alarms_detail(&mut self) -> Result<Vec<AlarmDetail>, Error>
List all active alarms with full detail.
Source§fn list_alarms(&mut self) -> Result<Vec<AlarmListEntry>, Error>
fn list_alarms(&mut self) -> Result<Vec<AlarmListEntry>, Error>
List all active alarms in compact form.
Source§fn list_service_ports(&mut self) -> Result<Vec<ServicePort>, Error>
fn list_service_ports(&mut self) -> Result<Vec<ServicePort>, Error>
List all service ports.
Source§fn get_service_port(&mut self, id: u32) -> Result<ServicePortDetail, Error>
fn get_service_port(&mut self, id: u32) -> Result<ServicePortDetail, Error>
Get details of a specific service port by index.
Source§fn list_service_ports_by_port(
&mut self,
fsp: &Fsp,
) -> Result<Vec<ServicePort>, Error>
fn list_service_ports_by_port( &mut self, fsp: &Fsp, ) -> Result<Vec<ServicePort>, Error>
List service ports on a specific physical port.
Source§fn list_service_ports_by_ont(
&mut self,
fsp: &Fsp,
ont_id: u32,
) -> Result<Vec<ServicePort>, Error>
fn list_service_ports_by_ont( &mut self, fsp: &Fsp, ont_id: u32, ) -> Result<Vec<ServicePort>, Error>
List service ports for a specific ONT on a port.
Source§fn service_port_add(
&mut self,
request: &ServicePortAddRequest,
) -> Result<(), Error>
fn service_port_add( &mut self, request: &ServicePortAddRequest, ) -> Result<(), Error>
Create a service port.
Auto Trait Implementations§
impl Freeze for Ma5683T
impl !RefUnwindSafe for Ma5683T
impl Send for Ma5683T
impl Sync for Ma5683T
impl Unpin for Ma5683T
impl UnsafeUnpin for Ma5683T
impl !UnwindSafe for Ma5683T
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more