Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RPCSwitchConfigurator

Hierarchy

  • SwitchConfigurator
    • RPCSwitchConfigurator

Index

Constructors

Properties

rpc: RPCProvider
targetId: string

Methods

  • applyConfig(): Promise<void>
  • getAllVLAN(): Promise<VLAN[]>
  • getSwitchPorts(): Promise<EthernetPort[]>
  • getVLAN(vid: number): Promise<null | VLAN>
  • init(): Promise<void>
  • loadConfig(): Promise<void>
  • setSwitchPort(port: EthernetPort, portIdx: number): Promise<void>
  • Configure specific switch port

    Parameters

    • port: EthernetPort

      Configured EthernetPort object

    • portIdx: number

      Target port which EthernetPort configuration applied.

    Returns Promise<void>

  • setVLAN(vlan: VLAN): Promise<void>

Generated using TypeDoc