Skip to main content

Programming for networks and information security (5 cr)

Code: TT00BO26-3003

General information


Enrollment

01.06.2021 - 10.09.2021

Timing

31.08.2021 - 31.12.2021

Number of ECTS credits allocated

5 op

Mode of delivery

Contact teaching

Unit

Engineering and Business

Campus

Kupittaa Campus

Teaching languages

  • English

Degree programmes

  • Degree Programme in Information and Communication Technology

Teachers

  • Tommi Tuomola

Groups

  • PTIVIS20T
    Data Networks and Cybersecurity

Objective

The goal of this workshop is to introduce the students to the concepts and techniques for programming a network device. Upon completion of the workshop, students will be able to:
- Understand the value, set-up and use of software concepts and tools relevant to network programmability (Python scripting, Git, JSON, Postman, APIs).
- Describe a different approach to software-defined networking (SDN), including central application policy control.
- Create simple applications in Python with REST APIs.
- Use the Cisco DevNet Sandbox to interact with programmable devices using real-world APIs on Cisco APIC-EM programmable controllers.
- Create a variety of programs to interact with the Cisco APIC-EM APIs.

Content

Introduction to Python and Programming Basics
- Code and Communities of Practice
- Python Basics: Use Python to create programs that accept user input and read and write to external files
- APIs and Parsing JSON: Create a Python application that accesses an API based on user input and processes and displays the JSON data that is returned.
- Programming the APIC-EM 2.1
- Network Programmability: Explain how the Cisco APIC-EM enhances network management and performance
- Programming the APIC-EM REST API: Explain features of the APIC-EM API and documentation
- Create Python software tools for working with the APIC-EM API

Materials

Teacher provided lecture material
Supporting public online material
All needed material will be available in itslearning.

Teaching methods

Lectures and program examples
Programming exercises
Independent learning (itslearning)

Exam schedules

First exam in december, date to be announced later.
Two possibilities for re-exam.

International connections

Given program examples and programming exercises support each topic studied during the lectures. Additional material in the form of tutorials and reliable information sources is provided.

Student workload

Contact hours 26 h
Inpendent studying 104h, including:
- Studying the course material
- Completing exercises
- Preparation for the exam

Content scheduling

The goal of this course is to introduce the student to the programming related concepts and techniques often needed in the field of data networks and information security.

Upon completion of this course, students will be able to write small Python scripts to:
-Parse different kinds of data (JSON, log data etc.)
-Connect and query a database
-Query an external API for data and build a simple REST API of their own

The contents of the course:
-JSON format
-Using basic Python data structures to store data
-Parsing data in Python
-Basics of databases - concepts of relational and non-relational databases
-Querying databases with Python
-Concept of an API
-Querying an API with Python
-Building your own REST API
-Command line arguments and piping content to a Python script

Evaluation scale

H-5

Assessment methods and criteria

Final exam
Programming exercises returned throughout the course

Qualifications

Introduction to Programming or equivalent competence in Python.