-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SlotPath topology config validation. #285
Closed
Closed
Conversation
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
Summary: __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Differential Revision: D64798493
This pull request was exported from Phabricator. Differential Revision: D64798493 |
kimdo8736
pushed a commit
to kimdo8736/fboss
that referenced
this pull request
Oct 29, 2024
Summary: __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Differential Revision: D64798493
This pull request was exported from Phabricator. Differential Revision: D64798493 |
kimdo8736
pushed a commit
to kimdo8736/fboss
that referenced
this pull request
Nov 4, 2024
Summary: __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493
This pull request was exported from Phabricator. Differential Revision: D64798493 |
facebook-github-bot
pushed a commit
to facebook/mvfst
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/wangle
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/fbthrift
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/watchman
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 Pull Request resolved: #285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/sapling
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookexperimental/moxygen
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookincubator/katran
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/folly
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookexperimental/edencommon
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/proxygen
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/openr
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/fb303
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebook/hhvm
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookexperimental/rust-shed
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookincubator/hsthrift
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
facebook-github-bot
pushed a commit
to facebookincubator/fizz
that referenced
this pull request
Nov 5, 2024
Summary: X-link: facebookincubator/zstrong#1036 X-link: facebook/fboss#285 __Why__ 1. This is pre-req for other services to validate "PM generated data". e.g `platform_manager::ConfigValidator().isValidSlotPath(...)` 2. Beefing up SlotPath validation. See T205471819 more details. __What__ 1. Dropped ConfigValidator call in `Utils::parseDevicePath` because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour. 2. Added additional regex for group capturing because it doesn't seem to work with a single regex for some reason... 3. Added topological validation on slot path. __Next__ 1. DeviceName validation. basically does device definition exist in the slot path? 2. Suppose VersionedPmUnit... Reviewed By: somasun Differential Revision: D64798493 fbshipit-source-id: 9ca1936bf81250bda1fc6b9d800221055b6b2f48
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary:
Why
platform_manager::ConfigValidator().isValidSlotPath(...)
What
Utils::parseDevicePath
because we can assume that config paths are valid. If ill-input is provided, unexpected behaviour.Next
Differential Revision: D64798493