Documentation ¶
Index ¶
- Constants
- func FormatBool(b bool) string
- func ParseBool(x string) bool
- func Password(password string) func(*Ros) error
- func Port(port int) func(*Ros) error
- func RouterOsVersion(version string) (int, int)
- func ScanFirstNumberedItemList(results string) (map[string]string, error)
- func ScanItems(results string) (map[string]string, error)
- func ScanNumberedItemList(results string) ([]map[string]string, error)
- func Timeout(timeout time.Duration) func(*Ros) error
- func Username(username string) func(*Ros) error
- type Command
- func (c Command) Exec(client *ssh.Client) error
- func (c Command) First(client *ssh.Client) (map[string]string, error)
- func (c Command) List(client *ssh.Client) ([]map[string]string, error)
- func (c Command) Parse() (string, error)
- func (c Command) Run(client *ssh.Client) ([]string, error)
- func (c Command) UnnumberedList(client *ssh.Client, offset int) ([]map[string]string, error)
- func (c Command) Values(client *ssh.Client) (map[string]string, error)
- type Ros
- func (r *Ros) AddInterfaceList(list string, params map[string]string) error
- func (r *Ros) AddInterfaceListMember(iface, list string, params map[string]string) error
- func (r *Ros) AddIpFirewallAddressList(address, list string, params map[string]string) error
- func (r *Ros) AddIpFirewallFilter(chain string, params []map[string]string) error
- func (r *Ros) AddIpFirewallNat(params map[string]string) error
- func (r *Ros) AddRadius(service string) error
- func (r *Ros) AddRoutingFilter(params map[string]string) error
- func (r *Ros) AddSnmpCommunity(name string) error
- func (r *Ros) AddSystemLogging(action, topics string) error
- func (r *Ros) AddSystemScheduler(name, interval, policy, onevent string) error
- func (r *Ros) AddSystemScript(name, policy, source string) error
- func (r *Ros) AddToolNetwatch(host, up_script, down_script, interval, timeout string, disabled bool) error
- func (r *Ros) AddToolRomonPort(iface string) error
- func (r *Ros) AddUser(name, group, password string) error
- func (r *Ros) AtLeast(major, minor int) bool
- func (r *Ros) Close() error
- func (r *Ros) Connect() error
- func (r *Ros) Error() error
- func (r *Ros) Exec(c Command) error
- func (r *Ros) Export(path string, hide, verbose bool) ([]string, error)
- func (r *Ros) ExportFile(path, file string, hide, verbose bool) ([]string, error)
- func (r *Ros) First(c Command) (map[string]string, error)
- func (r *Ros) HasCloud() bool
- func (r *Ros) HasLegacyCloud() bool
- func (r *Ros) HasLegacyRomon() bool
- func (r *Ros) HasRomon() bool
- func (r *Ros) Id() string
- func (r *Ros) InterfaceBridge(name string) (map[string]string, error)
- func (r *Ros) InterfaceBridgeHosts() ([]map[string]string, error)
- func (r *Ros) InterfaceBridgePort(bridge, iface string) (map[string]string, error)
- func (r *Ros) InterfaceBridgePorts() ([]map[string]string, error)
- func (r *Ros) InterfaceBridges() ([]map[string]string, error)
- func (r *Ros) InterfaceEthernet(name string) (map[string]string, error)
- func (r *Ros) InterfaceEthernets() ([]map[string]string, error)
- func (r *Ros) InterfaceGre(address string) (map[string]string, error)
- func (r *Ros) InterfaceGres() ([]map[string]string, error)
- func (r *Ros) InterfaceList(list string) (map[string]string, error)
- func (r *Ros) InterfaceListMember(iface, list string) (map[string]string, error)
- func (r *Ros) InterfaceWireless(name string) (map[string]string, error)
- func (r *Ros) InterfaceWirelesses() ([]map[string]string, error)
- func (r *Ros) Interfaces() ([]map[string]string, error)
- func (r *Ros) IpAddress(address string) (map[string]string, error)
- func (r *Ros) IpAddresses() ([]map[string]string, error)
- func (r Ros) IpArps() ([]map[string]string, error)
- func (r *Ros) IpCloud() (map[string]string, error)
- func (r *Ros) IpDns() (map[string]string, error)
- func (r *Ros) IpFirewallAddressList(address, list string) (map[string]string, error)
- func (r *Ros) IpFirewallFilter(chain string) ([]map[string]string, error)
- func (r *Ros) IpFirewallNat(filter map[string]string) (map[string]string, error)
- func (r Ros) IpNeighbors() ([]map[string]string, error)
- func (r *Ros) IpRoute(address string) (map[string]string, error)
- func (r *Ros) IpRoutes(static bool) ([]map[string]string, error)
- func (r *Ros) IpService(name string) (map[string]string, error)
- func (r *Ros) IpSocks() (map[string]string, error)
- func (r *Ros) IpSsh() (map[string]string, error)
- func (r *Ros) List(c Command) ([]map[string]string, error)
- func (r *Ros) Major() int
- func (r *Ros) Minor() int
- func (r *Ros) Parse(c Command) (string, error)
- func (r *Ros) Radius(service string) (map[string]string, error)
- func (r *Ros) RadiusIncoming() (map[string]string, error)
- func (r *Ros) RemoveInterfaceList(list string) error
- func (r *Ros) RemoveInterfaceListMember(iface, list string) error
- func (r *Ros) RemoveIpFirewallAddressList(address, list string) error
- func (r *Ros) RemoveIpFirewallFilter(chain string) error
- func (r *Ros) RemoveIpFirewallNat(filter map[string]string) error
- func (r *Ros) RemoveRadius(service string) error
- func (r *Ros) RemoveRoutingFilter(filter map[string]string) error
- func (r *Ros) RemoveSnmpCommunity(name string) error
- func (r *Ros) RemoveSystemLogging(action, topics string) error
- func (r *Ros) RemoveSystemScheduler(name string) error
- func (r *Ros) RemoveSystemScript(name string) error
- func (r *Ros) RemoveToolNetwatch(host string) error
- func (r *Ros) RemoveToolRomonPort(iface string) error
- func (r *Ros) RemoveUser(name string) error
- func (r *Ros) Routerboard() bool
- func (r *Ros) RoutingBgpAggregate(instance, prefix string) (map[string]string, error)
- func (r *Ros) RoutingBgpAggregates() ([]map[string]string, error)
- func (r *Ros) RoutingBgpInstance(name string) (map[string]string, error)
- func (r *Ros) RoutingBgpInstances() ([]map[string]string, error)
- func (r *Ros) RoutingBgpNetwork(network string) (map[string]string, error)
- func (r *Ros) RoutingBgpNetworks() ([]map[string]string, error)
- func (r *Ros) RoutingBgpPeer(addr string) (map[string]string, error)
- func (r *Ros) RoutingBgpPeers() ([]map[string]string, error)
- func (r *Ros) RoutingFilter(filter map[string]string) (map[string]string, error)
- func (r *Ros) RoutingFilterChain(chain string) ([]map[string]string, error)
- func (r *Ros) RoutingOspfInstance(name string) (map[string]string, error)
- func (r *Ros) RoutingOspfInstances() ([]map[string]string, error)
- func (r *Ros) RoutingOspfInterface(iface string) (map[string]string, error)
- func (r *Ros) RoutingOspfInterfaces() ([]map[string]string, error)
- func (r *Ros) RoutingOspfNbmaNeighbor(address string) (map[string]string, error)
- func (r *Ros) RoutingOspfNbmaNeighbors() ([]map[string]string, error)
- func (r *Ros) RoutingOspfNetwork(network string) (map[string]string, error)
- func (r *Ros) RoutingOspfNetworks() ([]map[string]string, error)
- func (r *Ros) Run(c Command) ([]string, error)
- func (r *Ros) SetInterfaceBridgeComment(name, comment string) error
- func (r *Ros) SetInterfaceBridgePortComment(bridge, iface, comment string) error
- func (r *Ros) SetInterfaceBridgePriority(name, priority string) error
- func (r *Ros) SetInterfaceBridgeProtocolMode(name, mode string) error
- func (r *Ros) SetInterfaceEthernetComment(name, comment string) error
- func (r *Ros) SetInterfaceEthernetMtu(name, mtu string) error
- func (r *Ros) SetInterfaceGreAllowFastPath(address string, allow bool) error
- func (r *Ros) SetInterfaceGreClampTcpMss(address string, clamp bool) error
- func (r *Ros) SetInterfaceGreComment(address, comment string) error
- func (r *Ros) SetInterfaceGreKeepalive(address, alive string) error
- func (r *Ros) SetInterfaceGreMtu(address, mtu string) error
- func (r *Ros) SetInterfaceGreName(address, name string) error
- func (r *Ros) SetInterfaceListComment(list, comment string) error
- func (r *Ros) SetInterfaceListMemberComment(iface, list, comment string) error
- func (r *Ros) SetInterfaceListMemberDisabled(iface, list string, disabled bool) error
- func (r *Ros) SetInterfaceWirelessComment(name, comment string) error
- func (r *Ros) SetIpAddressComment(address, comment string) error
- func (r *Ros) SetIpCloudDdnsEnabled(enabled bool) error
- func (r *Ros) SetIpCloudUpdateTime(update bool) error
- func (r *Ros) SetIpDnsAllowRemoteRequests(allow bool) error
- func (r *Ros) SetIpDnsServers(servers string) error
- func (r *Ros) SetIpFirewallAddressListComment(address, list, comment string) error
- func (r *Ros) SetIpFirewallAddressListDisabled(address, list string, disabled bool) error
- func (r *Ros) SetIpFirewallNatComment(filter map[string]string, comment string) error
- func (r *Ros) SetIpFirewallNatDisabled(filter map[string]string, disabled bool) error
- func (r *Ros) SetIpRouteComment(address, comment string) error
- func (r *Ros) SetIpServiceAddress(name, address string) error
- func (r *Ros) SetIpServiceDisabled(name string, disabled bool) error
- func (r *Ros) SetIpServicePort(name string, port int) error
- func (r *Ros) SetIpSocksConnectionIdleTimeout(timeout string) error
- func (r *Ros) SetIpSocksEnabled(enabled bool) error
- func (r *Ros) SetIpSocksMaxConnections(connections int) error
- func (r *Ros) SetIpSocksPort(port int) error
- func (r *Ros) SetIpSshAlwaysAllowPasswordLogin(allow bool) error
- func (r *Ros) SetIpSshForwardingEnabled(forwarding bool) error
- func (r *Ros) SetIpSshHostKeySize(size int) error
- func (r *Ros) SetIpSshStrongCrypto(strong bool) error
- func (r *Ros) SetRadiusAddress(service, address string) error
- func (r *Ros) SetRadiusDisabled(service string, disabled bool) error
- func (r *Ros) SetRadiusIncomingAccept(accept bool) error
- func (r *Ros) SetRadiusIncomingPort(port int) error
- func (r *Ros) SetRadiusSecret(service, secret string) error
- func (r *Ros) SetRadiusSrcAddress(service, address string) error
- func (r *Ros) SetRadiusTimeout(service, timeout string) error
- func (r *Ros) SetRoutingBgpAggregateComment(instance, prefix, comment string) error
- func (r *Ros) SetRoutingBgpInstanceComment(name, comment string) error
- func (r *Ros) SetRoutingBgpInstanceRouterId(name, router_id string) error
- func (r *Ros) SetRoutingBgpNetworkComment(network, comment string) error
- func (r *Ros) SetRoutingBgpPeerComment(addr, comment string) error
- func (r *Ros) SetRoutingBgpPeerName(addr, name string) error
- func (r *Ros) SetRoutingFilterComment(filter map[string]string, comment string) error
- func (r *Ros) SetRoutingFilterDisabled(filter map[string]string, disabled bool) error
- func (r *Ros) SetRoutingOspfInstanceComment(name, comment string) error
- func (r *Ros) SetRoutingOspfInstanceRouterId(name, router_id string) error
- func (r *Ros) SetRoutingOspfInterfaceComment(iface, comment string) error
- func (r *Ros) SetRoutingOspfInterfaceCost(iface, cost string) error
- func (r *Ros) SetRoutingOspfNbmaNeighborComment(address, comment string) error
- func (r *Ros) SetRoutingOspfNbmaNeighborPollInterval(address, interval string) error
- func (r *Ros) SetRoutingOspfNbmaNeighborPriority(address string, priority int) error
- func (r *Ros) SetRoutingOspfNetworkComment(network, comment string) error
- func (r *Ros) SetSnmpCommunityAddresses(name, addresses string) error
- func (r *Ros) SetSnmpCommunityAuthenticationPassword(name, password string) error
- func (r *Ros) SetSnmpCommunityAuthenticationProtocol(name, protocol string) error
- func (r *Ros) SetSnmpCommunityDefaultAddresses(addresses string) error
- func (r *Ros) SetSnmpCommunityDefaultAuthenticationPassword(password string) error
- func (r *Ros) SetSnmpCommunityDefaultAuthenticationProtocol(protocol string) error
- func (r *Ros) SetSnmpCommunityDefaultEncryptionPassword(password string) error
- func (r *Ros) SetSnmpCommunityDefaultEncryptionProtocol(protocol string) error
- func (r *Ros) SetSnmpCommunityDefaultName(name string) error
- func (r *Ros) SetSnmpCommunityDefaultReadAccess(access bool) error
- func (r *Ros) SetSnmpCommunityDefaultSecurity(security string) error
- func (r *Ros) SetSnmpCommunityDefaultWriteAccess(access bool) error
- func (r *Ros) SetSnmpCommunityEncryptionPassword(name, password string) error
- func (r *Ros) SetSnmpCommunityEncryptionProtocol(name, protocol string) error
- func (r *Ros) SetSnmpCommunityReadAccess(name string, access bool) error
- func (r *Ros) SetSnmpCommunitySecurity(name, security string) error
- func (r *Ros) SetSnmpCommunityWriteAccess(name string, access bool) error
- func (r *Ros) SetSnmpContact(contact string) error
- func (r *Ros) SetSnmpEnabled(enabled bool) error
- func (r *Ros) SetSnmpEngineId(id string) error
- func (r *Ros) SetSnmpLocation(location string) error
- func (r *Ros) SetSnmpTrapCommunity(community string) error
- func (r *Ros) SetSnmpTrapGenerators(generators string) error
- func (r *Ros) SetSnmpTrapTarget(target string) error
- func (r *Ros) SetSnmpTrapVersion(version int) error
- func (r *Ros) SetSystemClockTimeZoneAutodetect(auto bool) error
- func (r *Ros) SetSystemClockTimeZoneName(zone string) error
- func (r *Ros) SetSystemIdentityName(name string) error
- func (r *Ros) SetSystemLoggingActionBsdSyslog(name string, bsd bool) error
- func (r *Ros) SetSystemLoggingActionRemote(name, remote string) error
- func (r *Ros) SetSystemLoggingActionRemotePort(name string, port int) error
- func (r *Ros) SetSystemLoggingActionSrcAddress(name string, address string) error
- func (r *Ros) SetSystemLoggingActionSyslogFacility(name, facility string) error
- func (r *Ros) SetSystemLoggingActionSyslogSeverity(name, severity string) error
- func (r *Ros) SetSystemLoggingActionTarget(name, target string) error
- func (r *Ros) SetSystemLoggingPrefix(action, topics, prefix string) error
- func (r *Ros) SetSystemNote(note string) error
- func (r *Ros) SetSystemNoteShowAtLogin(show bool) error
- func (r *Ros) SetSystemNtpClientEnabled(enabled bool) error
- func (r *Ros) SetSystemNtpClientPrimaryNtp(zone string) error
- func (r *Ros) SetSystemNtpClientSecondaryNtp(zone string) error
- func (r *Ros) SetSystemSchedulerComment(name, comment string) error
- func (r *Ros) SetSystemSchedulerInterval(name, interval string) error
- func (r *Ros) SetSystemSchedulerOnEvent(name, onevent string) error
- func (r *Ros) SetSystemSchedulerPolicy(name, policy string) error
- func (r *Ros) SetSystemSchedulerStartDate(name, startdate string) error
- func (r *Ros) SetSystemSchedulerStartTime(name, starttime string) error
- func (r *Ros) SetSystemSchedulerStartup(name string, startup bool) error
- func (r *Ros) SetSystemScriptPolicy(name, policy string) error
- func (r *Ros) SetSystemScriptSource(name, source string) error
- func (r *Ros) SetToolBandwidthServerAllocateUdpPortsFrom(port int) error
- func (r *Ros) SetToolBandwidthServerAuthenticate(auth bool) error
- func (r *Ros) SetToolBandwidthServerEnabled(enabled bool) error
- func (r *Ros) SetToolBandwidthServerMaxSessions(sessions int) error
- func (r *Ros) SetToolMacServerAllowedInterfaceList(list string) error
- func (r *Ros) SetToolMacServerDisabled(disabled bool) error
- func (r *Ros) SetToolMacServerMacWinboxAllowedInterfaceList(list string) error
- func (r *Ros) SetToolMacServerMacWinboxDisabled(disabled bool) error
- func (r *Ros) SetToolMacServerPingEnabled(enabled bool) error
- func (r *Ros) SetToolNetwatchComment(host, comment string) error
- func (r *Ros) SetToolNetwatchDisabled(host string, disabled bool) error
- func (r *Ros) SetToolNetwatchDownScript(host, down_script string) error
- func (r *Ros) SetToolNetwatchInterval(host, interval string) error
- func (r *Ros) SetToolNetwatchTimeout(host, timeout string) error
- func (r *Ros) SetToolNetwatchUpScript(host, up_script string) error
- func (r *Ros) SetToolRomonEnabled(enabled bool) error
- func (r *Ros) SetToolRomonId(id string) error
- func (r *Ros) SetToolRomonPortCost(iface string, cost int) error
- func (r *Ros) SetToolRomonPortDefaultCost(cost int) error
- func (r *Ros) SetToolRomonPortDefaultDisabled(disabled bool) error
- func (r *Ros) SetToolRomonPortDefaultForbid(forbid bool) error
- func (r *Ros) SetToolRomonPortDefaultSecrets(secrets string) error
- func (r *Ros) SetToolRomonPortDisabled(iface string, disabled bool) error
- func (r *Ros) SetToolRomonPortForbid(iface string, forbid bool) error
- func (r *Ros) SetToolRomonPortSecrets(iface, secrets string) error
- func (r *Ros) SetToolRomonSecrets(secrets string) error
- func (r *Ros) SetUserAaaAccounting(enabled bool) error
- func (r *Ros) SetUserAaaDefaultGroup(group string) error
- func (r *Ros) SetUserAaaExcludeGroups(groups string) error
- func (r *Ros) SetUserAaaInterimUpdate(update string) error
- func (r *Ros) SetUserAaaUseRadius(enabled bool) error
- func (r *Ros) SetUserAddress(name, address string) error
- func (r *Ros) SetUserComment(name, comment string) error
- func (r *Ros) SetUserGroup(name, group string) error
- func (r *Ros) SetUserPassword(name, password string) error
- func (r *Ros) Snmp() (map[string]string, error)
- func (r *Ros) SnmpCommunity(name string) (map[string]string, error)
- func (r *Ros) SnmpCommunityDefault() (map[string]string, error)
- func (r *Ros) SystemClock() (map[string]string, error)
- func (r *Ros) SystemIdentity() (map[string]string, error)
- func (r *Ros) SystemLogging(action, topics string) (map[string]string, error)
- func (r *Ros) SystemLoggingAction(name string) (map[string]string, error)
- func (r *Ros) SystemNote() (map[string]string, error)
- func (r *Ros) SystemNtpClient() (map[string]string, error)
- func (r *Ros) SystemResource() (map[string]string, error)
- func (r *Ros) SystemRouterboard() (map[string]string, error)
- func (r *Ros) SystemScheduler(name string) (map[string]string, error)
- func (r *Ros) SystemScript(name string) (map[string]string, error)
- func (r *Ros) ToolBandwidthServer() (map[string]string, error)
- func (r *Ros) ToolMacServer() (map[string]string, error)
- func (r *Ros) ToolMacServerMacWinbox() (map[string]string, error)
- func (r *Ros) ToolMacServerPing() (map[string]string, error)
- func (r *Ros) ToolNetwatch(host string) (map[string]string, error)
- func (r *Ros) ToolRomon() (map[string]string, error)
- func (r *Ros) ToolRomonPort(iface string) (map[string]string, error)
- func (r *Ros) ToolRomonPortDefault() (map[string]string, error)
- func (r *Ros) UnnumberedList(c Command, header int) ([]map[string]string, error)
- func (r *Ros) User(name string) (map[string]string, error)
- func (r *Ros) UserAaa() (map[string]string, error)
- func (r *Ros) Values(c Command) (map[string]string, error)
- func (r *Ros) Version() error
- type Scanner
- type Token
Constants ¶
View Source
const ( DefaultPort = 22 DefaultUsername = "admin" DefaultPassword = "" DefaultTimeout = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func FormatBool ¶
func RouterOsVersion ¶
func ScanFirstNumberedItemList ¶
Take the first entry, usually after applying a filter.
func ScanNumberedItemList ¶
Scan a set of numbered items, this may be preceded with a Flags line.
Types ¶
type Command ¶
type Command struct { Path string // base path to use Command string // command to run UParam *string // possible unnamed parameter Params map[string]string // possible named parameters Extra map[string]string // extra unsearchable parameters Flags map[string]bool // possible boolean options to set Filter map[string]string // possible recovery filter to apply Detail bool // is a detailed print required }
Comand represents a basic CLI request.
func (Command) UnnumberedList ¶
type Ros ¶
type Ros struct {
// contains filtered or unexported fields
}
func (*Ros) AddInterfaceList ¶
func (*Ros) AddInterfaceListMember ¶
func (*Ros) AddIpFirewallAddressList ¶
func (*Ros) AddIpFirewallFilter ¶
func (*Ros) AddSnmpCommunity ¶
func (*Ros) AddSystemLogging ¶
func (*Ros) AddSystemScheduler ¶
func (*Ros) AddSystemScript ¶
func (*Ros) AddToolNetwatch ¶
func (*Ros) AddToolRomonPort ¶
func (*Ros) ExportFile ¶
func (*Ros) HasLegacyCloud ¶
func (*Ros) HasLegacyRomon ¶
func (*Ros) InterfaceBridgeHosts ¶
func (*Ros) InterfaceBridgePort ¶
func (*Ros) InterfaceBridgePorts ¶
func (*Ros) InterfaceEthernet ¶
func (*Ros) InterfaceListMember ¶
func (*Ros) InterfaceWireless ¶
func (*Ros) IpFirewallAddressList ¶
func (*Ros) IpFirewallFilter ¶
func (*Ros) IpFirewallNat ¶
func (*Ros) RemoveInterfaceList ¶
func (*Ros) RemoveInterfaceListMember ¶
func (*Ros) RemoveIpFirewallAddressList ¶
func (*Ros) RemoveIpFirewallFilter ¶
func (*Ros) RemoveRadius ¶
func (*Ros) RemoveSnmpCommunity ¶
func (*Ros) RemoveSystemLogging ¶
func (*Ros) RemoveSystemScheduler ¶
func (*Ros) RemoveSystemScript ¶
func (*Ros) RemoveToolNetwatch ¶
func (*Ros) RemoveToolRomonPort ¶
func (*Ros) RemoveUser ¶
func (*Ros) Routerboard ¶
func (*Ros) RoutingBgpAggregate ¶
func (*Ros) RoutingBgpAggregates ¶
func (*Ros) RoutingBgpInstance ¶
func (*Ros) RoutingBgpNetwork ¶
func (*Ros) RoutingFilter ¶
func (*Ros) RoutingFilterChain ¶
func (*Ros) RoutingOspfInstance ¶
func (*Ros) RoutingOspfInstances ¶
func (*Ros) RoutingOspfInterface ¶
func (*Ros) RoutingOspfInterfaces ¶
func (*Ros) RoutingOspfNbmaNeighbor ¶
func (*Ros) RoutingOspfNbmaNeighbors ¶
func (*Ros) RoutingOspfNetwork ¶
func (*Ros) SetInterfaceBridgeComment ¶
func (*Ros) SetInterfaceBridgePortComment ¶
func (*Ros) SetInterfaceBridgePriority ¶
func (*Ros) SetInterfaceBridgeProtocolMode ¶
func (*Ros) SetInterfaceEthernetComment ¶
func (*Ros) SetInterfaceEthernetMtu ¶
func (*Ros) SetInterfaceGreAllowFastPath ¶
func (*Ros) SetInterfaceGreClampTcpMss ¶
func (*Ros) SetInterfaceGreComment ¶
func (*Ros) SetInterfaceGreKeepalive ¶
func (*Ros) SetInterfaceGreMtu ¶
func (*Ros) SetInterfaceGreName ¶
func (*Ros) SetInterfaceListComment ¶
func (*Ros) SetInterfaceListMemberComment ¶
func (*Ros) SetInterfaceListMemberDisabled ¶
func (*Ros) SetInterfaceWirelessComment ¶
func (*Ros) SetIpAddressComment ¶
func (*Ros) SetIpCloudDdnsEnabled ¶
func (*Ros) SetIpCloudUpdateTime ¶
func (*Ros) SetIpDnsAllowRemoteRequests ¶
func (*Ros) SetIpDnsServers ¶
func (*Ros) SetIpFirewallAddressListComment ¶
func (*Ros) SetIpFirewallAddressListDisabled ¶
func (*Ros) SetIpFirewallNatComment ¶
func (*Ros) SetIpFirewallNatDisabled ¶
func (*Ros) SetIpRouteComment ¶
func (*Ros) SetIpServiceAddress ¶
func (*Ros) SetIpServiceDisabled ¶
func (*Ros) SetIpSocksConnectionIdleTimeout ¶
func (*Ros) SetIpSocksEnabled ¶
func (*Ros) SetIpSocksMaxConnections ¶
func (*Ros) SetIpSocksPort ¶
func (*Ros) SetIpSshAlwaysAllowPasswordLogin ¶
func (*Ros) SetIpSshForwardingEnabled ¶
func (*Ros) SetIpSshHostKeySize ¶
func (*Ros) SetIpSshStrongCrypto ¶
func (*Ros) SetRadiusAddress ¶
func (*Ros) SetRadiusDisabled ¶
func (*Ros) SetRadiusIncomingAccept ¶
func (*Ros) SetRadiusIncomingPort ¶
func (*Ros) SetRadiusSecret ¶
func (*Ros) SetRadiusSrcAddress ¶
func (*Ros) SetRadiusTimeout ¶
func (*Ros) SetRoutingBgpAggregateComment ¶
func (*Ros) SetRoutingBgpInstanceComment ¶
func (*Ros) SetRoutingBgpInstanceRouterId ¶
func (*Ros) SetRoutingBgpNetworkComment ¶
func (*Ros) SetRoutingBgpPeerComment ¶
func (*Ros) SetRoutingBgpPeerName ¶
func (*Ros) SetRoutingFilterComment ¶
func (*Ros) SetRoutingFilterDisabled ¶
func (*Ros) SetRoutingOspfInstanceComment ¶
func (*Ros) SetRoutingOspfInstanceRouterId ¶
func (*Ros) SetRoutingOspfInterfaceComment ¶
func (*Ros) SetRoutingOspfInterfaceCost ¶
func (*Ros) SetRoutingOspfNbmaNeighborComment ¶
func (*Ros) SetRoutingOspfNbmaNeighborPollInterval ¶
func (*Ros) SetRoutingOspfNbmaNeighborPriority ¶
func (*Ros) SetRoutingOspfNetworkComment ¶
func (*Ros) SetSnmpCommunityAddresses ¶
func (*Ros) SetSnmpCommunityAuthenticationPassword ¶
func (*Ros) SetSnmpCommunityAuthenticationProtocol ¶
func (*Ros) SetSnmpCommunityDefaultAddresses ¶
func (*Ros) SetSnmpCommunityDefaultAuthenticationPassword ¶
func (*Ros) SetSnmpCommunityDefaultAuthenticationProtocol ¶
func (*Ros) SetSnmpCommunityDefaultEncryptionPassword ¶
func (*Ros) SetSnmpCommunityDefaultEncryptionProtocol ¶
func (*Ros) SetSnmpCommunityDefaultName ¶
func (*Ros) SetSnmpCommunityDefaultReadAccess ¶
func (*Ros) SetSnmpCommunityDefaultSecurity ¶
func (*Ros) SetSnmpCommunityDefaultWriteAccess ¶
func (*Ros) SetSnmpCommunityEncryptionPassword ¶
func (*Ros) SetSnmpCommunityEncryptionProtocol ¶
func (*Ros) SetSnmpCommunityReadAccess ¶
func (*Ros) SetSnmpCommunitySecurity ¶
func (*Ros) SetSnmpCommunityWriteAccess ¶
func (*Ros) SetSnmpContact ¶
func (*Ros) SetSnmpEnabled ¶
func (*Ros) SetSnmpEngineId ¶
func (*Ros) SetSnmpLocation ¶
func (*Ros) SetSnmpTrapCommunity ¶
func (*Ros) SetSnmpTrapGenerators ¶
func (*Ros) SetSnmpTrapTarget ¶
func (*Ros) SetSnmpTrapVersion ¶
func (*Ros) SetSystemClockTimeZoneAutodetect ¶
func (*Ros) SetSystemClockTimeZoneName ¶
func (*Ros) SetSystemIdentityName ¶
func (*Ros) SetSystemLoggingActionBsdSyslog ¶
func (*Ros) SetSystemLoggingActionRemote ¶
func (*Ros) SetSystemLoggingActionRemotePort ¶
func (*Ros) SetSystemLoggingActionSrcAddress ¶
func (*Ros) SetSystemLoggingActionSyslogFacility ¶
func (*Ros) SetSystemLoggingActionSyslogSeverity ¶
func (*Ros) SetSystemLoggingActionTarget ¶
func (*Ros) SetSystemLoggingPrefix ¶
func (*Ros) SetSystemNote ¶
func (*Ros) SetSystemNoteShowAtLogin ¶
func (*Ros) SetSystemNtpClientEnabled ¶
func (*Ros) SetSystemNtpClientPrimaryNtp ¶
func (*Ros) SetSystemNtpClientSecondaryNtp ¶
func (*Ros) SetSystemSchedulerComment ¶
func (*Ros) SetSystemSchedulerInterval ¶
func (*Ros) SetSystemSchedulerOnEvent ¶
func (*Ros) SetSystemSchedulerPolicy ¶
func (*Ros) SetSystemSchedulerStartDate ¶
func (*Ros) SetSystemSchedulerStartTime ¶
func (*Ros) SetSystemSchedulerStartup ¶
func (*Ros) SetSystemScriptPolicy ¶
func (*Ros) SetSystemScriptSource ¶
func (*Ros) SetToolBandwidthServerAllocateUdpPortsFrom ¶
func (*Ros) SetToolBandwidthServerAuthenticate ¶
func (*Ros) SetToolBandwidthServerEnabled ¶
func (*Ros) SetToolBandwidthServerMaxSessions ¶
func (*Ros) SetToolMacServerAllowedInterfaceList ¶
func (*Ros) SetToolMacServerDisabled ¶
func (*Ros) SetToolMacServerMacWinboxAllowedInterfaceList ¶
func (*Ros) SetToolMacServerMacWinboxDisabled ¶
func (*Ros) SetToolMacServerPingEnabled ¶
func (*Ros) SetToolNetwatchComment ¶
func (*Ros) SetToolNetwatchDisabled ¶
func (*Ros) SetToolNetwatchDownScript ¶
func (*Ros) SetToolNetwatchInterval ¶
func (*Ros) SetToolNetwatchTimeout ¶
func (*Ros) SetToolNetwatchUpScript ¶
func (*Ros) SetToolRomonEnabled ¶
func (*Ros) SetToolRomonId ¶
func (*Ros) SetToolRomonPortDefaultCost ¶
func (*Ros) SetToolRomonPortDefaultDisabled ¶
func (*Ros) SetToolRomonPortDefaultForbid ¶
func (*Ros) SetToolRomonPortDefaultSecrets ¶
func (*Ros) SetToolRomonPortDisabled ¶
func (*Ros) SetToolRomonPortForbid ¶
func (*Ros) SetToolRomonPortSecrets ¶
func (*Ros) SetToolRomonSecrets ¶
func (*Ros) SetUserAaaAccounting ¶
func (*Ros) SetUserAaaDefaultGroup ¶
func (*Ros) SetUserAaaExcludeGroups ¶
func (*Ros) SetUserAaaInterimUpdate ¶
func (*Ros) SetUserAaaUseRadius ¶
func (*Ros) SetUserAddress ¶
func (*Ros) SetUserComment ¶
func (*Ros) SetUserGroup ¶
func (*Ros) SetUserPassword ¶
func (*Ros) SystemLogging ¶
func (*Ros) SystemLoggingAction ¶
func (*Ros) ToolMacServerMacWinbox ¶
func (*Ros) UnnumberedList ¶
Source Files ¶
- command.go
- export.go
- interface.go
- interface_bridge.go
- interface_bridge_host.go
- interface_bridge_port.go
- interface_ethernet.go
- interface_gre.go
- interface_list.go
- interface_list_member.go
- interface_wireless.go
- ip_address.go
- ip_arp.go
- ip_cloud.go
- ip_dns.go
- ip_firewall_address_list.go
- ip_firewall_nat.go
- ip_firewall_raw.go
- ip_neighbor.go
- ip_route.go
- ip_service.go
- ip_socks.go
- ip_ssh.go
- listed.go
- numbered.go
- radius.go
- radius_incoming.go
- ros.go
- routing_bgp_aggregate.go
- routing_bgp_instance.go
- routing_bgp_network.go
- routing_bgp_peer.go
- routing_filter.go
- routing_ospf_instance.go
- routing_ospf_interface.go
- routing_ospf_nbma_neighbor.go
- routing_ospf_network.go
- snmp.go
- snmp_community.go
- system_clock.go
- system_identity.go
- system_logging.go
- system_logging_action.go
- system_note.go
- system_ntp_client.go
- system_resource.go
- system_routerboard.go
- system_scheduler.go
- system_script.go
- tool_bandwidth_server.go
- tool_macserver.go
- tool_macserver_macwinbox.go
- tool_macserver_ping.go
- tool_netwatch.go
- tool_romon.go
- tool_romon_port.go
- user.go
- user_aaa.go
- version.go
Click to show internal directories.
Click to hide internal directories.