Skip to content

Commit 416b2cb

Browse files
committed
gha: fix EOF and license
1 parent d27753e commit 416b2cb

File tree

6 files changed

+39
-10
lines changed

6 files changed

+39
-10
lines changed

api/src/main/java/org/apache/cloudstack/extension/NetworkCustomActionProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ public interface NetworkCustomActionProvider {
5050
*/
5151
String runCustomAction(Network network, String actionName, Map<String, Object> parameters);
5252
}
53-

api/src/test/java/com/cloud/network/NetworkTest.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
118
package com.cloud.network;
219

320
import org.junit.Test;
@@ -37,4 +54,3 @@ public void testProviderContains() {
3754
assertTrue("List should contain the new transient provider with same name", providers.contains(transientProviderNew));
3855
}
3956
}
40-

framework/extensions/src/main/java/org/apache/cloudstack/framework/extensions/api/UpdateRegisteredExtensionCmd.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,3 @@ public Long getApiResourceId() {
114114
return getExtensionId();
115115
}
116116
}
117-

framework/extensions/src/main/java/org/apache/cloudstack/framework/extensions/network/README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
120
# Network Extension Script Protocol
221

322
This document describes the complete interface between Apache CloudStack's
@@ -1068,9 +1087,7 @@ esac
10681087
exit 0
10691088
```
10701089

1071-
For a full production implementation see:
1072-
- `extensions/network-namespace/network-namespace.sh` — management-server
1073-
entry-point (SSH proxy).
1074-
- `extensions/network-namespace/network-namespace-wrapper.sh` — KVM-host
1075-
wrapper that implements all commands using Linux network namespaces.
1090+
For a full production implementation see https://github.com/apache/cloudstack-extensions/tree/network-namespace/Network-Namespace:
1091+
- `network-namespace.sh` — management-server entry-point (SSH proxy).
1092+
- `enetwork-namespace-wrapper.sh` — KVM-host wrapper that implements all commands using Linux network namespaces.
10761093

framework/extensions/src/test/java/org/apache/cloudstack/framework/extensions/api/UpdateRegisteredExtensionCmdTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,3 @@ public void executeThrowsServerApiExceptionWhenManagerFails() {
112112
}
113113
}
114114
}
115-

test/integration/smoke/test_network_extension_namespace.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2586,4 +2586,3 @@ def test_09_vpc_source_nat_ip_update(self):
25862586
self._teardown_extension()
25872587
except Exception:
25882588
pass
2589-

0 commit comments

Comments
 (0)