Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onos backend: command not found:config:edit #142

Open
chengguozhen opened this issue Dec 8, 2016 · 4 comments
Open

onos backend: command not found:config:edit #142

chengguozhen opened this issue Dec 8, 2016 · 4 comments

Comments

@chengguozhen
Copy link

after " config:edit eu.netide.backend.BackendLayer",it will show"Conmmand not found: config:edit",
thank you

@amarsico
Copy link
Contributor

amarsico commented Dec 8, 2016

Works only inside Karaf/ONOS. Where did you issue this command? In a BASH shell?

@chengguozhen
Copy link
Author

I issue this command after the "ok clean" inside the onos,and I input the "help"command ,there is no "config"command.The version of onos(my onos is 1.7.0) is reason??? that confused me.

@ElisaRojas
Copy link
Member

ElisaRojas commented Dec 8, 2016

Hi @chengguozhen , config is an Apache Karaf's command, so initially it shouldn't depend on your ONOS version (in fact, I've used it in ONOS 1.4 and 1.5 and it worked).

In any case, in between the ok clean and the config:edit eu.netide.backend.BackendLayer you should install the ONOS backend with: $ onos-app $OC1 install target/onos-app-backend-1.0.0-SNAPSHOT.oar (executed outside Karaf, in a bash shell). Could that be the reason?

@amarsico
Copy link
Contributor

amarsico commented Dec 8, 2016

By default from ONOS 1.7.0, the ConfigAdmin support is disable.

You can activate it by using the command:

onos> feature:install config

Then you can use the other commands for set up a different IP address for connecting to the NetIDE Core. I'm going to add this to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants