Check service actions work.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -139,7 +139,6 @@ class NIC(SimComponent):
|
|||||||
"speed": self.speed,
|
"speed": self.speed,
|
||||||
"mtu": self.mtu,
|
"mtu": self.mtu,
|
||||||
"wake_on_lan": self.wake_on_lan,
|
"wake_on_lan": self.wake_on_lan,
|
||||||
"dns_servers": self.dns_servers,
|
|
||||||
"enabled": self.enabled,
|
"enabled": self.enabled,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ class IOSoftware(Software):
|
|||||||
"max_sessions": self.max_sessions,
|
"max_sessions": self.max_sessions,
|
||||||
"tcp": self.tcp,
|
"tcp": self.tcp,
|
||||||
"udp": self.udp,
|
"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
|
return state
|
||||||
|
|||||||
Reference in New Issue
Block a user