Use os_name instead of os to match switches-machines-hosts api

Change-Id: I82f858e3bfa109d0b81aa4aab21bfa1d689c6a50
Merge "Use os_name instead of os to match switches-machines-hosts api"