Skip to content
Snippets Groups Projects
Commit 3d68aec1 authored by Karel van Klink's avatar Karel van Klink :smiley_cat: Committed by Simone Spinelli
Browse files

document product types

parent cad2815b
No related branches found
No related tags found
1 merge request!52Feature/nat 212 213
"""Product types define the different products that are available.
Multiple product blocks may insist on a single product type. In that sense, a product type is a mode general description
of a product. For example, the product type {class}`Device` must either be a router or a switch, both being separate
product blocks.
"""
......@@ -5,6 +5,11 @@ from gso.products.product_blocks.device import DeviceBlock, DeviceBlockInactive,
class DeviceType(strEnum):
"""Enumerator for different device types.
A device can either be a router or a switch.
"""
router = "router"
switch = "switch"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment