This paper presents a framework aimed at simplifying the verification of virtual network functions (VNFs) by allowing developers to define VNFs using a user-friendly Java-based approach, which can then be automatically translated into formal verification models. The framework addresses the challenges faced due to the complexity and inaccessibility of existing formal verification tools, fostering easier network function modeling for those without deep expertise in formal methods. By automating the extraction of verification models from Java representations, the framework aims to reduce errors and streamline the process for ensuring the correctness and security of virtualized networks.