ydk-py-samples
ydk-py-samples copied to clipboard
Sample apps for YDK-Py
(test_venv) root@8ff5eb066f2e:/root/container/test_venv# python t ry1.py Trace: Unable to connect to 172.18.87.54:830 over IPv4 (Connection refused). Connection error occurred: Unable to connect to 172.18.87.54:830. NetconfSSHClient: NC session status: -1 Could not...
Getting an error `RuntimeError: YClientError: Could not connect to x.x.x.x: Session status: Undefined` when running the ydk netconfprovider authentication method.
Includes two boilerplate apps and three custom apps to configure VRFs for XR data model using gNMI/gNMI: gn-set-xr-infra-rsi-cfg-10-ydk.py - set boilerplate gn-set-xr-infra-rsi-cfg-20-ydk.py - IPv4 VRF gn-set-xr-infra-rsi-cfg-21-ydk.py - IPv6 VRF gn-get-xr-infra-rsi-cfg-10-ydk.py...
Includes two boilerplate and six custom apps to configure RSVP-TE (non-DS-TE and DS-TE with RDM/MAM bandwidth pools) for XR data model using gNMI/gNMI: gn-set-xr-ip-rsvp-cfg-10-ydk.py - set boilerplate gn-set-xr-ip-rsvp-cfg-20-ydk.py - interface...
Includes two boilerplate apps and six custom apps to configure device time zone for XR data model using gNMI/gNMI: gn-set-xr-infra-infra-clock-linux-cfg-10-ydk.py - set boilerplate gn-set-xr-infra-infra-clock-linux-cfg-20-ydk.py - PST PST8PDT gn-set-xr-infra-infra-clock-linux-cfg-22-ydk.py - CST...
Includes two boilerplate apps and six custom apps to configure locale for XR data model using gNMI/gNMI: gn-set-xr-infra-infra-locale-cfg-10-ydk.py - set boilerplate gn-set-xr-infra-infra-locale-cfg-20-ydk.py - en_US gn-set-xr-infra-infra-locale-cfg-22-ydk.py - zh_CN gn-set-xr-infra-infra-locale-cfg-24-ydk.py - de_DE...
Includes four boilerplate and seventeen custom apps to configure syslog and debug timestamps for XR data model using gNMI/gNMI: gn-set-xr-infra-syslog-cfg-10-ydk.py - set boilerplate gn-set-xr-infra-syslog-cfg-11-ydk.py - set boilerplate gn-set-xr-infra-syslog-cfg-20-ydk.py - Disable...
Includes two boilerplate and fourteen custom apps to configure IPv6 DNS for XR data model using gNMI/gNMI: gn-set-xr-ip-domain-cfg-10-ydk.py - set boilerplate gn-set-xr-ip-domain-cfg-20-ydk.py - static (local) hosts gn-set-xr-ip-domain-cfg-21-ydk.py - static (local)...
Includes six boilerplate apps and seven custom apps to configure the address resolution protocol for XR data model using gNMI/gNMI: gn-set-xr-ipv4-arp-cfg-10-ydk.py - set boilerplate gn-set-xr-ipv4-arp-cfg-11-ydk.py - set boilerplate gn-set-xr-ipv4-arp-cfg-12-ydk.py -...
Includes two boilerplate apps and ten custom apps to configure access lists for XR data model using gNMI/gNMI: gn-set-xr-ipv4-acl-cfg-10-ydk.py - set boilerplate gn-set-xr-ipv4-acl-cfg-20-ydk.py - Set log-update rate gn-set-xr-ipv4-acl-cfg-22-ydk.py - Set...