Giter Site home page Giter Site logo

Comments (2)

ANISH-GOTTAPU avatar ANISH-GOTTAPU commented on July 17, 2024

Looks like LearnedInformationFilter is not added in the test, can you please check if that is added.

txBgpv4Peer.LearnedInformationFilter().SetUnicastIpv4Prefix(true)

I am able to get the parameters in b2b setup with ixia-c in kne version(0.0.1.4399)

automation@automation-virtual-machine:~/featureprofiles$ gnmic -a 172.18.0.2:32000 --skip-verify -u admin -p admin get --path  "/bgp-peers/"
[
  {
    "source": "172.18.0.2:32000",
    "timestamp": 1694503454613372671,
    "time": "2023-09-12T12:54:14.613372671+05:30",
    "updates": [
      {
        "Path": "bgp-peers/bgp-peer[name=rxBgpv4Peer]",
        "values": {
          "bgp-peers/bgp-peer": {
            "open-traffic-generator-bgp:name": "rxBgpv4Peer",
            "open-traffic-generator-bgp:state": {
              "counters": {
                "flaps": "0",
                "in-end-of-rib": "0",
                "in-keepalives": "4",
                "in-route-withdraw": "0",
                "in-routes": "1",
                "out-keepalives": "4",
                "out-route-withdraw": "0",
                "out-routes": "0"
              },
              "name": "rxBgpv4Peer",
              "session-state": "ESTABLISHED"
            },
            "open-traffic-generator-bgp:unicast-ipv4-prefixes": {
              "unicast-ipv4-prefix": [
                {
                  "address": "100.1.1.1",
                  "origin": "EGP",
                  "path-id": 0,
                  "prefix-length": 32,
                  "state": {
                    "address": "100.1.1.1",
                    "as-path": [
                      {
                        "as_numbers": [
                          65000
                        ],
                        "segment-type": "AS_SET"
                      },
                      {
                        "as_numbers": [
                          1112,
                          1113
                        ],
                        "segment-type": "AS_SEQUENCE"
                      },
                      {
                        "as_numbers": [
                          2222,
                          2223
                        ],
                        "segment-type": "AS_SET"
                      }
                    ],
                    "community": [
                      {
                        "community-type": "MANUAL_AS_NUMBER",
                        "custom-as-number": 1,
                        "custom-as-value": 2
                      }
                    ],
                    "multi-exit-discriminator": 50,
                    "next-hop-ipv4-address": "192.0.2.1",
                    "origin": "EGP",
                    "path-id": 0,
                    "prefix-length": 32
                  }
                }
              ]
            }
          }
        }
      },
      {
        "Path": "bgp-peers/bgp-peer[name=txBgpv4Peer]",
        "values": {
          "bgp-peers/bgp-peer": {
            "open-traffic-generator-bgp:name": "txBgpv4Peer",
            "open-traffic-generator-bgp:state": {
              "counters": {
                "flaps": "0",
                "in-end-of-rib": "0",
                "in-keepalives": "4",
                "in-route-withdraw": "0",
                "in-routes": "0",
                "out-keepalives": "4",
                "out-route-withdraw": "0",
                "out-routes": "1"
              },
              "name": "txBgpv4Peer",
              "session-state": "ESTABLISHED"
            }
          }
        }
      }
    ]
  }
]
automation@automation-virtual-machine:~/featureprofiles$ kubectl describe pod otg-controller -n ixia-c-b2b
Name:             otg-controller
Namespace:        ixia-c-b2b
Priority:         0
Service Account:  default
Node:             kind-control-plane/172.18.0.2
Start Time:       Tue, 12 Sep 2023 12:39:35 +0530
Labels:           app=otg-controller
Annotations:      <none>
Status:           Running
IP:               10.244.0.10
IPs:
  IP:  10.244.0.10
Containers:
  ixia-c:
    Container ID:  containerd://3d0ebb63ead7f87891303742aca12044e63f4af04d791d54d38f74cfac7c3502
    Image:         ghcr.io/open-traffic-generator/licensed/ixia-c-controller:0.0.1-4399
    Image ID:      docker.io/library/import-2023-09-12@sha256:fb779d7a15895cd000f711f75c6a2d00098c9a1c50b4f4b2f3b0975f76e5ed7f
    Port:          <none>
    Host Port:     <none>
    Args:
      --accept-eula
      --debug
    State:          Running
      Started:      Tue, 12 Sep 2023 12:39:35 +0530
    Ready:          True
    Restart Count:  0
    Liveness:       tcp-socket :40051 delay=1s timeout=1s period=10s #success=1 #failure=6
    Environment:    <none>
    Mounts:
      /home/ixia-c/controller/config from config (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2fk4r (ro)
  gnmi:
    Container ID:  containerd://5093e741e367d49a4eeb62ebebf7e766f375f48149a55bc4d53b3baf020495de
    Image:         ghcr.io/open-traffic-generator/ixia-c-gnmi-server:1.12.2
    Image ID:      docker.io/library/import-2023-09-12@sha256:eabcd298b8bc45315d802f6d3416d3e8548f3fbf39ad5d44fe7deae9fda81574
    Port:          50051/TCP
    Host Port:     0/TCP

from ixia-c.

ANISH-GOTTAPU avatar ANISH-GOTTAPU commented on July 17, 2024

closing it as got acknowledgement from the user that it it working

from ixia-c.

Related Issues (20)

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.