wiki:UserGuide/WikiStyleGuide

Version 10 (modified by msherman, 6 years ago) ( diff )

Site Navigation

  1. COSMOS Testbed Overview
    1. Concepts
    1. Testbed Workflow
    1. Availability and Resource Status
    1. Events and Conferences
  2. Getting Started
    1. Make an Account
    2. Create and Configure SSH Keys
    3. Make a Reservation
    4. Log in to your Reservation
    5. Control Resources with OMF
    6. Run a Hello World Experiment
    7. Get Help and Support
  3. COSMOS/ORBIT User Guide
    1. The COSMOS Portal
    2. Connecting to the Testbed
    3. Running Experiments
    4. Policies and Support
    5. Quick Links
    1. Policies
    1. Account Creation
    1. Camera Streaming
    1. Scheduling and Reservations
    1. Disk Images
    1. Frequently Asked Questions
    1. Resource Control with OMF
  4. COSMOS Portal
    1. Your First Visit
    2. Setting Up Your Account
    3. Reserving Testbed Time
    4. Monitoring Your Experiment
    5. Connecting via SSH
    6. Managing Disk Images
    7. Joining the Community
    8. Browsing Users and Groups
    9. Tips
  5. Account Management
    1. Edit Profile
    2. Change Password
    3. SSH Keys
  6. Portal Dashboard
    1. Profile Card
    2. Usage Statistics
    3. Community Forum
  7. Directory
    1. Users
    2. Groups
    3. Privacy Note
  8. Disk Images
    1. Browsing Images
    2. Image Details
    3. Searching and Sorting
    4. Managing Your Images
    5. Baseline Images
    6. Saving Custom Images
    7. Storage and Retention
  9. Community Forum
    1. Accessing the Forum
    2. Forum Categories
    3. How to Use the Forum
    4. Forum Etiquette
    5. Privacy and Access
  10. Getting Started with the COSMOS Portal
    1. Creating an Account
    2. Logging In
    3. What to Do After Logging In
  11. SSH Access to Testbed Nodes
    1. Access Model
    2. Console Servers
    3. Basic Connection
    4. SSH Config File
    5. SSH Tunneling
    6. File Transfer
    7. Troubleshooting
  12. Scheduler
    1. Calendar View
    2. Reservation Colors
    3. Creating a Reservation
    4. Competing for a Slot
    5. Modifying or Canceling Reservations
    6. My Reservations
    7. Resource Information
  13. Testbed Status
    1. Node Status Grid
    2. RF Matrix Control (SB4)
    3. Understanding Node States During Experiments
    1. Remote Access
    1. Chrome Remote Desktop Setup Page
  14. Installing Chrome Remote Desktop (CRD) on a Custom Image
    1. Measurement & Result Collection
    1. Storage
    1. Support
    1. Contributing to the Wiki
  15. Tutorials
    1. SDR and Wireless
    2. Wireless Digital Twins
    3. Optical Networking
    4. Wired Networking
    5. Edge Computing
    6. 4G/5G Systems
    7. Orchestration Platforms
  16. Architecture
    1. Data Flow
    1. Deployment Map
    1. Domains
    1. Naming Convention
    1. Networks
    1. Optical
  17. Resources, Services and APIs
    1. RF Control
    2. SDR Control
    3. Compute Control
    4. Network Control
    5. Optical Control
  18. Datasets
  19. Hardware Info
    1. Cameras
    1. Compute
    1. FR3 SDRs
    1. Network
    1. Nodes
    1. Optical
    1. RF Subsystems
    1. Antennas
    1. Full-Duplex Radio
    1. RF Front End
    1. Software Defined Radios (SDR)
  20. RF Policies & Compliance
    1. Outdoor Radio Frequency Allocation
    2. Program Experiment License
    3. Spectrum Monitoring
    4. Emergency Stop Procedures
    5. Network and Platform Security

