This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Docker Server | |
============= | |
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install curl -y | |
curl -sSL https://get.docker.com/gpg | sudo apt-key add - | |
curl -sSL https://get.docker.com/ | sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cfg.StrOpt('api_extensions_path', default="<EDIT>", | |
help=_("The path for API extensions. " | |
"Note that this can be a colon-separated list of paths. " | |
"The __path__ of neutron.extensions is appended to " | |
"this, so if your extensions are in there you don't " | |
"need to specify them here."), | |
sample_default='extensions:/path/to/more/exts:/even/more/exts', | |
required=True), | |
# The path for API extensions. Note that this can be colon-separated list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_delete_network_exception(self): | |
tenants = self.tenants.list() | |
network = self.networks.first() | |
api.neutron.list_dhcp_agent_hosting_networks(IsA(http.HttpRequest), | |
network.id).\ | |
AndReturn(self.agents.list()) | |
api.neutron.network_ip_availability_show(IsA(http.HttpRequest), | |
network.id).\ | |
AndReturn(self.agents.list()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2012 NEC Corporation | |
# | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2012 NEC Corporation | |
# | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_delete_network (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 628, in test_delete_network | |
network.id).\ | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show | |
ip_availability = neutronclient(request).show_network_ip_availability( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nosetests horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --exclude-dir=horizon/test/customization --cover-package=horizon --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1 | |
Creating test database for alias 'default'... | |
...................................................................................................................................................................SSSSSSS............ | |
---------------------------------------------------------------------- | |
Ran 182 tests in 33.181s | |
OK (SKIP=7) | |
<MagicMock name='handle()' id='4454562000'><MagicMock name='handle()' id='4454740368'>Destroying test database for alias 'default'... | |
Running openstack_dashboard tests | |
nosetests openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change: /etc/lxc/default.conf | |
lxc.network.type = veth | |
lxc.network.script.up = /etc/lxc/ovs_up | |
lxc.network.script.down = /etc/lxc/ovs_down | |
lxc.network.flags = up | |
lxc.network.hwaddr = 00:16:3e:xx:xx:xx | |
OVS_UP | |
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Relevant Lines: | |
# Linuxbridge Settings | |
Q_AGENT=linuxbridge | |
LB_PHYSICAL_INTERFACE=eth0 | |
PUBLIC_PHYSICAL_NETWORK=default | |
LB_INTERFACE_MAPPINGS=default:eth0 | |
Remove Relevant Lines: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create/Mature working REST endpoint. | |
Recent reviews only seem to be maturing with several nits from core reviewers. | |
Mature and flesh out unit/integration testing new extension API. | |
Unit tests covers broad swath of the API. | |
Integration tests: I’ve been wrestling trying to create and actually validate tempest tests. Scenarios involve setting up networks, subnets, adding ports, setting up floating IP subnets, etc. Working diligently on this. | |
Update Neutron client to support this new API. | |
Looks like work was done for CLI here: https://github.com/manjeetbhatia/python-neutronclient/commit/97f016a4d43fd445ec1d7e8225de4709dd525660 | |
Not sure how we get this into upstream. Do we integrate this into the existing patch …or… create a new bug for “python client update to handle network-ip-availability”? |