SlideShare a Scribd company logo
1 of 5
Download to read offline
Once I participated on a brainstorming session where we were asked about our visions on how the
operation of a NOC could be made more effective and fancy, including any ideas about future, not
even yet existing technologies or devices.
That time I envisioned a big, transparent glass wall displaying the interactive, live topology of the
network. You know, I am talking about something you can see in the Iron Man movie series Tony
Stark works with.
And no, I am definitely not yet there :-)
But I took the first step in creating an interactive network map I am introducing shortly in this article.
1 What is Network Map
The Network Map is an optional module of PGTnetwork which is designed to perform discovery and
visualization of Layer 3 network infrastructure. The discovery engine will analyze routing protocols
for each hop by means of parser modules to crawl through the routed network. Most of the parser
modules are written in Python and represented as a Visual Script to make customization easy.
Below sections will briefly describe the concepts of the tool and demonstrate how to quickly perform
a network discovery. If you prefer watching videos instead, a more detailed training video series is
also available at PGTnetwork website: https://pgtnetwork.com/
2 Overview
Network Map uses parser modules to analyse routing protocols by sending specific CLI commands
and interpreting the response. As a result, network discovery is performed using Telnet/SSH
connections and not SNMP.
Parser modules are organized into two main categories:
 Router modules: a router module must be able to retrieve specific configuration items from a
connected device;
 Protocol Parsers: a protocol parser must provide support for a given Router module by
parsing one or more protocols
A specific parser module can provide support for a particular vendor and/or model and a given
protocol, like routing protocol. At the time of writing only layer 3, routing protocol parsers are
supported but later layer 2 parsers - like LLDP or CDP - will also be added.
An example module would be the Cisco IOS Router module that is able to handle Cisco IOS routers.
Another one is the Juniper OSPF Protocol Parser that is able to understand and parse OSPF protocol
details on JunOS based Juniper router / switch or even SRX firewall.
Parser modules can be dynamically added to Network Map to provide support for a new vendor or
model or routing protocol. Parsers can also be implemented as dll-s using Network Discovery API or
can be written in Python as Visual Scripts.
PGT delivers many examples for both scenarios and also includes vScript templates for Router and
ProtocolParser modules. All of the .NET based default parser modules are open sourced, and the C#
code can be cloned from Github repository PGTNetworkMap.Parsers:
https://github.com/lafrank/PGTNetworkMap.Parsers
The output of a network discovery is an interactive graph that can be saved to file and loaded later
on demand. Network Map is tightly integrated with Favourite host database, therefore it is
recommended to populate Favourite hosts beforehand, although this is not a prerequisite.
3 Perform a Quick discovery
To start a network discovery, one must specify at least one device by its ip address. This is going to be
the seed device from where discovery can start. Alternatively, multiple seed devices can be enlisted
to speed up discovery. The Device list is a free text entry, the only requirement is to specify one ip
address per line, other fields in a line separated by comma are optional:
When started, the discovery engine will connect to the specified seed devices and select and launch
the appropriate parsers to discover the connected device and search for new peers. The number of
parallel connections can be controlled depending on actual system capability.
As discovery crawls through the network, new peers will be detected and added to discovery list
depending on the Discovery Domain specification. A Discovery Domain is specified by the ip address
to be included or excluded and the routing protocols to be examined on each entity :
If the Discovery Domain specification allows, a peer will be added to the list of items awaiting
discovery, and will be assigned a priority value. As the scheduler allocates parsers to connected
devices, this priority will be considered. Items with lower priority would be served first. The priority
assigned to a new discovery item depends on the routing protocol that discovered the new peer,
with BGP given the highest priority (lowest value) and STATIC routing is the lowest (the highest
value).
The Discovery Domain specification tab will allow the selection of a routing protocol only if a Protocol
Parser Module is detected that supports a given protocol.
The list of available modules and supported devices / protocols can be checked on the Modules &
Settings tab:
Returning to discovery, if everything looks good, press the big green “Start discovery process” button
on the Discovery List tab. The discovery engine will slowly start connecting to specified hosts and
display the discovery status :
Once the discovery is done, the view will be switched to the Network Topology tab :
The displayed map is an interactive map, from where one can start connecting to a device or initiate
script generation or check properties by right clicking an entity:
More information: https://pgtnetwork.com/product-overview/

