####################################################################
# Copyright (c) 2014 Ericsson
#
# All rights reserved. This program and the accompanying materials are
# made available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Jonathan Rajotte - Initial API and implementation
####################################################################
####################################################################
# Scenario: Initialize
####################################################################
Initialize
lttng --mi xml version
0
version
lttng --mi xml list
0
list
lttng --mi xml list -k
0
list
lttng --mi xml list -u -f
0
list
####################################################################
# Scenario: Test "lttng create with LTTng 2.1 options
####################################################################
##################################################################
CreateSessionFileProto
lttng --mi xml create mysession -U file:///tmp
0
create
true
lttng --mi xml list mysession
0
list
lttng --mi xml destroy mysession
0
destroy
true
##################################################################
CreateSessionControlData
lttng --mi xml create mysession -C tcp://172.0.0.1 -D tcp://172.0.0.1:5343
0
create
true
lttng --mi xml list mysession
0
list
lttng --mi xml destroy mysession
0
destroy
true
##################################################################
CreateSessionNetwork
lttng --mi xml create mysession -U net://172.0.0.1:1234:2345
0
create
true
lttng --mi xml list mysession
0
list
lttng --mi xml destroy mysession
0
destroy
true
##################################################################
CreateSessionNetwork2
lttng --mi xml create mysession -U net6://[ffff::eeee:dddd:cccc:0]
0
create
true
lttng --mi xml list mysession
0
list
lttng --mi xml destroy mysession
0
destroy
true