Hi , In the below model some of the attributes have the default values. But When I am pushing the JSON without the default valued attributes to the config data store, those attributes are not getting populated with the default values and hence not stored in the CDS. So are the yang default values not honored ? I tried this by creating a sample project with the carbon project archetype.
container connector-configs { presence true; list connector-config { key uid; uses connector-config-info; leaf mgmt-ip { type inet-types:ipv4-address; config true; description "IP address of the connector"; } leaf netmask { type inet-types:ipv4-address; config true; description "netmask of the connector"; } leaf tunnel-id { type uint32 { range "0..10000000"; } config true; default 10; description "Tunnel ID to management tunnel to be created"; } } } Regards -Satish
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev