0
0
Computer Networksknowledge~30 mins

Network Function Virtualization (NFV) in Computer Networks - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Network Function Virtualization (NFV)
📖 Scenario: You are working in a telecom company that wants to modernize its network infrastructure. Instead of using physical devices for each network function, the company wants to use software-based virtual functions to improve flexibility and reduce costs.
🎯 Goal: Build a simple conceptual model of Network Function Virtualization (NFV) by defining network functions as virtualized software components and organizing them in a virtualized infrastructure.
📋 What You'll Learn
Create a dictionary representing physical network functions with their names and types
Add a configuration variable to represent the virtualization layer
Use a comprehension to create a dictionary of virtual network functions by appending 'Virtual' to each physical function name
Add a final step to represent the deployment status of each virtual network function
💡 Why This Matters
🌍 Real World
Telecom companies use NFV to replace physical network devices with software running on standard servers, making networks more flexible and easier to manage.
💼 Career
Understanding NFV concepts is important for network engineers and IT professionals working in modern network infrastructure and cloud computing.
Progress0 / 4 steps
1
Define Physical Network Functions
Create a dictionary called physical_functions with these exact entries: 'Firewall': 'Security', 'Router': 'Routing', 'LoadBalancer': 'Traffic Management'
Computer Networks
Need a hint?

Use curly braces {} to create a dictionary with keys and values separated by colons.

2
Add Virtualization Layer Configuration
Create a variable called virtualization_layer and set it to the string 'NFV Infrastructure'
Computer Networks
Need a hint?

Assign the exact string to the variable using the equals sign.

3
Create Virtual Network Functions
Use a dictionary comprehension to create a dictionary called virtual_functions where each key is the physical function name appended with 'Virtual' and the value is the same type as in physical_functions. Use for name, ftype in physical_functions.items() in the comprehension.
Computer Networks
Need a hint?

Use a dictionary comprehension with {key_expression: value_expression for variable in iterable} syntax.

4
Add Deployment Status for Virtual Functions
Create a dictionary called deployment_status where each key is a virtual function name from virtual_functions and each value is the string 'Deployed'. Use a dictionary comprehension with for vname in virtual_functions.
Computer Networks
Need a hint?

Use a dictionary comprehension to assign the same value to all keys from another dictionary.