Skip to main content

Programming for networks and information security (5 cr)

Code: TT00BO26-3006

General information


Enrollment

01.06.2024 - 13.09.2024

Timing

02.09.2024 - 13.12.2024

Number of ECTS credits allocated

5 op

Mode of delivery

Contact teaching

Unit

Engineering and Business

Campus

Kupittaa Campus

Teaching languages

  • English

Seats

30 - 60

Degree programmes

  • Degree Programme in Information and Communication Technology
  • Degree Programme in Information and Communications Technology

Teachers

  • Jani Ekqvist

Groups

  • PTIVIS23T
    Data Networks and Cybersecurity
  • PTIETS23dncs
    Data Networks and Cybersecurity
  • 11.09.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 18.09.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 18.09.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 20.09.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 20.09.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 25.09.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 25.09.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 27.09.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 27.09.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 02.10.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 02.10.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 04.10.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 04.10.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 09.10.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 09.10.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 11.10.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 11.10.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 23.10.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 23.10.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 25.10.2024 08:00 - 10:00, Exercises Group 1, Programming for networks and information security TT00BO26-3006
  • 25.10.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 30.10.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 30.10.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 01.11.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 01.11.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 06.11.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 06.11.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 08.11.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 08.11.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 13.11.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 13.11.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 15.11.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 15.11.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 20.11.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 20.11.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 22.11.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 22.11.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 27.11.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 27.11.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 29.11.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 29.11.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 04.12.2024 12:00 - 14:00, Lecture, Programming for networks and information security TT00BO26-3006
  • 04.12.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 10.12.2024 14:00 - 16:00, Exercises, group 3, Programming for networks and information security TT00BO26-3006
  • 11.12.2024 12:00 - 14:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 11.12.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006
  • 13.12.2024 08:00 - 10:00, Exercises, group 1, Programming for networks and information security TT00BO26-3006
  • 13.12.2024 14:00 - 16:00, Exercises, group 2, Programming for networks and information security TT00BO26-3006

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 (or at least a link to them) will be available in itslearning.

Teaching methods

Lectures and program examples
Programming exercises
Independent learning

Exam schedules

Final exam in december.

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 56 h
Inpendent studying 79h, 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 RESTful API
-Command line arguments and piping content to a Python script
-Accessing OS from scripts

Further information

Itslearning and contact classes are the main communication channels used on this course.

The student is required to have a computer capable of running a simple Ubuntu virtual machine.

Evaluation scale

H-5

Assessment methods and criteria

Final exam in december during lecture or laboratory hours.
Programming exercises returned and presented in class throughout the course. Please note that to get credit for the exercises you have to be present at laboratory sessions.

Assessment criteria, fail (0)

Student has limited understanding of scripting and data structures.

Assessment criteria, satisfactory (1-2)

Student is able to create scripts to solve problems and automate actions in networking and cybersecurity. Student knows data structures and programming interfaces.

Assessment criteria, good (3-4)

Student is able to create scripts and software projects to solve problems and automate actions in networking and cybersecurity. Student understands data structures and programming interfaces.

Assessment criteria, excellent (5)

Student is able to independently design and create scripts and software projects to solve problems and automate actions in networking and cybersecurity. Student understands data structures and programming interfaces, and can apply their knowledge effectively in the solution.

Qualifications

Introduction to Programming or equivalent competence in Python.