code: def add(self):
          
  
          c.action = 'add'
  
          if 'action' in request.params:
              if request.params['action'] == 'add':
                  v = VRF()
                  if request.params['rt'].strip() != '':
                      v.rt = request.params['rt']
                  if request.params['name'].strip() != '':
                      v.name = request.params['name']
                  v.description = request.params['description']
  
                  v.save()
                  redirect(url(controller='vrf', action='list'))
  
          return render('/vrf_add.html')
docs: Add a new VRF.