Comment 2 for bug 1180783

Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

These methods are no longer used in the module:
  * _get_all_segmentation_ids (comment from Dane LeBlanc - https://review.openstack.org/#/c/46284/1/neutron/plugins/cisco/models/virt_phy_sw_v2.py)
  * _validate_vlan_id

Should we have to keep these?

If yes the method "_validate_vlan_id" can be review like that:
    def _validate_vlan_id(self, vlan_id):
        return (vlan_id and int(vlan_id) > 1)