ConfD User Community

Leaf node not visible in possible completions


#1

I created a basic yang model

module CSDynOmciCpeConnectionData_module_1.0 {

yang-version 1;
namespace "urn:sdnhub:odl:tutorial:CSDynOmciCpeConnectionData";
prefix CSDynOmciCpeConnectionData_module_10;

description " CSDynOmciCpeConnectionData configuration";

revision "2018-07-05" {
description "Initial version.";
}

container CSDynOmciCpeConnectionData {

	leaf vlanId {
			type string; 
	}	
	
	leaf slanId {
			type string;
	}
	
	leaf vlanTpId {
			type string;
	}
	
	leaf ifIndex {
	        type string;
	}
	
	leaf tpIndex {
			type string;
	}
	
	leaf videoGport {
			type int32;
	}
}

}

I compiled this yang and copied the fxs to /etc/confd folder.
when I launch the client
cli%config
cli(configure)%show configuration CSDynOmciCpeConnectionData then
Possible completions:

the leaf nodes are not present under possible completions, what might be the issue.


#2

If you press enter instead of tab after your show configuration command you will get the answer. I.e.
% No configuration changes found.