Skip to content

Commit

Permalink
Merge pull request #1303 from seokho-son/main
Browse files Browse the repository at this point in the history
Update related component version and scripts
  • Loading branch information
seokho-son authored May 4, 2023
2 parents fe119cf + 0850a9a commit 1eccc6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
2 changes: 1 addition & 1 deletion scripts/runSpider.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

CONTAINER_NAME_READ="CB-Spider"
CONTAINER_VERSION="0.7.2"
CONTAINER_VERSION="0.7.5"
CONTAINER_PORT="-p 1024:1024 -p 2048:2048"
CONTAINER_DATA_PATH="/root/go/src/github.com/cloud-barista/cb-spider/meta_db"

Expand Down
1 change: 1 addition & 0 deletions scripts/usecases/xonotic/startServer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ else
fi

appendConfig="port $serverPort\nhostname \"$serverName\"\nmaxplayers $numMaxUser\nbot_number $numBot"
sudo mkdir -p ~/.xonotic/data
sudo cp ~/Xonotic/server/server.cfg ~/.xonotic/data
sudo echo -e "${appendConfig}" >> ~/.xonotic/data/server.cfg

Expand Down
35 changes: 0 additions & 35 deletions src/core/mcis/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,41 +219,6 @@ func CoreGetMcisVmAction(nsId string, mcisId string, vmId string, action string)
}
}

/* Deprecated
// ControlMcis is func to control MCIS
func ControlMcis(nsId string, mcisId string, action string) error {
key := common.GenMcisKey(nsId, mcisId, "")
fmt.Println("[ControlMcis] " + key + " to " + action)
keyValue, err := common.CBStore.Get(key)
if err != nil {
common.CBLog.Error(err)
return err
}
fmt.Println("<" + keyValue.Key + "> \n" + keyValue.Value)
vmList, err := ListVmId(nsId, mcisId)
if err != nil {
common.CBLog.Error(err)
return err
}
if len(vmList) == 0 {
return nil
}
fmt.Println("vmList ", vmList)
for _, v := range vmList {
ControlVm(nsId, mcisId, v, action)
}
return nil
//need to change status
}
*/

// ControlMcisAsync is func to control MCIS async
func ControlMcisAsync(nsId string, mcisId string, action string, force bool) error {

Expand Down

0 comments on commit 1eccc6b

Please sign in to comment.