Feature Control
此内容尚不支持你的语言。
URLs Summary
Section titled “URLs Summary”| URL | GET | POST | PATCH | PUT | DELETE |
|---|---|---|---|---|---|
| /rest/v1/running/features-control/{name} | Y | N | Y | N | N |
Examples
Section titled “Examples”Modify feature control.
Section titled “Modify feature control.”PATCH HTTPS://{switch IP}/rest/v1/running/features-control/dhcp{ "admin-state": "disable", "auto-restart": "enable"}Properties Descriptions
Section titled “Properties Descriptions”Features
Section titled “Features”Tree Diagrams
+--rw features-control +--rw feature* [name] +--rw name +--rw admin-state? +--rw auto-restart? +--ro running-status?Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| features-control | M | Path-only node, has no configurable value. | |
| feature | M | (sub-property of features-control) Path-only node, has no configurable value. | |
| name | M | ”dhcp""macsec""nat" "snmp""telemetry""lldp" "exporter""mux" "eventd""cluster” | (sub-property of feature) configurable feature’s name(key of FEATURE table) |
| admin-state | O | ”disable""enable” | (sub-property of feature) state of the feature |
| auto-restart | O | ”disable""enable” | (sub-property of feature) auto restart after exiting |
| running-status | RO | ”enabled""disabled""failed” | (sub-property of feature) feture container running state Default value: “failed” |