uci rpc
root@glinet:~# ubus -v list 'block' @5d04550d "hotplug":{"uuid":"String","label":"String","enabled":"Integer","target":"String","device":"String","options":"String","autofs":"Integer","anon":"Integer","remove":"Integer"} "mount":{"uuid":"String","label":"String","enabled":"Integer","target":"String","device":"String","options":"String","autofs":"Integer","anon":"Integer","remove":"Integer"} "umount":{"uuid":"String","label":"String","enabled":"Integer","target":"String","device":"String","options":"String","autofs":"Integer","anon":"Integer","remove":"Integer"} "info":{"device":"String"} 'container' @86ff39e3 "set":{"name":"String","script":"String","instances":"Table","triggers":"Array","validate":"Array","autostart":"Boolean","data":"Table"} "add":{"name":"String","script":"String","instances":"Table","triggers":"Array","validate":"Array","autostart":"Boolean","data":"Table"} "list":{"name":"String","verbose":"Boolean"} "delete":{"name":"String","instance":"String"} "state":{"spawn":"Boolean","name":"String"} "get_features":{} "console_set":{"name":"String","instance":"String"} "console_attach":{"name":"String","instance":"String"} 'dhcp' @142534ef "ipv4leases":{} "ipv6leases":{} "add_lease":{"ip":"String","mac":"String","duid":"String","hostid":"String","leasetime":"String","name":"String"} 'dnsmasq' @350819a1 "metrics":{} 'dnsmasq.dns' @f6dc14bd 'file' @22fb5cf8 "read":{"path":"String","base64":"Boolean","ubus_rpc_session":"String"} "write":{"path":"String","data":"String","append":"Boolean","mode":"Integer","base64":"Boolean","ubus_rpc_session":"String"} "list":{"path":"String","ubus_rpc_session":"String"} "stat":{"path":"String","ubus_rpc_session":"String"} "md5":{"path":"String","ubus_rpc_session":"String"} "remove":{"path":"String","ubus_rpc_session":"String"} "exec":{"command":"String","params":"Array","env":"Table","ubus_rpc_session":"String"} 'hostapd' @942baf16 "reload":{"phy":"String"} "apsta_state":{"phy":"String","up":"Boolean","frequency":"Integer","sec_chan_offset":"Integer","csa":"Boolean","csa_count":"Integer"} "config_get_macaddr_list":{"phy":"String"} "config_set":{"phy":"String","config":"String","prev_config":"String"} "config_add":{"iface":"String","config":"String"} "config_remove":{"iface":"String"} 'hostapd.phy0-ap0' @46e8d32a "reload":{} "get_clients":{} "get_status":{} "del_client":{"addr":"String","reason":"Integer","deauth":"Boolean","ban_time":"Integer"} "update_airtime":{"sta":"String","weight":"Integer"} "list_bans":{} "update_beacon":{} "get_features":{} "switch_chan":{"freq":"Integer","bcn_count":"Integer","center_freq1":"Integer","center_freq2":"Integer","bandwidth":"Integer","sec_channel_offset":"Integer","ht":"Boolean","vht":"Boolean","he":"Boolean","block_tx":"Boolean","force":"Boolean"} "set_vendor_elements":{"vendor_elements":"String"} "notify_response":{"notify_response":"Integer"} "bss_mgmt_enable":{"neighbor_report":"Boolean","beacon_report":"Boolean","link_measurement":"Boolean"} "rrm_nr_get_own":{} "rrm_nr_list":{} "rrm_nr_set":{"list":"Array"} "rrm_beacon_req":{"addr":"String","mode":"Integer","op_class":"Integer","channel":"Integer","duration":"Integer","bssid":"String","ssid":"String"} "link_measurement_req":{"addr":"String","tx-power-used":"Integer","tx-power-max":"Integer"} 'hotplug.block' @b75c306a "call":{"env":"Array"} 'hotplug.dhcp' @cec91b30 "call":{"env":"Array"} 'hotplug.firmware' @95fac0bf "call":{"env":"Array"} 'hotplug.ieee80211' @5a7f413b "call":{"env":"Array"} 'hotplug.iface' @6e324687 "call":{"env":"Array"} 'hotplug.neigh' @3eb3b06e "call":{"env":"Array"} 'hotplug.net' @bfd0060f "call":{"env":"Array"} 'hotplug.ntp' @26387b9b "call":{"env":"Array"} 'hotplug.tftp' @22eb64b7 "call":{"env":"Array"} 'hotplug.tty' @dd1a46d7 "call":{"env":"Array"} 'hotplug.usb' @a3e16406 "call":{"env":"Array"} 'hotplug.usbmisc' @c3e385de "call":{"env":"Array"} 'iwinfo' @8830431e "devices":{} "info":{"device":"String"} "scan":{"device":"String"} "assoclist":{"device":"String","mac":"String"} "freqlist":{"device":"String"} "txpowerlist":{"device":"String"} "countrylist":{"device":"String"} "survey":{"device":"String"} "phyname":{"section":"String"} 'log' @3a01d4c1 "read":{"lines":"Integer","stream":"Boolean","oneshot":"Boolean"} "write":{"event":"String"} 'luci' @8bd5a86d "getVersion":{} "getInitList":{"name":"String"} "setInitAction":{"name":"String","action":"String"} "getLocaltime":{} "setLocaltime":{"localtime":"Integer"} "getTimezones":{} "getLEDs":{} "getUSBDevices":{} "getConntrackHelpers":{} "getFeatures":{} "getSwconfigFeatures":{"switch":"String"} "getSwconfigPortState":{"switch":"String"} "setPassword":{"username":"String","password":"String"} "getBlockDevices":{} "setBlockDetect":{} "getMountPoints":{} "getRealtimeStats":{"mode":"String","device":"String"} "getConntrackList":{} "getProcessList":{} "getBuiltinEthernetPorts":{} 'luci-rpc' @d2bad56f "getNetworkDevices":{} "getWirelessDevices":{} "getHostHints":{} "getDUIDHints":{} "getBoardJSON":{} "getDHCPLeases":{"family":"Integer"} 'luci.upnp' @149053d8 "get_status":{} "delete_rule":{"token":"String"} 'mwan3' @92b73f1f "status":{"section":"String","interface":"String","policies":"String"} 'network' @0ace52b6 "restart":{} "reload":{} "add_host_route":{"target":"String","v6":"Boolean","interface":"String","exclude":"Boolean"} "get_proto_handlers":{} "add_dynamic":{"name":"String"} "netns_updown":{"jail":"String","start":"Boolean"} 'network.device' @f9a96b40 "status":{"name":"String"} "set_alias":{"alias":"Array","device":"String"} "set_state":{"name":"String","defer":"Boolean","auth_status":"Boolean","auth_vlans":"Array"} "stp_init":{} 'network.interface' @48276119 "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.interface.lan' @bdf9cc8b "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.interface.loopback' @de54d618 "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.interface.lte1' @0a94a945 "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.interface.lte2' @6e289636 "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.interface.wan' @2d2f99e4 "up":{} "down":{} "renew":{} "status":{} "prepare":{} "dump":{} "add_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "remove_device":{"name":"String","link-ext":"Boolean","vlan":"Array"} "notify_proto":{} "remove":{} "set_data":{} 'network.rrdns' @b049a1a3 "lookup":{"addrs":"Array","timeout":"Integer","server":"String","port":"(unknown)","limit":"Integer"} 'network.wireless' @58945e45 "up":{} "down":{} "reconf":{} "status":{} "notify":{} "get_validate":{} 'rc' @2a648463 "list":{"name":"String","skip_running_check":"Boolean"} "init":{"name":"String","action":"String"} 'service' @4f63f3f3 "set":{"name":"String","script":"String","instances":"Table","triggers":"Array","validate":"Array","autostart":"Boolean","data":"Table"} "add":{"name":"String","script":"String","instances":"Table","triggers":"Array","validate":"Array","autostart":"Boolean","data":"Table"} "list":{"name":"String","verbose":"Boolean"} "delete":{"name":"String","instance":"String"} "signal":{"name":"String","instance":"String","signal":"Integer"} "update_start":{"name":"String"} "update_complete":{"name":"String"} "event":{"type":"String","data":"Table"} "validate":{"package":"String","type":"String","service":"String"} "get_data":{"name":"String","instance":"String","type":"String"} "state":{"spawn":"Boolean","name":"String"} "watchdog":{"mode":"Integer","timeout":"Integer","name":"String","instance":"String"} 'session' @60d1d48e "create":{"timeout":"Integer"} "list":{"ubus_rpc_session":"String"} "grant":{"ubus_rpc_session":"String","scope":"String","objects":"Array"} "revoke":{"ubus_rpc_session":"String","scope":"String","objects":"Array"} "access":{"ubus_rpc_session":"String","scope":"String","object":"String","function":"String"} "set":{"ubus_rpc_session":"String","values":"Table"} "get":{"ubus_rpc_session":"String","keys":"Array"} "unset":{"ubus_rpc_session":"String","keys":"Array"} "destroy":{"ubus_rpc_session":"String"} "login":{"username":"String","password":"String","timeout":"Integer"} 'system' @dd444f7b "board":{} "info":{} "reboot":{} "watchdog":{"frequency":"Integer","timeout":"Integer","magicclose":"Boolean","stop":"Boolean"} "signal":{"pid":"Integer","signum":"Integer"} "validate_firmware_image":{"path":"String"} "sysupgrade":{"path":"String","force":"Boolean","backup":"String","prefix":"String","command":"String","options":"Table"} 'uci' @cb2fdd77 "configs":{} "get":{"config":"String","section":"String","option":"String","type":"String","match":"Table","ubus_rpc_session":"String"} "state":{"config":"String","section":"String","option":"String","type":"String","match":"Table","ubus_rpc_session":"String"} "add":{"config":"String","type":"String","name":"String","values":"Table","ubus_rpc_session":"String"} "set":{"config":"String","section":"String","type":"String","match":"Table","values":"Table","ubus_rpc_session":"String"} "delete":{"config":"String","section":"String","type":"String","match":"Table","option":"String","options":"Array","ubus_rpc_session":"String"} "rename":{"config":"String","section":"String","option":"String","name":"String","ubus_rpc_session":"String"} "order":{"config":"String","sections":"Array","ubus_rpc_session":"String"} "changes":{"config":"String","ubus_rpc_session":"String"} "revert":{"config":"String","ubus_rpc_session":"String"} "commit":{"config":"String","ubus_rpc_session":"String"} "apply":{"rollback":"Boolean","timeout":"Integer","ubus_rpc_session":"String"} "confirm":{"ubus_rpc_session":"String"} "rollback":{"ubus_rpc_session":"String"} "reload_config":{} 'wpa_supplicant' @43183e3d "phy_set_state":{"phy":"String","stop":"Boolean"} "phy_set_macaddr_list":{"phy":"String","macaddr":"Array"} "phy_status":{"phy":"String"} "config_set":{"phy":"String","config":"Array","defer":"Boolean"} "config_add":{"driver":"String","iface":"String","bridge":"String","hostapd_ctrl":"String","ctrl":"String","config":"String"} "config_remove":{"iface":"String"} root@glinet:~#
标签:String,rpc,Boolean,Integer,Array,uci,name From: https://www.cnblogs.com/lsgxeva/p/17997031