Fix not-nullable columns (#16373)

This commit is contained in:
PipoCanaja
2024-09-07 23:59:23 +02:00
committed by GitHub
parent 3da691277a
commit fc26490bc4

View File

@@ -399,15 +399,15 @@ class Vrp extends OS implements
'port_id' => $ifName_map->get($portAuthSessionEntryParameters['hwAccessInterface'] ?? null, 0),
'mac_address' => $mac_address,
'auth_id' => $authId,
'domain' => $portAuthSessionEntryParameters['hwAccessDomain'] ?? null,
'domain' => $portAuthSessionEntryParameters['hwAccessDomain'] ?? '',
'username' => $portAuthSessionEntryParameters['hwAccessUserName'] ?? '',
'ip_address' => $portAuthSessionEntryParameters['hwAccessIPAddress'] ?? null,
'ip_address' => $portAuthSessionEntryParameters['hwAccessIPAddress'] ?? '',
'authz_by' => $portAuthSessionEntryParameters['hwAccessType'] ?? '',
'authz_status' => $portAuthSessionEntryParameters['hwAccessAuthorizetype'] ?? '',
'host_mode' => $portAuthSessionEntryParameters['hwAccessAuthType'] ?? 'default',
'timeout' => $portAuthSessionEntryParameters['hwAccessSessionTimeout'] ?? null,
'timeout' => $portAuthSessionEntryParameters['hwAccessSessionTimeout'] ?? '',
'time_elapsed' => $portAuthSessionEntryParameters['hwAccessOnlineTime'] ?? null,
'authc_status' => $portAuthSessionEntryParameters['hwAccessCurAuthenPlace'] ?? null,
'authc_status' => $portAuthSessionEntryParameters['hwAccessCurAuthenPlace'] ?? '',
'method' => $portAuthSessionEntryParameters['hwAccessAuthtype'] ?? '',
'vlan' => $portAuthSessionEntryParameters['hwAccessVLANID'] ?? null,
]));