Skip to content

Allow users of all types to create L2 networks#3158

Merged
yadvr merged 1 commit into
apache:4.11from
shapeblue:support-L2-networks-for-users
Mar 25, 2019
Merged

Allow users of all types to create L2 networks#3158
yadvr merged 1 commit into
apache:4.11from
shapeblue:support-L2-networks-for-users

Conversation

@dhlaluku
Copy link
Copy Markdown
Contributor

@dhlaluku dhlaluku commented Jan 30, 2019

Description

Allow users of all types to create L2 guest networks

Also fixes #3081

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

image

image

API
image

How Has This Been Tested?

@dhlaluku dhlaluku changed the title Allow users of all types to create L2 networks [WIP] Allow users of all types to create L2 networks Jan 30, 2019
@dhlaluku dhlaluku changed the title [WIP] Allow users of all types to create L2 networks Allow users of all types to create L2 networks Jan 30, 2019
@dhlaluku
Copy link
Copy Markdown
Contributor Author

@bluorangutan package

@dhlaluku
Copy link
Copy Markdown
Contributor Author

Comment thread server/src/main/java/com/cloud/network/NetworkServiceImpl.java Outdated
Copy link
Copy Markdown
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhlaluku can you reply/address Rafale's comment, and also check if this may allow normal users to create a L2 network with a custom vlan/vni ID? You can test this by creating a L2 network offering that allows specification of VLAN ID. /cc @nvazquez

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jan 30, 2019

Left some comments, otherwise LGTM.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jan 30, 2019

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@PaulAngus
Copy link
Copy Markdown
Member

@rhtyd i tested the feature in its 'previous form' offerings which allowed the operator to specify a VLAN were not visible to a 'user' only and 'admin'.
@dhlaluku can confirm.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jan 30, 2019

Thanks @PaulAngus LGTM based on your remark.

Copy link
Copy Markdown
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on Paul's remark

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2582

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jan 30, 2019

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@dhlaluku
Copy link
Copy Markdown
Contributor Author

@rhtyd the VLAN ID API request parameter is only available for the Admin, not available for any other user on both API and UI.

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-3361)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 24942 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3158-t3361-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_primary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 4 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_primary_storage_disabled_host Error 0.79 test_primary_storage.py
test_01_primary_storage_nfs Error 0.14 test_primary_storage.py
ContextSuite context=TestStorageTags>:setup Error 0.26 test_primary_storage.py
test_02_list_snapshots_with_removed_data_store Error 1.19 test_snapshots.py
test_11_migrate_vm Error 18.10 test_vm_life_cycle.py
test_14_secure_to_secure_vm_migration Error 81.53 test_vm_life_cycle.py
test_01_cancel_host_maintenace_with_no_migration_jobs Failure 0.14 test_host_maintenance.py
test_02_cancel_host_maintenace_with_migration_jobs Error 2.38 test_host_maintenance.py

@dhlaluku
Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Copy link
Copy Markdown
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested it manually, lets wait for latests smoketests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-3366)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28893 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3158-t3366-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_primary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 4 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_primary_storage_disabled_host Error 0.86 test_primary_storage.py
test_01_primary_storage_nfs Error 0.13 test_primary_storage.py
ContextSuite context=TestStorageTags>:setup Error 0.24 test_primary_storage.py
test_02_list_snapshots_with_removed_data_store Error 1.23 test_snapshots.py
test_11_migrate_vm Error 19.28 test_vm_life_cycle.py
test_14_secure_to_secure_vm_migration Error 62.70 test_vm_life_cycle.py
test_01_cancel_host_maintenace_with_no_migration_jobs Failure 0.12 test_host_maintenance.py
test_02_cancel_host_maintenace_with_migration_jobs Error 2.35 test_host_maintenance.py

@GabrielBrascher
Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@GabrielBrascher a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@dhlaluku
Copy link
Copy Markdown
Contributor Author

dhlaluku commented Feb 6, 2019

@rhtyd sure, let me set it against 4.11

@dhlaluku dhlaluku closed this Feb 6, 2019
@dhlaluku dhlaluku reopened this Feb 6, 2019
@GabrielBrascher GabrielBrascher modified the milestones: 4.12.0.0, 5.0.0.0 Feb 6, 2019
@dhlaluku dhlaluku force-pushed the support-L2-networks-for-users branch from 8c199e9 to cdc693b Compare February 7, 2019 09:50
@dhlaluku dhlaluku changed the base branch from master to 4.11 February 7, 2019 09:52
@dhlaluku
Copy link
Copy Markdown
Contributor Author

dhlaluku commented Feb 7, 2019

@rhtyd rebased against 4.11.
@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2600

@dhlaluku dhlaluku closed this Mar 13, 2019
@dhlaluku dhlaluku reopened this Mar 13, 2019
@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-3428)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 23307 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3158-t3428-kvm-centos7.zip
Smoke tests completed. 68 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@dhlaluku dhlaluku force-pushed the support-L2-networks-for-users branch 2 times, most recently from 21f824e to 40cc6f1 Compare March 21, 2019 10:46
@dhlaluku dhlaluku changed the base branch from 4.11 to master March 21, 2019 10:46
@dhlaluku dhlaluku force-pushed the support-L2-networks-for-users branch from 40cc6f1 to f54461a Compare March 21, 2019 11:16
@dhlaluku dhlaluku changed the base branch from master to 4.11 March 21, 2019 11:16
@dhlaluku
Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2637

@yadvr yadvr modified the milestones: 4.13.0.0, 4.11.3.0 Mar 25, 2019
@yadvr yadvr merged commit 55fb1c4 into apache:4.11 Mar 25, 2019
pbankonier pushed a commit to pbankonier/cloudstack that referenced this pull request Apr 24, 2019
Allow users of all types to create L2 guest networks.

Fixes apache#3081
winterhazel pushed a commit that referenced this pull request Jan 28, 2026
Correção na criação de _snapshots_ incrementais

Closes #3158

See merge request scclouds/scclouds!1323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants