Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,523 members, 7,819,882 topics. Date: Tuesday, 07 May 2024 at 04:50 AM

Need A Python Networking Programmer (py-ez) - Software/Programmer Market - Nairaland

Nairaland Forum / Science/Technology / Programming / Software/Programmer Market / Need A Python Networking Programmer (py-ez) (442 Views)

Hot Social Networking Site I Just Discovered That Gives Away Recharge Card Free / Need A Python Programmer Online Coach (2) (3) (4)

(1) (Reply)

Need A Python Networking Programmer (py-ez) by feeddhung: 10:14pm On Jun 06, 2018
Please contact me in email below if you have knowledge of yaml table. Am trying to use python script to automate a command on Juniper router:

Email: feeddhung@gmail.com

See some part below to give idea:

###################

from jnpr.junos import Device
from jnpr.junos.factory.factory_loader import FactoryLoader
import yaml

# Connect to device.
dev = Device('device', user='root', password='pwd')
dev.open()

# Yml table for interface configuration.
yaml_data = \
"""
---
OpticsTable:
rpc: get-pic-detail
args:
fpc-slot: '0'
pic-slot: '3'
item: fpc/pic-detail/port-information/port
key: port-number
view: OpticsView

OpticsView:
fields:
port_no: port-number
cable_type: cable-type
vendor: sfp-vendor-pno
"""
Re: Need A Python Networking Programmer (py-ez) by Pilopher: 3:29pm On Jun 07, 2018
what other app do u use

(1) (Reply)

Android App Idea. For Sale / Micostar Mall Makes Online Shopping Cheaper And Safer With New Database System / Wordpress Wizard Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.