onosproject / onos-cli Goto Github PK
View Code? Open in Web Editor NEWCommand-line interface for ONOS (µONOS Architecture)
License: Apache License 2.0
Command-line interface for ONOS (µONOS Architecture)
License: Apache License 2.0
We need to add status badges to make all of the repos similar (i.e. build, godoc, license, gocard report.
when i complied the onos-cli project I can't find the dependeny of onos-ric
As a cli user I would like to filter network-changes to view only active changes so that I can quickly see what changes are active.
Currently you see everything including rollback changes which so remain to be the default, but adding a filter flag could bubble up only those changes which are active as a way to reduce what may be a large change set to only those which are active and of interest due to their active state.
The command to save CLI configuration attributes, such as:
onos config config set a b
ORonos ztp config set c d
ORonos topo config set e f
all save the attribute to ~/.onos/ztp.yaml regardless of which subsystem is used
Even though a file is created per subsystem all attributes set in this way are saved in to ztp.yaml
I think this is because the set is going through a viper global variable, which points to the ZTP file rather than any others.
Also if you try to set an attribute on config
is will not work until ztp.yaml exists.
I'm not really sure what this system was trying to achieve, so someone that does should tackle it
Lines 116 to 171 in 7c3d0d3
It seems that get cells command print A3Offset (EventA3Params) instead of PCellIndividualOffset.
A3Offset is printed twice and I think L145 and L166 should be fixed.
Line 201 in 8635e52
Probably in this line there should be Lat = Lat (not Lng)
I entered this command by mistake - I intended it to end in -v
~ $ onos topo get devices -
Error: rpc error: code = Unavailable desc = transport is closing
~ $
Fair enough - it was an invalid entry but you'd think the CLI would not let it through.
onos topo get devices -v
works fine
When watching the state of the pods I can see onos-topo restart
^Cscondon@Z420:~$ kubectl get pods -n onit-1 -w
NAME READY STATUS RESTARTS AGE
atomix-controller-fb857b477-7pwhm 1/1 Running 0 27m
device1 1/1 Running 0 17m
device2 1/1 Running 0 2m39s
onos-cli-c5b4c7f5f-d68kf 1/1 Running 0 26m
onos-config-6cfdc589ff-dqwvs 1/1 Running 0 26m
onos-config-envoy-56bf9486-j5dkd 1/1 Running 0 26m
onos-gui-866b488884-grpvv 1/1 Running 0 26m
onos-topo-7cfc8f7486-s4s2q 1/1 Running 1 27m
onos-topo-envoy-7778bc79dd-9j9qv 1/1 Running 0 27m
raft-1-0 1/1 Running 0 27m
onos-topo-7cfc8f7486-s4s2q 0/1 Error 1 28m
onos-topo-7cfc8f7486-s4s2q 0/1 CrashLoopBackOff 1 28m
onos-topo-7cfc8f7486-s4s2q 0/1 Running 2 29m
onos-topo-7cfc8f7486-s4s2q 1/1 Running 2 29m
Hi Team,
I was running onos-cli package on arm64, but it was failing giving the below error:
root@83dd9935a43b:/odidev/onos-cli# make coverage
go build -o build/_output/onos ./cmd/onos
go: github.com/onosproject/[email protected]: reading github.com/onosproject/onos-ric/go.mod at revision v0.6.10: unknown revision v0.6.10
make: *** [Makefile:11: build] Error 1
root@83dd9935a43b:/odidev/onos-cli#
Also, onos-cli docker image is not available for arm64 and one of the dependency of onos-cli (i.e. onos-ric) is a private github repo. Is there any plan to make onos-cli available for arm64 (and to release docker image for arm64)?
Steps followed to run the package:
make coverage
It is a non TLS version of gnmi-cli written from the ground up in python available at:
https://github.com/opennetworkinglab/stratum/tree/master/tools/gnmi
this is originally linked to onos-config RBAC
https://jira.opennetworking.org/browse/AETHER-315
but is useful for all CLI commands
The JWT token can then be passed in to an gRPC calls made
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.