More Related Content

What's hot

Noorbehbahani data preprocessing for anomaly based network intrusion
Noorbehbahani data preprocessing for anomaly based network intrusionNoorbehbahani data preprocessing for anomaly based network intrusion
Noorbehbahani data preprocessing for anomaly based network intrusionnoorbehbahani
 
Unit 3:Enterprise Security
Unit 3:Enterprise SecurityUnit 3:Enterprise Security
Unit 3:Enterprise Securityprachi67
 
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...Tristan Penman
 
Implementing a Distributed Hash Table with Scala and Akka
Implementing a Distributed Hash Table with Scala and AkkaImplementing a Distributed Hash Table with Scala and Akka
Implementing a Distributed Hash Table with Scala and AkkaTristan Penman
 
Packet analysis using wireshark
Packet analysis using wiresharkPacket analysis using wireshark
Packet analysis using wiresharkBasaveswar Kureti
 
Packet sniffing in switched LANs
Packet sniffing in switched LANsPacket sniffing in switched LANs
Packet sniffing in switched LANsIshraq Al Fataftah
 
hajer
hajerhajer
hajerra na
 

What's hot (13)

Packet Sniffing
Packet SniffingPacket Sniffing
Packet Sniffing
 
Noorbehbahani data preprocessing for anomaly based network intrusion
Noorbehbahani data preprocessing for anomaly based network intrusionNoorbehbahani data preprocessing for anomaly based network intrusion
Noorbehbahani data preprocessing for anomaly based network intrusion
 
Unit 3:Enterprise Security
Unit 3:Enterprise SecurityUnit 3:Enterprise Security
Unit 3:Enterprise Security
 
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...
PWL Seattle #16 - Chord: A Scalable Peer-to-peer Lookup Protocol for Internet...
 
Wireshark
WiresharkWireshark
Wireshark
 
Implementing a Distributed Hash Table with Scala and Akka
Implementing a Distributed Hash Table with Scala and AkkaImplementing a Distributed Hash Table with Scala and Akka
Implementing a Distributed Hash Table with Scala and Akka
 
pathtrace
pathtracepathtrace
pathtrace
 
Network Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using WiresharkNetwork Forensics: Packet Analysis Using Wireshark
Network Forensics: Packet Analysis Using Wireshark
 
Packet analysis using wireshark
Packet analysis using wiresharkPacket analysis using wireshark
Packet analysis using wireshark
 
Wireshark
WiresharkWireshark
Wireshark
 
Packet sniffing in switched LANs
Packet sniffing in switched LANsPacket sniffing in switched LANs
Packet sniffing in switched LANs
 
hajer
hajerhajer
hajer
 
Wireshark - presentation
Wireshark - presentationWireshark - presentation
Wireshark - presentation
 

Similar to Network Automation Tool and Python Scripting Platform

For your final step, you will synthesize the previous steps and la
For your final step, you will synthesize the previous steps and laFor your final step, you will synthesize the previous steps and la
For your final step, you will synthesize the previous steps and laShainaBoling829
 
Disadvantages Of Robotium
Disadvantages Of RobotiumDisadvantages Of Robotium
Disadvantages Of RobotiumSusan Tullis
 
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesAll About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesSubhajit Sahu
 
Analise NetFlow in Real Time
Analise NetFlow in Real TimeAnalise NetFlow in Real Time
Analise NetFlow in Real TimePiotr Perzyna
 
Wireshark Lab Getting Started v6.0 Supplement to Co.docx
Wireshark Lab  Getting Started v6.0  Supplement to Co.docxWireshark Lab  Getting Started v6.0  Supplement to Co.docx
Wireshark Lab Getting Started v6.0 Supplement to Co.docxambersalomon88660
 
Encode x The Graph - Introduction to the Graph
Encode x The Graph - Introduction to the GraphEncode x The Graph - Introduction to the Graph
Encode x The Graph - Introduction to the GraphKlaraOrban
 
Akash final-year-project report
Akash final-year-project reportAkash final-year-project report
Akash final-year-project reportAkash Rajguru
 
