Git Product home page Git Product logo

srl-controller's People

Contributors

alexmasi avatar carlmontanari avatar deepsource-autofix[bot] avatar deepsourcebot avatar hellt avatar limehat avatar marcushines avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

srl-controller's Issues

enhancements to license binding

Consider the following use cases for license provisioning:

  1. If a user specifies a model that does not require a license then the tag of their image should not matter

  2. If a user specifies a model that does require a license and the user has provided a single "catch all" license then the tag of their image should not matter

  3. If a user specifies a model that does require a license and the user has not provided a license or has provided a license that matches a specific version other than the one they provided then the failure should clearly output during topology creation

  4. treat ga tag the same as latest

Originally posted by @alexmasi in #24 (comment)

add support for startup-config passed in `cli` and `partial-json` formats

Currently startup-config can only be provided as a full configuration extracted from a running system in a json format (from /etc/opt/srlinux/config.json).

Even the factory config of SR Linux counts thousands of lines, since security and ACL policies are provided in full for v4/v6 protocols. Using those bulky files as startup is not always easy as it is not evident what was added to the startup config by the user and what comes from default settings.

We have to add a more flexible solution where startup configs can be provided in the two additional formats.

CLI

As either a list of full-context set / ... commands or a regular CLI blob.
Such file needs to be read by srl-controller and executed via scrapligo, or copied over to the srlinux node and executed as sr_cli <commands>

Partial JSON

A trimmed down version of the config.json where only parts that a user adds are present. Such config can be loaded via sr_cli load file <path> merge

Considerations

Before implementing any of those additions, we need to make sure that srl-controller also waits for Srl nodes to boot

enabling ssh on nokia

Hi Roman,

I am not sure if this is the right platform to address my query. If not please guide me to correct platform.
I am having trouble using SSH to SRL. I am deploying SRL in KNE environment along with Ixia-c.
I am able to bring it up and things are working fine. I need to enable ssh and fetch BGP/ISIS route details from srl.

I followed the below document to enable SSH. The ssh server is up and running but is not accepting any connections.
https://documentation.nokia.com/srlinux/SR_Linux_HTML_R21-11/Configuration_Basics_Guide/configb-systmmgmt.html

i also tried below commands, I am not sure what should be my source address.
--{ candidate shared default }--[ ]--

info system ssh-server

system {
    ssh-server {
        network-instance mgmt {
            admin-state enable
            source-address [
                1.1.1.1
                1.1.1.2
            ]
        }
        network-instance default {
            admin-state enable
            source-address [
                2.1.1.1
                2.1.1.2
            ]
        }
    }
}

Can you please help me with this ?

Thanks,
Azhar

proxy.golang.org has a different version of github.com/srl-labs/[email protected] than github does

Hi,

The go.sum for the @v.0.2.0 that proxy.golang.org has is

github.com/srl-labs/srl-controller v0.2.0 h1:hw+6SU+hIDFgr0xsfIjw04BdZCJHzdVyEw9EIQESVOA=
github.com/srl-labs/srl-controller v0.2.0/go.mod h1:DkPfolSny8QSlMcA8vjpyNMP/+Dttqtk9ZTk4OnBP2E=

However, the go.sum for what github provides is

github.com/srl-labs/srl-controller v0.2.0 h1:NFM5I+Xx+0zkVC9WTnXtg6uk0frtLbHU0EQVlJ8OvIA=
github.com/srl-labs/srl-controller v0.2.0/go.mod h1:DkPfolSny8QSlMcA8vjpyNMP/+Dttqtk9ZTk4OnBP2E=

This can happen if the tag gets moved, or if history gets rewritten. Can you provide a fresh tag, maybe v0.2.1, that points at a useful place?

Thanks!

enabling GNMI in Nokia SRL

Hi @hellt

I am trying to enable GNMI server in kind setup.
I tried to configure it with the help from this document: https://infocenter.nokia.com/public/SRLINUX200R6A/index.jsp?topic=%2Fcom.srlinux.configbasics%2Fhtml%2Fconfigb-mgmt_servers.html
but GNMI is still not starting, it shows it is waiting for configuration even after configuration( attached screenshot)
below is my Nokia configuration for gnmi. Please help and if there is any Nokia forum with experts who can help with such issues or queries please provide the link.

A:nokia# show system application gnmi_server
+-------------+-----+--------------------+---------+-------------+
| Name | PID | State | Version | Last Change |
+=============+=====+====================+=========+=============+
| gnmi_server | | waiting-for-

config | | |
+-------------+-----+--------------------+---------+-------------+
--{ [FACTORY] * candidate shared default }--[ ]--
A:nokia# info system gnmi-server
system {
gnmi-server {
admin-state enable
timeout 7200
rate-limit 60
session-limit 20
nokia-srl-controller-logs-gcp.txt

        network-instance mgmt {
            admin-state enable
            use-authentication true
            port 50052
            tls-profile tls-profile-1
            source-address [
                ::
            ]
        }
    }
}

--{ [FACTORY] * candidate shared default }--[ ]--
A:nokia#

my goal is to query bgp configurations using gnmi:
gnmic -a 10.39.35.50:32097 --skip-verify -u admin -p admin get --path "/network-instances/network-instance/protocols/protocol/bgp/"
target "10.39.35.50:32097" get request failed: failed to create a gRPC client for target "10.39.35.50:32097" : 10.39.35.50:32097: context deadline exceeded
target "10.39.35.50:32097" get request failed: failed to create a gRPC client for target "10.39.35.50:32097" : 10.39.35.50:32097: context deadline exceeded
Error: one or more requests failed

image
nokia_srl.zip

ixia-nokia-topology.txt
nokia-srl-controller-logs-gcp.txt

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.