Skip to content

Commit 9215552

Browse files
committed
Add license header to files
1 parent 60768d0 commit 9215552

392 files changed

Lines changed: 6673 additions & 314 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

agent/patch/redopatch.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
#!/bin/bash -x
22

3+
4+
5+
#
6+
# Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
7+
#
8+
# This software is licensed under the GNU General Public License v3 or later.
9+
#
10+
# It is free software: you can redistribute it and/or modify
11+
# it under the terms of the GNU General Public License as published by
12+
# the Free Software Foundation, either version 3 of the License, or any later version.
13+
# This program is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU General Public License for more details.
17+
#
18+
# You should have received a copy of the GNU General Public License
19+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
#
21+
22+
23+
324
d=`dirname "$0"`
425
cd "$d"
526
tar c --owner root --group root -vzf patch.tgz root etc

agent/scripts/agent.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
#!/bin/bash
2+
3+
4+
5+
#
6+
# Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
7+
#
8+
# This software is licensed under the GNU General Public License v3 or later.
9+
#
10+
# It is free software: you can redistribute it and/or modify
11+
# it under the terms of the GNU General Public License as published by
12+
# the Free Software Foundation, either version 3 of the License, or any later version.
13+
# This program is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU General Public License for more details.
17+
#
18+
# You should have received a copy of the GNU General Public License
19+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
#
21+
22+
223
#run.sh runs the agent client.
324

425
# set -x

agent/scripts/run.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
11
#!/usr/bin/env bash
2+
3+
4+
5+
#
6+
# Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
7+
#
8+
# This software is licensed under the GNU General Public License v3 or later.
9+
#
10+
# It is free software: you can redistribute it and/or modify
11+
# it under the terms of the GNU General Public License as published by
12+
# the Free Software Foundation, either version 3 of the License, or any later version.
13+
# This program is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU General Public License for more details.
17+
#
18+
# You should have received a copy of the GNU General Public License
19+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
#
21+
22+
223
#run.sh runs the agent client.
324
java $1 -Xms128M -Xmx384M -cp cglib-nodep-2.2.jar:trilead-ssh2-build213.jar:cloud-api.jar:cloud-core-extras.jar:cloud-utils.jar:cloud-agent.jar:cloud-console-proxy.jar:cloud-console-common.jar:freemarker.jar:log4j-1.2.15.jar:ws-commons-util-1.0.2.jar:xmlrpc-client-3.1.3.jar:cloud-core.jar:xmlrpc-common-3.1.3.jar:javaee-api-5.0-1.jar:gson-1.3.jar:commons-httpclient-3.1.jar:commons-logging-1.1.1.jar:commons-codec-1.4.jar:commons-collections-3.2.1.jar:commons-pool-1.4.jar:apache-log4j-extras-1.0.jar:libvirt-0.4.5.jar:jna.jar:.:/etc/cloud:./conf com.cloud.agent.AgentShell

agent/src/com/cloud/agent/resource/computing/KVMGuestOsMapper.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
6+
* It is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
*/
18+
119
package com.cloud.agent.resource.computing;
220

321
import java.util.HashMap;

agent/src/com/cloud/agent/resource/computing/LibvirtConnection.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
6+
* It is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
*/
18+
119
package com.cloud.agent.resource.computing;
220

321
import org.apache.log4j.Logger;

agent/src/com/cloud/agent/resource/computing/LibvirtStoragePoolXMLParser.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
6+
* It is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
*/
18+
119
package com.cloud.agent.resource.computing;
220

321
import java.io.IOException;

agent/src/com/cloud/agent/resource/computing/LibvirtStorageResource.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
6+
* It is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
*/
18+
119
package com.cloud.agent.resource.computing;
220

321
import java.io.File;

api/src/com/cloud/acl/SecurityChecker.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/**
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
6+
* It is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
*/
18+
119
/**
220
*
321
*/

api/src/com/cloud/agent/api/CleanupNetworkRulesCmd.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
/**
2-
* Copyright (C) 2010 Cloud.com. All rights reserved.
3-
*
4-
* This software is licensed under the GNU General Public License v3 or later.
5-
*
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
66
* It is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or any later
9-
version.
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
109
* This program is distributed in the hope that it will be useful,
1110
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1211
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1312
* GNU General Public License for more details.
14-
*
13+
*
1514
* You should have received a copy of the GNU General Public License
1615
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*
16+
*
1817
*/
1918
package com.cloud.agent.api;
2019

api/src/com/cloud/agent/api/PingRoutingWithNwGroupsCommand.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
/**
2-
* Copyright (C) 2010 Cloud.com. All rights reserved.
3-
*
4-
* This software is licensed under the GNU General Public License v3 or later.
5-
*
2+
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
3+
*
4+
* This software is licensed under the GNU General Public License v3 or later.
5+
*
66
* It is free software: you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 3 of the License, or any later
9-
version.
8+
* the Free Software Foundation, either version 3 of the License, or any later version.
109
* This program is distributed in the hope that it will be useful,
1110
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1211
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1312
* GNU General Public License for more details.
14-
*
13+
*
1514
* You should have received a copy of the GNU General Public License
1615
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
*
16+
*
1817
*/
1918
package com.cloud.agent.api;
2019

0 commit comments

Comments
 (0)