...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{version}/network-controller-intent/{net-control-intent}/workload-intents/<workload-intent-name>/interfaces POST BODY: { "metadata": { "name": "<name>", "description": "<description>", "userData1": "<user data>", "userData2": "<user data>" }, "spec": { "interface-name":"net0", "network-name" : "provider-net-1", "default-interfacedefaultGateway": "false", // Optional, default value is false "ip-addressipAddress": "0.0.0.0", // Optional, if not provided then dynamically allocated "mac-addressmacAddress": "x:x:x:x" // Optional, if not provided then dynamically allocated } |
...