XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VIF via REST API?

    Scheduled Pinned Locked Moved REST API
    8 Posts 3 Posters 733 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jedimarcusJ Offline
      jedimarcus
      last edited by

      Before I try to search for something that doesn't exist yet:

      • Can I create a new network interface via REST API?
      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Hi,

        I don't believe that this is available yet via the REST API, but you can do it using xo-cli.

        Regards, Dan

        1 Reply Last reply Reply Quote 0
        • jedimarcusJ Offline
          jedimarcus
          last edited by

          Yes, in xo-cli I see vif.connect vif.set ... would be lying saying it's intuitive what to do here to reach my goal.

          I'll start off by clicking through XOA for the moment.

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            At which level are you wanting to add a network (pool, host, or VM)?

            1 Reply Last reply Reply Quote 0
            • jedimarcusJ Offline
              jedimarcus
              last edited by

              VM

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Outside VM creation but afterward, right?

                1 Reply Last reply Reply Quote 0
                • jedimarcusJ Offline
                  jedimarcus
                  last edited by

                  Yes, as my cloud-init doesn't work like I want it to, I can live with manually creating the VM.

                  But it would be cool to be able to automate stuff afterwards, which in my case would be adding a network interface.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Ping @julien-f

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post