<module>-impl project code file generation


saravanan.a75@wipro.com <saravanan.a75@...>
 

Hello Team,

 

I am using honeycomb 18.07 version. Trying to bring up Netconf server for my own yang model file.

 

I modified the “honeycomb/enodebsim/enodebsim-api/src/main/yang/enodebsim.yang” file with my yang content.

Then I did the following:

$cd honeycomb/

$ rm enodebsim/pom.xml enodebsim/enodebsim-api/pom.xml

$ vi pom.xml      #removed the enodebsim from Module list

                $ mvn -X archetype:generate -DarchetypeGroupId=io.fd.honeycomb.tools -DarchetypeArtifactId=honeycomb-plugin-archetype -DarchetypeVersion=1.18.10-SNAPSHOT -DinteractiveMode=false -DgroupId=org.onap.ransim -DartifactId=enodebsim -Dversion=1.0.0-SNAPSHOT -Dpackage=org.onap.ransim

$cd honeycomb/enodebsim/

$mvn clean install

 

This generated the java files for my new yang model. However the code generated in “honeycomb/enodebsim/enodebsim-impl” is not referring my new yang model. It still uses the old sample yang model.

 

Will the generate netconf agent automatically includes new yang model into capabilities?

 

Pls let me know if I missed any steps. If you can share the link/doc explaining what needs to be done for custom yang model simulation?

 

 

Regards,
Saran

 



Sensitivity: Internal & Restricted

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Join honeycomb-dev@lists.fd.io to automatically receive all group messages.