ios-xr / iosxr-ansible Goto Github PK
View Code? Open in Web Editor NEWIOS-XR Ansible project
License: GNU General Public License v3.0
IOS-XR Ansible project
License: GNU General Public License v3.0
Using last release and master branch both result in nothing being returned from the remote host despite being marked as "ok". This is an issue with both local and remote mode. Last release mentions breaking changes, is this repo still functional?
If not, are there pointers to accomplishing the same things?
vagrant@vagrant:~/iosxr-ansible-0.1.6/remote$ ansible-playbook samples/iosxr_get_facts.yml
PLAY [ss-xr] ******************************************************************************************************************************************************************************************
TASK [get system facts] *******************************************************************************************************************************************************************************
[WARNING]: Module did not set no_log for password
ok: [11.1.1.10]
TASK [debug] ******************************************************************************************************************************************************************************************
ok: [11.1.1.10] => {
"changed": false,
"facts": {
"changed": false,
"show arp": [],
"show filesystem": [],
"show install active": [],
"show inventory all": [],
"show ipv4 int brief": [],
"show ipv6 int brief": [],
"show license all": [],
"show media": [],
"show memory summary": [],
"show platform": [],
"show route": [],
"show running-config": [],
"show version": [],
"warnings": [
"Module did not set no_log for password"
]
}
}
PLAY RECAP ********************************************************************************************************************************************************************************************
11.1.1.10 : ok=2 changed=0 unreachable=0 failed=0
Could anyone provide a quick explanation on the differences between this and the XR core module?
https://github.com/ansible/ansible-modules-core/tree/devel/network/iosxr
Is this a collection of playbooks/utilities/scripts/examples using the XR core module?
Hello,
While I am trying to run the playbook IOSXR_CLI.YML. It's giving the below error.
ok: [192.168.56.107] => {
"output.stdout_lines": [
"/bin/sh: 1: source: not found",
"nsenter: failed to execute xr_cli: No such file or directory"
Could you tell me the difference between the iosxr_config and iosxr_install_config modules? I'm using the local method and would like to load a new config file and do the equivalent of "commit replace". Which module should I use? I'm able to successfully merge a config file with a running IOSXR config, but having trouble doing a replace. This is over an SSH session, not the router console port.
@aermongk
This hexadecimal format is a nightmare to convert to a pub SSH format.
RP/0/0/CPU0:XRv_Spine_01#show crypto key mypubkey rsa
Wed May 17 15:15:58.245 UTC
Key label: the_default
Type : RSA General purpose
Size : 2048
Created : 14:25:05 UTC Wed May 17 2017
Data :
30820122 300D0609 2A864886 F70D0101 01050003 82010F00 3082010A 02820101
008CCD6E AFF55524 147A7C17 0EEE8B78 0CA63452 ED20E0E2 7CFAC946 ADE2047C
A130F1B7 6D433B00 E4C4E566 2DED8E72 CE945A97 E284CB52 17450ECC C1C34BC9
F55A7990 BE8D3334 9906D711 111C3EC5 C749CE8B E888F6C6 F8AC4E94 EF914967
CDEECDA4 3E4D2DE5 ECC53312 C67BAFEB 0CAFA85F 74ECC07C F47030CA 1AA3972B
965CC235 EDFCBE84 E825B640 F7ADC602 3E9C93DD 2C9B4E05 103FCE40 D6400EB8
4F15C473 B7CDCCED 701DDF87 859F090E 5ABD6C41 7F735F9C D7CDCE32 D56D6DEE
FC42EC9A 47CDB617 BF70FDA2 0FC78354 2613FFEE A2E5D9B1 095C48DB 6A8B562E
32C46C2A B58D8AAB B9C1C314 2F158E61 B948CA95 7A62CD1C 5AB33C45 A01CE8D9
23020301 0001
I know how to convert a base64 pem to a SSH .pub format (binary DER).
Do you know how to convert the hexadecimal format to a base64 pem or directly to a .pub standard format on Linux?
Wouldn't it be much simpler and easier for everyone to show the IOS-XR device public key in a .pub format as on NX-OS for instance?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.