Hello everyone,
I have added the below code and am expecting to that slot should enable for chassis-platform.
but it looks like it doesn’t work. Can you pls. help us resolve the issue.
brocade-diagnostics.yang
feature platform_chassis {
description "chassis-platform";
}
feature platform_pizzabox {
description "pizzabox-platform";
}
container diag {
tailf:info "Commands to manage diagnostic activities";
tailf:action turboramtest {
tailf:actionpoint fosdiagtests;
input {
leaf slot {
if-feature platform_chassis;
type slotidtype;
mandatory true;
}
leaf passcnt {
type uint32 {
range "1..10" {
tailf:info "NUMBER:1-10 Specifies the number of times to perform this test";
}
}
}
}
Makefile:
brocade-diagnostics.fxs: $(YANG_PRE_PROCESS_DIR)/brocade-diagnostics.yang $(MOD_YANG_FILES) $(MAKEFILE_LIST)
@echo " Generating brocade-diagnostics.fxs"
$(CONFDC) $(YANG_INCLUDES) --export cli --feature platform_pizzabox -c -o $@ $<
Regards,
Iyyappa.