text: from jinja2 import FileSystemLoader, StrictUndefined
  from jinja2.environment import Environment
  
  
  def main():
      env = Environment(undefined=StrictUndefined)
      env.loader = FileSystemLoader(".")
  
      j2_vars = {"vrf_name": "blue", "rd_number": "100:1", "ipv4_af": True, "ipv6_af": True}
  
      print()
      template_file = "exercise3.j2"
      template = env.get_template(template_file)
      cfg = template.render(**j2_vars)
      print(cfg)
      print()
  
  
  if __name__ == "__main__":
      main()
  