Check service actions work.

This commit is contained in:
Marek Wolan
2023-09-19 11:41:02 +01:00
parent 610517d817
commit aa6834ad08
3 changed files with 256 additions and 182 deletions

File diff suppressed because one or more lines are too long

View File

@@ -139,7 +139,6 @@ class NIC(SimComponent):
"speed": self.speed,
"mtu": self.mtu,
"wake_on_lan": self.wake_on_lan,
"dns_servers": self.dns_servers,
"enabled": self.enabled,
}
)

View File

@@ -204,7 +204,7 @@ class IOSoftware(Software):
"max_sessions": self.max_sessions,
"tcp": self.tcp,
"udp": self.udp,
"ports": [port.name for port in self.ports], # TODO: not sure if this should be port.name or port.value
"port": self.port.value,
}
)
return state