diff options
16 files changed, 53 insertions, 398 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/cacert.pem b/deploy/adapters/ansible/roles/open-contrail/files/provision/cacert.pem deleted file mode 100755 index 66f82c5d..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/cacert.pem +++ /dev/null @@ -1,70 +0,0 @@ -Certificate: - Data: - Version: 1 (0x0) - Serial Number: 1 (0x1) - Signature Algorithm: md5WithRSAEncryption - Issuer: C=US, ST=CA, O=Open vSwitch, OU=switchca, CN=OVS switchca CA Certificate (2015 Sep 15 13:35:47) - Validity - Not Before: Sep 15 04:35:47 2015 GMT - Not After : Sep 12 04:35:47 2025 GMT - Subject: C=US, ST=CA, O=Open vSwitch, OU=switchca, CN=OVS switchca CA Certificate (2015 Sep 15 13:35:47) - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - Public-Key: (2048 bit) - Modulus: - 00:98:04:9b:9f:2e:e2:0b:4a:59:9d:00:74:dc:b4: - cb:fc:8d:c4:7d:32:35:e5:1c:ee:94:f0:13:e6:54: - 1c:2e:47:47:f0:bd:f2:7f:ae:cb:6a:2f:ec:74:5c: - 14:39:80:bf:7b:d1:83:90:ec:7a:7d:02:8c:fc:67: - de:99:53:69:1f:5c:61:d5:0a:7f:93:df:02:d4:16: - d3:55:b8:28:5c:fd:32:5b:6c:af:03:c1:23:92:00: - 0e:2b:eb:32:07:00:99:64:14:32:e4:f8:76:b3:06: - e1:d0:54:5a:fc:92:cd:5e:e5:b7:85:43:9e:b8:79: - e4:23:a6:3c:0c:42:78:f4:d3:7e:33:1c:f2:5a:24: - ac:24:61:2f:72:b3:b1:e7:99:4e:ef:2d:85:26:de: - b6:59:16:25:1a:65:ce:95:9c:fd:c7:3c:30:44:1d: - 4c:3b:34:dd:8d:ad:1f:ee:06:8e:b1:2d:b1:bb:a6: - 68:62:52:98:c2:2d:a3:14:75:a7:5f:24:10:4f:74: - 4f:94:0b:61:bd:c5:f1:6b:78:fa:48:89:27:3b:04: - 4d:25:50:d1:4f:63:3d:4b:3c:cc:fa:df:20:f1:0c: - 3f:1d:44:9d:c2:3e:d4:12:07:72:a4:6a:11:03:2f: - 1d:71:d5:b2:de:b4:a6:d8:ad:7a:ac:c9:c7:8e:12: - 4d:47 - Exponent: 65537 (0x10001) - Signature Algorithm: md5WithRSAEncryption - 28:3f:32:46:dd:a9:c0:30:46:9a:29:ec:90:36:14:aa:a7:0c: - dc:67:a0:ec:81:dc:f9:34:35:c5:e4:9b:48:dd:c6:5a:ed:30: - 78:99:6c:32:8c:60:59:ab:dc:7a:86:bb:94:8b:98:db:62:33: - bd:4f:16:40:50:12:db:e9:b6:0c:f2:0b:0d:90:9d:b7:7a:ae: - b4:36:46:33:c5:ea:6a:37:ec:fe:6e:12:f1:98:10:89:48:fe: - 8a:68:11:1c:96:37:92:d9:cc:8a:ef:93:c3:53:6c:61:f7:f0: - 0b:2c:78:49:8e:e3:19:46:2b:1d:1c:65:c5:d9:6d:5d:04:54: - e7:e0:c7:aa:49:78:7d:2d:35:11:7e:05:b1:47:e4:96:39:97: - b5:5b:2b:6e:06:51:86:32:85:6a:7b:5f:63:08:85:31:6e:c3: - 12:0e:a0:ad:3a:d0:3f:db:e2:1b:6d:24:3a:bb:e7:61:5b:ba: - 1f:34:eb:34:07:e5:09:fe:0b:ba:76:48:49:6e:57:d4:14:76: - 11:af:52:39:9e:73:a7:e3:2a:5a:5c:fa:79:d7:7f:81:fd:80: - a7:d4:92:07:ef:a6:05:60:f9:b4:81:cb:8e:cb:b5:9e:2c:5d: - 40:fb:dc:c1:63:95:82:0b:2f:aa:8c:38:1d:96:63:ed:c9:1b: - ce:d2:d2:e7 ------BEGIN CERTIFICATE----- -MIIDeDCCAmACAQEwDQYJKoZIhvcNAQEEBQAwgYExCzAJBgNVBAYTAlVTMQswCQYD -VQQIEwJDQTEVMBMGA1UEChMMT3BlbiB2U3dpdGNoMREwDwYDVQQLEwhzd2l0Y2hj -YTE7MDkGA1UEAxMyT1ZTIHN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/deploy/adapters/ansible/roles/open-contrail/files/provision/compute.filters.patch b/deploy/adapters/ansible/roles/open-contrail/files/provision/compute.filters.patch deleted file mode 100755 index 04bf42f3..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/compute.filters.patch +++ /dev/null @@ -1,14 +0,0 @@ -*** a/compute.filters Mon Sep 28 15:13:48 2015 ---- b/compute.filters Mon Sep 28 15:16:06 2015 -*************** -*** 83,88 **** ---- 83,91 ---- - # nova/network/linux_net.py: 'ovs-vsctl', .... - ovs-vsctl: CommandFilter, ovs-vsctl, root - -+ # nova/virt/libvirt/vif.py: 'vrouter-port-control', ... -+ vrouter-port-control: CommandFilter, vrouter-port-control, root -+ - # nova/network/linux_net.py: 'ovs-ofctl', .... - ovs-ofctl: CommandFilter, ovs-ofctl, root - diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/model.py.patch b/deploy/adapters/ansible/roles/open-contrail/files/provision/model.py.patch deleted file mode 100755 index 7f7f7c6f..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/model.py.patch +++ /dev/null @@ -1,12 +0,0 @@ -*** a/model.py Mon Sep 28 15:05:29 2015 ---- b/model.py Mon Sep 28 15:17:32 2015 -*************** -*** 39,44 **** ---- 39,45 ---- - VIF_TYPE_HW_VEB = 'hw_veb' - VIF_TYPE_MLNX_DIRECT = 'mlnx_direct' - VIF_TYPE_MIDONET = 'midonet' -+ VIF_TYPE_VROUTER = 'vrouter' - VIF_TYPE_OTHER = 'other' - - # Constants for dictionary keys in the 'vif_details' field in the VIF diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/test_vif.py.patch b/deploy/adapters/ansible/roles/open-contrail/files/provision/test_vif.py.patch deleted file mode 100755 index 3e12c72a..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/test_vif.py.patch +++ /dev/null @@ -1,70 +0,0 @@ -*** a/test_vif.py Mon Sep 28 15:12:56 2015 ---- b/test_vif.py Mon Sep 28 15:19:20 2015 -*************** -*** 235,240 **** ---- 235,253 ---- - subnets=[subnet_bridge_4], - interface='eth0') - -+ network_vrouter = network_model.Network(id='network-id-xxx-yyy-zzz', -+ label=None, -+ bridge=None, -+ subnets=[subnet_bridge_4, -+ subnet_bridge_6], -+ interface='eth0') -+ -+ vif_vrouter = network_model.VIF(id='vif-xxx-yyy-zzz', -+ address='ca:fe:de:ad:be:ef', -+ network=network_vrouter, -+ type=network_model.VIF_TYPE_VROUTER, -+ devname='tap-xxx-yyy-zzz') -+ - vif_mlnx = network_model.VIF(id='vif-xxx-yyy-zzz', - address='ca:fe:de:ad:be:ef', - network=network_mlnx, -*************** -*** 796,801 **** ---- 809,851 ---- - self.vif_mlnx) - self.assertEqual(0, execute.call_count) - -+ def test_unplug_vrouter_with_details(self): -+ d = vif.LibvirtGenericVIFDriver() -+ with mock.patch.object(utils, 'execute') as execute: -+ d.unplug_vrouter(None, self.vif_vrouter) -+ execute.assert_called_once_with( -+ 'vrouter-port-control', -+ '--oper=delete --uuid=vif-xxx-yyy-zzz', -+ run_as_root=True) -+ -+ def test_plug_vrouter_with_details(self): -+ d = vif.LibvirtGenericVIFDriver() -+ instance = mock.Mock() -+ instance.name = 'instance-name' -+ instance.uuid = '46a4308b-e75a-4f90-a34a-650c86ca18b2' -+ instance.project_id = 'b168ea26fa0c49c1a84e1566d9565fa5' -+ instance.display_name = 'instance1' -+ with mock.patch.object(utils, 'execute') as execute: -+ d.plug_vrouter(instance, self.vif_vrouter) -+ execute.assert_has_calls([ -+ mock.call('ip', 'tuntap', 'add', 'tap-xxx-yyy-zzz', 'mode', -+ 'tap', run_as_root=True, check_exit_code=[0, 2, 254]), -+ mock.call('ip', 'link', 'set', 'tap-xxx-yyy-zzz', 'up', -+ run_as_root=True, check_exit_code=[0, 2, 254]), -+ mock.call('vrouter-port-control', -+ '--oper=add --uuid=vif-xxx-yyy-zzz ' -+ '--instance_uuid=46a4308b-e75a-4f90-a34a-650c86ca18b2 ' -+ '--vn_uuid=network-id-xxx-yyy-zzz ' -+ '--vm_project_uuid=b168ea26fa0c49c1a84e1566d9565fa5 ' -+ '--ip_address=0.0.0.0 ' -+ '--ipv6_address=None ' -+ '--vm_name=instance1 ' -+ '--mac=ca:fe:de:ad:be:ef ' -+ '--tap_name=tap-xxx-yyy-zzz ' -+ '--port_type=NovaVMPort ' -+ '--tx_vlan_id=-1 ' -+ '--rx_vlan_id=-1', run_as_root=True)]) -+ - def test_ivs_ethernet_driver(self): - d = vif.LibvirtGenericVIFDriver(self._get_conn(ver=9010)) - self._check_ivs_ethernet_driver(d, diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/vif.py.patch b/deploy/adapters/ansible/roles/open-contrail/files/provision/vif.py.patch deleted file mode 100755 index 103f084a..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/vif.py.patch +++ /dev/null @@ -1,91 +0,0 @@ -*** a/vif.py Mon Sep 28 15:13:30 2015 ---- b/vif.py Mon Sep 28 15:21:30 2015 -*************** -*** 332,337 **** ---- 332,347 ---- - - return conf - -+ def get_config_vrouter(self, instance, vif, image_meta, -+ inst_type, virt_type): -+ conf = self.get_base_config(instance, vif, image_meta, -+ inst_type, virt_type) -+ dev = self.get_vif_devname(vif) -+ designer.set_vif_host_backend_ethernet_config(conf, dev) -+ -+ designer.set_vif_bandwidth_config(conf, inst_type) -+ return conf -+ - def get_config(self, instance, vif, image_meta, - inst_type, virt_type): - vif_type = vif['type'] -*************** -*** 526,531 **** ---- 536,580 ---- - except processutils.ProcessExecutionError: - LOG.exception(_LE("Failed while plugging vif"), instance=instance) - -+ def plug_vrouter(self, instance, vif): -+ """Plug into Contrail's network port -+ Bind the vif to a Contrail virtual port. -+ """ -+ dev = self.get_vif_devname(vif) -+ ip_addr = '0.0.0.0' -+ ip6_addr = None -+ subnets = vif['network']['subnets'] -+ for subnet in subnets: -+ if not subnet['ips']: -+ continue -+ ips = subnet['ips'][0] -+ if not ips['address']: -+ continue -+ if (ips['version'] == 4): -+ if ips['address'] is not None: -+ ip_addr = ips['address'] -+ if (ips['version'] == 6): -+ if ips['address'] is not None: -+ ip6_addr = ips['address'] -+ -+ ptype = 'NovaVMPort' -+ if (cfg.CONF.libvirt.virt_type == 'lxc'): -+ ptype = 'NameSpacePort' -+ -+ cmd_args = ("--oper=add --uuid=%s --instance_uuid=%s --vn_uuid=%s " -+ "--vm_project_uuid=%s --ip_address=%s --ipv6_address=%s" -+ " --vm_name=%s --mac=%s --tap_name=%s --port_type=%s " -+ "--tx_vlan_id=%d --rx_vlan_id=%d" % (vif['id'], -+ instance.uuid, vif['network']['id'], -+ instance.project_id, ip_addr, ip6_addr, -+ instance.display_name, vif['address'], -+ vif['devname'], ptype, -1, -1)) -+ try: -+ linux_net.create_tap_dev(dev) -+ utils.execute('vrouter-port-control', cmd_args, run_as_root=True) -+ except processutils.ProcessExecutionError: -+ LOG.exception(_LE("Failed while plugging vif"), instance=instance) -+ - def plug(self, instance, vif): - vif_type = vif['type'] - -*************** -*** 679,684 **** ---- 728,746 ---- - LOG.exception(_LE("Failed while unplugging vif"), - instance=instance) - -+ def unplug_vrouter(self, instance, vif): -+ """Unplug Contrail's network port -+ Unbind the vif from a Contrail virtual port. -+ """ -+ dev = self.get_vif_devname(vif) -+ cmd_args = ("--oper=delete --uuid=%s" % (vif['id'])) -+ try: -+ utils.execute('vrouter-port-control', cmd_args, run_as_root=True) -+ linux_net.delete_net_dev(dev) -+ except processutils.ProcessExecutionError: -+ LOG.exception( -+ _LE("Failed while unplugging vif"), instance=instance) -+ - def unplug(self, instance, vif): - vif_type = vif['type'] - diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-cert.pem b/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-cert.pem deleted file mode 100755 index dc354d33..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-cert.pem +++ /dev/null @@ -1,70 +0,0 @@ -Certificate: - Data: - Version: 1 (0x0) - Serial Number: 2 (0x2) - Signature Algorithm: md5WithRSAEncryption - Issuer: C=US, ST=CA, O=Open vSwitch, OU=switchca, CN=OVS switchca CA Certificate (2015 Sep 15 13:35:47) - Validity - Not Before: Sep 15 04:36:00 2015 GMT - Not After : Sep 12 04:36:00 2025 GMT - Subject: C=US, ST=CA, O=Open vSwitch, OU=Open vSwitch certifier, CN=vtep id:b55b8c06-9593-4406-8a85-f7edd09a1ea9 - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - Public-Key: (2048 bit) - Modulus: - 00:ca:57:ec:4d:a3:79:6c:a4:cd:21:c7:52:a8:9f: - 61:85:ee:a5:91:79:4a:f3:80:ac:1b:ac:1a:6d:0b: - 96:b9:cf:1f:a6:23:1f:45:ff:62:de:35:8f:e8:8d: - 4a:63:23:70:d5:1e:78:72:86:04:08:e2:fd:66:04: - e0:1e:ce:57:03:98:f7:a5:92:5a:f1:cc:3c:24:37: - 22:4e:97:0d:65:4b:98:08:5b:cd:1c:eb:67:f5:9c: - c0:ba:86:94:2a:15:dc:5d:47:6e:45:49:03:62:a3: - 37:5f:54:58:42:49:6d:a3:4c:c6:21:f6:08:36:8c: - 69:20:6a:f8:7c:5d:82:30:14:1a:15:ad:b9:42:ba: - 5d:13:99:e2:6f:aa:10:e4:e1:25:58:90:66:a7:e7: - bc:c7:e4:5c:79:2a:1b:b2:b3:d1:7b:4d:78:a6:28: - 66:bc:ee:97:6b:b4:3d:a0:65:16:10:04:fb:e9:4e: - 82:ac:88:c2:6a:a4:0e:d6:e5:ad:ee:bc:50:a7:73: - 97:6d:12:96:46:cb:ee:4d:15:ad:d4:a3:b5:95:82: - 2e:e7:1b:69:70:1d:b5:c9:06:47:44:2b:55:84:23: - 5b:75:56:86:c4:a7:b9:1d:46:9e:fa:8a:a5:dc:f9: - 70:16:6a:87:ee:20:1b:02:d1:2d:83:65:e0:7c:24: - 99:e9 - Exponent: 65537 (0x10001) - Signature Algorithm: md5WithRSAEncryption - 50:bf:af:aa:b5:a7:3c:67:2e:34:92:8a:b8:cc:b9:96:a8:b8: - 16:cd:d5:5d:d3:b6:1c:44:b4:08:c5:89:ea:17:97:88:a4:e4: - 89:b9:69:2b:71:36:77:05:dc:0a:50:fe:2d:8f:8c:72:a5:b9: - b1:45:23:0d:d3:7a:80:c8:9e:66:74:e2:42:ee:96:19:e5:88: - 3d:e3:ea:3c:d4:51:1e:e0:34:1f:0c:d3:9a:f7:99:9b:af:0b: - 23:57:87:f0:dc:8c:32:1c:e9:63:65:f3:cd:e5:22:ed:ea:fe: - 4f:be:0e:23:0d:8e:3e:09:aa:5e:20:2b:1a:4f:70:92:4a:a9: - 24:6e:a0:c6:86:b5:14:7d:52:71:cf:b8:5c:75:d4:6a:92:06: - 30:cf:71:72:ff:44:63:22:10:79:38:53:ec:6f:19:3d:63:92: - 69:3f:f2:f4:28:d4:ef:dd:af:32:84:c5:a0:c0:c9:5f:1f:02: - 47:76:bd:85:85:4e:7c:58:61:1a:ce:4c:03:45:d7:5c:dd:59: - 6c:22:e0:cb:2c:2d:b1:44:4c:03:dd:21:ff:58:6e:f7:09:4f: - 34:e0:24:3a:67:b1:33:ae:4a:bc:85:db:4b:12:ef:21:66:6a: - f0:b9:ea:90:72:b1:0b:34:9a:8d:be:f3:d1:02:56:0f:d7:bb: - 0a:eb:c2:f1 ------BEGIN CERTIFICATE----- -MIIDgDCCAmgCAQIwDQYJKoZIhvcNAQEEBQAwgYExCzAJBgNVBAYTAlVTMQswCQYD -VQQIEwJDQTEVMBMGA1UEChMMT3BlbiB2U3dpdGNoMREwDwYDVQQLEwhzd2l0Y2hj -YTE7MDkGA1UEAxMyT1ZTIHN3aXRjaGNhIENBIENlcnRpZmljYXRlICgyMDE1IFNl -cCAxNSAxMzozNTo0NykwHhcNMTUwOTE1MDQzNjAwWhcNMjUwOTEyMDQzNjAwWjCB -iTELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRUwEwYDVQQKEwxPcGVuIHZTd2l0 -Y2gxHzAdBgNVBAsTFk9wZW4gdlN3aXRjaCBjZXJ0aWZpZXIxNTAzBgNVBAMTLHZ0 -ZXAgaWQ6YjU1YjhjMDYtOTU5My00NDA2LThhODUtZjdlZGQwOWExZWE5MIIBIjAN -BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAylfsTaN5bKTNIcdSqJ9hhe6lkXlK -84CsG6wabQuWuc8fpiMfRf9i3jWP6I1KYyNw1R54coYECOL9ZgTgHs5XA5j3pZJa -8cw8JDciTpcNZUuYCFvNHOtn9ZzAuoaUKhXcXUduRUkDYqM3X1RYQklto0zGIfYI -NoxpIGr4fF2CMBQaFa25QrpdE5nib6oQ5OElWJBmp+e8x+RceSobsrPRe014pihm -vO6Xa7Q9oGUWEAT76U6CrIjCaqQO1uWt7rxQp3OXbRKWRsvuTRWt1KO1lYIu5xtp -cB21yQZHRCtVhCNbdVaGxKe5HUae+oql3PlwFmqH7iAbAtEtg2XgfCSZ6QIDAQAB -MA0GCSqGSIb3DQEBBAUAA4IBAQBQv6+qtac8Zy40koq4zLmWqLgWzdVd07YcRLQI -xYnqF5eIpOSJuWkrcTZ3BdwKUP4tj4xypbmxRSMN03qAyJ5mdOJC7pYZ5Yg94+o8 -1FEe4DQfDNOa95mbrwsjV4fw3IwyHOljZfPN5SLt6v5Pvg4jDY4+CapeICsaT3CS -SqkkbqDGhrUUfVJxz7hcddRqkgYwz3Fy/0RjIhB5OFPsbxk9Y5JpP/L0KNTv3a8y -hMWgwMlfHwJHdr2FhU58WGEazkwDRddc3VlsIuDLLC2xREwD3SH/WG73CU804CQ6 -Z7Ezrkq8hdtLEu8hZmrwueqQcrELNJqNvvPRAlYP17sK68Lx ------END CERTIFICATE----- diff --git a/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-privkey.pem b/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-privkey.pem deleted file mode 100755 index 673f4242..00000000 --- a/deploy/adapters/ansible/roles/open-contrail/files/provision/vtep-privkey.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowI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a7yE0o29QHMa -m3du+MeZgioa+VkcXBpHxoPlK/OPhIc5BHSl6IErVkQuc41M9EVlQY3PRezQra55 -5A5lCMgfTWRn0xgeIl9/ISoZUsEtcFnBbcQbFCOF9T2eP8kQ8j4/raf11VxcFUfT -YmDMS02AGBHbnxC0IWREkdECgYBDaXQyEAfS9jZ/RjRrYGRZtmPeQbKAY927HXDw -JZAInRXsWdrMEKV/DUdIkca2U05v54fn7/XQjw9z2T2pO8u7LVMc+fGXspb09xqr -VaU4seXshHwUi1ZewHwG2x2vubPbxO1qZIVsl8fFQhuPzkbkD0LYyC1Nw1k9692z -6+RZbQKBgH/6OqqsHLnpzQD0drcOjbXws53g3/eECPXCMNzzw0AiSkyrGWzSonMD -+uSMrG0f7DwvHxZ09bn4qqFqCE7yhoCWWUYSBZKEDYzpxTq9krahPmaJznaBXyFi -K2rfym1sYEZvDT9nS5TROtiIW0uANHOjI9yw+a8TQEyQu8CH2/C0 ------END RSA PRIVATE KEY----- diff --git a/docs/FAQ/faq.rst b/docs/FAQ/faq.rst index 4697d537..feae4142 100644 --- a/docs/FAQ/faq.rst +++ b/docs/FAQ/faq.rst @@ -68,7 +68,7 @@ The public virtual IP is configured in "compass4nfv/deploy/conf/network_cfg.yaml How to access BM nodes after deployment ======================================= -1. First you should login Compass VM via ssh command on JumpHost by default user/pass root/root. +1. First you should login Compass VM via ssh command on Jumphost by default user/pass root/root. The default login IP of Compass VM is configured in "compass4nfv/deploy/conf/base.conf", defined as below: .. code-block:: bash @@ -99,7 +99,7 @@ which are configured in "compass4nfv/deploy/conf/base.conf", defined as below: +---+VM+--+ | +-------------+ +--------------------+ | | | | +-------------+ - | JumpHost | | | | + | Jumphost | | | | | | +----------+ host3 | +--------------------+ | | +-------------+ @@ -111,8 +111,8 @@ Where is OpenStack RC file It is located /opt/admin-openrc.sh in each BM node as default. Please source it first if you want to use OpenStack CLI. -How to recovery network connection after jumpserver reboot -========================================================== +How to recovery network connection after Jumphost reboot +======================================================== .. code-block:: bash diff --git a/docs/FAQ/how-to-deploy-while-jumphost-cannot-access-internet.rst b/docs/FAQ/how-to-deploy-while-jumphost-cannot-access-internet.rst index 37db1aed..f12d38d0 100644 --- a/docs/FAQ/how-to-deploy-while-jumphost-cannot-access-internet.rst +++ b/docs/FAQ/how-to-deploy-while-jumphost-cannot-access-internet.rst @@ -1,10 +1,10 @@ .. two dots create a comment. please leave this logo at the top of each of your rst files. -How to deploy while jumphost cannot access internet +How to deploy while Jumphost cannot access internet =================================================== -If your jumphost cannot access internet, don't worry, you can definitely deploy compass without internet access. +If your Jumphost cannot access internet, don't worry, you can definitely deploy compass without internet access. -You can download compass.iso first from OPNFV artifacts repository (http://artifacts.opnfv.org/, search compass4nfv and select an appropriate ISO file) via wget or curl. Then copy the compass.iso and the compass4nfv repository to your jumphost and editor the ISO_URL to your local path. +You can download compass.iso first from OPNFV artifacts repository (http://artifacts.opnfv.org/, search compass4nfv and select an appropriate ISO file) via wget or curl. Then copy the compass.iso and the compass4nfv repository to your Jumphost and editor the ISO_URL to your local path. After that you can deploy compass without internet access. diff --git a/docs/FAQ/index.rst b/docs/FAQ/index.rst index d152895a..7b349d0e 100644 --- a/docs/FAQ/index.rst +++ b/docs/FAQ/index.rst @@ -2,7 +2,7 @@ .. http://creativecommons.org/licenses/by/4.0 ========================================================= -OPNFV(Brahmaputra) Compass4nfv Frequently Asked Questions +OPNFV(Colorado) Compass4nfv Frequently Asked Questions ========================================================= Contents: diff --git a/docs/installationprocedure/bmdeploy.rst b/docs/installationprocedure/bmdeploy.rst index d08a8f8a..6ec70fa4 100644 --- a/docs/installationprocedure/bmdeploy.rst +++ b/docs/installationprocedure/bmdeploy.rst @@ -243,7 +243,7 @@ E.g. .. code-block:: bash - ########## Hardware Deploy Jumpserver PXE NIC ########## + ########## Hardware Deploy Jumphost PXE NIC ########## # you need comment out it when virtual deploy export INSTALL_NIC=eth1 diff --git a/docs/installationprocedure/installation.instruction.rst b/docs/installationprocedure/installation.instruction.rst index 9e552494..87c8a55c 100644 --- a/docs/installationprocedure/installation.instruction.rst +++ b/docs/installationprocedure/installation.instruction.rst @@ -36,13 +36,12 @@ The stable release ISO can be retrieved via `OPNFV software download page <https The daily build ISO can be retrieved via OPNFV artifacts repository: -http://artifacts.opnfv.org/ +http://artifacts.opnfv.org/compass4nfv.html NOTE: Search the keyword "compass4nfv/Colorado" to locate the ISO image. E.g. -compass4nfv/colorado/opnfv-2016-01-16_15-03-18.iso -compass4nfv/colorado/opnfv-2016-01-16_15-03-18.properties +compass4nfv/colorado/opnfv-2016-09-18_08-15-13.iso The name of iso image includes the time of iso building, you can get the daily ISO according the building time. @@ -57,7 +56,7 @@ To retrieve the repository of Compass4nfv on Jumphost use the following command: - git clone https://gerrit.opnfv.org/gerrit/compass4nfv -NOTE: PLEASE DO NOT GIT CLONE COMPASS4NFV IN root DIRECTORY(Include subfolders). +NOTE: PLEASE DO NOT GIT CLONE COMPASS4NFV IN ROOT DIRECTORY(INCLUDE SUBFOLDERS). To get stable /colorado release, you can use the following command: diff --git a/docs/installationprocedure/introduction.rst b/docs/installationprocedure/introduction.rst index d1c581e2..835a5788 100644 --- a/docs/installationprocedure/introduction.rst +++ b/docs/installationprocedure/introduction.rst @@ -5,7 +5,7 @@ Abstract ======== -This document describes how to install the Brahmaputra release of OPNFV when +This document describes how to install the Colorado release of OPNFV when using Compass4nfv as a deployment tool covering it's limitations, dependencies and required system resources. diff --git a/docs/installationprocedure/references.rst b/docs/installationprocedure/references.rst index 467bf08d..69ca4e7b 100644 --- a/docs/installationprocedure/references.rst +++ b/docs/installationprocedure/references.rst @@ -14,10 +14,12 @@ OPNFV `OPNFV Compass4nfv project page <https://wiki.opnfv.org/compass4nfv>`_ +`OPNFV Compass4nfv release notes <http://artifacts.opnfv.org/compass4nfv/colorado/docs/release-notes/index.html>`_ + OpenStack --------- -`OpenStack Liberty Release artifacts <http://www.openstack.org/software/liberty>`_ +`OpenStack Mitaka Release artifacts <http://www.openstack.org/software/mitaka>`_ `OpenStack documentation <http://docs.openstack.org>`_ diff --git a/docs/release-notes/index.rst b/docs/releasenotes/index.rst index 763280a5..e10b8372 100644 --- a/docs/release-notes/index.rst +++ b/docs/releasenotes/index.rst @@ -1,15 +1,13 @@ .. This work is licensed under a Creative Commons Attribution 4.0 International Licence. .. http://creativecommons.org/licenses/by/4.0 -============================================ -OPNFV((Colorado) Compass4nfv Release Notes -============================================ - -Contents: +========================================= +OPNFV Colorado: Compass4nfv Release Notes +========================================= .. toctree:: :numbered: - :maxdepth: 4 + :maxdepth: 3 release-notes.rst diff --git a/docs/release-notes/release-notes.rst b/docs/releasenotes/release-notes.rst index fa8b5f0c..ff8ec500 100644 --- a/docs/release-notes/release-notes.rst +++ b/docs/releasenotes/release-notes.rst @@ -2,10 +2,7 @@ .. http://creativecommons.org/licenses/by/4.0 .. (c) Weidong Shao (HUAWEI) and Justin Chi (HUAWEI) -============================================================================================= -Release Note for the Brahmaputra release of OPNFV when using Compass4nfv as a deployment tool -============================================================================================= - +Release Note for the Colorado release of OPNFV when using Compass4nfv as a deployment tool. Abstract ======== @@ -34,7 +31,7 @@ Release Data | **Release designation** | Colorado.1.0 | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | 2016.2.25 | +| **Release date** | September 22 2016 | | | | +--------------------------------------+--------------------------------------+ | **Purpose of the delivery** | OPNFV Colorado release | @@ -65,21 +62,21 @@ Version change Module version change ~~~~~~~~~~~~~~~~~~~~~ -This is the first release of compass4nfv as a deployment toolchain in OPNFV, the following +This is the Colorado release of compass4nfv as a deployment toolchain in OPNFV, the following upstream components supported with this release. - Ubuntu 14.04.3 - - Openstack (Liberty release) + - Openstack (Mitaka release) - - Opendaylight (Beryllium rc1 release) + - Opendaylight (Beryllium SR2 release) - - ONOS (Emu release) + - ONOS (Goldeneye release) Document version change ~~~~~~~~~~~~~~~~~~~~~~~ -None due to first release, and you can see document :ref:`document-label`. +Adjusted the document structure, and you can see document at `OPNFV(Colorado) Compass4nfv installation instructions <http://artifacts.opnfv.org/compass4nfv/docs/configguide/index.html>`_. Reason for new version ---------------------- @@ -91,13 +88,13 @@ Feature additions | **JIRA REFERENCE** | **SLOGAN** | | | | +--------------------------------------+-----------------------------------------+ -| JIRA: COMPASS-34 | Support OpenStack Liberty deployment | +| JIRA: COMPASS-438 | Add A Task Of ONOS-SFC | | | | +--------------------------------------+-----------------------------------------+ -| JIRA: COMPASS-307 | Integration OpenDaylight Beryllium | +| JIRA: COMPASS-443 | Add MOON in Compass | | | | +--------------------------------------+-----------------------------------------+ -| | | +| JIRA: COMPASS-444 | Add Xenial-mitaka ODL Support | | | | +--------------------------------------+-----------------------------------------+ @@ -111,7 +108,7 @@ Bug corrections | **JIRA REFERENCE** | **SLOGAN** | | | | +--------------------------------------+--------------------------------------+ -| JIRA: | | +| JIRA: COMPASS-459 | PXE boot may have NO SIGNAL | | | | +--------------------------------------+--------------------------------------+ @@ -122,9 +119,27 @@ Known Limitations, Issues and Workarounds System Limitations ------------------ +**Max number of blades:** 1 Jumphost, 3 Controllers, 20 Compute blades + +**Min number of blades:** 1 Jumphost, 1 Controller, 1 Compute blade + +**Storage:** Ceph is the only supported storage configuration + +**Min Jumphost requirements:** At least 16GB of RAM, 16 core CPU + Known issues ------------ ++---------------+----------------------------------------------+ +| **Scenario** | **Issue** | ++---------------+----------------------------------------------+ +| MOON | First ODL test FAILS because ODL/Openstack | +| | federation done in moon is partial. Only | +| | MD-SAL is federated (not AD-SAL) | ++---------------+----------------------------------------------+ +| | | ++---------------+----------------------------------------------+ + **JIRA TICKETS:** +--------------------------------------+--------------------------------------+ @@ -138,17 +153,12 @@ Known issues Workarounds ----------- -See JIRA: <link> +`See JIRA <https://jira.opnfv.org/issues/?jql=project%20%3D%20COMPASS%20AND%20labels%20%3D%20C-1.0-Workaround>`_ Test Result =========== -The Brahmaputra release with the Compass4nfv deployment toolchain has undergone QA test +The Colorado release with the Compass4nfv deployment toolchain has undergone QA test runs with the following results: - - `Functest test result <http://artifacts.opnfv.org/functest/docs/results/overview.html>`_ - - `Yardstick test result <http://testresults.opnfv.org/grafana/>`_ - -References -========== -For more information on the OPNFV Brahmaputra release, please visit -http://www.opnfv.org/brahmaputra + - `Functest test result <http://testresults.opnfv.org/reporting/functest/release/colorado/index-status-compass.html>`_ + - `Yardstick test result <http://testresults.opnfv.org/reporting/yardstick/release/colorado/index-status-compass.html>`_ |