Contributing to the Wiki

For consistent wiki formatting, please adhere to the following style guidelines.

General Guidelines

  • Page Naming
    • Use a short and descriptive name using Camel Case (eg. MyPageName)
  • Headings
    • Start page titles at depth 1 (ie. = My Page Title)
    • The number of = equals the depth (eg. === is depth 3)
  • Links
    • DO NOT use full URLs (ie. http://wiki.cosmos-lab.org/…) when linking to pages within the wiki. Use the WikiPageNames link syntax instead.
    • When linking to pages that are children of the current page, use relative links [wiki:./page/to/link/to text to display]
  • Instructions containing shell commands
    • Macro for username [[User]]
    • For copy and pasting commands, ensure no prompt is present
    • For bash scripts, use {{{#!shell
    • For terminal sessions, use {{{#!shell-session
    • On a console: make sure the prompt starts with user@console:path$
    • On a compute machine: make sure the prompt starts with root@console:path$

Page Specific Formatting

Section Pages

Pages that are introductory to larger sections that contain many sub pages (eg. the main Testbed Information page or the Tutorials page) should use the following as a starting point:

[[TOC(SectionPageName/SubsectionPageName/*, depth=1, noheading)]]

= Section Title
Brief description of the section.

To list pages below this one, use:
[[TOC(./*,nonumbering,depth=2)]]

NOTE: Please remember to put the wiki URL corresponding to the page name in the TOC macro. You can see the wiki URL at the top of the page during editing.

Example: For this page, the top of the page says "Editing test/ExperimenterInformation/WikiStyleGuide", so the TOC macro should then be [[TOC(test/ExperimenterInformation/WikiStyleGuide/*,depth=1)]]. Don't forget to add the /* at the end of the wiki URL.

The default TOC depth should be left at 1, unless it makes sense otherwise.

Individual Pages

Individual wiki pages should use the following as a starting point:

[[Include(WikiToC)]]
[[TOC(noheading)]]

= Page Title
Brief description of the page.

== Sub Section Title
Sub section content.

Tutorial Pages

Please us the following document skeleton when writing a tutorial.

{{{
[[TOC(noheading)]]

= Tutorial Title

== Description
Description and goal of the tutorial described here...

== Prerequisites
In order to access the test bed, create a reservation and have it approved by the reservation service. Access to the resources is granted after the reservation is confirmed. Please follow the process shown on [wiki:cosmos_workflow the COSMOS work flow page] to get started. 

== Resource Requirements
List of specific resources or requirements, including OMF image name if applicable.

== Setup
Steps to setup the tutorial...

== Execution

=== The first thing you do
First step of the tutorial...

=== The second thing you do
Second step of the tutorial...
}}}

Syntax Highlighting and code blocks

Trac uses pygments to do syntax highlighting in code blocks

{{{#!shell
  echo "foo"
}}}

or

{{{#!ruby
defTopology('rxnode') { |t|
  # Load the topology of imaged nodes
  # These nodes are from most recent omf load command
  baseTopo = Topology['system:topo:imaged']

  # Draw a random node from the pool of active ones
  aNode = baseTopo.getUniqueRandomNode

  # Add this random node to this 'senderTopo' topology
  t.addNode(aNode)
  puts "RX: #{t.getNodeByIndex(0).to_s}"
}
}}}

Common formats

language shortname for codeblock
shell script bash, sh, ksh, zsh, shell
shell session console, shell-session
powershell powershell, posh, ps1, psm1
ruby session rbcon, irb
ruby code rb, ruby, duby
json json
json w no braces json-object
yaml, yml yaml
mix of yaml and jinja yaml+jinja, salt, sls
docker docker, dockerfile

Using Markdown or RestructuredText

Using code blocks like before, Trac can render other markup formats

{{{#!Markdown
# heading 1
## heading 2
### heading 3
}}}
Note: See TracWiki for help on using the wiki.