• This project
    • Loading...
  • Sign in

홍길동 / onos

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • onos
  • ..
  • definitions
  • MastershipPut.json
  • Jian Li's avatar
    BugFix: Allow to specify mastership role through REST API · e9ca2808 ...
    e9ca2808 Browse Files
    In current implementation, swagger doc does match with codec impl.
    With this commit, we can assign an exact mastership role for a
    device through REST API.
    
    Change-Id: I5cb3f8d478f8fe3eb22f12fc5254ed8a400d5b56
    (cherry picked from commit 673399fc)
    Jian Li authored 2016-07-20 19:21:37 +0000
MastershipPut.json 358 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{
  "type": "object",
  "title": "mastership",
  "required": [
    "deviceId",
    "nodeId",
    "role"
  ],
  "properties": {
    "deviceId": {
      "type": "string",
      "example": "of:0000000000000001"
    },
    "nodeId": {
      "type": "string",
      "example": "1"
    },
    "role": {
      "type": "string",
      "example": "MASTER"
    }
  }
}