festure-control
7 min
asternos yang model for feature control \<font color="#1d50a2">yang tree diagram\</font> module asternos feature control + rw features control + rw feature \[name] + rw name identityref + rw admin state? feature state + rw auto restart? feature state + ro running status? feature status \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> path access /features control read write /features control/feature read write /features control/feature/name read write /features control/feature/admin state read write /features control/feature/auto restart read write /features control/feature/running status read only \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/features control\</font> path /features control node type container access read write \<font color="#1d50a2">/features control/feature\</font> path /features control/feature node type list access read write \<font color="#1d50a2">/features control/feature/name\</font> path /features control/feature/name node type leaf description configurable feature's name(key of feature table) access read write data type \<yang type identityref> constraints identityref with options dhcp relay ptp l2mcd sflow radv lldp iccpd snmp mstpd dhcp server snooping macsec proxy \<font color="#1d50a2">/features control/feature/admin state\</font> path /features control/feature/admin state node type leaf description state of the feature access read write data type \<yang type feature state> constraints enumeration with options disable enable \<font color="#1d50a2">/features control/feature/auto restart\</font> path /features control/feature/auto restart node type leaf description auto restart after exiting access read write data type \<yang type feature state> constraints enumeration with options disable enable \<font color="#1d50a2">/features control/feature/running status\</font> path /features control/feature/running status node type leaf description feture container running state access read only data type \<yang type feature status> constraints enumeration with options enabled disabled failed
