官术网_书友最值得收藏!

  • OpenDaylight Cookbook
  • Mathieu Lemay Alexis de Talhou?t Jamie Goodyear Rashmi Pujar Mohamed El Serngawy Yrineu Rodrigues
  • 150字
  • 2021-07-02 21:38:41

There's more...

You could create multiple sessions for the same channel. To do so, in step 3, open another terminal console for the VM and start the echo server a second time, but on a different port:

  1. $ java -jar EchoServer.jar -t true -p 2008.
  2. Create a channel specifying this port using step 4.
  3. Send the request to see the channel. See the request sent at step 5.

The response will this time contain two sessions:

--[cut]--  
"session": [
{
"session-id": "2",
"bytes-in": 0,
"termination-point": {
"termination-point-id": "2008"
},
"session-alarms": 0,
"bytes-out": 0
},
{
"session-id": "1",
"bytes-in": 0,
"termination-point": {
"termination-point-id": "2007"
},
"session-alarms": 0,
"bytes-out": 0
}
]
--[cut]--

You can have as many sessions as you wish per channel. This means you can have a number of devices running on the same host and you can connect to each one of them using the same secured channel.

主站蜘蛛池模板: 青铜峡市| 察雅县| 驻马店市| 盐山县| 汾西县| 张北县| 渭南市| 襄城县| 冷水江市| 建宁县| 大名县| 隆林| 大田县| 武山县| 凭祥市| 云南省| 镇赉县| 微山县| 肃北| 襄垣县| 关岭| 昌邑市| 昭通市| 广河县| 汾西县| 博爱县| 耿马| 华亭县| 承德县| 于都县| 贡山| 奎屯市| 弥勒县| 海丰县| 龙江县| 喀什市| 三原县| 喜德县| 米易县| 巫溪县| 曲阜市|