A NOVEL ROBUST ROUTER ARCHITECTURE
A NOVEL ROBUST ROUTER ARCHITECTURE A NOVEL ROBUST ROUTER ARCHITECTURE
A NOVEL ROBUST ROUTER ARCHITECTURE IJERA Editor
 
Lab Exercise #4 IPv4 Dr. Anne Kohnke 1 Obj.docx
Lab Exercise #4 IPv4   Dr. Anne Kohnke  1  Obj.docxLab Exercise #4 IPv4   Dr. Anne Kohnke  1  Obj.docx
Lab Exercise #4 IPv4 Dr. Anne Kohnke 1 Obj.docxsmile790243
 
Final ProjectFinal Project Details Description Given a spec.docx
Final ProjectFinal Project Details Description  Given a spec.docxFinal ProjectFinal Project Details Description  Given a spec.docx
Final ProjectFinal Project Details Description Given a spec.docxAKHIL969626
 
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docxCSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docxannettsparrow
 

Similar to Network Automation Tool and Python Scripting Platform (20)

For your final step, you will synthesize the previous steps and la
For your final step, you will synthesize the previous steps and laFor your final step, you will synthesize the previous steps and la
For your final step, you will synthesize the previous steps and la
 
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENTTCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
 
project_docs
project_docsproject_docs
project_docs
 
Disadvantages Of Robotium
Disadvantages Of RobotiumDisadvantages Of Robotium
Disadvantages Of Robotium
 
Introduction to ns3
Introduction to ns3Introduction to ns3
Introduction to ns3
 
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : NotesAll About Routers: Types Of Routers, Routing Table And IP Routing : Notes
All About Routers: Types Of Routers, Routing Table And IP Routing : Notes
 
Netw204 Quiz Answers Essay
Netw204 Quiz Answers EssayNetw204 Quiz Answers Essay
Netw204 Quiz Answers Essay
 
Report on Router
Report on RouterReport on Router
Report on Router
 
Analise NetFlow in Real Time
Analise NetFlow in Real TimeAnalise NetFlow in Real Time
Analise NetFlow in Real Time
 
Wireshark Lab Getting Started v6.0 Supplement to Co.docx
Wireshark Lab  Getting Started v6.0  Supplement to Co.docxWireshark Lab  Getting Started v6.0  Supplement to Co.docx
Wireshark Lab Getting Started v6.0 Supplement to Co.docx
 
Input output in linux
Input output in linuxInput output in linux
Input output in linux
 
Encode x The Graph - Introduction to the Graph
Encode x The Graph - Introduction to the GraphEncode x The Graph - Introduction to the Graph
Encode x The Graph - Introduction to the Graph
 
Akash final-year-project report
Akash final-year-project reportAkash final-year-project report
Akash final-year-project report
 
Arun project-Final
Arun project-FinalArun project-Final
Arun project-Final
 
A NOVEL ROBUST ROUTER ARCHITECTURE
A NOVEL ROBUST ROUTER ARCHITECTURE A NOVEL ROBUST ROUTER ARCHITECTURE
A NOVEL ROBUST ROUTER ARCHITECTURE
 
01 BlockChain
01 BlockChain01 BlockChain
01 BlockChain
 
Lab Exercise #4 IPv4 Dr. Anne Kohnke 1 Obj.docx
Lab Exercise #4 IPv4   Dr. Anne Kohnke  1  Obj.docxLab Exercise #4 IPv4   Dr. Anne Kohnke  1  Obj.docx
Lab Exercise #4 IPv4 Dr. Anne Kohnke 1 Obj.docx
 
Backtrack Manual Part6
Backtrack Manual Part6Backtrack Manual Part6
Backtrack Manual Part6
 
Final ProjectFinal Project Details Description Given a spec.docx
Final ProjectFinal Project Details Description  Given a spec.docxFinal ProjectFinal Project Details Description  Given a spec.docx
Final ProjectFinal Project Details Description Given a spec.docx
 
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docxCSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
CSC 451551 Computer Networks Fall 2016Project 4 Softwar.docx
 

Recently uploaded

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfUK Journal
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimaginedpanagenda
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 

Recently uploaded (20)

The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 

