ONOS comes with a pcep application included, although it wasn't activated. When I try to install a newer version of that application using an OAR, ONOS loads the old, included version.
So I first have to uninstall the existing, and then load the new OAR file.
onos-app $OC1 uninstall org.onosproject.pcep
onos-app $OC1 install! ~/code/POC/huawei/onos-pcep-1.2.1-SNAPSHOT.oar
I am not sure if the version numbers of the built in and the OAR were different.
I expect ONOS to load the application I am requesting, or return a message it actually loaded the built in one.