Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
pyDTN
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • space-public
  • pyDTN
  • Issues
  • #59

Closed
Open
Opened Mar 27, 2019 by Martin Pilka@martin.pilkaMaintainer
  • Report abuse
  • New issue
Report abuse New issue

Support for `schedule contact`

  • Current REST API:
pydtn@pydtn-vbox:~/git/pyDTN/tools/send_bundle$ cat schedule_contact.json 
{
    "messages": [
        {
            "eid": "dtn:pyDTN-2.dtn",
            "cla_address": "172.25.1.11:2002",
            "start_offset": 5,
            "end_offset": 20
        }
    ]
}

pydtn@pydtn-vbox:~/git/pyDTN/tools/send_bundle$ cat send.sh 
#!/bin/bash

# Tell uPCN-1 that pyDTN-2 is going to be available in 5s for next 15s, use REST API
echo "Scheduling contact"
curl -H "Content-Type: application/json" --data @schedule_contact.json http://localhost:8082/config || exit 1
  • Contact message above is sent to exactly 1 recipient (uPCN in this case) specified on command line

  • REST API functionality needs to be extended

Edited Sep 12, 2019 by Juraj Sloboda
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Implement pyDTN project missing parts
Milestone
Implement pyDTN project missing parts (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: space-public/pyDTN#59