def _nat_rules_for_internet_access(self,
                                       acl_no,
                                       network,
                                       netmask,
                                       inner_itfc,
                                       outer_itfc,
                                       vrf_name):
        acl_present = self._check_acl(acl_no, network, netmask)
        if not acl_present:
            conf_str = snippets.CREATE_ACL % (acl_no, network, netmask)
            self._edit_running_config(conf_str, 'CREATE_ACL')

        pool_name = "%s_nat_pool" % vrf_name
        conf_str = asr1k_snippets.SET_DYN_SRC_TRL_POOL % (acl_no, pool_name,
                                                          vrf_name)
        try:
            self._edit_running_config(conf_str, 'SET_DYN_SRC_TRL_POOL')
        except Exception as dyn_nat_e:
            LOG.info(_LI("Ignore exception for SET_DYN_SRC_TRL_POOL: %s. "
                         "The config seems to be applied properly but netconf "
                         "seems to report an error."), dyn_nat_e)

        conf_str = snippets.SET_NAT % (inner_itfc, 'inside')
        self._edit_running_config(conf_str, 'SET_NAT')

        conf_str = snippets.SET_NAT % (outer_itfc, 'outside')
        self._edit_running_config(conf_str, 'SET_NAT')
Remove a section of fields from the form, e.g. allowing you to
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/device_drivers/asr1k/asr1k_routing_driver.py/ASR1kRoutingDriver._nat_rules_for_internet_access--crossover with--dataset/ETHPy150Open danielgtaylor/braintree_django/django_braintree/forms.py/BraintreeForm.remove_section