Skip to content

Instantly share code, notes, and snippets.

View Ruchip16's full-sized avatar
:octocat:
Focusing

Ruchi Pakhle Ruchip16

:octocat:
Focusing
View GitHub Profile
@Ruchip16
Ruchip16 / gsoc'25.md
Created November 6, 2025 21:13
Ruchi Pakhle – GSoC 2025: VS Code Extension Maintainership Project (AsyncAPI)

GSoC 2025 – AsyncAPI: VS Code Extension Maintainership

Contributor: Ruchi Pakhle
Organization: AsyncAPI Initiative
Project: VS Code Extension Maintainership – Web Extension Compatibility
Duration: May–November 2025


🌟 Project Overview

The goal of my Google Summer of Code (GSoC) 2025 project was to extend the AsyncAPI VS Code Preview extension to make it compatible with the VS Code Web environment (vscode.dev, github.dev, and local browser hosts).

@Ruchip16
Ruchip16 / fix_warnings.md
Created October 5, 2025 12:43
Fix warnings

How to fix the warnings reported:

There were 3 warnings reported in the logs:

  1. Plugin-load warning ('NoneType' object has no attribute 'get')

Warning:

[WARNING]: errors were encountered during the plugin load for junipernetworks.junos.junos_command: ["'NoneType' object has no attribute 'get'"]
@Ruchip16
Ruchip16 / junos_command
Created September 17, 2025 06:18
documentation/run_junos_command
inventory -
[junos]
x.x.x.x
[junos:vars]
ansible_network_os=junipernetworks.junos.junos
ansible_user=vbnmm
ansible_ssh_pass=nmnnn
ansible_connection=ansible.netcommon.network_cli
@Ruchip16
Ruchip16 / network_os_error.md
Created August 30, 2025 19:17
fix_network_os_error in junipernetworks.junos.junos collection in ansible-junos-stdlib

Issue: Fix “network os junipernetworks.junos.junos is not supported” error when using ansible_network_os=junipernetworks.junos.junos

Background

With the transfer of Ansible support for Junos devices from the junipernetworks.junos collection to the new juniper.device collection, most modules were redirected using meta/runtime.yml. This ensured backward compatibility for playbooks that still invoked modules from junipernetworks.junos.

Example redirect in meta/runtime.yml:

plugin_routing:
  modules:
#!/usr/bin/env python3
import sys
from pathlib import Path
import pandas as pd
import numpy as np
INPUT_FILE = Path("top_1000_vendors.csv")
OUTPUT_FILE = Path("vendor_stability_mapping2.csv")
CUTOFF_DATE = "2024-06-01"
@Ruchip16
Ruchip16 / vendor_mapping.py
Last active August 27, 2025 14:46
Vendor Mapping file
#!/usr/bin/env python3
import sys
from pathlib import Path
import pandas as pd
import numpy as np
INPUT_FILE = Path("top_1000_vendors_starburst_query_result_ copy.csv")
OUTPUT_FILE = Path("vendor_stability_mapping.csv")
CUTOFF_DATE = "2024-06-01"
@Ruchip16
Ruchip16 / command.yaml
Last active July 27, 2025 19:26
Reproducing Ansible-core 2.19 direct execution bug (ActionBase._parse_returned_data missing profile)
---
- name: Reproduce Ansible-core 2.19 direct-exec error
hosts: ios
gather_facts: false
vars:
ansible_connection: ansible.netcommon.network_cli
ansible_network_os: cisco.ios.ios
ansible_become_method: enable
import_modules: true # triggers direct execution mode
tasks:
@Ruchip16
Ruchip16 / sanity_run.log
Created July 18, 2025 07:57
Logs of successful run for sanity
Running sanity test "action-plugin-docs"
Running sanity test "ansible-doc"
Running sanity test "changelog"
Running sanity test "compile" on Python 3.12
Running sanity test "empty-init"
Running sanity test "ignores"
Running sanity test "import" on Python 3.12
Running sanity test "line-endings"
Running sanity test "no-assert"
Running sanity test "no-get-exception"
@Ruchip16
Ruchip16 / fix_sanity.md
Last active July 18, 2025 07:59
Steps to fix the `ModuleNotFoundError: ansible.netcommon` locally

Fixing ModuleNotFoundError: ansible.netcommon locally and Running Sanity Tests (Python 3.12)

Step 1: Create and activate Python 3.12 virtual environment

cd ~/
mkdir myenv-python312 && cd myenv-python312
pyenv local 3.12.3
python -m venv venvjuno312
source venvjuno312/bin/activate

Network Health Check Validated Content - Automation Overview

Introduction

To streamline network operations and accelerate incident response, we have developed a validated Ansible content collection that automates routine health-checks on network devices. This collection provides modular roles designed to gather critical health information across multiple network platforms (Cisco IOS-XR, IOS-XE, NX-OS, and Arista EOS).

Validated Collection Roles Overview

CPU Health Check

Monitors CPU utilization across devices, ensuring resources are optimized and identifying potential performance bottlenecks proactively.