Hi,

My name is Yakir Dorani and I work for HPE. I am currently working on 
integrating our SDN product with the boron release.

Working with the yang modules I noticed that the ipv4-packet module doesn't 
have any default values defined for its fields (such as version) although the 
version field should always be 4 for ipv4 packets. It would be nice to have 
default values for such fields so there won't be a need to set all fields every 
time an ipv4packet is built using the Ipv4PacketBuilder class.

I tried using the "default" yang keyword for the version leaf but it didn't 
work. I then found this: 
https://ask.opendaylight.org/question/4229/yang-model-default-value-doesnt-work/

Is this still relevant and related to my problem?

Thanks.

_______________________________________________
L2switch-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/l2switch-dev

Reply via email to