This repository was archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
[Microservice API] VPC Mgr and Subnet Mgr Issue Fix #307
Merged
Merged
Changes from all commits
Commits
Show all changes
168 commits
Select commit
Hold shift + click to select a range
d745b47
Update design documents and table of content
xieus 1fc253e
Update README.md
9b0efb6
Add cloud-native key word
db0a699
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
xieus 424dd5b
Start docs for comm and controller
xieus b41edb9
Add design sketch
xieus 3e54c57
Design spec round 1
xieus d7d8ad9
Rename fast path file and start feature comparison
4c6588e
Update rescue path doc [DRAFT]
er1cthe0ne cceaa68
upload rescue_path.GIF
er1cthe0ne 9785656
update rescue path needed change table
er1cthe0ne 3e2b63e
rescue_path.GIF
er1cthe0ne f8fc472
rescue_path.adoc
er1cthe0ne 2480dd1
Design spec round 2
xieus 68eda0b
Monitoring design outline
c1c9cc7
Update comm docs
79e91fe
Update data storage design
xieus ca69892
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
xieus 8b154ab
Update data store
4561d1e
Complete review of existing dbs
xieus ca4610e
Update review table
xieus 24b4a36
Adjust table column width
xieus 45774da
Update feature comparsion table
18e500c
Finalize review section in data store
xieus cc99d14
Add design diagram
xieus a9c8232
Add a design diagram
xieus 2823921
Add files via upload
er1cthe0ne 47b7e45
fix "design" session level
er1cthe0ne 8c9c004
Update monitoring.adoc
er1cthe0ne 4180450
Update monitoring.adoc
er1cthe0ne dc39589
Add architectural design discussion
xieus 847900e
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
xieus 088feff
Update architecture image link
xieus a16e184
Finalize storage design
xieus 041b203
Update a few subtitles
xieus 359463e
Minor grammar fixes
xieus 5d178e4
Add controller architecture diagram
ca474b0
Update node_monitoring.adoc
er1cthe0ne 35a4ce3
Update monitoring.adoc
er1cthe0ne 4b97cfe
Update monitoring.adoc
er1cthe0ne 0df003a
Update node_monitoring.adoc
er1cthe0ne 72916af
Update monitoring.adoc
er1cthe0ne db7c3ee
Minor fixes for adoc file
xieus ed03395
Update monitoring.adoc
er1cthe0ne 6e9944d
Fix references in monitoring doc
xieus c0723c0
Merge branch 'docs/design' of https://github.com/futurewei-cloud/Alio…
xieus 9a41b55
Update monitoring.adoc
er1cthe0ne 24dddf8
Update monitoring.adoc
er1cthe0ne daf7f55
Add details based on disucssion
xieus f4bae19
Add a table of content
xieus f20d71f
Update monitoring.adoc
er1cthe0ne a753035
Update node_monitoring.adoc
er1cthe0ne 691d658
Update monitoring.adoc
er1cthe0ne 310b51d
Add one item for node monitoring
xieus b414287
Update node_monitoring.adoc
er1cthe0ne 5c8c86e
Reorganize monitoring doc and update design doc metadata format
xieus 1d0606e
Update rescue_path.adoc
er1cthe0ne a632e48
Add benchmark results
xieus fd3762d
Update rescue_path.adoc
er1cthe0ne 769f545
Update monitoring.adoc
er1cthe0ne de441c3
Update data model doc
eebe700
Merge from master
4cbd99a
Add API workflow chart for creation of vpc, subnet and port
xieus 46215bf
Update Create workflow chart
xieus 9b1fbec
Create dataplane_abstraction.adoc
er1cthe0ne 62ad9f4
Update dataplane_abstraction.adoc
er1cthe0ne 9e52e6c
Update dataplane_abstraction.adoc
er1cthe0ne 6b7975e
Update dataplane_abstraction.adoc
er1cthe0ne ea356ae
Update dataplane_abstraction.adoc
er1cthe0ne b9c563a
Update dataplane_abstraction.adoc
er1cthe0ne 6c071a0
Update dataplane_abstraction.adoc
er1cthe0ne 9728695
Update dataplane_abstraction.adoc
er1cthe0ne a915d5b
Add workflow option 2
ad49c7c
Update system_flow.adoc
er1cthe0ne c93da51
added - Reference: Neutron High Level Flow
er1cthe0ne 7feebf8
Update system_flow.adoc
er1cthe0ne 7dc4d4b
Update creation workflow
45ba64e
Update system_flow.adoc
er1cthe0ne 68b0553
check permission
0c0faa6
api gateway draft
4dcd9f5
Merge branch 'master' into docs/design
ec05e70
update controller doc
7b53131
Merge branch 'master' into docs/design
f0622e2
Update ToC with microservice doc link
ab9736e
Update ToC and add vpc/mac manager design files
f5a5154
Add key difference file
a102fb1
Merge branch 'master' into docs/design
ac115c6
Minor updates in system flow
80b4a4d
Add microservice snapshot table
669c1e4
Add concurrency handling
cb72f12
Update controller design doc
516a4f2
update api_gateway file name
8a63380
update file names
22b1e64
Merge mac manager design spec from eunju:feature/macmanager
bdcb7c3
Merge from master
83e691b
Add API completeness doc
ef6a1a8
Updtate api_completeness table
057c314
Add API count
66743d2
Add references for OpenStack and Alcor
fb74537
Merge branch 'master' into docs/design
cdd80c5
Add vpc/subnet pumls
af326f9
Merge branch 'master' into docs/design
62f6e39
update vpc puml and system flow adoc
ef2d717
Add vm/vpc workflows and puml template
ad7fd05
Merge from xieus/master
f58577c
Squashed commit of the following:
592bdd0
Add a set of new workflows and start services docs
1804923
Clean node manager pom.xml and modify docker file
c3fd4b5
Clean mac manager pom.xml and modify docker file
584e38a
Clean port manager pom.xml and modify docker file
c58eaf7
Clean ip manager pom.xml and modify docker file
c1775e0
Clean route manager pom.xml and modify docker file
ad76d8c
Add maven compile plugin to route pom
fc7961b
Clean subnet manager pom.xml and modify docker file
a532098
Clean vpc manager pom.xml and modify docker file
d708224
Clean API gateway pom.xml and modify docker file
1647924
Update pom for lib, web and all other services
19674f0
Update main pom file
f257f57
Update schema pom files and add dependencies to all service pom
c19ce7d
Merge branch 'master' of https://github.com/futurewei-cloud/alcor
eb3877f
Temp disable mac manager UTs for further investigation
5ae43cd
Merge branch 'master' of https://github.com/futurewei-cloud/alcor
7912c8d
Merge from master
a566f2f
Outline design doc for dpm,mq,nhm,nmm, update controller and toc docs
8c0052b
Add nova integration doc
e6fdcd1
Update openstack workflow link
9158ce3
update link
105a37d
update puml file link
f3da89d
add a temp vm_create puml under design and update puml file link in n…
7ea3c7b
update puml file link
b8afc29
update puml file link
1665801
update puml file link
a8f1ce3
Clean mac manager pom.xml and modify docker file
5094345
Clean vpc manager pom.xml and modify docker file
67cdfc9
Update pom for lib, web and all other services
8b47084
Update schema pom files and add dependencies to all service pom
3bca77c
Temp disable mac manager UTs for further investigation
2709c68
Merge branch 'master' of https://github.com/xieus/alcor
b2446b1
Merge branch 'upstream_master' into docs/design
f015303
Reorg design docs into an Antora-supported structure
77ef00f
update antora.yml and rename toc to index
466a237
Add playbook yml
b895a4d
add nav adoc
67def70
update antora.yml
e7dd179
update antora.yml format
7794ff0
Merge pull request #2 from xieus/docs/design
44e57fd
Move adoc files under pages folder
622ad96
update antora playbook
e9de510
update links in README
17fbbca
move image and workflow up to ROOT
a55ff88
update links in affected docs
c15dc85
Merge from alcor/master
5085ddf
sync up
kevin-zhonghao 98a447c
Merge remote-tracking branch 'remotes/upstream/master' into new_master
kevin-zhonghao f6d42f2
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao ee965e7
sync up
kevin-zhonghao 3f81196
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao df99b38
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao d8b23d4
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao af3a28c
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao 2d8cf02
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao 95d4e01
Merge branch 'master' of https://github.com/futurewei-cloud/alcor int…
kevin-zhonghao 40e30c4
hotfix/issue
kevin-zhonghao 96fa229
update
kevin-zhonghao eecba2d
fix comments
kevin-zhonghao 612b6e9
sync up
kevin-zhonghao 50e8dab
fix gateway ip behavior issue
kevin-zhonghao fbdb8ea
fix comments
kevin-zhonghao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
services/subnet_manager/src/main/java/com/futurewei/alcor/subnet/config/ConstantsConfig.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /* | ||
| Copyright 2019 The Alcor Authors. | ||
|
|
||
| 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. | ||
| */ | ||
| package com.futurewei.alcor.subnet.config; | ||
|
|
||
| public class ConstantsConfig { | ||
|
|
||
| public static int HighIpInterval = 1; | ||
| public static int LowIpInterval = 3; | ||
| public static int BaseInterval = 0; | ||
|
|
||
| } |
This file contains hidden or 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
This file contains hidden or 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
23 changes: 23 additions & 0 deletions
23
...bnet_manager/src/main/java/com/futurewei/alcor/subnet/exception/GatewayIpUnsupported.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| Copyright 2019 The Alcor Authors. | ||
|
|
||
| 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. | ||
| */ | ||
| package com.futurewei.alcor.subnet.exception; | ||
|
|
||
| import org.springframework.http.HttpStatus; | ||
| import org.springframework.web.bind.annotation.ResponseStatus; | ||
|
|
||
| @ResponseStatus(code= HttpStatus.INTERNAL_SERVER_ERROR, reason="GatewayIp is unsupported") | ||
| public class GatewayIpUnsupported extends Exception { | ||
| } |
23 changes: 23 additions & 0 deletions
23
...ces/subnet_manager/src/main/java/com/futurewei/alcor/subnet/exception/SubnetIdIsNull.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| Copyright 2019 The Alcor Authors. | ||
|
|
||
| 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. | ||
| */ | ||
| package com.futurewei.alcor.subnet.exception; | ||
|
|
||
| import org.springframework.http.HttpStatus; | ||
| import org.springframework.web.bind.annotation.ResponseStatus; | ||
|
|
||
| @ResponseStatus(code= HttpStatus.INTERNAL_SERVER_ERROR, reason="Subnet id is null") | ||
| public class SubnetIdIsNull extends Exception { | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add the logic here?
cidrToFirstIpAndLastIp is used somewhere else that actually asks the first and last Ip, right? If so, then this new logic is going to break codes in those places.
I think we should have a new method that handles the cut explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method is used for creating Ip Address Range, and Ip Address Range may also need this fix, right? let us talk about this.