def _get_vrf_context(self):
vrfid = 'default'
try:
- vrfid = utils.exec_command('/usr/bin/vrf id').strip()
+ vrfid = utils.exec_command('/usr/sbin/ip vrf id').strip()
except Exception, e:
self.logger.debug('failed to get vrf id (%s)' %str(e))
# ignore errors