# Pastebin gzc3FKNy for mapping in agent1_mappings: physnet, bridge = mapping.split(":") self._core_plugin.create_port(context, {"vnic_type": VNIC_BAREMETAL, "device_owner": "baremetal:network", "network": network, .....})