Skip to content

FTP Server#

Management → FSFTP Servers

The FTPServer resource enables a node to function as an FTP server for file transfers.

Info

Node users that may access the FTPServer must have the FTP service permission.

OS-specific limitations#

Some operating systems have specific implementation details that are worth considering.

SR OS#

On SR OS, an FTPServer resource configured on a ManagementRouter will also enable the FTP server on the DefaultRouter, and vice versa. If one should be enabled but not the other, consider using CPM filters.

An FTPServer resource configured on a Router will also enable the FTP server on the DefaultRouter and the ManagementRouter. To disable the FTP server on those routers, create an additional FTPServer with type ManagementRouter or DefaultRouter and set the enabled property to false.

Dependencies#

Each FTPServer resource targets either a ManagementRouter, a DefaultRouter, or a Router. While only one of the three is required, all three are listed as dependencies.

ManagementRouter#

If the FTPServer is reachable through a ManagementRouter, the resource referenced by the router property must exist.

Management routers cannot be selected through label selectors.

DefaultRouter#

If the FTPServer is reachable through a DefaultRouter, the resource referenced by the router property must exist.

Label selectors may be used to select multiple DefaultRouters.

Router#

If the FTPServer is reachable through a Router, the resource referenced by the router property must exist.

Routers cannot be selected through label selectors.

Referenced resources#

The FTPServer does not reference any other EDA resources.

Examples#

apiVersion: management.eda.nokia.com/v1
kind: FTPServer
metadata:
  name: my-ftp-server
  namespace: eda
spec:
  enabled: true
  router: init-base-mgmt-router
  routerKind: ManagementRouter
cat << 'EOF' | kubectl apply -f -
apiVersion: management.eda.nokia.com/v1
kind: FTPServer
metadata:
  name: my-ftp-server
  namespace: eda
spec:
  enabled: true
  router: init-base-mgmt-router
  routerKind: ManagementRouter
EOF

Custom Resource Definition#

To browse the Custom Resource Definition go to crd.eda.dev.

FTPServer

management.eda.nokia.com / v1

SPEC

FTPServerSpec defines the desired state of FTPServer

  • #
  • #
  • #
  • #

STATUS

FTPServerStatus defines the observed state of FTPServer

  • #
  • #
  • #
  • #
  • #