Skip to content
Snippets Groups Projects
Commit 64fd922d authored by Simone Spinelli's avatar Simone Spinelli
Browse files

More on device vendor

parent edba6fab
Branches
Tags
1 merge request!5Device workflows
......@@ -69,11 +69,16 @@ def get_snmp_info(subscription: DeviceInactive) -> State:
@step("Initialize subscription")
def initialize_subscription(
subscription: DeviceInactive, fqdn: str, ts_address: str, ts_port: str
subscription: DeviceInactive,
fqdn: str,
ts_address: ipaddress.IPv4Address,
ts_port: str,
device_vendor: str
) -> State:
subscription.device.fqdn = fqdn
subscription.device.ts_address = ts_address
subscription.device.ts_port = ts_port
subscription.device.device_vendor = device_vendor
subscription.description = f"Device {fqdn} type \
({subscription.device_type})"
subscription = DeviceProvisioning.from_other_lifecycle(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment