Skip to content

Commit

Permalink
Merge pull request #4 from 111pontes/clus2018
Browse files Browse the repository at this point in the history
Add updated material for Cisco Live US 2018
  • Loading branch information
111pontes authored Jun 13, 2018
2 parents 456e782 + c3e6222 commit d4121b2
Show file tree
Hide file tree
Showing 1,898 changed files with 496,970 additions and 392,626 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017 cisco Systems Inc.
Copyright 2018 cisco Systems Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Cisco IOS XR Programmability Lab 2
This lab uses Cisco IOS XR native, IETF and OpenConfig YANG models to interact with NETCONF and Google RPC agents running on Cisco IOS XR. In addition, it includes simple Python scripts and Ansible playbooks that use model-driven APIs to dramatically simplify network programmability and automation of Cisco IOS XR.
# Cisco IOS XR Programmability Lab
This lab provides hands-on experience with the programmability infrastructure in Cisco IOS XR. This new infrastructure allows you to manage a device with great flexibility in terms of models, encodings and transport options. In this lab, you will use XR native, IETF and OpenConfig YANG models to interact with NETCONF and Google RPC agents running on Cisco IOS XR. You will also use streaming telemetry, simple Python scripts and custom Ansible modules based on a model-driven SDK to enable advanced network programmability and closed-loop automation.

```
$ tree -d
.
├── ansible
│   └── ip_destination_reachable
│   └── library
├── grpc
├── md-api
├── md-sdk
├── md-sdk+telemetry
│   └── pipeline
├── netconf
└── yang
└── modules
└── cisco-ios-xr
└── 631
10 directories
└── 632
12 directories
$
```
2 changes: 1 addition & 1 deletion ansible/Cisco-IOS-XR-ping-act.yang
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def ping(host, destination, repeat_count, vrf_name):
ping.input.destination.repeat_count = repeat_count
ping.input.destination.vrf_name = vrf_name

ping = executor.execute_rpc(provider, ping, xr_ping_act.Ping())
ping.output = executor.execute_rpc(provider, ping, ping.output)

return dict(success_rate=int(str(ping.output.ping_response.ipv4[0].success_rate)),
rtt_min=int(str(ping.output.ping_response.ipv4[0].rtt_min)),
Expand Down
2 changes: 1 addition & 1 deletion ansible/ip_destination_reachable/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Playbook to verify rechability of LER2 prefix (192.168.255.2) for VRF RED
#
# Santiago Alvarez ([email protected])
# Jan 2018
# Jun 2018

- name: Verify IPv4 VPN service
hosts: LERs
Expand Down
2 changes: 1 addition & 1 deletion grpc/Cisco-IOS-XR-clns-isis-cfg.yang
2 changes: 1 addition & 1 deletion grpc/Cisco-IOS-XR-clns-isis-oper.yang
2 changes: 1 addition & 1 deletion grpc/Cisco-IOS-XR-ifmgr-cfg.yang
2 changes: 1 addition & 1 deletion grpc/Cisco-IOS-XR-ip-rib-ipv4-oper.yang
2 changes: 1 addition & 1 deletion grpc/Cisco-IOS-XR-ipv4-io-cfg.yang
2 changes: 1 addition & 1 deletion grpc/openconfig-if-ip.yang
2 changes: 1 addition & 1 deletion grpc/openconfig-interfaces.yang
3 changes: 2 additions & 1 deletion grpc/xr-isis-cfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"metric-style": [
{
"level": "not-set",
"style": "new-metric-style"
"style": "new-metric-style",
"transition-state": "disabled"
}
]
}
Expand Down
1 change: 0 additions & 1 deletion md-api/Cisco-IOS-XR-ip-rib-ipv4-oper.yang

This file was deleted.

1 change: 0 additions & 1 deletion md-api/Cisco-IOS-XR-ipv4-bgp-cfg.yang

This file was deleted.

1 change: 0 additions & 1 deletion md-api/Cisco-IOS-XR-ipv4-bgp-oper.yang

This file was deleted.

1 change: 0 additions & 1 deletion md-api/Cisco-IOS-XR-mpls-ldp-cfg.yang

This file was deleted.

1 change: 0 additions & 1 deletion md-api/Cisco-IOS-XR-mpls-ldp-oper.yang

This file was deleted.

129 changes: 0 additions & 129 deletions md-api/nc-create-xr-ipv4-bgp-cfg-99-ydk.py

This file was deleted.

Loading

0 comments on commit d4121b2

Please sign in to comment.