7dfecfd1f3
This fix is to add support for checking subnetpool extension support at Kuryr server startup time. If required extension is found missing, startup script will exit and kuryr driver server will not start. Change-Id: I264be36c1b3b23517f4f2ff741f51a5a86b2ae9f Closes-Bug: #1498393
20 lines
685 B
Python
Executable File
20 lines
685 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# 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 kuryr import controllers
|
|
from kuryr import server
|
|
|
|
controllers.check_for_neutron_ext_support()
|
|
server.start()
|