Browse Source

fix up python setup

remove un-necessary files
change default port to 8000

Ticket: CM-XXXX
Reviewed By: None
Testing Done: python setup
kanna 2 years ago
parent
commit
d2f429cfff

+ 0
- 0
cumulus_ml2/__init__.py View File


+ 3
- 3
cumulus_ml2/mech_driver/config.py View File

@@ -3,10 +3,10 @@ from oslo_config import cfg
3 3
 CUMULUS_DRIVER_OPTS = [
4 4
     cfg.StrOpt('scheme',
5 5
                default='http',
6
-               help='Scheme for base URL for the Altocumulus API'),
6
+               help='Scheme for base URL for the Cumulus ML2 API'),
7 7
     cfg.IntOpt('protocol_port',
8
-               default='8140',
9
-               help='Protocol port for base URL for the Altocumulus API'),
8
+               default='8000',
9
+               help='Protocol port for base URL for the Cumulus ML2 API'),
10 10
     cfg.ListOpt('switches', default=[],
11 11
                 help=_('list of switch name/ip and remote switch port connected to this compute node'))
12 12
 ]

BIN
cumulus_ml2/utils/.discovery.py.swp View File


+ 0
- 0
cumulus_ml2/utils/__init__.py View File


+ 2
- 2
debian/cumulus-ml2-driver.install View File

@@ -1,3 +1,3 @@
1
-debian/tmp/usr/lib/python2.7/dist-packages/cumulus-ml2/mech_driver/*.py
2
-debian/tmp/usr/lib/python2.7/dist-packages/cumulus-ml2/utils/*.py
1
+debian/tmp/usr/lib/python2.7/dist-packages/cumulus_ml2/mech_driver/*.py
2
+debian/tmp/usr/lib/python2.7/dist-packages/cumulus_ml2/utils/*.py
3 3
 debian/tmp/usr/lib/python2.7/dist-packages/cumulus*.egg-info/*

+ 0
- 12
etc/cumulus/config.yaml View File

@@ -1,12 +0,0 @@
1
-bind: 0.0.0.0
2
-port: 8140
3
-debug: False
4
-
5
-#local_bind: 10.40.10.122
6
-#service_node: 10.40.10.1
7
-
8
-# Add the list of inter switch links that
9
-# need to have the vlan included on it by default
10
-# Not needed if doing Hierarchical port binding
11
-#trunk_interfaces: uplink
12
-

+ 1
- 3
setup.cfg View File

@@ -6,9 +6,7 @@ description-file =
6 6
 
7 7
 [files]
8 8
 packages =
9
-	cumulus-ml2
10
-data_files =
11
-  /etc/cumulus-ml2 = etc/cumulus/config.yaml
9
+	cumulus_ml2
12 10
 
13 11
 [entry_points]
14 12
 neutron.ml2.mechanism_drivers =

Loading…
Cancel
Save