I'm trying to get a config using nc_recv_reply.
So basically what I'm doing is:
struct nc_reply_data* reply = NULL;
std::cout << "======Calling nc_recv_reply======" << std::endl;
type = nc_recv_reply(session, rpc, msgid, 300, 0, (struct…
Setup: OTP 26. IntelliJ 2022.3.1 with plugins Erlang 0.11.1162 and Makefile 223.8214.6
Code under preview: The test suite ct_netconfc_SUITE. We could run it from CLI using the command make common_test_test ARGS="-suite ct_netconfc_SUITE".
Goal: I…
When I try to run a testcase specified in the test suite ct_netconfc_SUITE, I am getting an error “Failed to start CTH, see the CT Log for details”. What could be the issue? Please give me pointer to resolve the issue. I did not find any clue in the…
I am using juniper's netconf package ("github.com/Juniper/go-netconf/netconf") to establish a netconf session in my code.
I wanted to know how can I mock a netconf session in my unit tests.
My methods are:
func TestMyFunction(t *testing.T) {
…
Setup:
Windows host 192.168.56.1
Ubuntu VM 192.168.56.101
Windows host runs OpenSSH.
Ububtu VM runs a confd based Netconf server at port 2022.
Operation Performed:
ssh admin@192.168.56.101 -p 2022
Result as seen in the Windows CLI:
ssh…
I would like to get a routing table from a csr device. Basically, the same information that is provided with the show ip route command.
I would expect a non-empty rpc message from the csr with non-empty routing table, which is not the case. The…
My device wants attribute X to be set before attribute Y. How do we implement it in an NMS/EMS?
My understanding is that irrespective of the protocol being used such as Netconf, SNMP, etc, my NMS has to send 2 SET/EDIT PDUs. But, ConfD Kick Start…
I am new to yang. Below is my yang config.
container ntp {
tailf:info "NTP Configuration";
tailf:cli-oper-info "Display NTP information";
tailf:cli-incomplete-show-path;
//ntp server config
leaf-list server {
tailf:info "NTP servers";
…
I am trying to send a custom XML RPC to my Juniper VM. The command is the following:
netconf-console --host 192.168.1.100 --port 830 --user xxxx --password xxxx --rpc junos-get-interfaces.xml
I am needing to modify my Openflow configurations in my Opendaylight (0.11.x sodium) system. I follow the documentation which has helped guide is in
creating new configs
deleting configs
replacing configs
but I am not seeing an example or…
I've been trying to manage a device using the Restconf northbound interface of Opendaylight Oxigen and the Netconf southbound connected to a device that is running Netopeer with several yang data models.
Basically, i'm following this…
Can any one explain how to mount a netconf device in opendaylight from a maven project java application
Any one please help in creating a starter project template for mounting netconf device in opendaylight from maven project
The doc is not clear on…
For network automation, I see that NETCONF, RESTCONF and gRPC are available. Can someone tell me which one should be chosen for a typical router and respective use cases.
Can you please share the known issues or challenges with respective approach…