-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Storage NFS network for Manila to uni04delta
Manila tests need to connect to the share for both cephfs and ganesha tests, and they use a special (openstack) network for that [1]. This patch adds the NFS storage network (storagenfs) with VLAN 24 and range 172.21.0.0/24 in uni04delta. The storagenfs network is connected to ceph and compute EDPM nodes. A NNCP, NAD, L2Advertisement and IPAddressPool are defined for the NFS network so that a pod in k8s can connect to it; such as the tempest pod which will perform storage tests. In order to make these changes uni04delta now keeps its own copy of the nncp and networking directories since they differ (by the new network) from the generic ones in the lib directory. TODO: update Manila CRDs to use this network. [1] https://opendev.org/openstack/manila-tempest-plugin/src/branch/master/manila_tempest_tests/config.py#L99 Jira: https://issues.redhat.com/browse/OSPRH-7417 Signed-off-by: John Fulton <[email protected]>
- Loading branch information
Showing
12 changed files
with
760 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
--- | ||
apiVersion: nmstate.io/v1 | ||
kind: NodeNetworkConfigurationPolicy | ||
metadata: | ||
name: _ignored_ | ||
spec: | ||
desiredState: | ||
dns-resolver: | ||
config: | ||
search: [] | ||
server: [] | ||
routes: | ||
config: [] | ||
route-rules: | ||
config: [] | ||
interfaces: | ||
- description: internalapi vlan interface | ||
ipv4: | ||
address: | ||
- ip: _replaced_ | ||
prefix-length: _replaced_ | ||
enabled: true | ||
dhcp: false | ||
ipv6: | ||
enabled: false | ||
name: internalapi | ||
state: up | ||
type: vlan | ||
vlan: | ||
base-iface: _replaced_ | ||
id: _replaced_ | ||
mtu: 1500 | ||
- description: storage vlan interface | ||
ipv4: | ||
address: | ||
- ip: _replaced_ | ||
prefix-length: _replaced_ | ||
enabled: true | ||
dhcp: false | ||
ipv6: | ||
enabled: false | ||
name: storage | ||
state: up | ||
type: vlan | ||
vlan: | ||
base-iface: _replaced_ | ||
id: _replaced_ | ||
mtu: 1500 | ||
- description: tenant vlan interface | ||
ipv4: | ||
address: | ||
- ip: _replaced_ | ||
prefix-length: _replaced_ | ||
enabled: true | ||
dhcp: false | ||
ipv6: | ||
enabled: false | ||
name: tenant | ||
state: up | ||
type: vlan | ||
vlan: | ||
base-iface: _replaced_ | ||
id: _replaced_ | ||
mtu: 1500 | ||
- description: storagenfs vlan interface | ||
ipv4: | ||
address: | ||
- ip: _replaced_ | ||
prefix-length: _replaced_ | ||
enabled: true | ||
dhcp: false | ||
ipv6: | ||
enabled: false | ||
name: storagenfs | ||
state: up | ||
type: vlan | ||
vlan: | ||
base-iface: _replaced_ | ||
id: _replaced_ | ||
mtu: 1500 | ||
- description: ctlplane interface | ||
name: _replaced_ | ||
state: up | ||
type: ethernet | ||
mtu: 1500 | ||
- description: linux-bridge over ctlplane interface | ||
ipv4: | ||
address: | ||
- ip: _replaced_ | ||
prefix-length: _replaced_ | ||
enabled: true | ||
dhcp: false | ||
ipv6: | ||
enabled: false | ||
name: _replaced_ | ||
state: up | ||
type: linux-bridge | ||
bridge: | ||
options: | ||
stp: | ||
enabled: false | ||
port: | ||
- name: _replaced_ | ||
vlan: {} | ||
mtu: 1500 | ||
nodeSelector: | ||
kubernetes.io/hostname: _replaced_ | ||
node-role.kubernetes.io/worker: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: nmstate.io/v1 | ||
kind: NodeNetworkConfigurationPolicy | ||
metadata: | ||
name: node-0 | ||
labels: | ||
osp/nncm-config-type: standard | ||
--- | ||
apiVersion: nmstate.io/v1 | ||
kind: NodeNetworkConfigurationPolicy | ||
metadata: | ||
name: node-1 | ||
labels: | ||
osp/nncm-config-type: standard | ||
--- | ||
apiVersion: nmstate.io/v1 | ||
kind: NodeNetworkConfigurationPolicy | ||
metadata: | ||
name: node-2 | ||
labels: | ||
osp/nncm-config-type: standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters