def getos():
 return {'os': __pillar__.get('proxy', {}).get('driver', '')}

def getos ( ) : return { 'os' : __pillar__ . get ( 'proxy' , { } ) . get ( 'driver' , '' ) }
returns the operating system name running on the network device .