Network Automation Tool and Python Scripting Platform

  • 1. Once I participated on a brainstorming session where we were asked about our visions on how the operation of a NOC could be made more effective and fancy, including any ideas about future, not even yet existing technologies or devices. That time I envisioned a big, transparent glass wall displaying the interactive, live topology of the network. You know, I am talking about something you can see in the Iron Man movie series Tony Stark works with. And no, I am definitely not yet there :-) But I took the first step in creating an interactive network map I am introducing shortly in this article. 1 What is Network Map The Network Map is an optional module of PGTnetwork which is designed to perform discovery and visualization of Layer 3 network infrastructure. The discovery engine will analyze routing protocols for each hop by means of parser modules to crawl through the routed network. Most of the parser modules are written in Python and represented as a Visual Script to make customization easy. Below sections will briefly describe the concepts of the tool and demonstrate how to quickly perform a network discovery. If you prefer watching videos instead, a more detailed training video series is also available at PGTnetwork website: https://pgtnetwork.com/ 2 Overview Network Map uses parser modules to analyse routing protocols by sending specific CLI commands and interpreting the response. As a result, network discovery is performed using Telnet/SSH connections and not SNMP. Parser modules are organized into two main categories:  Router modules: a router module must be able to retrieve specific configuration items from a connected device;  Protocol Parsers: a protocol parser must provide support for a given Router module by parsing one or more protocols A specific parser module can provide support for a particular vendor and/or model and a given protocol, like routing protocol. At the time of writing only layer 3, routing protocol parsers are supported but later layer 2 parsers - like LLDP or CDP - will also be added.
  • 2. An example module would be the Cisco IOS Router module that is able to handle Cisco IOS routers. Another one is the Juniper OSPF Protocol Parser that is able to understand and parse OSPF protocol details on JunOS based Juniper router / switch or even SRX firewall. Parser modules can be dynamically added to Network Map to provide support for a new vendor or model or routing protocol. Parsers can also be implemented as dll-s using Network Discovery API or can be written in Python as Visual Scripts. PGT delivers many examples for both scenarios and also includes vScript templates for Router and ProtocolParser modules. All of the .NET based default parser modules are open sourced, and the C# code can be cloned from Github repository PGTNetworkMap.Parsers: https://github.com/lafrank/PGTNetworkMap.Parsers The output of a network discovery is an interactive graph that can be saved to file and loaded later on demand. Network Map is tightly integrated with Favourite host database, therefore it is recommended to populate Favourite hosts beforehand, although this is not a prerequisite. 3 Perform a Quick discovery To start a network discovery, one must specify at least one device by its ip address. This is going to be the seed device from where discovery can start. Alternatively, multiple seed devices can be enlisted to speed up discovery. The Device list is a free text entry, the only requirement is to specify one ip address per line, other fields in a line separated by comma are optional: When started, the discovery engine will connect to the specified seed devices and select and launch the appropriate parsers to discover the connected device and search for new peers. The number of parallel connections can be controlled depending on actual system capability.
  • 3. As discovery crawls through the network, new peers will be detected and added to discovery list depending on the Discovery Domain specification. A Discovery Domain is specified by the ip address to be included or excluded and the routing protocols to be examined on each entity : If the Discovery Domain specification allows, a peer will be added to the list of items awaiting discovery, and will be assigned a priority value. As the scheduler allocates parsers to connected devices, this priority will be considered. Items with lower priority would be served first. The priority assigned to a new discovery item depends on the routing protocol that discovered the new peer, with BGP given the highest priority (lowest value) and STATIC routing is the lowest (the highest value). The Discovery Domain specification tab will allow the selection of a routing protocol only if a Protocol Parser Module is detected that supports a given protocol. The list of available modules and supported devices / protocols can be checked on the Modules & Settings tab:
  • 4. Returning to discovery, if everything looks good, press the big green “Start discovery process” button on the Discovery List tab. The discovery engine will slowly start connecting to specified hosts and display the discovery status :
  • 5. Once the discovery is done, the view will be switched to the Network Topology tab : The displayed map is an interactive map, from where one can start connecting to a device or initiate script generation or check properties by right clicking an entity: More information: https://pgtnetwork.com/product-overview/