
This agent is required by the macvtap ml2 driver to support macvtap attachments for libvirt qemu/kvm instances. It introduces a new configuration option MACVTAP.physical_interface_mappings. The review is submitted in three parts: - Part 1 Common functions that are used by the ml2 driver and the agent - Part 2 The Mechanism Driver to support port binding for macvtap attachments - Part 3 (this part) The Macvtap L2 Agent. DocImpact New ML2 mech driver + l2 agent New config option "macvtap.physical_interface_mappings" Change-Id: I219d80b4c704ac2f41edd3501f4b2198925778d6 Closes-Bug: #1480979
21 lines
704 B
Python
21 lines
704 B
Python
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from neutron.plugins.ml2.drivers.macvtap.agent import (
|
|
macvtap_neutron_agent as agent_main)
|
|
|
|
|
|
def main():
|
|
agent_main.main()
|