-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cde8e6
commit 31659db
Showing
3 changed files
with
32 additions
and
89 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
USAGE: link [PATH/TO/STRAY-DEVICE] @ [PATH/TO/RACK/OR/DEVICE] @ Slot (Optional) | ||
Moves a stray-device to a parent in the OGREE hierarchy. | ||
USAGE: link [PATH/TO/STRAY-DEVICE]@[PATH/TO/PARENT]@[AttributeName=AttributeValue (Optional)] | ||
Attaches a stray object to a parent in the OGREE hierarchy. | ||
|
||
NOTE | ||
At this time it is recommended to not enclose the paths in quotes. If the parent is a device then the parent slot must be specified. | ||
It is possible to also set or modify attributes of the object by adding one or more `@attributeName=attributeValue` to the command. | ||
|
||
EXAMPLE | ||
|
||
link /Physical/Stray/myDevice @ /Physical/demo/buildg/room/rackA | ||
link /Physical/Stray/myDevice @ /Physical/demo/buildg/room/rackA/deviceA @ 1 | ||
link /Physical/Stray@/Physical/site/bldg/room/rack | ||
link /Physical/Stray@/Physical/site/bldg/room/rack@slots=[slot1,slot2] | ||
link /Physical/Stray@/Physical/site/bldg/room/rack@slots=[slot1,slot2]@orientation=front |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
USAGE: unlink [PATH/TO/DEVICE] @ [PATH/TO/STRAY-DEVICE-PARENT] (Optional) | ||
Moves a device from the OGREE hierarchy to be stray-device. | ||
USAGE: unlink [PATH/TO/DEVICE] | ||
Moves an object from the OGREE hierarchy to /Physical/Stray. The objet will no longer have a parent. | ||
|
||
NOTE | ||
At this time it is recommended to not use quotes. An empty path for the destination is optional thus can be left empty | ||
|
||
EXAMPLE | ||
|
||
unlink /Physical/demo/buildg/room/rackA/deviceA @ /Physical/Stray/myDevice | ||
unlink /Physical/demo/buildg/room/rackA/deviceA @ | ||
unlink /Physical/demo/buildg/room/rackA/deviceA |
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