Giter VIP home page Giter VIP logo

rost's Introduction

CLICON

CLICON is an automatic configuration manager where you from a YANG specification generate interactive CLI, NETCONF and embedded databases with transaction support.

Presentations and tutorial is found on the CLICON project page

A typical installation is as follows:

> configure	       	        # Configure clicon to platform
> make                      # Compile
> sudo make install         # Install libs, binaries, and config-files
> sudo make install-include # Install include files (for compiling)

Several example applications are provided, including Hello, NTP, datamodel and yang router. See also ROST which is an open-source router using CLICON. It all origins from work at KTH

CLIgen is required for building CLICON. If you need to build and install CLIgen:

git clone https://github.com/olofhagsand/cligen.git
cd cligen; configure; make; make install

CLICON is covered by GPLv3, and is also available with commercial license.

See COPYING for license, CHANGELOG for recent changes.

rost's People

Contributors

andrnils avatar bholmgren avatar olofhagsand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rost's Issues

show ip route crash

Running show ip route crashes the clicon_cli frontend:

>sh ip route 
Oct  2 11:10:41: quaggapi_exec: write show ip route

Oct  2 11:10:45: UNIX error: read: Bad address
Segmentation fault (core dumped)

Same with show ip route bgp

>sh ip route bgp 
Oct  2 11:11:38: quaggapi_exec: write show ip route bgp

Oct  2 11:11:41: UNIX error: read: Bad address
Segmentation fault (core dumped)

This is with a full bgp:

>sh ip bgp summary 
Oct  2 11:15:26: quaggapi_exec: write show ip bgp summary

BGP router identifier 80.252.167.34, local AS number 12381
RIB entries 927745, using 64 MiB of memory
Peers 1, using 2528 bytes of memory

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
80.252.167.33   4 16150  429172    2661        0    0    0 22:10:34   504929

Total number of neighbors 1

Running show ip route 0.0.0.0/4 longer-prefixes works, whereas show ip route 0.0.0.0/3 longer-prefixes segfaults

ip as-path access-list crash

Crash when typing '?' to see any further options.

(config)#ip as-path access-list a deny ^$ ?
  <cr>
Segmentation fault (core dumped)

"archive config" errors

Running archive config in enabled mode gives

#archive config 
Oct  2 10:25:00: unknown: 
CLI command error

show running-config displays ip route route->nexthop instead of expected route

show running-config displays
'ip route route->nexthop'
instead of
'ip route x.y.z.w a.b.c.d'

diff --git a/frontend/ios/ios.d2t b/frontend/ios/ios.d2t
index 8939955..d9ebf5e 100644
--- a/frontend/ios/ios.d2t
+++ b/frontend/ios/ios.d2t
@@ -43,7 +43,7 @@
@if($router.bgp->as)
@include("${ROST_PLUGIN_DIR}/ios-router-bgp.d2t")
@EnD
-@each($ipv4.route.static[], $rt, "ip route $rt->prefix route->nexthop $rt->distance\n")
+@each($ipv4.route.static[], $rt, "ip route $rt->prefix $rt->nexthop $rt->distance\n")
@each($ipv4.route.static.null[], $rt)
ip route $rt->prefix @if($rt->reject ? "reject" : "blackhole") $rt->distance\n
@EnD

Might be the solution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.