{"id":26293741,"url":"https://github.com/veksh/conf_juniper","last_synced_at":"2025-08-10T07:17:28.978Z","repository":{"id":211299851,"uuid":"173364549","full_name":"veksh/conf_juniper","owner":"veksh","description":"ansible playbook to configure ports on juniper EX switch","archived":false,"fork":false,"pushed_at":"2019-03-05T13:05:17.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T02:34:49.317Z","etag":null,"topics":["ansible","juniper","junos","junos-automation","network","network-devices"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veksh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-01T20:34:39.000Z","updated_at":"2023-11-29T13:27:07.000Z","dependencies_parsed_at":"2023-12-07T17:47:26.130Z","dependency_job_id":"d02f16c2-8620-4c34-84df-f895c7ea5d52","html_url":"https://github.com/veksh/conf_juniper","commit_stats":null,"previous_names":["veksh/conf_juniper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/veksh/conf_juniper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veksh%2Fconf_juniper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veksh%2Fconf_juniper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veksh%2Fconf_juniper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veksh%2Fconf_juniper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veksh","download_url":"https://codeload.github.com/veksh/conf_juniper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veksh%2Fconf_juniper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269691034,"owners_count":24459952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","juniper","junos","junos-automation","network","network-devices"],"created_at":"2025-03-15T02:30:15.042Z","updated_at":"2025-08-10T07:17:28.618Z","avatar_url":"https://github.com/veksh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Features\n\n- ansible 2.4 to 2.7 support, ok with junos from 12 up to 15\n- flexible port configuration with site-wide yaml file\n    - per vlan sections\n    - one file for multiple devices\n    - support for plain access ports or trunks of several pre-configured\n      types (like \"phone\" or \"AP\"); default trunk type could be specified\n      at vlan level\n    - support for interface ranges\n- extensive check for configuration file correctness: interface indexes must \n  be unique, all device names must be valid etc\n- unused ports are disabled by default (configurable)\n- some ports could be marked as \"protected\" and excluded from configuration \n  (e.g uplinks and downlinks or aggregate ports)\n- support for multiple sites with common configuration + local overrides\n- HTML report of configuration data could be uploaded to external web server\n  for future reference\n\nPlease see included example and scripts themselves for configuration details,\nmaybe I'll document them here later :)\n\n# What is included\n\n- `conf_juniper` sets up access and trunk ports on Juniper EX switch according to yaml configuration\n- `prepare_juniper` is supplementary script to enable netconf on switch and create administrative\n  users with key-only auth and restricted set of privileges.\n\n# Operational notes\n- VLAN configuration and port configuration parts take from 30 to 60 seconds on ex3300, so\n  be patient\n- Accessing junos with ansible is still a bit fragile: ex3300 does not like ssh keys \u003e 1024 bits,\n  ex2300 sometimes locks up while configurins vlans etc, but usually some work-around could be\n  found\n- Actually \"domains.yaml\" is also used to configure DNS, DHCP, AD domain etc, and not all\n  parts are used for switch configuration (but e.g. IP address is included in report)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveksh%2Fconf_juniper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveksh%2Fconf_juniper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveksh%2Fconf_juniper/lists"}