Hi, Mahmoud Rules are added in FirewallController._set_rule(): https://github.com/osrg/ryu/blob/master/ryu/app/rest_firewall.py#L492-L514
And the variable "rule" has the rule which was inputted via Curl. You can check this variable to verify whether your rule is valid. Thanks, Fujimoto On 2017年06月18日 05:31, Mahmoud Elzoghbi wrote:
Where or How can i add my own code to make verification before adding rule via Curl..------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel