The previous recipe showed you how Neutron invokes methods in a mechanism driver for Network-related operations. In this recipe, we will see how to process API requests for Subnets.
In this recipe, we will enhance our driver and implement the methods that will process API requests for a Subnet. Ensure that your DevStack setup is up and running, with
cookbook as one of the mechanism drivers, as shown in the earlier recipe.
/opt/stack/neutron/neutron/plugins/ml2/drivers/ ch10_ml2_mech_driver.pyusing an editor.